/* ═══════════════════════════════════════════════════════════════
   Apartmán Lipno — vizuální styl
   Editorial / švýcarská mřížka. Ostré hrany, vlasové linky,
   tlumená přírodní paleta odvozená z fotek apartmánu.
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokeny ──────────────────────────────────────────────────── */
:root {
  --paper:    #F4F1EA;
  --paper-2:  #EAE5DB;
  --paper-3:  #E1DBCF;
  --ink:      #16181A;
  --ink-80:   rgba(22, 24, 26, .80);
  --ink-60:   rgba(22, 24, 26, .58);
  --ink-40:   rgba(22, 24, 26, .38);
  --rule:     rgba(22, 24, 26, .15);
  --rule-2:   rgba(22, 24, 26, .08);

  --accent:      #5D6E4E;   /* šalvějová — léto */
  --accent-deep: #47563B;
  --accent-tint: rgba(93, 110, 78, .10);

  --busy:  #A8503C;

  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;

  --gut: clamp(20px, 5vw, 80px);
  --maxw: 1560px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .28, 1);
}

/* Zimní podoba webu — chladnější papír i akcent. Fotky zůstávají
   nedotčené, apartmán je jen jeden a hosté musí vidět, jak vypadá. */
html[data-season="winter"] {
  --accent:      #1C6E8C;   /* jezerní modrá — ať je zima vidět na první pohled */
  --accent-deep: #11506B;
  --accent-tint: rgba(28, 110, 140, .12);
  --paper:    #E9F2F8;
  --paper-2:  #D8E8F2;
  --paper-3:  #C4DAE8;
  --ink:      #0F202B;
  --ink-80:   rgba(15, 32, 43, .80);
  --ink-60:   rgba(15, 32, 43, .60);
  --ink-40:   rgba(15, 32, 43, .42);
  --rule:     rgba(15, 32, 43, .18);
  --rule-2:   rgba(15, 32, 43, .10);
}

/* ── Základ ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* Atribut hidden musí přebít display: flex/grid u overlayů */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .7s var(--ease), color .7s var(--ease);
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--paper); }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; font-size: 13px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Typografie ──────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-40); font-weight: 500;
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.1vw, 62px);
  line-height: 1.06;
  letter-spacing: -.018em;
  font-weight: 300;
  max-width: 15ch;
  text-wrap: balance;
}
.h2--wide { max-width: 22ch; margin-bottom: clamp(32px, 5vw, 64px); }
.h2 em { font-style: italic; color: var(--accent-deep); }

/* ── Clona při načtení ───────────────────────────────────────── */
.curtain {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: grid; place-items: center;
  transition: transform 1s var(--ease-io);
}
.curtain.is-up { transform: translateY(-101%); }
.curtain__inner {
  display: flex; align-items: baseline; gap: 14px;
  color: var(--paper);
  animation: curtainIn .8s var(--ease) both;
}
.curtain__mark {
  font-family: var(--serif); font-size: 44px; line-height: 1;
  font-style: italic; font-weight: 300;
}
.curtain__word { font-size: 11px; letter-spacing: .3em; opacity: .7; }
@keyframes curtainIn { from { opacity: 0; transform: translateY(10px); } }

/* ── Ukazatel scrollu ────────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 200;
  width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: var(--accent);
  will-change: transform;
}

/* ── Hlavička ────────────────────────────────────────────────── */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.head.is-stuck {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--rule);
}
.head.is-hidden { transform: translateY(-100%); }
.head { transition: transform .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease); }

.head__in {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px var(--gut);
  display: flex; align-items: center; gap: 24px;
}
.head.is-stuck .head__in { padding-top: 11px; padding-bottom: 11px; }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark {
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid var(--rule); color: var(--accent);
}
.brand__mark svg { width: 15px; height: 15px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand__txt b { font-size: 12.5px; letter-spacing: .13em; font-weight: 600; }
.brand__txt i { font-size: 10.5px; letter-spacing: .08em; font-style: normal; color: var(--ink-40); }

.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 13.5px; color: var(--ink-60); position: relative; padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }

.head__tools { display: flex; align-items: center; gap: 10px; }

/* Přepínač sezóny */
.seasonsw { display: flex; border: 1px solid var(--rule); }
.seasonsw button {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  padding: 7px 12px; font-size: 11.5px; letter-spacing: .06em;
  color: var(--ink-40); transition: color .3s var(--ease), background-color .3s var(--ease);
}
.seasonsw button + button { border-left: 1px solid var(--rule); }
.seasonsw svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.seasonsw button.is-on { color: var(--paper); background: var(--accent); }

/* Jazyky */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--rule); cursor: pointer;
  padding: 7px 10px; font-size: 11.5px; letter-spacing: .08em; font-weight: 500;
}
.lang__btn svg { width: 9px; height: 6px; transition: transform .3s var(--ease); }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__list {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 170px;
  background: var(--paper); border: 1px solid var(--rule);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 10;
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list button {
  display: flex; gap: 10px; width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 9px 13px; font-size: 13px;
  color: var(--ink-60); transition: background-color .2s, color .2s;
}
.lang__list li + li button { border-top: 1px solid var(--rule-2); }
.lang__list button b { font-weight: 600; font-size: 11px; letter-spacing: .1em; width: 20px; color: var(--ink-40); }
.lang__list button:hover, .lang__list button[aria-selected="true"] { background: var(--paper-2); color: var(--ink); }
.lang__list button[aria-selected="true"] b { color: var(--accent); }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; font-size: 13px; letter-spacing: .04em; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; background: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease-io);
}
.btn:hover::before { transform: none; }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid::before { background: var(--accent); }
.btn--ghost { border-color: var(--rule); color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); border-color: var(--ink); }
.btn--light { border-color: rgba(244,241,234,.3); color: var(--paper); }
.btn--light::before { background: var(--paper); }
.btn--light:hover { color: var(--ink); border-color: var(--paper); }
.btn--full { width: 100%; }
.btn:disabled { opacity: .32; pointer-events: none; }
.head__cta { padding: 9px 18px; }

/* Burger */
.burger {
  display: none; width: 34px; height: 34px; border: 1px solid var(--rule);
  background: none; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 9px; width: 14px; height: 1px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 19px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

.mobmenu {
  position: fixed; inset: 0; z-index: 140; background: var(--paper);
  padding: 100px var(--gut) 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.mobmenu nav { display: flex; flex-direction: column; }
.mobmenu a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--rule-2);
  font-family: var(--serif); font-size: 30px; font-weight: 300;
  opacity: 0; transform: translateY(14px);
  animation: mobIn .5s var(--ease) forwards;
}
.mobmenu a:nth-child(1) { animation-delay: .04s; }
.mobmenu a:nth-child(2) { animation-delay: .08s; }
.mobmenu a:nth-child(3) { animation-delay: .12s; }
.mobmenu a:nth-child(4) { animation-delay: .16s; }
.mobmenu a:nth-child(5) { animation-delay: .20s; }
.mobmenu a:nth-child(6) { animation-delay: .24s; }
.mobmenu a i { font-family: var(--sans); font-style: normal; font-size: 11px; color: var(--ink-40); letter-spacing: .1em; }
@keyframes mobIn { to { opacity: 1; transform: none; } }

/* ── Placeholder pro fotky ───────────────────────────────────── */
.ph {
  margin: 0; position: relative; overflow: hidden;
  background: var(--paper-2);
}
.ph img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.1s var(--ease), opacity .6s var(--ease);
}
.ph.is-missing img { opacity: 0; }
.ph.is-missing::after {
  content: attr(data-ph);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-40); text-align: center; padding: 20px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 9px, rgba(22,24,26,.045) 9px 10px),
    var(--paper-2);
}

/* ── Hero — nadpis, dvě tlačítka, půdorysný 3D sken ──────────── */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(104px, 13vh, 148px) var(--gut) clamp(24px, 3.6vh, 46px);
  display: flex; flex-direction: column;
  min-height: min(96svh, 1000px);
  text-align: center;
}

/* Nadpis drží na jednom řádku — velikost je odvozená od šířky okna tak,
   aby se vešel i delší německý překlad. Pod 760 px se zalomí. */
.hero__h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 5.9vw, 88px);
  line-height: 1.04; letter-spacing: -.03em;
  margin: 0;
}
.hero__h1 .line { display: block; overflow: hidden; }
.hero__h1 .line > * {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-io);
}
/* Když se nadpis zalomí (mobil), ať se zlomí mezi větami, ne uprostřed */
.hero__h1 .line > * > * { display: inline-block; }
.is-ready .hero__h1 .line > * { transform: none; }
.is-ready .hero__h1 .line:nth-child(2) > * { transition-delay: .09s; }
.hero__h1 em { font-style: italic; color: var(--accent-deep); }

/* Tlačítka až pod skenem */
.hero__cta {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-top: clamp(26px, 4vh, 46px);
}

/* Sken vyplní zbytek výšky a drží se uprostřed */
.hero__scan {
  margin: clamp(22px, 3.6vh, 48px) 0 0;
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero__frame { position: relative; display: inline-block; line-height: 0; max-width: 100%; }
.hero__frame img {
  max-width: 100%; max-height: min(56vh, 680px); width: auto; height: auto;
  clip-path: inset(0 100% 0 0);
}
/* Animace místo tranzice — obě krajní hodnoty musí mít stejný tvar, jinak
   se clip-path neinterpoluje a reveal zůstane stát na začátku. */
.is-ready .hero__frame img { animation: scanIn 1.35s var(--ease-io) .2s forwards; }
@keyframes scanIn {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* Tenká linka projede skenem jako čtecí hlava */
.hero__sweep {
  position: absolute; top: -6px; bottom: -6px; left: 0; width: 1px;
  background: var(--accent); opacity: 0;
}
.is-ready .hero__sweep { animation: sweep 1.35s var(--ease-io) .2s; }
@keyframes sweep {
  0%   { left: 0;    opacity: 0; }
  10%  { opacity: .85; }
  90%  { opacity: .85; }
  100% { left: 100%; opacity: 0; }
}

/* ── Živý pruh ───────────────────────────────────────────────── */
.live {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gut);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.live__i { padding: 18px 20px 18px 0; border-right: 1px solid var(--rule-2); }
.live__i:first-child { padding-left: 0; }
.live__i--last { border-right: 0; }
.live__k { display: block; font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-40); }
.live__v { display: block; margin-top: 4px; font-size: 14px; }
#wxNow b, #nextFree b { font-weight: 500; }

/* ── Sekce ───────────────────────────────────────────────────── */
.sec {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px, 11vw, 150px) var(--gut);
}
.sec--tint {
  max-width: none; background: var(--paper-2);
  transition: background-color .7s var(--ease);
}
.sec--tint > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.sec__head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 14px; margin-bottom: clamp(34px, 5vw, 60px);
  border-bottom: 1px solid var(--rule);
}
.sec__num { font-family: var(--serif); font-size: 13px; color: var(--accent); font-style: italic; }
.sec__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); }
.sec__head .chips { margin-left: auto; }

.chips { display: flex; gap: 0; border: 1px solid var(--rule); }
.chips button {
  background: none; border: 0; cursor: pointer; padding: 7px 15px;
  font-size: 11.5px; letter-spacing: .06em; color: var(--ink-40);
  transition: color .3s, background-color .3s;
}
.chips button + button { border-left: 1px solid var(--rule); }
.chips button.is-on { background: var(--ink); color: var(--paper); }

/* ── 01 Apartmán ─────────────────────────────────────────────── */
.about {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  gap: clamp(34px, 6vw, 96px);
}
.about__l p { color: var(--ink-60); max-width: 54ch; margin-top: 22px; }
.about__season {
  border-left: 2px solid var(--accent); padding-left: 16px;
  transition: border-color .7s var(--ease);
}
.about__l .h2 { max-width: 17ch; }

.specs { margin-top: 40px; border-top: 1px solid var(--rule); }
.specs li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--rule-2); font-size: 14px;
}
.specs li span { color: var(--ink-40); }
.specs li b { font-weight: 400; text-align: right; }

.about__r { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 24px); }
.ph--tall { aspect-ratio: 4 / 3; }
.ph--wide { aspect-ratio: 4 / 3; margin-left: clamp(20px, 6vw, 90px); }

.reveal-img img { transform: scale(1.14); }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-io); }
.reveal-img.is-in { clip-path: inset(0); }
.reveal-img.is-in img { transform: scale(1); }

.counts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--rule);
}
.count { padding: 26px 20px 0 0; }
.count b {
  font-family: var(--serif); font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 300; line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.count span { font-family: var(--serif); font-size: 20px; color: var(--accent); margin-left: 4px; }
.count i { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--ink-60); max-width: 20ch; }

/* ── 02 Vybavení ─────────────────────────────────────────────── */
.amen { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.amen__col h3 {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 4px;
}
.amen__col li {
  padding: 11px 0 11px 20px; border-bottom: 1px solid var(--rule-2);
  font-size: 14px; color: var(--ink-80); position: relative;
}
.amen__col li::before {
  content: ''; position: absolute; left: 0; top: 20px;
  width: 8px; height: 1px; background: var(--accent);
  transition: width .5s var(--ease), height .5s var(--ease), top .5s var(--ease);
}
/* Co se hodí zrovna teď — v zimě lyžárna a topení, v létě terasa a zahrada */
.amen__col li[data-season] { transition: color .5s var(--ease); }
html[data-season="summer"] .amen__col li[data-season="summer"],
html[data-season="winter"] .amen__col li[data-season="winter"] { color: var(--ink); }
html[data-season="summer"] .amen__col li[data-season="summer"]::before,
html[data-season="winter"] .amen__col li[data-season="winter"]::before {
  width: 8px; height: 8px; top: 17px;
}

/* ── 03 Galerie ──────────────────────────────────────────────── */
/* Všechny fotky jsou 4:3 na šířku. Mřížka jim proto nikdy nevnucuje jiný
   poměr — nic se neořezává. Kolik fotek je na řádku (a tedy jak široká
   dlaždice je), dopočítá JS ve `layoutGallery()`; sem jen posílá --span. */
.gal {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
}
.gal__i {
  cursor: none; position: relative;
  grid-column: span var(--span, 4);
  aspect-ratio: 4 / 3;
}
/* Rytmus 2 + 3 fotky na řádek. `of :not(.is-hidden)` počítá jen viditelné
   dlaždice, takže se mřížka přeskládá i po filtrování — bez JS. */
@media (min-width: 981px) {
  .gal__i:nth-child(5n + 1 of :not(.is-hidden)),
  .gal__i:nth-child(5n + 2 of :not(.is-hidden)) { --span: 6; }
}
@media (max-width: 980px) { .gal__i { --span: 6; } }
@media (max-width: 620px) { .gal__i { --span: 12; } }
.gal__i img { transition: transform 1.2s var(--ease), filter .6s; }
.gal__i:hover img { transform: scale(1.045); }
.gal__i figcaption {
  position: absolute; left: 0; bottom: 0; padding: 10px 14px;
  background: var(--paper); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(101%); transition: transform .5s var(--ease-io);
}
.gal__i:hover figcaption { transform: none; }
.gal__i.is-hidden { display: none; }

/* Vlastní kurzor nad galerií */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .35s var(--ease), opacity .3s;
  opacity: 0;
}
.cursor.is-on { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* ── 04 Termíny ──────────────────────────────────────────────── */
.booking {
  display: grid; grid-template-columns: minmax(0, 1fr) 372px;
  gap: clamp(28px, 4vw, 64px); align-items: start;
}

.cal { border: 1px solid var(--rule); background: var(--paper); }
.cal__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--rule);
}
.cal__nav {
  width: 32px; height: 32px; border: 1px solid var(--rule); background: none;
  cursor: pointer; display: grid; place-items: center;
  transition: background-color .3s, color .3s, border-color .3s;
}
.cal__nav svg { width: 13px; height: 13px; }
.cal__nav:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal__nav:disabled { opacity: .25; pointer-events: none; }

.cal__legend { display: flex; gap: 18px; font-size: 11px; color: var(--ink-40); }
.cal__legend > span { display: flex; align-items: center; gap: 6px; }
.lg { width: 9px; height: 9px; display: block; border: 1px solid var(--rule); }
.lg--free { background: var(--paper); }
.lg--busy { background: var(--paper-3); border-color: var(--paper-3); position: relative; }
.lg--busy::after { content: ''; position: absolute; inset: -1px; background: repeating-linear-gradient(-45deg, transparent 0 2px, var(--ink-40) 2px 3px); }
.lg--sel { background: var(--accent); border-color: var(--accent); }

.cal__months { display: grid; grid-template-columns: 1fr 1fr; }
.cal__m { padding: 20px 18px 22px; }
.cal__m + .cal__m { border-left: 1px solid var(--rule); }
.cal__mt {
  font-family: var(--serif); font-size: 19px; font-weight: 400; text-align: center;
  margin-bottom: 16px; letter-spacing: -.01em;
}
.cal__mt span { color: var(--ink-40); font-size: 15px; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__dow span {
  text-align: center; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-40); padding-bottom: 8px;
}
.cal__d {
  position: relative; aspect-ratio: 1; border: 0; background: none; cursor: pointer;
  font-size: 13px; font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s, color .2s;
}
.cal__d::after {
  content: ''; position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%);
  width: 3px; height: 3px; background: var(--accent); opacity: 0;
}
.cal__d.is-empty { pointer-events: none; }
.cal__d.is-past { color: var(--ink-40); opacity: .45; pointer-events: none; text-decoration: line-through; }
.cal__d.is-busy {
  color: var(--ink-40); pointer-events: none;
  background: repeating-linear-gradient(-45deg, transparent 0 4px, rgba(22,24,26,.09) 4px 5px);
  text-decoration: line-through;
}
.cal__d:not(.is-busy):not(.is-past):not(.is-empty):hover { background: var(--accent-tint); }
.cal__d.is-in { background: var(--accent-tint); }
.cal__d.is-edge { background: var(--accent); color: var(--paper); font-weight: 500; }
.cal__d.is-edge::after { display: none; }
.cal__d.is-peak::after { opacity: .5; }
.cal__d.is-blockedhover { background: rgba(168,80,60,.14); }

.cal__hint { padding: 0 18px 18px; font-size: 12px; color: var(--ink-40); }
.cal__hint.is-warn { color: var(--busy); }

/* Cenový panel */
.quote { position: sticky; top: 92px; }
.quote__in { border: 1px solid var(--rule); background: var(--paper); padding: 22px 22px 20px; }
.quote__eyebrow { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-40); }

.quote__dates {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 16px 0; margin: 14px 0 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.quote__dates span { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); }
.quote__dates b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 400; margin-top: 3px; }
.quote__arrow svg { width: 28px; height: 8px; color: var(--ink-40); }

.quote__ctrl { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 0;
  padding: 9px 11px; width: 100%;
  transition: border-color .3s;
}
.field select { appearance: none; padding-right: 30px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2316181A' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 10px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; }
.quote__ctrl .field { flex: 0 0 88px; }
.quote__rule { flex: 1 1 160px; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-40); }

.check { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-60); cursor: pointer; }
.check--block { align-items: flex-start; margin-top: 16px; }
.check input {
  appearance: none; width: 15px; height: 15px; flex: 0 0 15px; margin: 0;
  border: 1px solid var(--rule); background: var(--paper); cursor: pointer; position: relative;
  transition: background-color .2s, border-color .2s;
}
.check--block input { margin-top: 3px; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid var(--paper); border-width: 0 1.5px 1.5px 0; transform: rotate(42deg);
}

.quote__body { min-height: 120px; padding: 16px 0 4px; }
.quote__empty { font-size: 13px; color: var(--ink-40); line-height: 1.6; }

.qline { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 13.5px; }
.qline span { color: var(--ink-60); }
.qline i { font-style: normal; display: block; font-size: 11px; color: var(--ink-40); }
.qline b { font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qtotal {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--rule);
}
.qtotal span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); }
.qtotal b { font-family: var(--serif); font-size: 32px; font-weight: 400; font-variant-numeric: tabular-nums; }
.qsave {
  margin-top: 12px; padding: 10px 12px; background: var(--accent-tint);
  font-size: 12px; color: var(--accent-deep); line-height: 1.5;
  border-left: 2px solid var(--accent);
}
.qsave b { font-weight: 600; }
.qwarn { margin-top: 12px; font-size: 12.5px; color: var(--busy); }
.quote__note { margin-top: 12px; font-size: 11.5px; color: var(--ink-40); text-align: center; }

/* Pruh cen v roce */
.year { margin-top: clamp(56px, 8vw, 100px); }
.year__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.year__head h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.year__switch { display: flex; border: 1px solid var(--rule); }
.year__switch button { background: none; border: 0; cursor: pointer; padding: 6px 14px; font-size: 12px; color: var(--ink-40); }
.year__switch button + button { border-left: 1px solid var(--rule); }
.year__switch button.is-on { background: var(--ink); color: var(--paper); }

.year__strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; margin-top: 22px; align-items: end; }
/* Měsíce mimo zvolenou sezónu ustoupí do pozadí */
.ym { transition: opacity .55s var(--ease); }
html[data-season="summer"] .ym[data-part="winter"],
html[data-season="winter"] .ym[data-part="summer"] { opacity: .38; }
.ym { display: flex; flex-direction: column; gap: 8px; }
.ym__bar {
  height: 0; background: var(--accent); opacity: .28;
  transition: height 1s var(--ease-io), opacity .3s;
}
.ym.is-in .ym__bar { opacity: .28; }
.ym[data-s="peak"] .ym__bar { opacity: 1; }
.ym[data-s="high"] .ym__bar { opacity: .7; }
.ym[data-s="mid"] .ym__bar { opacity: .45; }
.ym:hover .ym__bar { opacity: 1; }
.ym__m { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-40); }
.ym__p { font-size: 12px; font-variant-numeric: tabular-nums; }
.ym:hover .ym__m { color: var(--ink); }

.year__key { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; font-size: 11.5px; color: var(--ink-40); }
.year__key span { display: flex; align-items: center; gap: 7px; }
.year__key i { width: 10px; height: 10px; background: var(--accent); display: block; }

/* ── 05 Okolí ────────────────────────────────────────────────── */
.rail { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; }
.rail__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding-bottom: 4px; }

.act {
  flex: 0 0 clamp(260px, 25vw, 340px);
  border-top: 1px solid var(--rule); padding-top: 16px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.act.is-in { opacity: 1; transform: none; }
.act__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.act__d { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--accent); white-space: nowrap; }
.act__n { font-family: var(--serif); font-size: 12px; color: var(--ink-40); }
.act h3 { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 27px); font-weight: 400; line-height: 1.16; margin: 12px 0 8px; letter-spacing: -.012em; }
.act p { font-size: 13.5px; color: var(--ink-60); line-height: 1.58; }
.act__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.act__tags span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); border: 1px solid var(--rule); padding: 3px 8px; }

.rail__ctrl { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.rail__ctrl button {
  width: 36px; height: 36px; border: 1px solid var(--rule); background: none; cursor: pointer;
  display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s;
}
.rail__ctrl button svg { width: 13px; height: 13px; }
.rail__ctrl button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail__bar { flex: 1; height: 1px; background: var(--rule); position: relative; }
.rail__bar i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--accent); width: 20%; transition: width .3s, left .3s; }

/* ── 06 Info ─────────────────────────────────────────────────── */
.info { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr); gap: clamp(34px, 6vw, 90px); align-items: start; }

.faq { margin-top: 36px; border-top: 1px solid var(--rule); }
.faq__i { border-bottom: 1px solid var(--rule-2); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 40px 18px 0; position: relative;
  font-size: 15.5px; color: var(--ink); transition: color .3s;
}
.faq__q:hover { color: var(--accent-deep); }
.faq__q::before, .faq__q::after {
  content: ''; position: absolute; right: 4px; top: 50%; background: var(--ink-40);
  transition: transform .4s var(--ease), background-color .3s;
}
.faq__q::before { width: 13px; height: 1px; margin-top: -.5px; }
.faq__q::after { width: 1px; height: 13px; margin-top: -6.5px; margin-right: 6px; }
.faq__i.is-open .faq__q::after { transform: rotate(90deg); }
.faq__i.is-open .faq__q { color: var(--accent-deep); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-io); }
.faq__i.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 40px 20px 0; font-size: 14px; color: var(--ink-60); max-width: 62ch; }

.info__r { display: flex; flex-direction: column; gap: 18px; }
.card { border: 1px solid var(--rule); padding: 22px; background: var(--paper); }
.card h3 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.card li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--rule-2); font-size: 13.5px; }
.card li span { color: var(--ink-40); }
.card li b { font-weight: 400; text-align: right; font-variant-numeric: tabular-nums; }

/* ── Patička ─────────────────────────────────────────────────── */
.foot { background: var(--ink); color: var(--paper); padding: clamp(60px, 8vw, 100px) var(--gut) 0; overflow: hidden; }
.foot__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.foot .eyebrow { color: rgba(244,241,234,.4); margin-bottom: 18px; }
.foot__link {
  display: block; font-family: var(--serif); font-size: 25px; font-weight: 300;
  padding: 4px 0; position: relative; width: fit-content;
}
.foot__link--sm { font-size: 19px; }
.foot__link::after {
  content: ''; position: absolute; left: 0; bottom: 2px; height: 1px; width: 100%;
  background: var(--paper); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--ease);
}
.foot__link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.foot__addr { margin-top: 16px; font-size: 13px; color: rgba(244,241,234,.5); line-height: 1.7; }
.foot__txt { font-size: 14px; color: rgba(244,241,234,.6); max-width: 34ch; margin-bottom: 20px; }

.foot__word {
  font-family: var(--serif); font-weight: 300; text-align: center;
  font-size: clamp(90px, 22vw, 320px); line-height: .85; letter-spacing: -.04em;
  color: rgba(244,241,234,.07); margin-top: clamp(40px, 6vw, 70px);
  user-select: none;
}
.foot__bot {
  max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 22px 0;
  border-top: 1px solid rgba(244,241,234,.12);
  font-size: 11.5px; color: rgba(244,241,234,.4); letter-spacing: .04em;
}

/* ── Lightbox ────────────────────────────────────────────────── */
.lb {
  position: fixed; inset: 0; z-index: 400; background: rgba(18,19,20,.96);
  display: grid; place-items: center; padding: 4vh 4vw;
  opacity: 0; transition: opacity .4s var(--ease);
}
.lb.is-on { opacity: 1; }
.lb__f { margin: 0; max-width: 100%; max-height: 92vh; display: flex; flex-direction: column; gap: 14px; }
.lb__f img {
  max-height: 84vh; width: auto; max-width: 100%; object-fit: contain;
  transform: scale(.97); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.lb.is-on .lb__f img { transform: none; opacity: 1; }
.lb__f figcaption { text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,241,234,.5); }
.lb__x, .lb__nav {
  position: absolute; background: none; border: 1px solid rgba(244,241,234,.22); color: var(--paper);
  cursor: pointer; display: grid; place-items: center; transition: background-color .3s, border-color .3s, color .3s;
}
.lb__x:hover, .lb__nav:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lb__x { top: 3vh; right: 4vw; width: 42px; height: 42px; }
.lb__x svg { width: 16px; height: 16px; }
.lb__nav { top: 50%; transform: translateY(-50%); width: 44px; height: 60px; }
.lb__nav svg { width: 15px; height: 15px; }
.lb__nav--p { left: max(14px, 1.6vw); }
.lb__nav--n { right: max(14px, 1.6vw); }
.lb__count {
  position: absolute; bottom: 3vh; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .14em; color: rgba(244,241,234,.5); font-variant-numeric: tabular-nums;
}
/* Na nízkém okně by počítadlo leželo na popisku fotky */
@media (max-height: 560px) { .lb__count { display: none; } }

/* ── Modal ───────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 500; background: rgba(18,19,20,.5);
  display: grid; place-items: center; padding: 4vh 20px;
  opacity: 0; transition: opacity .35s var(--ease);
  backdrop-filter: blur(3px);
}
.modal.is-on { opacity: 1; }
.modal__panel {
  background: var(--paper); width: min(640px, 100%); max-height: 92vh; overflow-y: auto;
  padding: 30px clamp(22px, 4vw, 44px) 34px; position: relative;
  border: 1px solid var(--rule);
  transform: translateY(18px); transition: transform .45s var(--ease-io);
}
.modal.is-on .modal__panel { transform: none; }
.modal__x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 1px solid var(--rule); background: none; cursor: pointer; display: grid; place-items: center; transition: background-color .3s, color .3s; }
.modal__x svg { width: 15px; height: 15px; }
.modal__x:hover { background: var(--ink); color: var(--paper); }

.steps { display: flex; gap: 22px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.steps > span { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); transition: color .3s; }
.steps i { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--rule); font-style: normal; font-size: 11px; transition: background-color .3s, color .3s, border-color .3s; }
.steps > span.is-on { color: var(--ink); }
.steps > span.is-on i { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.steps > span.is-done i { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.modal__step { display: none; }
.modal__step.is-on { display: block; animation: stepIn .4s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }
.modal__step h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; margin-bottom: 18px; letter-spacing: -.015em; }

.msum { border-top: 1px solid var(--rule); }
.msum__r { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule-2); font-size: 14px; }
.msum__r span { color: var(--ink-40); }
.msum__r b { font-weight: 400; font-variant-numeric: tabular-nums; }
.msum__t { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.msum__t span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); }
.msum__t b { font-family: var(--serif); font-size: 30px; font-weight: 400; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#mForm .field { margin-bottom: 16px; }
#mForm .grid2 .field { margin-bottom: 0; }
.field.is-err input, .field.is-err select, .field.is-err textarea { border-color: var(--busy); }
.formerr { margin-top: 14px; font-size: 13px; color: var(--busy); }
.modal__foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 26px; flex-wrap: wrap; }

.done { text-align: center; padding: 10px 0; }
.done__tick {
  width: 56px; height: 56px; border: 1px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; margin: 0 auto 22px;
}
.done__tick svg { width: 26px; height: 26px; }
.done__tick svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick .6s .15s var(--ease) forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.done p { color: var(--ink-60); max-width: 42ch; margin: 0 auto 20px; font-size: 14.5px; }
.done__code { display: flex; flex-direction: column; gap: 4px; align-items: center; margin-bottom: 26px !important; }
.done__code span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); }
.done__code b { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: .04em; }

/* ── Odhalování při scrollu ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-lines .rl { display: block; overflow: hidden; }
.reveal-lines .rl > span { display: block; transform: translateY(105%); transition: transform .9s var(--ease-io); }
.reveal-lines.is-in .rl > span { transform: none; }
.reveal-lines.is-in .rl:nth-child(2) > span { transition-delay: .07s; }
.reveal-lines.is-in .rl:nth-child(3) > span { transition-delay: .14s; }
.reveal-lines.is-in .rl:nth-child(4) > span { transition-delay: .21s; }

/* ── Responzivita ────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .booking { grid-template-columns: 1fr; }
  .quote { position: static; max-width: 480px; }
  .amen { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: block; }
  .head__cta { display: none; }
  .hero { min-height: auto; padding-top: 104px; }
  .hero__frame img { max-height: none; }
  .about, .info { grid-template-columns: 1fr; }
  .about__r { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .ph--wide { margin-left: 0; }
  .counts { grid-template-columns: repeat(2, 1fr); }
  .live { grid-template-columns: repeat(2, 1fr); }
  .live__k { min-height: 2.6em; }  /* delší popisky se lámou — hodnoty pak drží linku */
  .live__i:nth-child(2) { border-right: 0; }
  .live__i:nth-child(3) { border-top: 1px solid var(--rule-2); padding-left: 0; }
  .live__i:nth-child(4) { border-top: 1px solid var(--rule-2); }
  .cal__months { grid-template-columns: 1fr; }
  .cal__m + .cal__m { border-left: 0; border-top: 1px solid var(--rule); }
  .year__strip { grid-template-columns: repeat(6, 1fr); gap: 6px 4px; }
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  .seasonsw span { display: none; }
  .seasonsw button { padding: 7px 10px; }
  .head__in { gap: 10px; }
  .brand__txt b { white-space: nowrap; font-size: 11px; letter-spacing: .1em; }
  .brand__txt i { display: none; }
  .lang__btn { padding: 7px 8px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  /* Na telefonu radši nadpis zalomit než ho zmenšovat, aby se vešel na řádek */
  .hero__h1 { font-size: clamp(34px, 9vw, 46px); line-height: 1.08; }
  .amen { grid-template-columns: 1fr; }
  .counts { grid-template-columns: 1fr; }
  .count { padding-top: 20px; border-bottom: 1px solid var(--rule-2); padding-bottom: 20px; }
  .grid2 { grid-template-columns: 1fr; }
  .modal__foot .btn { flex: 1; }
  .cal__legend { gap: 10px; font-size: 10px; }
  .lb__nav { width: 36px; height: 50px; }
}

/* ── Omezený pohyb ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-lines .rl > span, .hero__h1 .line > *, .act {
    opacity: 1 !important; transform: none !important;
  }
  .reveal-img, .hero__frame img { clip-path: none !important; animation: none !important; }
  .reveal-img img { transform: none !important; }
  .hero__sweep { display: none; }
  .cursor { display: none; }
  .gal__i { cursor: pointer; }
}

/* ── Právní dokumenty (podmínky, ubytovací řád, ochrana údajů) ─── */
.doc {
  max-width: 980px; margin: 0 auto;
  padding: clamp(104px, 13vw, 168px) var(--gut) clamp(70px, 10vw, 130px);
}
.doc__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-40);
  margin-bottom: 26px; transition: color .3s var(--ease);
}
.doc__back:hover { color: var(--ink); }
.doc__back svg { width: 13px; height: 13px; }
.doc__h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em;
  margin: 10px 0 18px; max-width: 20ch;
}
.doc__lead { color: var(--ink-60); max-width: 62ch; font-size: 16px; }
.doc__meta {
  margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--rule);
  font-size: 12.5px; color: var(--ink-40);
}
.doc__toc {
  margin: 34px 0 8px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px;
}
.doc__toc a { font-size: 13.5px; color: var(--ink-60); transition: color .3s var(--ease); }
.doc__toc a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.doc__s { padding-top: clamp(34px, 5vw, 54px); scroll-margin-top: 90px; }
.doc__s h2 {
  font-family: var(--serif); font-size: clamp(21px, 2.6vw, 30px); font-weight: 400;
  letter-spacing: -.01em; margin-bottom: 14px;
}
.doc__s h3 {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin: 26px 0 8px;
}
.doc__s p, .doc__s li { color: var(--ink-80); font-size: 15px; line-height: 1.72; max-width: 74ch; }
.doc__s p + p { margin-top: 13px; }
.doc__s ul, .doc__s ol { margin: 12px 0; padding: 0; }
.doc__s li { position: relative; padding: 6px 0 6px 22px; }
.doc__s li::before {
  content: ''; position: absolute; left: 0; top: 17px;
  width: 8px; height: 1px; background: var(--accent);
}
.doc__s ol { counter-reset: docli; }
.doc__s ol > li { padding-left: 30px; counter-increment: docli; }
.doc__s ol > li::before {
  content: counter(docli) '.'; width: auto; height: auto; background: none;
  top: 6px; color: var(--ink-40); font-size: 13px; font-variant-numeric: tabular-nums;
}
.doc__s a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.doc__s strong { font-weight: 500; }
.doc__note {
  margin-top: 16px; padding: 16px 18px; background: var(--paper-2);
  border-left: 2px solid var(--accent); font-size: 14px; color: var(--ink-80);
}
.doc__tbl { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.doc__tbl th, .doc__tbl td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.doc__tbl th { font-weight: 500; color: var(--ink-40); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.doc__tbl td:last-child { text-align: right; white-space: nowrap; padding-right: 0; }

/* Odkazy na dokumenty v patičce */
.foot__legal {
  max-width: var(--maxw); margin: 0 auto; padding: 26px var(--gut) 0;
  border-top: 1px solid rgba(244,241,234,.12);
  display: flex; flex-wrap: wrap; gap: 8px 26px;
}
.foot__legal a { font-size: 12.5px; color: rgba(244,241,234,.62); transition: color .3s var(--ease); }
.foot__legal a:hover { color: var(--paper); }
.foot__id {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gut) 0;
  font-size: 11.5px; line-height: 1.7; color: rgba(244,241,234,.42); max-width: 80ch;
}

@media (max-width: 620px) {
  .doc__toc { grid-template-columns: 1fr; }
  .doc__tbl td:last-child { text-align: left; }
}

/* Vysvětlivka pod formulářem a u přepínače jazyka */
.formnote {
  margin-top: 10px; font-size: 12.5px; line-height: 1.55; color: var(--ink-40);
}
.msum + .formnote { margin-top: 16px; }
.lang__note {
  padding: 10px 14px; border-top: 1px solid var(--rule);
  font-size: 11px; line-height: 1.5; color: var(--ink-40);
}
.check.is-err input { border-color: var(--busy); }
.check.is-err > span { color: var(--busy); }
.check a { text-decoration: underline; text-underline-offset: 2px; }

/* Upozornění cizojazyčnému návštěvníkovi, že dokument je jen česky */
.doc__notice {
  margin-bottom: 22px; padding: 13px 16px;
  background: var(--paper-2); border-left: 2px solid var(--accent);
  font-size: 13.5px; line-height: 1.55; color: var(--ink-80); max-width: 74ch;
}

/* ── Správa apartmánu ────────────────────────────────────────── */
.adm {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(100px, 12vw, 140px) var(--gut) clamp(80px, 10vw, 130px);
}
.adm .doc__h1 { margin-top: 0; }
.adm__weblink { color: var(--ink-40); font-size: 12.5px; }
.adm__weblink:hover { color: var(--ink); }

/* Přihlášení */
.adm__login { max-width: 420px; }
.adm__form { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.adm__hint {
  margin-top: 24px; padding: 16px 18px; background: var(--paper-2);
  border-left: 2px solid var(--accent); font-size: 13.5px; line-height: 1.6; color: var(--ink-80);
}
.adm__hint code, .doc__note code { font-size: 12.5px; background: var(--paper-3); padding: 1px 5px; }

.adm__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--rule);
}
.adm__saved { font-size: 12.5px; color: var(--ink-40); }

.adm__block { padding-top: clamp(34px, 5vw, 56px); }
.adm__block--sep { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--rule); }
.adm__block h2 {
  font-family: var(--serif); font-size: clamp(21px, 2.5vw, 30px); font-weight: 400; letter-spacing: -.012em;
}
.adm__h3 { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.adm__sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-60); max-width: 68ch; }

/* Čísla */
.adm__tiles {
  margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.adm__tile { background: var(--paper); padding: 20px 22px 18px; }
.adm__tile.is-accent { background: var(--accent-tint); }
.adm__tile b {
  display: block; font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.adm__tile span { display: block; margin-top: 10px; font-size: 12.5px; color: var(--ink-80); }
.adm__tile i { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: var(--ink-40); }

/* Sloupcový graf */
.adm__chart {
  margin-top: 24px; display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(4px, .8vw, 10px); align-items: end;
}
.adm__bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.adm__bar-v { font-size: 10.5px; color: var(--ink-40); font-variant-numeric: tabular-nums; min-height: 14px; }
.adm__bar-wrap {
  position: relative; width: 100%; height: clamp(90px, 13vw, 150px);
  background: var(--paper-2); display: block;
}
.adm__bar-fill {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--accent);
  transition: height .6s var(--ease);
}
.adm__bar-col:hover .adm__bar-wrap { background: var(--paper-3); }
.adm__bar-m { font-size: 11px; color: var(--ink-60); }
.adm__bar-p { font-size: 10.5px; color: var(--ink-40); font-variant-numeric: tabular-nums; }

/* Rezervace */
.adm__tbl { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.adm__tbl th {
  text-align: left; font-weight: 500; font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-40);
  padding: 0 14px 10px 0; border-bottom: 1px solid var(--rule);
}
.adm__tbl td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.adm__tbl i { display: block; font-style: normal; font-size: 11.5px; color: var(--ink-40); margin-top: 2px; }
.adm__num { text-align: right; padding-right: 0 !important; font-variant-numeric: tabular-nums; font-weight: 500; }
.adm__st {
  display: inline-block; font-size: 11px; letter-spacing: .06em;
  padding: 2px 8px; border: 1px solid var(--rule);
}
.adm__st--confirmed { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.adm__st--pending { color: var(--busy); border-color: var(--busy); }

/* Kalendář cen */
.adm__cal { margin-top: 24px; border: 1px solid var(--rule); }
.adm__cal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px; border-bottom: 1px solid var(--rule);
}
.adm__legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--ink-40); }
.adm__legend span { display: flex; align-items: center; gap: 6px; }
.adm__lg { width: 10px; height: 10px; border: 1px solid var(--rule); }
.adm__lg--free { background: var(--paper); }
.adm__lg--busy { background: var(--paper-3); border-color: var(--paper-3); }
.adm__lg--custom { background: var(--accent-tint); border-color: var(--accent); }
.adm__lg--sel { background: var(--ink); border-color: var(--ink); }

.adm__months { display: grid; grid-template-columns: 1fr 1fr; }
.adm__m { padding: 16px 18px 20px; }
.adm__m + .adm__m { border-left: 1px solid var(--rule); }
.adm__m-t { font-family: var(--serif); font-size: 18px; margin-bottom: 12px; }
.adm__m-t span { color: var(--ink-40); }
.adm__dow, .adm__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.adm__dow span {
  text-align: center; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-40); padding-bottom: 8px;
}
.adm__d {
  position: relative; aspect-ratio: 1 / .82; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s;
}
.adm__d.is-empty { pointer-events: none; }
.adm__d-n { font-size: 13px; }
.adm__d-p { font-size: 9.5px; color: var(--ink-40); }
.adm__d:hover:not(.is-past) { background: var(--paper-2); }
.adm__d.is-past { color: var(--ink-40); opacity: .45; cursor: default; }
.adm__d.is-busy { background: var(--paper-3); }
.adm__d.is-busy .adm__d-n { text-decoration: line-through; }
.adm__d.is-custom { background: var(--accent-tint); }
.adm__d.is-custom .adm__d-p { color: var(--accent-deep); font-weight: 500; }
.adm__d.is-sel, .adm__d.is-sel:hover { background: var(--ink); color: var(--paper); }
.adm__d.is-sel .adm__d-p { color: rgba(244,241,234,.7); }

/* Nastavení ceny pro výběr */
.adm__set {
  margin-top: 16px; padding: 16px 18px; border: 1px solid var(--accent); background: var(--accent-tint);
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
}
.adm__set-info { flex: 1 1 220px; }
.adm__set-range { display: block; font-size: 15px; font-weight: 500; }
.adm__set-meta { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-60); }
.adm__set .field { flex: 0 0 auto; }
.adm__set input[type="number"] { width: 130px; }
.adm__set input[type="text"] { width: 180px; }

/* Sezónní ceny */
.adm__seasons { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.adm__season {
  display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 3px 14px;
  border: 1px solid var(--rule); padding: 13px 16px;
}
.adm__season-name { font-size: 14px; font-weight: 500; }
.adm__season-meta { grid-column: 1; font-size: 11.5px; color: var(--ink-40); }
.adm__season input {
  grid-column: 2; grid-row: 1 / 3; font: inherit; font-size: 15px; text-align: right;
  padding: 9px 11px; border: 1px solid var(--rule); background: var(--paper);
  border-radius: 0; font-variant-numeric: tabular-nums;
}
.adm__season input:focus { border-color: var(--accent); outline: none; }

/* Seznam termínů */
.adm__rows { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.adm__row {
  display: grid; grid-template-columns: 1.4fr 1fr auto 34px; gap: 14px; align-items: center;
  border: 1px solid var(--rule); padding: 11px 14px; font-size: 14px;
}
.adm__row-date { font-variant-numeric: tabular-nums; }
.adm__row-label { color: var(--ink-60); font-size: 13px; }
.adm__row-label i { color: var(--ink-40); }
.adm__row-price { display: flex; align-items: center; gap: 8px; }
.adm__row-price input {
  width: 100px; font: inherit; font-size: 14px; text-align: right; padding: 7px 10px;
  border: 1px solid var(--rule); background: var(--paper); border-radius: 0; font-variant-numeric: tabular-nums;
}
.adm__row-price input:focus { border-color: var(--accent); outline: none; }
.adm__row-price span { font-size: 11.5px; color: var(--ink-40); }
.adm__del {
  width: 32px; height: 32px; border: 1px solid var(--rule); background: none; cursor: pointer;
  display: grid; place-items: center; color: var(--ink-40); transition: color .3s, border-color .3s;
}
.adm__del:hover { color: var(--busy); border-color: var(--busy); }
.adm__del svg { width: 12px; height: 12px; }
.adm__empty { font-size: 13.5px; color: var(--ink-40); padding: 14px 0; }

/* Lišta s uložením */
.adm__bar {
  position: sticky; bottom: 0; z-index: 20;
  margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.adm__bar .btn { margin-left: auto; }
.adm__ok { font-size: 13.5px; color: var(--accent-deep); font-weight: 500; }
.adm__dirty { font-size: 12.5px; color: var(--busy); }

@media (max-width: 900px) {
  .adm__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm__months { grid-template-columns: 1fr; }
  .adm__seasons { grid-template-columns: 1fr; }
  .adm__row { grid-template-columns: 1fr auto; }
  .adm__row-label { grid-column: 1 / 3; }
  .adm__tbl thead { display: none; }
  .adm__tbl tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
  .adm__tbl td { border: 0; padding: 2px 0; }
  .adm__num { text-align: left !important; }
}
@media (max-width: 560px) {
  .adm__tiles { grid-template-columns: 1fr; }
  .adm__chart { grid-template-columns: repeat(6, 1fr); gap: 8px 6px; }
}

/* Propojení s Booking.com */
.adm__steps { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.adm__step { background: var(--paper); padding: 22px 24px 24px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.adm__step-n {
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 500;
}
.adm__step h3 { font-size: 15px; font-weight: 500; }
.adm__step-b > p { margin-top: 4px; font-size: 13px; color: var(--ink-60); }
.adm__how { margin: 14px 0 12px; padding-left: 18px; font-size: 13px; color: var(--ink-80); }
.adm__how li { padding: 3px 0; }
.adm__how i { font-style: normal; color: var(--ink-40); }
.adm__copy { margin-top: 14px; display: flex; gap: 8px; }
.adm__copy input, .adm__chan-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 9px 11px;
  border: 1px solid var(--rule); background: var(--paper-2); border-radius: 0; color: var(--ink);
}
.adm__chan-form input { background: var(--paper); }
.adm__copy input:focus, .adm__chan-form input:focus { border-color: var(--accent); outline: none; }

.adm__chan { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--rule); }
.adm__chan + .adm__chan { margin-top: 8px; }
.adm__chan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adm__chan-head b { font-size: 14px; font-weight: 500; }
.adm__chan-url { margin-top: 8px; font-size: 12px; color: var(--ink-40); word-break: break-all; }
.adm__chan-actions { margin-top: 10px; display: flex; gap: 8px; }
.adm__chan-actions .btn { padding: 7px 12px; font-size: 12px; }
.adm__chan-form { margin-top: 10px; display: flex; gap: 8px; }
.adm__chan .formerr { margin-top: 8px; }
.adm__pill { display: inline-block; font-size: 11px; padding: 2px 8px; border: 1px solid var(--rule); color: var(--ink-40); }
.adm__pill--ok { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.adm__pill--bad { border-color: var(--busy); color: var(--busy); }
.adm__muted { font-size: 12px; color: var(--ink-60); }
.adm__sync-note { margin-top: 16px; font-size: 12.5px; }

@media (max-width: 900px) {
  .adm__steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .adm__copy, .adm__chan-form { flex-direction: column; }
}
.adm__warn { color: var(--busy); }
