/* P08 · Tichá hodina · Liquid / fluid */

:root {
  --ivory: oklch(0.975 0.01 90);
  --ivory-2: oklch(0.95 0.015 80);
  --fg: oklch(0.28 0.06 330);
  --muted: oklch(0.5 0.05 330);
  --accent: oklch(0.66 0.12 50);
  --accent-hover: oklch(0.7 0.12 52);
  --accent-fg: oklch(0.2 0.04 50);
  --line: oklch(0.88 0.02 80);
  --line-2: oklch(0.62 0.04 330);
  --m1: oklch(0.93 0.04 50);
  --m2: oklch(0.93 0.04 320);
  --m3: oklch(0.94 0.04 160);
  --m4: oklch(0.96 0.02 90);
  --err: oklch(0.5 0.16 28);
  --on-dark: oklch(0.95 0.015 80);
  --on-dark-2: oklch(0.84 0.03 330);

  --bg: var(--ivory);
  --f-display: "Spectral", Georgia, serif;
  --f-text: "Outfit", system-ui, sans-serif;

  --section-y: clamp(7rem, 5rem + 8vw, 14rem);
  --gx: clamp(1rem, 0.25rem + 3.5vw, 3rem);
  --gap: 32px;
  --max: 1360px;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: 1.75rem;
  --display-1: clamp(2.75rem, 1.8rem + 4.5vw, 6.5rem);
  --display-2: clamp(2rem, 1.5rem + 2vw, 3.75rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.87, 0, 0.13, 1);

  --shape-a: 42% 58% 60% 40% / 45% 40% 60% 55%;
  --shape-b: 58% 42% 38% 62% / 52% 62% 38% 48%;
  --shape-c: 48% 52% 56% 44% / 38% 54% 46% 62%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--line-2) var(--ivory); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.motion { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 300 var(--step-0) / 1.65 var(--f-text);
  font-feature-settings: "liga";
  overflow-x: clip;
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--m1); color: var(--fg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
main:focus, [tabindex="-1"]:focus { outline: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.125em; height: 1.125em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--fg); color: var(--ivory); transform: translateY(-200%); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gx)); margin-inline: auto; padding-inline: var(--gx); position: relative; z-index: 1; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* type */
.display-1, .display-2 { font-family: var(--f-display); font-weight: 300; font-feature-settings: "liga", "dlig"; text-wrap: balance; }
.display-1 { font-size: var(--display-1); line-height: 1.02; letter-spacing: -0.015em; }
.display-2 { font-size: var(--display-2); line-height: 1.08; letter-spacing: -0.01em; }
.display-1 em, .display-2 em { font-style: italic; font-weight: 400; }
.lead { max-width: 44ch; margin-top: 24px; color: var(--muted); font-size: var(--step-1); line-height: 1.55; }

/* pills + links */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  border: 1px solid var(--line-2); background: oklch(0.975 0.01 90 / 0.6);
  font: 400 1rem / 1.1 var(--f-text); color: var(--fg); text-decoration: none; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.pill:hover { background: var(--ivory); border-color: var(--fg); }
.pill--accent { background: var(--accent); color: var(--accent-fg); border-color: transparent; font-weight: 500; }
.pill--accent:hover { background: var(--accent-hover); border-color: transparent; }
.pill--sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.pill--lg { min-height: 64px; padding: 0 40px; font-size: var(--step-0); }
.tlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font-weight: 400; text-decoration: underline; text-decoration-color: var(--line-2); transition: text-decoration-color 0.3s; }
.tlink:hover { text-decoration-color: currentColor; }

/* ---------- mesh ---------- */
.mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
/* soft section edges so neighbouring meshes never meet in a hard seam */
.mesh--hero { -webkit-mask-image: linear-gradient(black 78%, transparent); mask-image: linear-gradient(black 78%, transparent); }
.mesh--mood { -webkit-mask-image: linear-gradient(transparent, black 14%, black 86%, transparent); mask-image: linear-gradient(transparent, black 14%, black 86%, transparent); }
.mesh--rez { -webkit-mask-image: linear-gradient(transparent, black 20%); mask-image: linear-gradient(transparent, black 20%); }
/* static grain tile: breaks gradient banding on the very pale mesh */
.mesh::after {
  content: ""; position: absolute; inset: 0; z-index: 2; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
.m, .mx-a, .mx-b {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--c), transparent 70%);
  will-change: transform;
}
.m { animation: var(--k) var(--d) ease-in-out infinite alternate; }
.m1 { --c: var(--m1); }
.m2 { --c: var(--m2); }
.m3 { --c: var(--m3); }
.m4 { --c: var(--m4); }
.mesh--hero .m1 { --x: -22%; --y: -30%; --s: 82vw; --k: dA; --d: 14s; }
.mesh--hero .m2 { --x: 48%; --y: -18%; --s: 72vw; --k: dB; --d: 17s; }
.mesh--hero .m3 { --x: -8%; --y: 42%; --s: 64vw; --k: dC; --d: 12s; }
.mesh--hero .m4 { --x: 26%; --y: 18%; --s: 90vw; --k: dD; --d: 18s; }
.mesh--mood .m1 { --x: 54%; --y: 30%; --s: 70vw; --k: dB; --d: 16s; }
.mesh--mood .m2 { --x: -24%; --y: -6%; --s: 80vw; --k: dA; --d: 13s; }
.mesh--mood .m3 { --x: 30%; --y: 58%; --s: 74vw; --k: dC; --d: 18s; }
.mesh--mood .m4 { --x: -10%; --y: 40%; --s: 66vw; --k: dD; --d: 15s; }
.mesh--rez .m1 { --x: -20%; --y: 10%; --s: 70vw; --k: dC; --d: 15s; }
.mesh--rez .m2 { --x: 50%; --y: 40%; --s: 76vw; --k: dA; --d: 17s; }
.mesh--rez .m3 { --x: 60%; --y: -20%; --s: 60vw; --k: dD; --d: 13s; }
.mesh--rez .m4 { --x: 10%; --y: 60%; --s: 80vw; --k: dB; --d: 12s; }
.mesh--menu .m1 { --x: -30%; --y: -10%; --s: 120vw; --k: dA; --d: 14s; }
.mesh--menu .m2 { --x: 20%; --y: 40%; --s: 120vw; --k: dB; --d: 16s; }
.mesh--menu .m3 { --x: -40%; --y: 60%; --s: 110vw; --k: dC; --d: 12s; }
.mesh--menu .m4 { --x: 30%; --y: -30%; --s: 100vw; --k: dD; --d: 18s; }

/* mood cross-fade layers: two prepared layers per mood */
.mx { position: absolute; inset: 0; opacity: 0; }
.mx.is-on { opacity: 1; }
.mx-a { --x: -24%; --y: -6%; --s: 84vw; animation: dA 13s ease-in-out infinite alternate; }
.mx-b { --x: 50%; --y: 26%; --s: 74vw; animation: dB 16s ease-in-out infinite alternate; }
.mx-a, .mx-b { background: radial-gradient(closest-side, var(--c), var(--c) 28%, transparent 72%); }
.mesh--mood .m.is-off { opacity: 0; }
.mx--pokoj .mx-a { --c: var(--m2); }
.mx--pokoj .mx-b { --c: var(--m3); }
.mx--ziara .mx-a { --c: var(--m1); }
.mx--ziara .mx-b { --c: var(--m4); }
.mx--restart .mx-a { --c: var(--m3); }
.mx--restart .mx-b { --c: var(--m1); }

@keyframes dA { 0% { transform: none; } 50% { transform: translate3d(14vw, 8vw, 0) scale(1.08); } 100% { transform: translate3d(4vw, 16vw, 0) scale(0.94); } }
@keyframes dB { 0% { transform: none; } 50% { transform: translate3d(-12vw, 10vw, 0) scale(0.92); } 100% { transform: translate3d(-20vw, -4vw, 0) scale(1.06); } }
@keyframes dC { 0% { transform: none; } 50% { transform: translate3d(10vw, -12vw, 0) scale(1.1); } 100% { transform: translate3d(22vw, -2vw, 0) scale(0.96); } }
@keyframes dD { 0% { transform: none; } 50% { transform: translate3d(-8vw, -10vw, 0) scale(1.04); } 100% { transform: translate3d(6vw, 6vw, 0) scale(0.9); } }

/* ---------- blob masks ---------- */
.media { position: relative; overflow: hidden; background: var(--ivory-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing {
  background:
    radial-gradient(closest-side at 34% 38%, var(--m1), transparent 80%),
    radial-gradient(closest-side at 68% 66%, var(--m2), transparent 85%),
    var(--m4);
}
.blob { border-radius: var(--shape-a); animation: shapeA 10s ease-in-out infinite; }
@keyframes shapeA { 0%, 100% { border-radius: var(--shape-a); } 33% { border-radius: var(--shape-b); } 66% { border-radius: var(--shape-c); } }
@keyframes shapeB { 0%, 100% { border-radius: var(--shape-b); } 33% { border-radius: var(--shape-c); } 66% { border-radius: var(--shape-a); } }
@keyframes shapeC { 0%, 100% { border-radius: var(--shape-c); } 33% { border-radius: var(--shape-a); } 66% { border-radius: var(--shape-b); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.nav.is-solid { background: oklch(0.975 0.01 90 / 0.9); }
.nav.is-hidden { transform: translateY(-100%); }
.nav:focus-within { transform: none; }
.nav__in { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.nav__logo { margin-right: auto; font: 400 1.625rem / 44px var(--f-display); text-decoration: none; display: inline-block; min-height: 44px; white-space: nowrap; }
.nav__logo i, .foot__logo i { font-style: italic; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; font-weight: 300; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 78% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.nav__links a:hover { background-size: 100% 1px; }
.nav__menu { display: none; min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; background: none; font-size: 0.9375rem; font-weight: 400; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: var(--line-2); }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--ivory); overflow: auto; }
.menu[hidden] { display: none; }
.menu__in { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; padding: 18px var(--gx) 40px; }
.menu__close { align-self: flex-end; min-height: 44px; padding: 0 12px; border: 0; background: none; font-weight: 400; text-decoration: underline; text-underline-offset: 0.22em; }
.menu nav { display: flex; flex-direction: column; margin-top: 40px; }
.menu nav a { font: 300 2.75rem / 1.25 var(--f-display); text-decoration: none; padding: 4px 0; }
.menu__meta { margin-top: auto; padding-top: 40px; color: var(--muted); font-size: 0.9375rem; }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) .menu__in { animation: fadeIn 0.6s var(--ease) both; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding: clamp(7.5rem, 14vh, 10rem) 0 clamp(5rem, 9vw, 9rem); min-height: min(100svh, 1040px); display: flex; align-items: center; }
.hero__grid { align-items: center; row-gap: 40px; }
.hero__text { grid-column: 1 / 7; position: relative; z-index: 2; }
.hero h1 .ln { display: block; }
.hero__sub { max-width: 38ch; margin-top: 32px; font-size: var(--step-1); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 40px; color: var(--muted); font-size: 0.9375rem; }
.hero__visual { grid-column: 7 / -1; position: relative; justify-self: end; width: min(100%, calc(74svh * 6 / 7)); }
.blob--hero { aspect-ratio: 6 / 7; z-index: 1; }
.halo {
  position: absolute; inset: 6% -7% -5% 4%; z-index: 0;
  border-radius: var(--shape-c);
  background: radial-gradient(closest-side at 40% 40%, var(--m2), transparent 92%), var(--m1);
  animation: shapeB 13s ease-in-out infinite;
}
.magnet { will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  .hero .ln, .hero__sub, .hero__actions, .hero__meta { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 140ms + 80ms); }
  .hero .ln:nth-child(2) { --i: 1; }
  .hero .ln:nth-child(3) { --i: 2; }
  .hero__sub { --i: 3; }
  .hero__actions { --i: 4; }
  .hero__meta { --i: 5; }
  .blob--hero { animation: blobIn 1.2s var(--ease) both, shapeA 10s ease-in-out 1.2s infinite; }
  .halo { animation: haloIn 1.6s var(--ease) 0.2s both, shapeB 13s ease-in-out 1.8s infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes blobIn { from { opacity: 0; transform: scale(0.94); } }
@keyframes haloIn { from { opacity: 0; transform: scale(0.86) rotate(-6deg); } }

/* ---------- mood picker ---------- */
.moodzone { position: relative; overflow: clip; }
.pocit { position: relative; padding-top: var(--section-y); }
.pocit__head { grid-column: 1 / 8; }
.moods { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 24px 32px; margin-top: 64px; }
.mood { display: flex; flex-direction: column; gap: 14px; }
.mood__btn {
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 64px; min-width: 232px; padding: 0 40px 0 28px; border-radius: 999px;
  border: 1px solid var(--line-2); background: oklch(0.975 0.01 90 / 0.55);
  font: 400 1.5rem / 1 var(--f-display); color: var(--fg);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.mood__btn::before {
  content: ""; width: 14px; height: 12px; flex: none;
  border: 1px solid currentColor; border-radius: var(--shape-a);
  transition: border-radius 0.4s var(--ease), background-color 0.4s var(--ease);
}
.mood__btn:hover { border-color: var(--fg); background: oklch(0.975 0.01 90 / 0.85); }
.mood__btn[aria-checked="true"] { background: var(--accent); border-color: transparent; color: var(--accent-fg); }
.mood__btn[aria-checked="true"]::before { background: currentColor; border-radius: 50%; }
.mood__desc { max-width: 26ch; padding-left: 28px; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }

.book { grid-column: 1 / -1; justify-self: start; position: relative; display: flex; align-items: flex-start; min-height: 72px; max-width: 100%; margin-top: 64px; }
.book__tray { display: none; position: absolute; inset: 0; border-radius: 36px; border: 1px solid var(--line-2); background: oklch(0.975 0.01 90 / 0.72); }
.book__cta { width: 240px; }
.book__slots { display: none; position: relative; gap: 8px; padding: 8px; }
.book.is-slots .book__cta { display: none; }
.book.is-slots .book__tray { display: block; }
.book.is-slots .book__slots { display: flex; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 56px; padding: 0 20px; border-radius: 999px;
  border: 1px solid oklch(0.82 0.025 330); background: var(--ivory);
  font-size: 0.9375rem; font-weight: 400; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: transparent; color: var(--accent-fg); font-weight: 500; }
.chip__t { font-weight: 500; }
.book__live { grid-column: 1 / 9; min-height: 1.65em; margin-top: 20px; color: var(--muted); font-size: 0.9375rem; }

@media (max-width: 1000px) {
  .chip { flex-direction: column; gap: 0; padding: 0 16px; }
  .chip__sep { display: none; }
  .moods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
  .mood__btn { min-width: 0; width: 100%; padding: 0 20px; }
  .mood__desc { padding-left: 20px; }
  .book.is-slots .book__tray { border-radius: 28px; }
}

/* ---------- treatments ---------- */
.osetrenia { position: relative; padding: 64px 0 var(--section-y); }
.os__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; max-width: calc(50% + var(--gap)); }
.cards { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 7vw, 128px); row-gap: 64px; margin-top: 72px; }
.card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; align-items: start; align-self: start; }
.card.is-r { margin-top: 96px; }
.card__blob {
  width: 160px; aspect-ratio: 1; border-radius: var(--shape-a);
  background: radial-gradient(closest-side at 32% 34%, var(--c1), transparent 100%), radial-gradient(closest-side at 70% 70%, var(--c2), transparent 100%), var(--c3);
  transition: border-radius 0.6s var(--ease);
}
.card:hover .card__blob, .card:focus-within .card__blob { border-radius: var(--shape-c); }
.b1 { --c1: var(--m1); --c2: var(--m4); --c3: oklch(0.9 0.05 55); }
.b2 { --c1: var(--m2); --c2: var(--m3); --c3: oklch(0.9 0.04 300); border-radius: var(--shape-b); }
.b3 { --c1: var(--m4); --c2: var(--m3); --c3: oklch(0.9 0.05 70); border-radius: var(--shape-c); }
.b4 { --c1: var(--m3); --c2: var(--m2); --c3: oklch(0.89 0.045 320); }
.b5 { --c1: var(--m4); --c2: var(--m1); --c3: oklch(0.91 0.045 40); border-radius: var(--shape-b); }
.b6 { --c1: var(--m1); --c2: var(--m3); --c3: oklch(0.9 0.04 160); border-radius: var(--shape-c); }
.b2:is(.card:hover *), .b3:is(.card:hover *), .b5:is(.card:hover *), .b6:is(.card:hover *) { border-radius: var(--shape-a); }
.card__name { font: 400 var(--step-3) / 1.1 var(--f-display); text-wrap: balance; }
.card__meta { margin-top: 10px; font-weight: 500; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.card__text { margin-top: 12px; max-width: 40ch; }
.card__tags { margin-top: 14px; color: var(--muted); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; }
.card__link { margin-top: 4px; }
.card.is-hidden { display: none; }

/* ---------- prostredie ---------- */
.prostredie { padding: var(--section-y) 0; position: relative; }
.pr__grid { align-items: start; }
.pr__h { grid-column: 1 / 7; grid-row: 1; }
.pr__fig { margin: 0; }
.pr__fig figcaption { margin-top: 20px; max-width: 30ch; color: var(--muted); font: italic 300 1.375rem / 1.35 var(--f-display); }
.pr__fig--1 { grid-column: 1 / 6; grid-row: 2; margin-top: 96px; }
.pr__fig--2 { grid-column: 9 / 13; grid-row: 2; margin-top: 300px; }
.pr__fig--3 { grid-column: 6 / 9; grid-row: 3; margin-top: -160px; }
.pr__fig .media { aspect-ratio: 1; }
.blob--p1 { animation: shapeA 12s ease-in-out infinite; }
.blob--p2 { animation: shapeB 10s ease-in-out infinite; }
.blob--p3 { animation: shapeC 14s ease-in-out infinite; }

/* ---------- priebeh (dark) ---------- */
.priebeh { background: var(--fg); color: var(--on-dark); padding: var(--section-y) 0; }
.priebeh ::selection { background: var(--accent); color: var(--accent-fg); }
.priebeh :focus-visible { outline-color: var(--on-dark); }
.pb__col { grid-column: 4 / 10; }
.steps { margin-top: 72px; }
.step { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid oklch(0.95 0.015 80 / 0.16); }
.step__n { font: 300 4rem / 0.9 var(--f-display); color: var(--m1); }
.step h3 { font: 400 var(--step-3) / 1.15 var(--f-display); }
.step p { margin-top: 8px; color: var(--on-dark-2); max-width: 46ch; }
.team { margin-top: 72px; padding-top: 32px; border-top: 1px solid oklch(0.95 0.015 80 / 0.16); }
.team__h { font: italic 300 var(--step-2) / 1.2 var(--f-display); }
.team ul { margin-top: 20px; display: grid; gap: 12px; }
.team li { color: var(--on-dark-2); font-size: 0.9375rem; }
.team b { display: block; color: var(--on-dark); font-weight: 400; font-size: var(--step-0); }

/* ---------- cenník ---------- */
.cennik { padding: var(--section-y) 0; }
.cn__h { grid-column: 1 / 5; }
.cn__list { grid-column: 6 / 12; padding-top: 12px; }
.prices li { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; }
.prices__name { font: 400 var(--step-2) / 1.2 var(--f-display); max-width: 70%; }
.prices__dots { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted var(--line-2); transform: translateY(-0.3em); }
.prices__min { color: var(--muted); font-size: 0.9375rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices__eur { min-width: 3.4em; text-align: right; font-weight: 500; font-size: 1.125rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cn__note { margin-top: 28px; color: var(--muted); font-size: 0.9375rem; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 var(--section-y); }
.faq__col { grid-column: 4 / 10; }
.faq__list { margin-top: 56px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 20px; min-height: 72px; padding: 16px 0;
  list-style: none; cursor: pointer; font: 400 var(--step-2) / 1.25 var(--f-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; width: 12px; height: 12px; flex: none; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq .dot { width: 10px; height: 8px; flex: none; background: var(--accent); border-radius: 30% 70% 62% 38% / 52% 30% 70% 48%; transition: border-radius 0.4s var(--ease), transform 0.4s var(--ease); }
.faq details[open] .dot { border-radius: 50%; transform: scale(1.1); }
.faq details p { max-width: 58ch; padding: 0 0 28px 30px; }

/* ---------- rezervácia ---------- */
.rez { position: relative; overflow: clip; padding: var(--section-y) 0; background: var(--ivory); }
.rez__head { grid-column: 1 / 6; }
.rez__info { margin-top: 40px; display: grid; gap: 12px; color: var(--muted); font-size: 0.9375rem; }
.rez__info li { display: flex; gap: 12px; align-items: center; }
.rez__form { grid-column: 7 / 13; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; padding: 0; }
.opt { color: var(--muted); font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 56px; padding: 14px 20px; border-radius: 24px;
  border: 1px solid var(--line-2); background: oklch(0.985 0.006 90);
  font-weight: 300; font-size: var(--step-0); line-height: 1.4;
  transition: border-color 0.3s;
}
select { appearance: none; padding-right: 48px; background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%); background-position: calc(100% - 26px) 50%, calc(100% - 20px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
textarea { resize: vertical; min-height: 104px; }
::placeholder { color: oklch(0.55 0.04 330); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--fg); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.hint { color: var(--muted); font-size: 0.875rem; }
.err { display: flex; gap: 8px; align-items: center; color: var(--err); font-size: 0.875rem; font-weight: 400; }
.err[hidden] { display: none; }

.slots__grid { display: grid; gap: 8px; margin-top: 4px; }
.slots.has-grid .slots__fallback { display: none; }
.sday { display: grid; grid-template-columns: 7.5rem repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; }
.sday__d { font-size: 0.9375rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.sopt { position: relative; display: block; }
.sopt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sopt span { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; border: 1px solid var(--line-2); background: oklch(0.985 0.006 90); font-size: 0.9375rem; font-weight: 400; font-variant-numeric: tabular-nums; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.sopt input:hover + span { border-color: var(--fg); }
.sopt input:checked + span { background: var(--accent); border-color: transparent; color: var(--accent-fg); font-weight: 500; }
.sopt input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.sopt input:disabled { cursor: not-allowed; }
.sopt input:disabled + span { color: oklch(0.6 0.03 330); border-style: dashed; text-decoration: line-through; background: transparent; }
.slots[aria-invalid="true"] .sopt span { border-color: var(--err); }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 6px 14px; align-items: start; margin: 8px 0 32px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.check label { font-size: 0.9375rem; }
.check .err { grid-column: 2; }

.ok { padding: 40px; border-radius: 40px; background: oklch(0.985 0.006 90 / 0.85); border: 1px solid var(--line-2); }
.ok:focus { outline: none; }
.ok__ico { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); stroke-width: 2; }
.ok__t { margin: 20px 0 8px; font: 400 var(--step-3) / 1.15 var(--f-display); }
.ok__sum { margin-top: 16px; color: var(--muted); font-size: 0.9375rem; }

/* ---------- footer ---------- */
.foot { padding: 96px 0 48px; border-top: 1px solid var(--line); background: var(--ivory); font-size: 0.9375rem; }
.foot .grid { row-gap: 40px; }
.foot__brand { grid-column: 1 / 5; color: var(--muted); }
.foot__logo { color: var(--fg); font: 400 2rem / 1 var(--f-display); margin-bottom: 16px; }
.foot__contact { grid-column: 6 / 9; display: grid; gap: 4px; align-content: start; }
.foot__contact li { display: flex; gap: 10px; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.foot__nav { grid-column: 10 / 13; display: flex; flex-direction: column; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }
.foot__demo { grid-column: 1 / -1; padding-top: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.foot__demo b { color: var(--fg); font-weight: 500; }

/* ---------- motion start states (only with html.motion) ---------- */
html.motion .reveal { opacity: 0; transform: translateY(16px); }
html.motion .reveal-blob .media { opacity: 0; transform: scale(0.94); }
html.motion .reveal-blob figcaption { opacity: 0; }
html.motion .reveal.is-in, html.motion .reveal-blob.is-in .media, html.motion .reveal-blob.is-in figcaption { opacity: 1 !important; transform: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .card { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
  .card__blob { width: 120px; }
  .pb__col, .faq__col { grid-column: 2 / 12; }
  .cn__h { grid-column: 1 / -1; }
  .cn__list { grid-column: 3 / 13; margin-top: 48px; }
}

@media (max-width: 860px) {
  .rez__head, .rez__form { grid-column: 1 / -1; }
  .rez__form { margin-top: 56px; }
  .cards { grid-template-columns: 1fr; row-gap: 56px; }
  .card.is-r { margin-top: 0; }
  .os__head { max-width: none; }
  .pr__fig--1 { grid-column: 1 / 8; }
  .pr__fig--2 { grid-column: 7 / 13; grid-row: 3; margin-top: 64px; }
  .pr__fig--3 { grid-column: 2 / 7; grid-row: 4; margin-top: -80px; }
}

@media (max-width: 767px) {
  :root { --gap: 16px; --gx: 16px; }
  .nav__in { gap: 8px; min-height: 64px; }
  .nav__logo { font-size: 1.375rem; }
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; align-items: center; }
  .nav__cta { padding: 0 16px; }

  .hero { min-height: 0; padding-top: 88px; }
  .hero__grid > * { grid-column: 1 / -1; }
  .hero__visual { order: -1; width: 70vw; justify-self: end; margin-right: 2vw; }
  .halo { inset: 8% -6% -6% -8%; }
  .hero__sub { margin-top: 24px; }
  .hero__actions { margin-top: 32px; gap: 8px 24px; }
  .hero__meta { margin-top: 28px; }

  .pocit__head, .book__live { grid-column: 1 / -1; }
  .moods { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
  .mood { gap: 8px; }
  .mood__btn { width: 100%; min-height: 56px; }
  .mood__desc { max-width: none; }
  .book { justify-self: stretch; min-height: 136px; margin-top: 40px; }
  .book.is-slots .book__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .chip { width: 100%; padding: 0 6px; min-width: 0; font-size: 0.875rem; }
  .m, .mx-a, .mx-b { width: calc(var(--s) * 1.7); }
  .card { grid-template-columns: 88px minmax(0, 1fr); gap: 20px; }
  .card__blob { width: 88px; }
  .cards { margin-top: 48px; }

  .pr__h { grid-column: 1 / -1; }
  .pr__fig--1, .pr__fig--2, .pr__fig--3 { grid-row: auto; margin-top: 64px; }
  .pr__fig--1 { grid-column: 1 / -1; width: 80vw; }
  .pr__fig--2 { grid-column: 1 / -1; width: 80vw; justify-self: end; }
  .pr__fig--3 { grid-column: 1 / -1; width: 66vw; margin-left: 6vw; }

  .pb__col, .faq__col, .cn__list { grid-column: 1 / -1; }
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .step__n { font-size: 3rem; }
  .prices li { flex-wrap: wrap; gap: 4px 12px; }
  .prices__name { max-width: none; flex: 1 1 100%; }
  .prices__dots { flex: 1 1 24px; }
  .field-row { grid-template-columns: 1fr; }
  .sday { grid-template-columns: 1fr 1fr 1fr; }
  .sday__d { grid-column: 1 / -1; margin-top: 8px; }
  .ok { padding: 28px; border-radius: 32px; }
  .foot__brand, .foot__contact, .foot__nav { grid-column: 1 / -1; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .m, .mx-a, .mx-b, .blob, .halo { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
