/* ==========================================================================
   Fara Šumava – hlavní styl
   Mobile-first. Tokeny v :root, sekce níže v pořadí stránky.
   ========================================================================== */

/* ---------- Fonty (self-hosted, latin + latin-ext) ---------- */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/lora-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/lora-latin.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: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(../fonts/lora-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(../fonts/lora-italic-latin.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: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/figtree-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/figtree-latin.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; }

/* ---------- Tokeny ---------- */
:root {
  --bg: #f7f2ed;
  --bg-2: #efe5db;
  --ink: #552d25;
  --red: #d61b43;
  --red-dark: #bd1238;
  --line: #e3d5c8;
  --muted: #7a5b52;          /* ztmaveno z #8a6b62 kvůli kontrastu AA */
  --white: #fff;

  --serif: 'Lora', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --sekce-y: clamp(64px, 9vw, 120px);
  --header-h: 72px;
  --stin-tisk: 0 18px 40px -12px rgb(85 45 37 / .35), 0 2px 6px rgb(85 45 37 / .08);
  --ease: cubic-bezier(.3, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- Základ ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.375rem; }
em { font-style: italic; }
strong, b { font-weight: 600; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--red); color: var(--white); }

/* ---------- Utility ---------- */
.obal { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ikona { width: 24px; height: 24px; flex: none; }

.sekce { padding-block: var(--sekce-y); scroll-margin-top: var(--header-h); }
.sekce--bila { background: var(--white); }
.sekce--tlumena { background: var(--bg-2); }

.nadtitulek {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.nadtitulek::before { content: ''; width: 12px; height: 12px; background: url(../img/symbol.svg) center / contain no-repeat; flex: none; }

.hlavicka-sekce { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.hlavicka-sekce p { margin-top: 16px; font-size: 1.0625rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  background: var(--red); color: var(--white);
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn .ikona { width: 18px; height: 18px; }
.btn--obrys { background: transparent; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn--obrys:hover { background: var(--red); color: var(--white); }
.btn--sekundarni {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px;
  font-weight: 600; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--line), var(--line)) left calc(100% - 10px) / 100% 1.5px no-repeat;
}
.btn--sekundarni:hover { color: var(--red); background-image: linear-gradient(var(--red), var(--red)); }

.karta { background: var(--white); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }

.tisk { background: var(--white); padding: 12px; box-shadow: var(--stin-tisk); border-radius: 2px; }
.tisk img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 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; }
}

/* ==========================================================================
   Navigace
   ========================================================================== */
.preskocit:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 16px; background: var(--white); border-radius: 8px; }

.hlavicka {
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow .3s;
}
/* Pozadí s rozmazáním je na pseudo-elementu: backdrop-filter přímo na hlavičce
   by z ní udělal kontejner pro position: fixed a mobilní menu by se smrsklo do hlavičky. */
.hlavicka::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: transparent; transition: background-color .3s;
}
.hlavicka.je-odscrollovano { box-shadow: 0 1px 0 var(--line); }
.hlavicka.je-odscrollovano::before { background: rgb(247 242 237 / .94); backdrop-filter: blur(8px); }
body.menu-otevreno .hlavicka::before { background: var(--bg); }
.hlavicka__obal { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; font-family: var(--serif); font-size: 1.5rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo em { color: var(--red); }
.logo:hover { color: var(--ink); }

.menu__seznam { display: flex; gap: 4px; }
.menu__seznam a { display: block; padding: 8px 12px; border-radius: 999px; font-weight: 500; text-decoration: none; }
.menu__seznam a[aria-current="true"] { color: var(--red); }
.menu__rychle { display: none; }

.hlavicka__hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 999px; color: var(--ink); }
.hlavicka__hamburger .ikona--zavrit { display: none; }
.hlavicka__hamburger[aria-expanded="true"] .ikona--otevrit { display: none; }
.hlavicka__hamburger[aria-expanded="true"] .ikona--zavrit { display: block; }

@media (max-width: 899px) {
  .js .hlavicka__hamburger { display: inline-flex; }
  .hlavicka__obal { gap: 8px; }
  .js .menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--bg); padding: 24px var(--gutter);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .js .menu.je-otevreno { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .js .menu__seznam { flex-direction: column; gap: 0; }
  .js .menu__seznam a { font-family: var(--serif); font-size: 1.75rem; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  /* Rychlé kontakty dole v mobilním menu */
  .js .menu { display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
  .js .menu__rychle { display: grid; gap: 10px; margin-top: auto; padding-top: 32px; padding-bottom: env(safe-area-inset-bottom); }
  .js .menu__rychle .kontakt-tlacitko { justify-content: center; min-height: 48px; font-size: 1rem; }
  .js .menu__navigovat { width: 100%; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .js .menu { padding-top: 8px; }
  .js .menu__seznam a { font-size: 1.375rem; padding: 10px 0; }
  .js .menu__rychle { padding-top: 20px; gap: 8px; }
  /* Bez JS: menu se zalomí pod logo */
  html:not(.js) .hlavicka__obal { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .menu { order: 3; width: 100%; overflow-x: auto; }
  /* Zámek scrollu pod otevřeným menu (overflow: hidden dotykový scroll v iOS nezastaví) */
  body.menu-otevreno { position: fixed; left: 0; right: 0; top: var(--zamek-y, 0); overflow: hidden; }
}

/* ==========================================================================
   Patička
   ========================================================================== */
.paticka { background: var(--ink); color: #f1e4dc; padding-block: 56px 32px; }
.paticka a { color: #fff; }
.paticka a:hover { color: #ffc2cf; }
.paticka__obal { display: grid; gap: 32px; }
.logo--svetle, .logo--svetle:hover { color: #fff; margin: 0 0 8px; }
.logo--svetle em { color: #ff8fa6; }
.paticka__kontakty { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.paticka__spodek { align-items: center; }
.paticka__odkazy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nahoru { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nahoru__kruh { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); transition: background-color .2s, box-shadow .2s; }
.nahoru__kruh .ikona { width: 16px; height: 16px; transform: rotate(-90deg); }
.nahoru:hover .nahoru__kruh { background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1.5px #fff; }
.paticka__provozovatel { font-size: .8125rem; line-height: 1.6; color: #d9c3b8; }
.paticka__provozovatel strong { color: #f1e4dc; font-weight: 600; }
.paticka__spodek { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .15); font-size: .875rem; color: #d9c3b8; }
@media (min-width: 900px) {
  .paticka__obal { grid-template-columns: 1fr auto; align-items: end; }
  .paticka__spodek, .paticka__provozovatel { grid-column: 1 / -1; }
}

/* ==========================================================================
   Úvod
   ========================================================================== */
.sekce--uvod { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 96px); overflow-x: clip; }
.uvod { display: grid; gap: 40px; grid-template-areas: "hlava" "stoh" "dolni"; }
.uvod__hlava { grid-area: hlava; }
.uvod__stoh { grid-area: stoh; }
.uvod__dolni { grid-area: dolni; }

.uvod h1 { margin-bottom: 20px; }
.uvod h1 em { color: var(--red); }
.uvod__perex { font-size: 1.125rem; max-width: 34em; margin-bottom: 28px; }
.uvod__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }

/* Stoh vytištěných fotek */
.uvod__stoh { position: relative; aspect-ratio: 4 / 3; width: min(84%, 520px); margin: 12px auto; }
.uvod__stoh .tisk {
  position: absolute; inset: 0; margin: 0; padding: clamp(8px, 1.4vw, 14px);
  transition: transform .9s var(--ease), opacity .65s;
}
.uvod__stoh .p0 { transform: rotate(-2.5deg); z-index: 3; }
.uvod__stoh .p1 { transform: translate(6%, -5%) rotate(4.5deg); z-index: 2; }
.uvod__stoh .p2 { transform: translate(-5%, 4%) rotate(-8deg); z-index: 1; }
.uvod__stoh .ven { transform: translate(60%, -8%) rotate(14deg); opacity: 0; z-index: 4; transition: transform .6s ease-in, opacity .6s ease-in; }

/* Panely – bez JS pod sebou */
.uvod__panely { display: grid; gap: 20px; }
.uvod__panel { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.uvod__panel > .ikona { grid-row: span 2; color: var(--red); margin-top: 2px; }
.uvod__panel h2 { font-size: 1.25rem; font-style: italic; color: var(--red); }

/* Záložky (s JS) */
.js .uvod__panel { display: block; }
.js .uvod__panel > .ikona { display: none; }
.js .uvod__panel h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js .uvod__panel p { min-height: 4.8em; }
.uvod__zalozky { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.uvod__zalozka {
  position: relative; display: flex; align-items: flex-start; gap: 8px; text-align: left;
  padding: 14px 2px 4px; border: 0; border-top: 2px solid var(--line); background: none;
  font-size: .875rem; font-weight: 600; line-height: 1.3; color: var(--muted);
}
.uvod__zalozka .ikona { width: 22px; height: 22px; }
.uvod__zalozka[aria-selected="true"] { color: var(--ink); }
.uvod__zalozka[aria-selected="true"] .ikona { color: var(--red); }
.uvod__zalozka:hover { color: var(--ink); }
.uvod__prubeh { position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--red); }
.uvod__zalozka[aria-selected="true"] .uvod__prubeh { width: 100%; }
.uvod__zalozka.bezi .uvod__prubeh { animation: uvod-prubeh var(--interval, 5s) linear forwards; }
.uvod.pauza .uvod__zalozka.bezi .uvod__prubeh { animation-play-state: paused; }
@keyframes uvod-prubeh { from { width: 0; } to { width: 100%; } }
.uvod__panel.prolnuti p { animation: uvod-text .45s ease both; }
@keyframes uvod-text { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.uvod__kontakt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.uvod__kontakt p { font-size: .9375rem; color: var(--muted); margin-bottom: 12px; }
.uvod__kontakty { display: flex; flex-wrap: wrap; gap: 10px; }
.kontakt-tlacitko {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 18px 9px 14px;
  background: var(--white); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: box-shadow .2s, color .2s;
}
.kontakt-tlacitko .ikona { width: 18px; height: 18px; color: var(--red); }
.kontakt-tlacitko:hover { color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }

@media (min-width: 900px) {
  .uvod {
    grid-template-columns: 1.1fr 1fr; column-gap: clamp(40px, 6vw, 88px); row-gap: 0;
    grid-template-areas: "hlava stoh" "dolni stoh";
    align-items: center; min-height: calc(100svh - var(--header-h) - 80px);
  }
  .uvod__hlava { align-self: end; }
  .uvod__dolni { align-self: start; margin-top: 40px; }
  .uvod__stoh { width: auto; max-width: 560px; margin: 0 4% 0 2%; }
}

/* ==========================================================================
   Ubytování
   ========================================================================== */
.ubytovani__uvod { display: grid; gap: 40px; align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.ubytovani__uvod .hlavicka-sekce { margin-bottom: 0; }
.hlavicka-sekce .ubytovani__lead { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.5; }
.ubytovani__lead strong { font-weight: 500; color: var(--red); }
.ubytovani__foto { margin: 0 auto; width: min(72%, 380px); transform: rotate(2.5deg); }
.ubytovani__foto img { aspect-ratio: 3 / 4; }

.ubytovani__mrizka { display: grid; gap: 24px; }
.karta--tlumena { background: var(--bg); }
.pokoje h3, .vybaveni h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pokoje h3 .ikona { color: var(--red); }
.pokoje__seznam { margin: 18px 0; border-top: 1px solid var(--line); }
.pokoje__seznam li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.luzka { display: flex; gap: 5px; }
.luzka i { width: 10px; height: 14px; border-radius: 3px; background: var(--red); opacity: .85; }
.pokoje__podkrovi { font-size: .9375rem; color: var(--muted); }
.pokoje__podkrovi strong { color: var(--ink); }

.vybaveni__seznam { display: grid; gap: 4px; }
.vybaveni__seznam li { display: flex; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.vybaveni__seznam li:last-child { border-bottom: 0; }
.vybaveni__seznam .ikona { width: 28px; height: 28px; color: var(--red); margin-top: 2px; }
.vybaveni__seznam strong { display: block; font-size: 1.0625rem; }
.vybaveni__seznam span { display: block; color: var(--muted); font-size: .9375rem; }

.ubytovani__zaver { margin-top: clamp(40px, 6vw, 72px); text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.375rem, 2.6vw, 1.75rem); color: var(--red); text-wrap: balance; }

@media (min-width: 900px) {
  .ubytovani__uvod { grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 88px); }
  .ubytovani__mrizka { grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
}

/* ==========================================================================
   Ceník
   ========================================================================== */
.cenik { display: grid; gap: 48px; }
.cenik__nazev { font-size: 1.5rem; margin-bottom: 6px; }
.cenik__terminy { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9375rem; margin-bottom: 20px; }
.cenik__terminy .ikona { width: 18px; height: 18px; color: var(--red); }
.cenik__ted { font-size: .75rem; font-weight: 600; background: #fbe3e8; color: #b0102f; border-radius: 999px; padding: 1px 10px; margin-left: 4px; }

.cenik__mrizka { display: grid; gap: 20px; }
.cenik__radky.karta { padding: 6px clamp(20px, 3vw, 28px); }
.cenik__radky li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cenik__radky li:last-child { border-bottom: 0; }
.cenik__radky .ikona { color: var(--red); }
.cenik__polozka { flex: 1; }
.cenik__cena { font-family: var(--serif); font-size: 1.3125rem; white-space: nowrap; }
.cenik__cena small, .cenik__celek-cena small { font-family: var(--sans); font-size: .8125rem; color: var(--muted); }

.cenik__celek { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; }
.cenik__celek > .ikona { width: 34px; height: 34px; color: var(--red); margin-bottom: 12px; }
.cenik__celek h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.cenik__celek p { color: var(--muted); font-size: .9375rem; margin: 6px 0 18px; }
.cenik__celek .cenik__celek-cena { margin: auto 0 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.4rem); line-height: 1; color: var(--red); }

/* Přepínač sezóny (s JS) */
.cenik__prepinac { display: inline-flex; background: var(--white); border-radius: 999px; padding: 5px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.cenik__prepinac button { border: 0; background: transparent; font-weight: 600; color: var(--muted); padding: 10px 20px; border-radius: 999px; min-height: 44px; }
.cenik__prepinac button[aria-pressed="true"] { background: var(--red); color: var(--white); }
.cenik__prepinac button:not([aria-pressed="true"]):hover { color: var(--ink); }
.js .cenik { gap: 0; }
.js .cenik__nazev { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cenik__sezona.prolnuti { animation: uvod-text .35s ease both; }

.cenik__poznamky { display: grid; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.cenik__poznamky li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9375rem; line-height: 1.5; }
.cenik__poznamky .ikona { color: var(--red); }
.cenik__poznamky strong { display: block; font-size: 1rem; margin-bottom: 2px; }

@media (min-width: 640px) { .cenik__poznamky { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .cenik__mrizka { grid-template-columns: 1.3fr 1fr; gap: 32px; }
  .cenik__poznamky { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Galerie + lightbox
   ========================================================================== */
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: clamp(8px, 1.4vw, 16px); }
.galerie__velka, .galerie__siroka { grid-column: span 2; }
.galerie a { display: block; height: 100%; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.galerie img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.galerie a:hover img { transform: scale(1.04); }
.galerie__velka img, .galerie__siroka img { aspect-ratio: 8 / 3; }
@media (min-width: 900px) {
  .galerie { grid-template-columns: repeat(4, 1fr); }
  .galerie__velka { grid-row: span 2; }
  .galerie__velka img { aspect-ratio: auto; }
}

.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(35 18 15 / .94); color: #fff; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; padding-bottom: 24px; }
.lightbox__horni { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: .9375rem; color: #e8d6cf; }
.lightbox__plocha { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 88px); touch-action: pan-y; }
.lightbox__plocha img { max-width: 100%; max-height: calc(100svh - 110px); width: auto; height: auto; object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.lightbox button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .1); color: #fff; }
.lightbox button:hover { background: rgb(255 255 255 / .2); }
.lightbox :focus-visible { outline-color: #fff; }
.lightbox__sipka { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__sipka--zpet { left: clamp(8px, 2vw, 24px); }
.lightbox__sipka--dal { right: clamp(8px, 2vw, 24px); }
body.lightbox-otevreny { overflow: hidden; }
@media (max-width: 640px) { .lightbox__sipka { top: auto; bottom: -56px; transform: none; } .lightbox__plocha { margin-bottom: 56px; } .lightbox__plocha img { max-height: calc(100svh - 180px); } }

/* ==========================================================================
   Okolí
   ========================================================================== */
.okoli { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.okoli > * { min-width: 0; }
.okoli__uvod .hlavicka-sekce { margin-bottom: 28px; }
.okoli__autobusy { display: flex; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--radius); }
.okoli__autobusy > .ikona { width: 30px; height: 30px; color: var(--red); }
.okoli__autobusy p { font-size: .9375rem; margin-bottom: 12px; }
.okoli__autobusy a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); }
.okoli__autobusy a .ikona { width: 20px; height: 20px; }

.okoli__tipy { display: grid; gap: 28px; }
.tip h3 { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; margin-bottom: 10px; }
.tip h3 .ikona { color: var(--red); width: 28px; height: 28px; }
.tip__seznam li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.tip__seznam li:first-child { border-top: 1px solid var(--line); }
.tip__pozn { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.tip__trasa { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.tip__trasa .ikona { width: 14px; height: 14px; color: var(--red); transition: transform .2s; }
.tip__trasa:hover { color: var(--red); text-decoration-color: var(--red); }
.tip__trasa:hover .ikona { transform: translate(2px, -2px); }
.km { flex: none; font-size: .8125rem; font-weight: 600; color: #b0102f; background: #fbe3e8; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }

/* Záložky (s JS) */
.okoli__lista { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); }
.okoli__lista::-webkit-scrollbar { display: none; }
.okoli__zalozka { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .9375rem; color: var(--ink); }
.okoli__zalozka .ikona { width: 20px; height: 20px; color: var(--red); }
.okoli__zalozka:hover { box-shadow: inset 0 0 0 1.5px var(--red); }
.okoli__zalozka[aria-selected="true"] { background: var(--red); color: var(--white); box-shadow: none; }
.okoli__zalozka[aria-selected="true"] .ikona { color: var(--white); }
.js .okoli__tipy { display: block; }
.js .tip h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tip.prolnuti { animation: uvod-text .35s ease both; }

@media (min-width: 900px) {
  .okoli { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .okoli__lista { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
}

/* ==========================================================================
   Rezervace
   ========================================================================== */
.rezervace-rozlozeni { display: grid; gap: 8px; }
.rezervace__uvod .hlavicka-sekce { margin-bottom: 20px; }
.rezervace { display: grid; gap: 16px; min-width: 0; }
.formular__mrizka { display: grid; gap: 18px 20px; }
.pole { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pole label, .pole__popisek { font-weight: 600; font-size: .9375rem; }
.pole__volitelne { font-weight: 400; color: var(--muted); }
.pole input, .pole textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; line-height: 1.4;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; color: var(--ink); transition: border-color .2s, background-color .2s;
}
.pole input { height: 48px; }
.pole textarea { resize: vertical; min-height: 120px; }
.pole input::placeholder, .pole textarea::placeholder { color: var(--muted); opacity: 1; }
.pole input:hover, .pole textarea:hover { border-color: #d4bfb0; }
.pole input:focus, .pole textarea:focus { outline: none; border-color: var(--red); background: var(--white); }
.pole [aria-invalid="true"] { border-color: var(--red); background: #fdf1f3; }
.pole__chyba { font-size: .875rem; font-weight: 500; color: #b0102f; min-height: 0; }
.pole__chyba:empty { display: none; }
.pole input[type="date"] { appearance: none; -webkit-appearance: none; }

.terminy { display: grid; gap: 18px 20px; margin: 0; padding: 0; border: 0; min-width: 0; }
.terminy__noci { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: var(--radius-sm); background: var(--bg-2); font-weight: 600; white-space: nowrap; }
.terminy__noci .ikona { color: var(--red); }
.terminy__noci.je-chyba { background: #fdf1f3; color: #b0102f; }

.formular__akce { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; }
.formular__zavolat .ikona { width: 18px; height: 18px; color: var(--red); }
.rezervace__zaloha { display: flex; align-items: flex-start; gap: 10px; max-width: 34em; margin-bottom: 24px; font-size: .9375rem; color: var(--muted); }
.rezervace__zaloha .ikona { width: 20px; height: 20px; color: var(--red); margin-top: 1px; }

.formular__dekujeme { text-align: center; padding-block: 48px; }
.formular__dekujeme:focus { outline: none; }
.formular__fajfka { display: inline-flex; width: 56px; height: 56px; border-radius: 999px; background: var(--red); color: var(--white); align-items: center; justify-content: center; margin-bottom: 16px; }
.formular__fajfka .ikona { width: 30px; height: 30px; }
.formular__dekujeme h3 { margin-bottom: 8px; }
.formular__dekujeme p { color: var(--muted); margin-bottom: 12px; }
.formular__dekujeme .btn--sekundarni { border: 0; padding: 0; background-color: transparent; }


@media (min-width: 640px) {
  .formular__mrizka { grid-template-columns: 1fr 1fr; }
  .formular__mrizka > .pole:first-child, .terminy, .pole--cela { grid-column: 1 / -1; }
  .terminy { grid-template-columns: 1fr 1fr; }
  .terminy > .pole:last-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .terminy { grid-template-columns: 1fr 1fr minmax(130px, .7fr); align-items: start; }
  .terminy > .pole:last-child { grid-column: auto; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt { display: grid; gap: 32px; }
.kontakt__seznam { display: grid; gap: 4px; }
.kontakt__seznam > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kontakt__seznam .ikona { grid-row: span 2; color: var(--red); margin-top: 2px; }
.kontakt__seznam dt { font-size: .8125rem; color: var(--muted); }
.kontakt__seznam dd { margin: 0; font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }
.kontakt__seznam a { text-decoration: none; }
.kontakt__seznam a:hover { color: var(--red); }

.kontakt__mapa { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 1 / 1; }
.kontakt__mapa iframe { display: block; width: 100%; height: 100%; }

.cesta__nadpis { margin: clamp(48px, 6vw, 72px) 0 20px; font-size: 1.75rem; }
.cesta { display: grid; gap: 16px; }
.cesta .ikona { width: 30px; height: 30px; color: var(--red); margin-bottom: 12px; }
.cesta h4 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin-bottom: 6px; }
.cesta p { font-size: .9375rem; }
.cesta p + p { margin-top: 6px; }

@media (min-width: 900px) {
  .kontakt { grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
  .kontakt__mapa { aspect-ratio: auto; min-height: 380px; }
  .cesta { grid-template-columns: repeat(3, 1fr); }
}

/* Počet osob */
.osoby { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; padding: 0; border: 0; min-width: 0; }
.osoby legend { font-weight: 600; font-size: .9375rem; margin-bottom: 10px; padding: 0; }
.pocitadlo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pocitadlo label { font-size: .875rem; color: var(--muted); }
.pocitadlo__ovladani { display: flex; align-items: center; height: 48px; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.pocitadlo__ovladani:focus-within { border-color: var(--red); background: var(--white); }
.pocitadlo input { width: 100%; min-width: 0; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 600; font-size: 1.0625rem; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.pocitadlo input:focus { outline: none; }
.pocitadlo input::-webkit-inner-spin-button, .pocitadlo input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html:not(.js) .pocitadlo input { height: 48px; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.pocitadlo button { flex: none; width: 44px; height: 100%; border: 0; background: none; color: var(--red); font-size: 1.375rem; line-height: 1; border-radius: var(--radius-sm); }
.pocitadlo button:hover:not(:disabled) { background: var(--bg-2); }
.pocitadlo button:disabled { color: var(--line); cursor: default; }

/* Zaškrtávátko */
.zaskrtavatko { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background-color .2s; }
.zaskrtavatko:hover { border-color: #d4bfb0; }
.zaskrtavatko input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.zaskrtavatko__box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid #c9b3a5; border-radius: 6px; background: var(--white); color: var(--white); transition: background-color .15s, border-color .15s; }
.zaskrtavatko__box .ikona { width: 16px; height: 16px; opacity: 0; }
.zaskrtavatko input:checked ~ .zaskrtavatko__box { background: var(--red); border-color: var(--red); }
.zaskrtavatko input:checked ~ .zaskrtavatko__box .ikona { opacity: 1; }
.zaskrtavatko:has(input:checked) { border-color: var(--red); background: #fdf1f3; }
.zaskrtavatko input:focus-visible ~ .zaskrtavatko__box { outline: 2px solid var(--red); outline-offset: 3px; }
.zaskrtavatko strong { display: block; font-weight: 600; }
.zaskrtavatko small { display: block; font-size: .875rem; color: var(--muted); }

@media (min-width: 640px) { .osoby { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .rezervace-rozlozeni { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
  .rezervace__uvod { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Orientační cena */
.odhad { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-2); }
.odhad__popisek { font-weight: 600; }
.odhad__detail { font-size: .875rem; color: var(--muted); }
.odhad__castka { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; color: var(--red); text-align: right; white-space: nowrap; }
.odhad__castka.je-text { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.odhad__poznamka { grid-column: 1 / -1; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }

/* Samostatné stránky (děkujeme, 404) */
.stranka-zprava { min-height: calc(100svh - var(--header-h) - 260px); display: grid; align-items: center; }
.stranka-zprava .obal { max-width: 720px; }
.stranka-zprava h1 { margin: 8px 0 16px; }
.stranka-zprava p { font-size: 1.0625rem; margin-bottom: 24px; }
.stranka-zprava p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.formular__chyba { margin-top: 20px; padding: 12px 16px; border-radius: var(--radius-sm); background: #fdf1f3; color: #b0102f; font-weight: 500; font-size: .9375rem; }
.formular__gdpr { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.formular [type="submit"][aria-busy="true"] { opacity: .7; cursor: progress; }
