/* =========================================================
   Nemovitosti – design v2
   ========================================================= */
:root {
  --paper: #f3f0e8;
  --paper-2: #e9e4d7;
  --card: #fffdf8;
  --ink: #151513;
  --ink-2: #3c3b35;
  --muted: #7a776c;
  --line: rgba(21, 21, 19, .1);
  --line-2: rgba(21, 21, 19, .18);
  --accent: #ff5a1f;
  --accent-2: #ff7a45;
  --dark: #10120f;
  --dark-2: #1a1d18;
  --on-dark: #ece8de;
  --on-dark-muted: rgba(236, 232, 222, .6);
  --ok: #1f7a4a;
  --warn: #a8700f;
  --danger: #c8321f;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px -12px rgba(30, 25, 10, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 var(--sans);
  font-weight: 500;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap-wide { width: min(1400px, 100% - 24px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.warn { color: var(--danger); font-weight: 600; }
em { font-style: italic; }

.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
.eyebrow.light { color: rgba(255,255,255,.8); }

.display {
  font-family: var(--serif); font-size: clamp(3rem, 8.5vw, 7.5rem);
  line-height: .92; letter-spacing: -.02em;
}
.display em, .section-title em, .hero-title em { color: var(--accent); }
.display-sm { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: .95; letter-spacing: -.015em; margin-top: 12px; }
.section-title { font-family: var(--serif); font-size: clamp(2.4rem, 5.5vw, 4.6rem); line-height: .95; letter-spacing: -.015em; margin-top: 14px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* ---------- reveal animace ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- navigace ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1160px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255, 253, 248, .72);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.18);
  transition: background .4s, color .4s, border-color .4s, box-shadow .4s;
}
.has-hero .nav:not(.scrolled) { background: rgba(10, 12, 9, .18); color: #fff; border-color: rgba(255,255,255,.16); box-shadow: none; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.nav-brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .22); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600; transition: background .2s; display: inline-flex; align-items: center; gap: 8px; }
.nav-links > a:hover { background: rgba(127, 127, 127, .14); }
.count { background: var(--accent); color: #fff; border-radius: 99px; min-width: 20px; height: 20px; padding: 0 6px; font-size: .72rem; font-weight: 800; display: inline-grid; place-items: center; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.has-hero .nav:not(.scrolled) .avatar { background: #fff; color: var(--ink); }
.nav-links > a.nav-user { padding: 4px 4px 4px 14px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%);
  max-width: min(560px, calc(100% - 32px)); padding: 14px 20px 14px 46px; border-radius: 16px;
  background: var(--dark); color: var(--on-dark); font-weight: 600; box-shadow: 0 20px 50px -10px rgba(0,0,0,.4);
  animation: toast-in .6s var(--ease) both;
}
.toast::before { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #3ecf7f; box-shadow: 0 0 0 4px rgba(62,207,127,.2); }
.toast-err::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(255,90,31,.25); }
.toast.hide { animation: toast-out .5s var(--ease) both; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 30px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 30px) scale(.96); } }

main { min-height: 70vh; }
.no-hero main { padding-top: 120px; }

/* ---------- tlačítka ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg);
  padding: 12px 22px; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-accent { --bg: var(--accent); --fg: #fff; }
.btn-accent:hover { --bg: var(--accent-2); box-shadow: 0 14px 30px -10px rgba(255, 90, 31, .6); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.btn-glass { --bg: rgba(255,255,255,.14); --fg: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { --bg: #fff; --fg: var(--ink); }
.btn-danger { --bg: transparent; --fg: var(--danger); border-color: rgba(200, 50, 31, .35); }
.btn-danger:hover { --bg: var(--danger); --fg: #fff; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-small { padding: 7px 14px; font-size: .82rem; }
.btn-block { width: 100%; }

/* =========================================================
   Rozcestník
   ========================================================= */
.home-head { padding: 30px 0 48px; display: grid; gap: 22px; }
.home-head .lead { max-width: 520px; color: var(--ink-2); font-size: 1.08rem; }

.panels { display: flex; gap: 12px; height: min(76vh, 760px); min-height: 480px; }
.panel {
  position: relative; flex: 1; min-width: 0; border-radius: var(--r-lg); overflow: hidden;
  color: #fff; text-decoration: none; isolation: isolate;
  transition: flex 1s var(--ease), opacity .9s var(--ease), transform .9s var(--ease);
  background: var(--dark);
}
.panels:hover .panel { flex: .8; }
.panels .panel:hover { flex: 1.9; }
.panel-media { position: absolute; inset: 0; z-index: -2; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease), filter 1s; filter: saturate(.9); }
.panel:hover .panel-media img { transform: scale(1); filter: saturate(1.08); }
.panel-fallback { width: 100%; height: 100%; background: radial-gradient(120% 80% at 20% 10%, #3b5a46 0%, transparent 60%), radial-gradient(90% 70% at 90% 90%, #ff5a1f55 0%, transparent 60%), var(--dark-2); }
.panel-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.78) 100%); }
.panel-num { position: absolute; top: 22px; left: 24px; font-weight: 800; font-size: .8rem; letter-spacing: .14em; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); }
.panel-tag { position: absolute; top: 22px; right: 24px; font-size: .78rem; font-weight: 700; opacity: .85; }
.panel-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.panel-loc { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 8px; }
.panel-title { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: .95; letter-spacing: -.01em; }
.panel-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; font-size: .92rem; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); transform: translateY(10px); opacity: 0; transition: all .6s var(--ease); }
.panel:hover .panel-cta, .panel:focus-visible .panel-cta { transform: none; opacity: 1; }

.trips { padding: 80px 0 40px; }
.trip-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 24px; }
.trip { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.trip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trip strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.05; }
.trip-date { font-size: .9rem; color: var(--ink-2); }

/* =========================================================
   Detail – hero
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: var(--dark); isolation: isolate; }
.hero-slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.8s ease; z-index: -2; }
.hero-slide.active { opacity: 1; animation: kenburns 14s linear both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.01); } }
.hero-fallback { background: radial-gradient(90% 70% at 15% 20%, #2f4d3b 0%, transparent 60%), radial-gradient(70% 60% at 85% 80%, #ff5a1f66 0%, transparent 60%), var(--dark); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.72) 100%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(40px, 9vh, 90px); display: grid; gap: 18px; }
.hero-back { font-size: .9rem; font-weight: 700; text-decoration: none; opacity: .85; width: fit-content; }
.hero-back:hover { opacity: 1; }
.hero-title { font-family: var(--serif); font-size: clamp(3.6rem, 12vw, 11rem); line-height: .86; letter-spacing: -.025em; text-shadow: 0 4px 40px rgba(0,0,0,.25); }
.hero-title .char { display: inline-block; opacity: 0; transform: translateY(.4em) rotate(4deg); animation: char-in 1s var(--ease) forwards; }
@keyframes char-in { to { opacity: 1; transform: none; } }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero-dots { position: absolute; right: max(20px, calc((100% - 1160px) / 2)); bottom: clamp(48px, 10vh, 100px); display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s, width .4s var(--ease); }
.hero-dots button.active { background: #fff; width: 48px; }

/* subnav */
.subnav { position: sticky; top: 80px; z-index: 40; display: flex; justify-content: center; margin-top: -30px; pointer-events: none; }
.subnav-inner { pointer-events: auto; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255,253,248,.82); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid var(--line); box-shadow: 0 10px 30px -14px rgba(0,0,0,.3); overflow-x: auto; max-width: calc(100% - 24px); scrollbar-width: none; }
.subnav-inner a { text-decoration: none; font-weight: 700; font-size: .88rem; padding: 9px 16px; border-radius: 999px; white-space: nowrap; transition: background .25s, color .25s; }
.subnav-inner a:hover { background: rgba(0,0,0,.06); }
.subnav-inner a.active { background: var(--ink); color: var(--paper); }
.subnav-inner a.sub-cta { background: var(--accent); color: #fff; }

.section { padding: clamp(80px, 12vw, 150px) 0; scroll-margin-top: 60px; }
.section-dark { background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); width: min(1400px, 100% - 24px); margin-inline: auto; }
.section-dark .eyebrow { color: var(--on-dark-muted); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-col { position: sticky; top: 150px; }

/* text z administrace */
.text { font-size: 1.06rem; color: var(--ink-2); }
.text p { margin: 0 0 1em; }
.text ul { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 8px; }
.text li { position: relative; padding-left: 28px; }
.text li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }
.text a { color: var(--accent); text-underline-offset: 3px; }
.text strong { color: var(--ink); font-weight: 800; }
.text h3 { font-family: var(--serif); font-size: 2rem; line-height: 1.05; margin: 1.4em 0 .5em; color: var(--ink); }
.text h3:first-child { margin-top: 0; }
.lead-text > p:first-child { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }

.manual { counter-reset: step; color: var(--on-dark-muted); }
.manual strong { color: #fff; }
.manual h3 { counter-increment: step; color: #fff; display: flex; align-items: baseline; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.manual h3::before { content: counter(step, decimal-leading-zero); font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); transform: translateY(-.6em); }
.manual h3:first-child { padding-top: 0; border-top: 0; }

.docs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.docs li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.doc-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .25s, transform .3s var(--ease); }
.doc-link:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.doc-ext { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.doc-name { font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-meta { font-size: .8rem; color: var(--on-dark-muted); }
.docs-light .doc-link { background: var(--card); border-color: var(--line); }
.docs-light .doc-link:hover { background: #fff; }
.docs-light .doc-name { color: var(--ink); }
.docs-light .doc-meta { color: var(--muted); }

/* galerie – bento */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 260px); gap: 10px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); cursor: zoom-in; }
.g-item:nth-child(8n+1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(8n+6) { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.3)); opacity: 0; transition: opacity .4s; }
.g-item:hover::after { opacity: 1; }
.gallery:not(.show-all) .g-item.extra { display: none; }
.g-more { position: relative; }
.g-more-label { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16,18,15,.55); color: #fff; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); backdrop-filter: blur(2px); transition: background .3s; z-index: 1; }
.g-more:hover .g-more-label { background: rgba(16,18,15,.4); }
.gallery.show-all .g-more-label { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 9, 7, .94); display: flex; align-items: center; justify-content: center; animation: fade-in .35s ease both; backdrop-filter: blur(6px); }
.lightbox img { max-width: calc(100% - 140px); max-height: calc(100% - 120px); border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: zoom-in .5s var(--ease) both; user-select: none; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .25s var(--ease); }
.lb-btn:hover { background: #fff; color: var(--ink); transform: scale(1.06); }
.lb-prev { left: 24px; top: 50%; margin-top: -27px; }
.lb-next { right: 24px; top: 50%; margin-top: -27px; }
.lb-close { right: 24px; top: 24px; }
.lb-count { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); color: rgba(255,255,255,.75); font-weight: 700; font-size: .85rem; letter-spacing: .12em; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.94); } }

/* =========================================================
   Rezervace
   ========================================================= */
.booking { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.book-card { position: sticky; top: 150px; }

.cal-head { display: flex; justify-content: space-between; margin-bottom: -38px; position: relative; z-index: 1; pointer-events: none; }
.cal-nav { pointer-events: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; font: inherit; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; color: var(--ink); }
.cal-nav:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cal-title { text-align: center; font-family: var(--serif); font-size: 1.7rem; line-height: 40px; margin-bottom: 14px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 0; }
.cal-dow { text-align: center; font-size: .7rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); padding-bottom: 8px; text-transform: uppercase; }
.cal-day {
  --busy: #e7ded0;
  aspect-ratio: 1; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .92rem; color: var(--ink);
  border-radius: 50%; cursor: pointer; position: relative; transition: background .2s, color .2s, transform .2s var(--ease);
}
.cal-day:hover:not(:disabled):not(.busy) { background: rgba(0,0,0,.07); }
.cal-day.today::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal-day.past { color: rgba(0,0,0,.2); cursor: default; }
.cal-day.busy { color: rgba(0,0,0,.32); text-decoration: line-through; background: repeating-linear-gradient(-45deg, var(--busy) 0 4px, transparent 4px 8px); border-radius: 0; cursor: not-allowed; }
.cal-day.busy-start { border-radius: 50% 0 0 50%; }
.cal-day.busy-end { background: linear-gradient(90deg, var(--busy) 0 50%, transparent 50%); border-radius: 0; }
.cal-day.busy-end:hover { background: linear-gradient(90deg, var(--busy) 0 50%, rgba(0,0,0,.07) 50%); }
.cal-day.in-range { background: rgba(255, 90, 31, .14); border-radius: 0; }
.cal-day.sel-start, .cal-day.sel-end { background: var(--accent) !important; color: #fff; text-decoration: none; transform: scale(1.04); z-index: 1; }
.cal-day.sel-start { border-radius: 50%; box-shadow: 0 6px 18px -6px rgba(255,90,31,.7); }
.cal-day.sel-end { border-radius: 50%; box-shadow: 0 6px 18px -6px rgba(255,90,31,.7); }
.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); font-weight: 600; }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-free { border: 1.5px solid var(--line-2); }
.lg-busy { background: repeating-linear-gradient(-45deg, #e0d5c4 0 3px, transparent 3px 6px); border: 1px solid #e0d5c4; }
.lg-sel { background: var(--accent); }
.cal-msg { min-height: 1.4em; margin-top: 10px; font-size: .9rem; font-weight: 700; color: var(--danger); }

.book-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.book-dates label { padding: 12px 16px; display: grid; gap: 2px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.book-dates label + label { border-left: 1px solid var(--line-2); }
.book-dates input { border: 0; padding: 0; background: transparent; font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); width: 100%; }
.book-dates input:focus { outline: 0; }
.book-nights { font-family: var(--serif); font-size: 2.2rem; line-height: 1; margin: 22px 0 6px; color: var(--muted); transition: color .3s; }
.book-nights.ok { color: var(--ink); }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-2); border-radius: 16px; padding: 8px 8px 8px 16px; }
.stepper span { font-weight: 700; }
.stepper-ctrl { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; font: inherit; font-size: 1.2rem; cursor: pointer; color: var(--ink); transition: background .2s, color .2s; }
.stepper button:hover { background: var(--ink); color: var(--paper); }
.stepper input { width: 40px; text-align: center; border: 0; padding: 0; font-weight: 800; font-size: 1.1rem; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }

.my-res { margin-top: 64px; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 20px; }
.res-card { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden; }
.res-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line-2); }
.res-card.st-approved::before { background: var(--ok); }
.res-card.st-pending::before { background: #e8a93a; }
.res-card.st-rejected::before { background: var(--danger); }
.res-dates { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; }
.res-note { font-size: .9rem; color: var(--ink-2); padding: 10px 14px; background: var(--paper); border-radius: 12px; }
.res-card form { margin-top: 4px; }

.badge { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 5px 11px; border-radius: 99px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-pending { background: #fbefd5; color: #8a5b08; }
.badge-approved { background: #dcf0e3; color: #1b6a40; }
.badge-rejected { background: #f9e0dc; color: #a12a19; }
.badge-cancelled { background: #ecebe6; color: #6d6b63; }

/* =========================================================
   Formuláře
   ========================================================= */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.form-inline label { flex: 1 1 180px; }
.form label.check { flex-direction: row; align-items: center; gap: 10px; flex: 0 0 auto; padding-bottom: 14px; letter-spacing: 0; text-transform: none; font-size: .95rem; color: var(--ink); }
input, textarea, select {
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); }
input[type=file] { padding: 10px; cursor: pointer; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21,21,19,.08); }
textarea { resize: vertical; line-height: 1.55; }
form.inline { display: flex; gap: 6px; align-items: center; }
form.inline input { width: 150px; padding: 8px 12px; border-radius: 999px; font-size: .9rem; }

/* =========================================================
   Login
   ========================================================= */
.login { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.15fr 1fr; padding: 12px; gap: 12px; }
.login-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--dark); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 52px); isolation: isolate; }
.login-visual.has-img { background: center / cover no-repeat; }
.login-visual.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.1) 40%, rgba(0,0,0,.7)); }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .8; animation: blob 18s ease-in-out infinite alternate; }
.blob-1 { width: 55%; aspect-ratio: 1; background: #ff5a1f; left: -10%; bottom: -15%; }
.blob-2 { width: 50%; aspect-ratio: 1; background: #2e5a43; right: -12%; top: -10%; animation-delay: -6s; }
.blob-3 { width: 35%; aspect-ratio: 1; background: #d9b77e; right: 20%; bottom: 10%; opacity: .45; animation-delay: -12s; }
@keyframes blob { 50% { transform: translate(8%, -10%) scale(1.15); } 100% { transform: translate(-6%, 6%) scale(.95); } }
.login-visual .display { font-size: clamp(3rem, 6.5vw, 6.5rem); }
.login-places { display: flex; gap: 8px; flex-wrap: wrap; }
.login-places span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 700; font-size: .85rem; }
.login-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.login-brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,90,31,.25); }
.login-form-wrap { display: grid; place-items: center; padding: 40px 20px; }
.login-box { width: min(400px, 100%); display: grid; gap: 22px; }
.login-box .err { padding: 12px 16px; border-radius: 14px; background: #f9e0dc; color: #8f2414; font-weight: 700; font-size: .92rem; }

/* =========================================================
   Administrace
   ========================================================= */
.page-pad { padding-bottom: 100px; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--paper-2); margin: 32px 0 8px; flex-wrap: wrap; }
.tabs a { padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--ink-2); transition: background .2s, color .2s; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { background: var(--card); color: var(--ink); box-shadow: 0 2px 10px -4px rgba(0,0,0,.2); }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); margin: 16px 0; scroll-margin-top: 100px; }
.box > h2 { font-family: var(--serif); font-size: 2.1rem; line-height: 1; margin-bottom: 20px; }
.box > h2 .small { font-family: var(--sans); font-size: .82rem; }
.box h3 { font-weight: 800; font-size: 1rem; margin: 28px 0 12px; }
.admin-hint { margin-top: 18px; padding: 16px 20px; border-radius: var(--r); background: var(--paper-2); color: var(--ink-2); font-size: .92rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; background: rgba(0,0,0,.06); padding: 2px 6px; border-radius: 6px; }

.req { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.req:first-of-type { border-top: 0; padding-top: 0; }
.req-main { display: grid; gap: 4px; }
.req-main strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.1; }
.req-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.req-actions input { width: 220px; padding: 9px 14px; border-radius: 999px; font-size: .9rem; }

.table-wrap { overflow-x: auto; margin: 0 -8px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
th { font-size: .72rem; color: var(--muted); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- patička ---------- */
.foot { padding: 60px 0 40px; color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 60px; }

/* =========================================================
   Responsivita
   ========================================================= */
@media (max-width: 960px) {
  .split, .booking { grid-template-columns: 1fr; }
  .sticky-col, .book-card { position: static; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-second { display: none; }
  .login { grid-template-columns: 1fr; }
  .login-visual { min-height: 46vh; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .panels { flex-direction: column; height: auto; min-height: 0; }
  .panel { flex: none !important; height: 62vh; min-height: 380px; }
  .panel-cta { opacity: 1; transform: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 6px; }

  .nav { padding-left: 16px; }
  .nav-brand span.txt { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }
  .nav-links > a.nav-home, .nav-logout { display: none; }
  .nav-links > a.nav-user { padding: 4px; }
  .subnav { top: 76px; }
  .lightbox img { max-width: 100%; max-height: calc(100% - 140px); border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; }
  .lb-close { top: 16px; right: 16px; }
  .form .row { grid-template-columns: 1fr; }
  .req-actions input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* doplňky */
.page-login main { padding-top: 0; }
.doc-name, .doc-meta { display: block; }
.docs-light .doc-link:hover { transform: none; }
.box .docs li { flex-wrap: nowrap; }
.hero-content > * { animation: rise 1.1s var(--ease) both; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .2s; }
.hero-content > .hero-title { animation: none; }
.hero-content > .hero-actions { animation-delay: .7s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.booking > *, .split > *, .cal-months > *, .book-dates label { min-width: 0; }
.book-dates input { min-width: 0; }
@media (max-width: 760px) {
  .booking { grid-template-columns: minmax(0, 1fr); }
  .hero-dots { bottom: auto; top: 86px; right: 16px; }
  .hero-dots button { width: 16px; }
  .hero-dots button.active { width: 30px; }
  .card { padding: 18px 14px; }
  .cal-day { font-size: .85rem; }
}
