/* ==========================================================
   Chata Tatranka — tmavá miestnosť, v ktorej svietia fotky
   ========================================================== */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* farby: noc nad Tatrami, akcent z loga chaty */
  --bg: #0e1312;
  --surface: #161d1b;
  --surface-2: #1d2624;
  --ink: #eef2ee;
  --muted: #b4bfba;
  --accent: #8fd0bf;
  --accent-ink: #0b1110;
  --busy: #3a4542;
  --taken: color-mix(in srgb, var(--ink) 20%, var(--bg));   /* obsadené dni v kalendári: plné políčko, výraznejšie ako voľné */
  --taken-ink: color-mix(in srgb, var(--ink) 62%, var(--bg));

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;

  /* päť veľkostí písma */
  --t-display: clamp(52px, 8.4vw, 140px);
  --t-h2: clamp(36px, 4.8vw, 72px);
  --t-h3: clamp(23px, 2.2vw, 32px);
  --t-body: 17px;
  --t-small: 14px;

  --m: clamp(20px, 4vw, 64px);            /* okraj stránky */
  --gap: clamp(88px, 11vw, 176px);       /* medzera medzi sekciami */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
main, footer { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button, input, textarea, .day { touch-action: manipulation; }
[hidden] { display: none !important; }
/* odkazy z menu: nadpis sekcie neskončí pod pevnou hlavičkou (na mobile bez Lenisu) */
main section[id] { scroll-margin-top: 76px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.h2 { font: 300 var(--t-h2)/1 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.h3 { font: 400 var(--t-h3)/1.15 var(--serif); letter-spacing: -.01em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }

/* tlačidlá: jeden tvar na celej stránke */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #b2e3d6; }
.btn--accent:disabled { background: var(--busy); color: var(--muted); cursor: not-allowed; }
.btn--line { border: 1.5px solid rgba(238, 242, 238, .55); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: rgba(238, 242, 238, .08); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- hlavička ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--m);
  transition: background-color .4s;
}
.nav.is-solid { background: var(--bg); }
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; gap: 32px; font-size: 16px; font-weight: 500; }
.nav__links a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__end { display: flex; align-items: center; gap: 10px; }
.call { position: relative; }
.call__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(238, 242, 238, .55); transition: border-color .2s; }
.call__btn:hover { border-color: var(--ink); }
.call__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.call__menu {
  position: absolute; right: 0; top: 54px; min-width: 260px; padding: 10px;
  background: var(--surface-2); border-radius: 14px; box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .6); /* taste-skill-ignore: plávajúce menu */
  display: grid;
}
.call__menu a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.call__menu a:hover { background: var(--surface); }

/* ---------- úvod ---------- */
/* lvh/svh sa nemenia, keď sa ukáže/skryje lišta prehliadača (vh v aplikáciách ako Gmail áno → stránka by poskočila) */
.hero { position: relative; height: 230vh; height: 230lvh; --pos: 50% 50%; } /* taste-skill-ignore: záloha pre staré prehliadače */
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; } /* taste-skill-ignore: záloha pre staré prehliadače, svh hneď pod tým */
.cam { position: absolute; inset: -1.5%; will-change: transform; }
.cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); }
.cam--dom { z-index: 4; pointer-events: none; }
#mist { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 0%, #000 45%, transparent 75%); mask-image: linear-gradient(#000 0%, #000 45%, transparent 75%); } /* taste-skill-ignore: maska hmly, nie výplň */
.title {
  position: absolute; z-index: 3; left: 7vw; top: 13vh; top: 13svh;
  font: 300 clamp(78px, 15vw, 300px)/.84 var(--serif); letter-spacing: -.045em; white-space: nowrap;
  color: #fff; text-shadow: 0 4px 30px rgba(20, 35, 60, .45); /* taste-skill-ignore: čitateľnosť nápisu na oblakoch */
}
.row { display: block; }
/* kým úvod nenabehne, fotka aj nápis čakajú skryté (nič nebliká ani neposkočí) */
.js .cam, .js .title .row, .js .intro-sub span { opacity: 0; }
.title { will-change: transform; }
.title .row + .row { margin-left: .5em; }
.title .ch { display: inline-block; }
.shade { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0;
  background: linear-gradient(to top, rgba(8, 9, 9, .88) 0%, rgba(8, 9, 9, .6) 30%, rgba(8, 9, 9, 0) 58%); } /* taste-skill-ignore: scrim pod textom na fotke */
.hero__copy { position: absolute; z-index: 6; left: var(--m); right: var(--m); bottom: clamp(48px, 9svh, 100px); max-width: 640px; }
.hero__copy > * { opacity: 0; }
.hero__lead { font-size: 18px; font-weight: 500; line-height: 1.5; max-width: 40ch; }
.actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* jemné stmavenie fotky, kým je nápis v strede; pri scrolle zmizne */
.veil { position: absolute; inset: 0; z-index: 2; background: rgba(8, 12, 16, .3); pointer-events: none; }
.title--front { z-index: 5; pointer-events: none; }
/* viditeľný je len nápis pred domom (h1), celý; kópia za domom ostáva skrytá */
.title:not(.title--front) { opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* veta hneď pod nápisom v strede (nápis má veľkosť --tfs, jeho stred je v 46 % výšky) */
.stage { --tfs: clamp(78px, 15vw, 300px); }
.intro-sub { position: absolute; z-index: 6; left: var(--m); right: var(--m); top: calc(46% + var(--tfs) * 1.12); text-align: center;
  font-size: 18px; font-weight: 500; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .65), 0 0 2px rgba(0, 0, 0, .4); }
.intro-sub span { display: inline-block; }
.hint { position: absolute; z-index: 6; left: 50%; bottom: 28px; transform: translateX(-50%); width: 1px; height: 46px; overflow: hidden; }
.hint::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: drop 2s cubic-bezier(.7, 0, .3, 1) infinite; }
@keyframes drop { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- o chate: stories a údaje ---------- */
.about { margin-top: var(--gap); padding: 0 var(--m); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-radius: 22px; touch-action: pan-y; user-select: none; -webkit-user-select: none; isolation: isolate; }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.story__img.is-on { opacity: 1; }
.story::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,.38), transparent 22%, transparent 70%, rgba(0,0,0,.55)); } /* taste-skill-ignore: scrim pod popisom na fotke */
.story__bars { position: absolute; z-index: 2; left: 14px; right: 14px; top: 14px; display: flex; gap: 4px; }
.story__bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.4); overflow: hidden; }
.story__bars i::after { content: ""; display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.story__bars i.is-done::after { transform: none; }
.story__bars i.is-on::after { animation: fill 5s linear both; }
.story.is-held .story__bars i.is-on::after { animation-play-state: paused; }
@keyframes fill { to { transform: none; } }
.story__cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: #fff; font-weight: 500; }
.story__tap { position: absolute; z-index: 3; top: 0; bottom: 0; width: 38%; }
.story__tap--l { left: 0; } .story__tap--r { right: 0; width: 62%; }
.about__text { display: grid; gap: 20px; justify-items: start; }
.about__text .h2 { margin-bottom: 4px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px; width: 100%; margin-top: 12px; }
.facts li { color: var(--muted); font-size: 14px; line-height: 1.3; }
.facts b { display: block; margin-bottom: 6px; font: 300 clamp(44px, 4.4vw, 64px)/.9 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.about__small { color: var(--muted); font-size: 14px; }

/* ---------- wellness a vybavenie: fotka drží, zoznam sa mení ---------- */
.kit { margin-top: var(--gap); padding: 0 var(--m); display: grid; grid-template-columns: 5fr 1fr 6fr; grid-template-rows: auto 1fr; align-items: start; }
.kit__title { grid-column: 3; grid-row: 1; margin-bottom: 48px; padding-top: 4svh; }
.kit__pic { position: sticky; top: 12svh; grid-column: 1; grid-row: 1 / 3; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.kit__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform 1.2s var(--ease); }
.kit__pic img.is-on { opacity: 1; transform: none; }
.kit__list { grid-column: 3; grid-row: 2; }
.rows { list-style: none; }
.rows button {
  width: 100%; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left; font: 400 clamp(21px, 1.7vw, 26px)/1.2 var(--serif); color: var(--muted); transition: color .3s;
}
.rows button small { font: 400 14px/1 var(--sans); color: var(--muted); }
.rows button:hover, .rows button[aria-expanded="true"] { color: var(--ink); }
.rows button[aria-expanded="true"] small { color: var(--accent); }
.rows p { max-width: 40ch; color: var(--ink); font-size: 16px; padding: 0 0 18px; }
.js .rows li p { height: 0; padding: 0; overflow: hidden; opacity: 0; transition: opacity .4s ease; }
.js .rows li.is-open p { height: auto; padding: 0 0 18px; opacity: 1; }
/* na dotyku sú popisy otvorené stále – scroll mení len fotku a zvýraznenie, výška stránky sa počas scrollu nemení */
@media (pointer: coarse) {
  .js .rows li p { height: auto; padding: 0 0 18px; opacity: 1; color: var(--muted); transition: color .3s; }
  .js .rows li.is-open p { color: var(--ink); }
}

/* ---------- galéria: malé rámy v širokom priestore ---------- */
.drag {
  position: relative; display: flex; gap: 40px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); padding: 0 var(--m);
  scrollbar-width: none; cursor: grab; -webkit-user-select: none; user-select: none;
}
.drag::-webkit-scrollbar { display: none; }
.drag.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.drag > * { scroll-snap-align: start; flex: none; }
.drag img, .strip img { -webkit-user-drag: none; }
.gal { margin-top: var(--gap); }
.gal__head { padding: 0 var(--m); margin-bottom: 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.gal__head p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.gal__row { gap: 14px; padding-bottom: 4px; }
.gal__row.is-swap figure { animation: swap .5s var(--ease) both; }
.gal__row figure { width: clamp(200px, 19vw, 300px); }
.gal__row figure:nth-child(2) { animation-delay: .04s; } .gal__row figure:nth-child(3) { animation-delay: .08s; }
.gal__row figure:nth-child(4) { animation-delay: .12s; } .gal__row figure:nth-child(5) { animation-delay: .16s; }
.gal__row button { display: block; width: 100%; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.gal__row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s var(--ease); }
.gal__row button:hover img, .gal__row button:focus-visible img { transform: scale(1.05); }
.gal__row figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.gal__ctrl { padding: 0 var(--m); margin-top: 24px; display: flex; align-items: center; gap: 8px; }
.gal__arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); font-size: 24px; flex: none; transition: background-color .2s; }
.gal__arrow:hover:not(:disabled) { background: var(--surface-2); }
.gal__arrow:disabled { opacity: .35; cursor: default; }
.gal__bar { position: relative; flex: 1; height: 44px; margin-left: 16px; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.gal__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; background: var(--surface-2); border-radius: 3px; }
.gal__bar i { position: absolute; left: 0; top: 50%; height: 6px; margin-top: -3px; width: 100%; background: var(--accent); border-radius: 3px; transform-origin: left; transform: scaleX(.2); transition: background-color .2s; will-change: transform; }
.gal__bar:hover i, .gal__bar.is-drag i { background: #b2e3d6; }
.gal__bar.is-drag { cursor: grabbing; }

/* ---------- okolie: kartičky s fotkami ---------- */
.near { margin-top: var(--gap); }
.near__head { padding: 0 var(--m); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; }
.seg button { min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; color: var(--muted); transition: background-color .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.strip { list-style: none; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--m); padding: 0 var(--m) 8px; scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip > li { flex: 0 0 auto; display: flex; scroll-snap-align: start; }
.strip.is-swap > li { animation: swap .5s var(--ease) both; }
.strip.is-swap > li:nth-child(2) { animation-delay: .06s; }
.strip.is-swap > li:nth-child(3) { animation-delay: .12s; }
.strip.is-swap > li:nth-child(4) { animation-delay: .18s; }
@keyframes swap { from { opacity: 0; transform: translateY(18px); } }
.place { display: block; width: min(320px, 72vw); background: var(--surface); border-radius: 18px; overflow: hidden; text-decoration: none; transition: background-color .25s; }
.place:hover { background: var(--surface-2); }
.place img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; pointer-events: none; transition: transform .6s var(--ease); }
.place:hover img { transform: scale(1.04); }
.place b { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px 0; font: 400 21px/1.2 var(--serif); }
.place b small { font: 600 14px/1.6 var(--sans); color: var(--accent); white-space: nowrap; }
.place span { display: block; padding: 4px 16px 16px; font-size: 15px; line-height: 1.4; color: var(--muted); }

/* ---------- hodnotenia: balíček kartičiek ---------- */
.voices { margin-top: var(--gap); padding: 0 var(--m); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.voices__score p { margin-top: 18px; max-width: 46ch; color: var(--muted); font-size: 16px; }
.voices__score a { color: var(--ink); }
.deck { position: relative; height: 300px; }
.deck__card {
  position: absolute; inset: 0; padding: 28px; background: var(--surface); border-radius: 22px; overflow: auto;
  display: flex; flex-direction: column; touch-action: pan-y; cursor: grab; user-select: none;
  will-change: transform, opacity;
}
.deck__card[data-k="1"] { background: var(--surface-2); }
.deck__card[data-k="2"] { background: #222c2a; }
.deck__card p { margin-top: auto; font: 400 clamp(19px, 1.6vw, 23px)/1.4 var(--serif); }
.deck__card footer { margin-bottom: auto; margin-top: 14px; font-size: 14px; color: var(--muted); }
.deck__ctrl { display: flex; align-items: center; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* ---------- rezervácia ---------- */
.booking { margin-top: var(--gap); padding: 0 var(--m); }
.booking__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.booking__head p { max-width: 52ch; }
.bk { background: var(--surface); padding: clamp(20px, 3vw, 40px); }
.bk__steps { list-style: none; display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.bk__steps li { padding: 10px 18px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.bk__steps li.is-active { background: var(--ink); color: var(--bg); }
.bk__steps li.is-done { color: var(--ink); }
.bk__body { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.bk__panel { display: none; grid-column: 1; }
.bk__panel.is-active { display: block; animation: swap .45s var(--ease) both; }
.cal { position: relative; }
.cal__nav { position: absolute; right: 0; top: -4px; display: flex; gap: 8px; }
.cal__arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); font-size: 22px; transition: background-color .2s; }
.cal__arrow:hover:not(:disabled) { background: var(--busy); }
.cal__arrow:disabled { opacity: .35; cursor: default; }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.cal__month h4 { font: 400 22px/44px var(--serif); text-transform: capitalize; margin-bottom: 10px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: 13px; color: var(--muted); padding: 6px 0; }
.day { position: relative; aspect-ratio: 1; border-radius: 8px; font-size: 15px; font-variant-numeric: tabular-nums; -webkit-tap-highlight-color: transparent; }
.day--empty { pointer-events: none; }
.day--past { color: #56625e; cursor: default; }
.day--free { background: var(--surface-2); }
/* hover len pre myš: na dotyku „prilepený“ hover prefarboval práve ťuknutý deň */
@media (hover: hover) { .day--free:hover { background: #2b3633; } }
.day--busy { background: var(--taken); color: var(--taken-ink); text-decoration: line-through; cursor: not-allowed; }
.day--busy.day--checkout { cursor: pointer; }
.day--arr { background: linear-gradient(135deg, var(--surface-2) 50%, var(--taken) 50%); color: var(--ink); text-decoration: none; } /* taste-skill-ignore: kalendár: polovičný deň príchodu */
.day--dep { background: linear-gradient(135deg, var(--taken) 50%, var(--surface-2) 50%); } /* taste-skill-ignore: kalendár: polovičný deň odchodu */
.day--today { box-shadow: inset 0 0 0 1.5px var(--muted); } /* taste-skill-ignore: kalendár: dnešný deň */
.day.day--inrange { background: #2f4a44; color: var(--ink); }
.day.day--start, .day.day--end { background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.day--invalid { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.cal__legend { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }
.lg--free { background: var(--surface-2); } .lg--half { background: linear-gradient(135deg, var(--surface-2) 50%, var(--taken) 50%); } /* taste-skill-ignore: legenda polovičného dňa */
 .lg--busy { background: var(--taken); } .lg--sel { background: var(--accent); }
.cal__clear { color: var(--ink); text-decoration: underline; font-size: 14px; }
.cal__hint { margin-top: 12px; font-size: 14px; color: var(--muted); }

.form { display: grid; gap: 14px; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 26px 16px 10px; background: var(--surface-2); color: var(--ink);
  border: 1.5px solid transparent; border-radius: 10px; font: 400 16px/1.4 var(--sans); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field span { position: absolute; left: 16px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transition: transform .2s, font-size .2s; transform-origin: left; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-11px); font-size: 13px; }
.field.is-error input { border-color: #e59a8a; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent); }
.form__error { color: #f0b3a5; font-size: 16px; min-height: 1em; }
.done { text-align: center; padding: 24px 0; }
.done__check { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke: var(--accent); stroke-width: 2.5; }
.done__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done p { margin: 14px auto 0; max-width: 52ch; }
.done .btn { margin-top: 22px; }

.sum { grid-column: 2; grid-row: 1 / span 3; background: var(--surface-2); padding: 24px; display: grid; gap: 20px; position: sticky; top: 100px; }
.sum__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sum__dates small, .counter span, .sum__guests > small { color: var(--muted); font-size: 14px; }
.sum__dates b { display: block; font: 400 20px/1.3 var(--serif); }
.sum__guests { display: grid; gap: 10px; }
.counter { display: flex; justify-content: space-between; align-items: center; }
.counter__ctrl { display: flex; align-items: center; gap: 12px; }
.counter__ctrl button { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); font-size: 20px; transition: background-color .2s; }
.counter__ctrl button:hover { background: var(--busy); }
.counter output { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.sum__lines { display: grid; gap: 10px; font-size: 16px; }
.sum__lines > div { display: flex; justify-content: space-between; gap: 12px; }
.sum__lines small { display: block; color: var(--muted); font-size: 13px; }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.sum__total b { font: 400 34px/1 var(--serif); font-variant-numeric: tabular-nums; }
.sum__actions { display: flex; gap: 10px; }
.sum__actions .btn { flex: 1; }

/* ---------- dobré vedieť: rozbaľovacie otázky ---------- */
.faq { margin-top: var(--gap); padding: 0 var(--m); display: grid; grid-template-columns: 4fr 7fr; gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.faq > .h2 { grid-column: 1; grid-row: 1; }
.faq__list { display: grid; gap: 8px; grid-column: 2; grid-row: 1 / span 2; }
.faq .dl { grid-column: 1; grid-row: 2; }
details { background: var(--surface); border-radius: 14px; padding: 16px 18px; transition: background-color .2s; }
details:hover { background: var(--surface-2); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 500; line-height: 1.3; cursor: pointer; list-style: none; min-height: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details p { margin-top: 10px; max-width: 62ch; color: var(--muted); font-size: 16px; }
.dl { display: grid; gap: 2px; padding: 16px 18px; background: var(--surface); border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.dl:hover { background: var(--surface-2); }
.dl b { font-weight: 600; }
.dl b::after { content: " ↓"; color: var(--accent); }
.dl span { color: var(--muted); font-size: 14px; }

/* ---------- kontakt: karta na fotke ---------- */
.visit { position: relative; margin-top: var(--gap); min-height: 100svh; }
.visit__bg { position: absolute; inset: 0; }
.visit__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85) contrast(1.05); }
.visit__card {
  position: absolute; top: 60px; left: var(--m); width: 380px; padding: 32px;
  background: var(--surface); border-radius: 18px; overflow: hidden; display: grid; gap: 18px;
}
.visit__card > p { color: var(--muted); }
.visit__rows div { display: flex; justify-content: space-between; padding: 4px 0; font-variant-numeric: tabular-nums; }
.visit__rows dt { color: var(--muted); }
.visit__links { display: grid; gap: 4px; }
.visit__links a { text-decoration: none; }
.visit__links a:hover { color: var(--accent); }
.visit__card .btn { margin-top: 4px; width: 100%; min-height: 52px; }

/* ---------- pätička: jeden tichý riadok ---------- */
.foot { margin-top: clamp(72px, 9vw, 128px); padding: 0 var(--m) 30px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; font-size: 16px; color: var(--muted); }
.foot__links { display: flex; gap: 24px; }
.foot__links a { color: var(--ink); text-decoration: none; }
.foot__links a:hover { color: var(--accent); }
.foot > span:nth-child(3) { text-align: right; }
.foot__credits { grid-column: 1 / -1; font-size: 13px; color: var(--muted); max-width: 120ch; margin-top: 12px; }
.foot__credits a { color: var(--muted); }

/* ---------- plávajúca lišta na mobile ---------- */
.dock { display: none; }

/* ---------- lightbox a právne okno ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 7, 7, .96); display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 84svh; object-fit: contain; }
.lightbox__count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 14px; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); font-size: 26px; display: grid; place-items: center; transition: background-color .2s; }
.lightbox__btn:hover { background: var(--busy); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.legal { margin: auto; width: min(760px, 94vw); max-height: 86svh; border: 0; border-radius: 12px; background: var(--surface); color: var(--ink); padding: 0; display: none; }
.legal[open] { display: flex; flex-direction: column; }
.legal::backdrop { background: rgba(5, 7, 7, .8); }
.legal__close { position: sticky; top: 12px; margin: 12px 12px 0 auto; z-index: 2; }
.legal__body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 32px 32px; }
.legal__body h1 { font: 300 36px/1.1 var(--serif); margin-bottom: 18px; }
.legal__body h2 { font: 500 20px/1.3 var(--sans); margin: 24px 0 8px; }
.legal__body p, .legal__body li { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.legal__body ul { padding-left: 20px; }
.legal__body a.back { display: none; }

/* ---------- nábeh sekcií ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ==========================================================
   Mobil (prednosť)
   ========================================================== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__logo img { height: 44px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .kit { grid-template-columns: 1fr; }
  .kit__title { grid-column: 1; grid-row: auto; padding-top: 0; margin-bottom: 24px; }
  .kit__pic { position: sticky; top: 76px; z-index: 2; grid-column: 1; grid-row: auto; aspect-ratio: auto; height: 34svh; border-radius: 18px; }
  .kit__list { grid-column: 1; grid-row: auto; padding-top: 20px; }
  .voices { grid-template-columns: 1fr; }
  .booking__head { grid-template-columns: 1fr; }
  .bk__body { grid-template-columns: 1fr; }
  .sum { grid-column: 1; grid-row: auto; position: static; }
  .faq { grid-template-columns: 1fr; }
  .faq > .h2, .faq__list, .faq .dl { grid-column: 1; grid-row: auto; }
}

@media (max-width: 760px) {
  .hero { --pos: 50% 50%; height: 220vh; height: 220lvh; }
  .title { top: 14vh; top: 14svh; left: 5vw; font-size: 22vw; }
  .stage { --tfs: 22vw; }
  .intro-sub { font-size: 17px; }
  .call__menu { position: fixed; left: 12px; right: 12px; top: 72px; }
  .story { aspect-ratio: auto; height: 62svh; min-height: 360px; border-radius: 18px; }
  .facts { gap: 8px; }
  .facts b { font-size: 40px; }
  .nav.has-dock .btn { display: none; }
  .bk { background: none; padding: 0; }
  .bk__steps { flex-wrap: nowrap; gap: 6px; }
  .bk__steps li { padding: 10px 14px; white-space: nowrap; }
  .sum { padding: 20px; border-radius: 18px; }
  .visit__card { padding: 28px 24px 24px; }
  .about__text .btn { width: 100%; }
  .rows button { min-height: 56px; }
  .gal__row { gap: 10px; }
  .gal__row figure { width: 58vw; }
  .gal__arrow { display: none; }
  .gal__bar { margin-left: 0; }
  .deck { height: 360px; }
  .deck__card { padding: 22px; }
  .cal__months { grid-template-columns: 1fr; }
  .cal__months .cal__month + .cal__month { display: none; }
  .form__two { grid-template-columns: 1fr; }
  .visit { min-height: 0; padding-bottom: 24px; }
  .visit__bg { position: relative; display: block; height: 60svh; }
  .visit__card { position: relative; top: auto; left: auto; width: auto; margin: -80px 16px 0; }
  .foot { grid-template-columns: 1fr; gap: 8px; padding-bottom: 96px; }
  .foot__links { flex-wrap: wrap; gap: 8px 20px; }
  .foot > span:nth-child(3) { text-align: left; }
  .dock {
    position: fixed; z-index: 70; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none;
    transform: translateY(160%); transition: transform .5s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock i { font-style: normal; font-weight: 700; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 12px 20px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
}

/* ---------- dotyk: výšky z --vh (zmerané raz pri načítaní), nie z jednotiek obrazovky ----------
   Pódium úvodu je o 120 px vyššie ako viditeľná plocha, aby pri skrytí lišty prehliadača neostal pod fotkou pás;
   text v úvode sa ráta od viditeľného spodku. */
.touch .hero { height: calc(var(--vh) * 230); }
.touch .stage { height: calc(var(--vh) * 100 + 120px); }
.touch .title { top: calc(var(--vh) * 13); }
.touch .hero__copy { bottom: calc(120px + clamp(48px, var(--vh) * 9, 100px)); }
.touch .intro-sub { top: calc(var(--vh) * 46 + var(--tfs) * 1.12); }
.touch .hint { bottom: 148px; }
.touch .visit { min-height: calc(var(--vh) * 100); }
@media (max-width: 900px) {
  .touch .kit__pic { height: calc(var(--vh) * 34); }
}
@media (max-width: 760px) {
  .touch .hero { height: calc(var(--vh) * 220); }
  .touch .title { top: calc(var(--vh) * 14); }
  .touch .story { height: calc(var(--vh) * 62); }
  .touch .visit__bg { height: calc(var(--vh) * 60); }
  .touch .visit { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js .cam, .js .title .row { opacity: 1; }
  .title--front { z-index: 3; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hint::after { animation: none; }
  .gal__row img, .kit__pic img, .place img { transition: opacity .3s; }
  .story__img { transition: none; }
}

/* Odber last minute termínov pod kalendárom */
.lm { margin-top: 32px; padding: 22px; border-radius: 18px; background: var(--surface-2); display: grid; gap: 12px; max-width: 640px; transition: box-shadow .3s; }
.lm.is-watch { box-shadow: 0 0 0 1.5px var(--accent); }
.lm__title { font: 400 var(--t-h3)/1.15 var(--serif); }
.lm__text { color: var(--muted); font-size: 16px; max-width: 52ch; }
.lm__row { display: flex; gap: 10px; align-items: stretch; }
.lm__row .field { flex: 1; margin: 0; }
.lm__msg { font-size: 15px; min-height: 1em; color: var(--ink); }
.lm .check span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .lm { padding: 18px; } .lm__row { flex-direction: column; } }
/* políčko na e-mail v boxe odberu: box má rovnakú farbu ako bežné políčka, preto tmavšie pozadie a okraj */
.lm .field input { background: var(--bg); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.lm .field input:focus { border-color: var(--accent); }
