/* Rezervační web. Vychází ze schváleného návrhu, barvy podle palety aplikace. */
:root {
  --a: #9646ff; --b: #ff46aa; --ink: #1d1b2e; --muted: #625d7c; --soft: #f2eff8; --line: #e6e3f0; --bg: #f6f5fa; --card: #fff;
  --ok: #16794a; --bad: #b4232f; --wait: #8a5a00;
  --grad: linear-gradient(135deg, var(--a), var(--b));
  --shadow: 0 1px 2px #1b18300d, 0 8px 30px #1b18300d;
  --d0: var(--a); --d1: var(--b); --d2: #12a594; --d3: #f08c00;
}
[data-palette="more"] { --a: #12c8b6; --b: #1078e6; }
[data-palette="zapad"] { --a: #ffa028; --b: #f03c82; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-bg { background: var(--grad); color: #fff; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0; }

.s-head { max-width: 1280px; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; gap: 24px; }
.s-brand { font-weight: 900; font-size: 22px; letter-spacing: -0.03em; text-decoration: none; }
.s-nav { display: flex; gap: 22px; margin-right: auto; font-size: 15px; font-weight: 600; color: var(--muted); }
.s-nav a { text-decoration: none; }
.s-nav a:hover { color: var(--ink); }
.s-langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.s-langs a { padding: 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--muted); text-decoration: none; }
.s-langs a[aria-current] { background: var(--ink); color: #fff; }
.s-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.s-link svg { stroke: var(--a); }
.s-pill { height: 44px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.s-pill.dark { background: var(--ink); color: #fff; }

.s-hero { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; }
.s-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 12px; border-radius: 28px; overflow: hidden; }
.s-grid.n1 { grid-template-columns: 1fr; }
.s-grid.n2, .s-grid.n3 { grid-template-columns: 2fr 1fr; }
.s-grid.n4 { grid-template-columns: 2fr 1fr 1fr; }
.s-tile { position: relative; margin: 0; background: #3b3360; overflow: hidden; }
.s-tile.big { grid-row: span 2; }
.s-grid.n4 .s-tile:nth-child(4) { grid-column: span 2; }
.s-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.s-tile:hover img { transform: scale(1.04); }
.s-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #1b183000 55%, #1b1830a6); pointer-events: none; }
.s-tile.big::after { background: linear-gradient(100deg, #1b1830cc, #1b183033 70%); }
.s-tile figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: #1b183080; color: #fff; font-size: 12px; font-weight: 700; }
.s-hero-text { position: absolute; left: 64px; top: 40px; max-width: 520px; color: #fff; text-shadow: 0 2px 18px #1b183066; pointer-events: none; }
.s-hero-text h1 { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.02; }
.s-chip { display: inline-block; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; background: #ffffff26; border: 1px solid #ffffff4d; font-size: 13px; font-weight: 700; }
.s-chip.soft { background: var(--soft); border: 0; color: var(--muted); }

.s-search { position: relative; z-index: 2; margin: -46px auto 0; max-width: 980px; display: flex; align-items: center; gap: 4px; padding: 8px; border-radius: 999px; background: var(--card); box-shadow: 0 20px 50px #1b183026; }
.s-search label { flex: 1 1 0; display: flex; flex-direction: column; padding: 6px 22px; font-size: 12px; font-weight: 700; color: var(--muted); border-right: 1px solid var(--line); }
.s-search label:nth-of-type(3) { flex: 0 1 140px; border: 0; }
.s-search input { border: 0; padding: 2px 0; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); background: transparent; min-width: 0; }
.s-search input:focus { outline: none; }
.s-search label:focus-within { background: var(--soft); border-radius: 999px; }
.s-search .s-pill { height: 56px; padding: 0 28px; font-size: 15px; font-weight: 800; }

.s-main { max-width: 1280px; margin: 0 auto; padding: 48px 32px 80px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.s-main.narrow { max-width: 760px; }
.s-col { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.s-card { padding: 26px 28px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.s-card h2 { font-size: 22px; font-weight: 800; }
.s-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.s-muted { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.s-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.s-legend span { display: flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 4px; }
.dot.d0 { background: var(--d0); } .dot.d1 { background: var(--d1); } .dot.d2 { background: var(--d2); } .dot.d3 { background: var(--d3); }
.dot.off { background: #e1ddea; }

.s-cal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; min-height: 120px; }
.s-month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.s-month-head strong { font-size: 16px; }
.s-arrow { width: 36px; height: 36px; border: 0; border-radius: 12px; background: transparent; font: inherit; font-size: 20px; color: var(--muted); cursor: pointer; }
.s-arrow:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.s-arrow:disabled { opacity: .25; cursor: default; }
.s-arrow.m { visibility: hidden; }
.s-wd, .s-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.s-wd { font-size: 12px; font-weight: 700; color: #8f89b3; text-align: center; margin-bottom: 6px; }
.s-days { gap: 4px 0; }
.s-day { height: 46px; border: 0; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: transparent; cursor: pointer; }
.s-day:hover:not(:disabled) { background: #efeaf7; }
.s-day:disabled { color: #c4c0d4; cursor: default; }
.s-day.full { text-decoration: line-through; }
.s-day.range { background: #ece6fb; border-radius: 0; }
.s-day.sel { background: var(--ink); color: #fff; }
.s-day .dots { display: flex; gap: 3px; min-height: 6px; }
.s-day .dot { width: 6px; height: 6px; }

.s-apts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.s-apt { position: relative; border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; scroll-margin-top: 20px; }
.s-apt:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #1b183022; }
.s-apt.chosen { outline: 3px solid var(--a); outline-offset: -3px; }
.s-gal { height: 240px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #3b3360; }
.s-gal::-webkit-scrollbar { display: none; }
.s-gal img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.s-noimg { flex: 1; background: linear-gradient(160deg, #3b3360, #7b5fb8); }
.s-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 800; }
.s-badge.ok { color: var(--ok); } .s-badge.bad { color: var(--bad); }
.s-count { position: absolute; top: 202px; left: 16px; padding: 5px 10px; border-radius: 999px; background: #1b183080; color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.s-apt-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.s-apt-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.s-apt h3 { font-size: 20px; font-weight: 800; }
.s-price { margin: 0; font-size: 14px; color: var(--muted); white-space: nowrap; }
.s-price strong { font-size: 18px; color: var(--ink); }
.s-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.s-tags span { padding: 5px 10px; border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 700; color: #4a4566; }
.s-more summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted); }
.s-more p { margin: 8px 0 0; font-size: 14px; color: #4a4566; }
.s-btn { margin-top: 6px; height: 50px; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; }
.s-btn.soft { background: var(--soft); color: var(--ink); }
.s-btn.soft.go { background: var(--grad); color: #fff; }

.s-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-perks div { padding: 20px; border-radius: 20px; background: var(--card); }
.s-perks b { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--soft); }
.s-perks b svg { stroke: var(--a); width: 20px; height: 20px; }
.s-perks strong { display: block; margin-top: 10px; }
.s-perks p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.s-rules p { color: #4a4566; font-size: 15px; }

.s-book { flex: 1 1 340px; position: sticky; top: 24px; scroll-margin-top: 20px; }
.s-form { padding: 24px; border-radius: 24px; background: var(--card); box-shadow: 0 1px 2px #1b18300d, 0 18px 50px #1b18301a; display: flex; flex-direction: column; gap: 12px; }
.s-form h2 { font-size: 20px; font-weight: 800; }
.s-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 800; color: #8f89b3; text-transform: uppercase; letter-spacing: .02em; }
.s-form input, .s-form select, .s-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; text-transform: none; letter-spacing: 0; }
.s-form input:focus, .s-form select:focus, .s-form textarea:focus { outline: 2px solid var(--a); outline-offset: -1px; border-color: transparent; }
.s-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-sum { display: flex; flex-direction: column; gap: 8px; padding: 14px 0 2px; font-size: 14px; color: #4a4566; }
.s-sum div { display: flex; justify-content: space-between; gap: 10px; }
.s-sum .total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 800; color: var(--ink); }
.s-form .s-check { flex-direction: row; align-items: flex-start; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.s-form .s-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--a); }
.s-form .s-btn { height: 54px; font-size: 16px; }
.s-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.s-small { margin: 0; display: flex; gap: 8px; font-size: 13px; color: var(--muted); }
.s-small svg { width: 16px; height: 16px; margin-top: 2px; }
.s-cancel { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: 13px; color: #4a4566; }
.s-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fff4e5; color: var(--wait); font-size: 13px; font-weight: 600; }
.s-err { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fde8ea; color: var(--bad); font-size: 14px; font-weight: 600; }

.s-done { display: flex; flex-direction: column; gap: 16px; }
.s-done .s-chip { align-self: flex-start; margin: 0; }
.s-done h1 { font-size: 34px; font-weight: 900; }
.s-state { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.s-state.ok { color: var(--ok); } .s-state.bad { color: var(--bad); } .s-state.wait { color: var(--wait); }
.s-recap, .s-pay dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: 15px; }
.s-recap dt, .s-pay dt { color: var(--muted); }
.s-recap dd, .s-pay dd { margin: 0; font-weight: 700; }
.s-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 20px; border-radius: 20px; background: var(--soft); }
.s-pay img { border-radius: 12px; background: #fff; padding: 8px; }

.s-foot { background: #1b1830; color: #d8d4ea; margin-top: 20px; }
.s-foot-in { max-width: 1280px; margin: 0 auto; padding: 40px 32px; display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 24px; font-size: 14px; }
.s-foot .s-brand { color: #fff; font-size: 20px; }
.s-foot p { margin: 6px 0 0; }
.s-contact { display: flex; flex-direction: column; gap: 10px; }
.s-contact a, .s-contact span { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.s-legal { color: #a9a3c6; font-size: 13px; }

@media (max-width: 900px) {
  .s-head { padding: 16px; gap: 12px; }
  .s-nav { display: none; }
  .s-brand { margin-right: auto; font-size: 19px; }
  .s-langs a { padding: 6px 7px; }
  .s-head .s-pill.dark { display: none; }
  .s-hero { padding: 0; }
  .s-grid { grid-template-columns: 1fr; grid-template-rows: 380px; border-radius: 0; }
  .s-tile:not(.big) { display: none; }
  .s-tile.big { grid-row: auto; }
  .s-tile.big::after { background: linear-gradient(180deg, #1b183080, #1b183000 30%, #1b183000 45%, #1b1830cc); }
  .s-hero-text { left: 16px; right: 16px; top: auto; bottom: 70px; }
  .s-hero-text h1 { font-size: 36px; }
  .s-tile figcaption { display: none; }
  .s-search { margin: -44px 16px 0; border-radius: 22px; flex-wrap: wrap; }
  .s-search label { flex: 1 1 calc(50% - 4px); min-width: 0; border: 0; background: var(--bg); border-radius: 16px; padding: 8px 12px; }
  .s-search input { width: 100%; font-size: 15px; }
  .s-search label:nth-of-type(3) { flex: 1 1 100%; }
  .s-search .s-pill { flex: 1 1 100%; justify-content: center; border-radius: 16px; height: 50px; }
  .s-main { padding: 24px 16px 60px; gap: 20px; }
  .s-col { gap: 20px; }
  .s-card { padding: 18px 16px; border-radius: 22px; }
  .s-cal { grid-template-columns: 1fr; gap: 20px; }
  .s-cal > div:nth-child(2) { display: none; }
  .s-arrow.m { visibility: visible; }
  .s-day { height: 42px; font-size: 13px; }
  .s-perks { grid-template-columns: 1fr; }
  .s-book { position: static; flex-basis: 100%; }
  .s-foot-in { grid-template-columns: 1fr; padding: 32px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .s-tile img, .s-apt { transition: none; } }
.s-rules .s-badge { display: none; }
.s-rules .s-apts { margin: 20px 0; }
.s-review-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-top: 4px; }
.s-review-actions .s-btn { margin: 0; height: 54px; font-size: 16px; }
.s-done h2 { font-size: 17px; margin: 6px 0 -6px; }
@media (max-width: 600px) { .s-review-actions { grid-template-columns: 1fr; } .s-review-actions .s-btn.soft { order: 2; } }
.s-occ { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: 13px; color: var(--muted); }
.s-occ span { padding: 4px 9px; border-radius: 10px; background: var(--soft); }
.s-occ span.on { background: var(--ink); color: #fff; }
.s-occ b { color: inherit; font-weight: 800; }
.s-occ span:not(.on) b { color: var(--ink); }
.s-billbox { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; }
.s-billbox[open] { padding-bottom: 14px; }
.s-billbox summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.s-ico { display: flex; gap: 6px; }
.s-ico .s-btn { margin: 0; height: auto; padding: 0 10px; font-size: 12px; white-space: nowrap; }

/* Mapka apartmánu a příjezd po zaplacení. Dlaždice jsou ztlumené, aby vynikly barvy webu. */
.s-place { margin: 14px 0 6px; }
.s-map { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #ece9e2; }
.s-map-tiles { filter: saturate(.55) contrast(.95) brightness(1.04); }
.s-map-line { fill: none; stroke: var(--a); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.s-map-center { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.s-map-label { font: 700 15px system-ui, sans-serif; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.s-map-area { fill: var(--b); fill-opacity: .18; stroke: var(--b); stroke-width: 2; stroke-dasharray: 6 5; }
.s-map-pin { fill: var(--b); stroke: #fff; stroke-width: 4; }
.s-map-copy { font: 11px system-ui, sans-serif; fill: #555; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.s-place-line { margin: 10px 0 4px; }
.s-place-links { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 6px 0; }
.s-place-links .s-link { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.s-arrival { margin: 22px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.s-arrival h2 { margin: 0; }
.s-arrival .s-map { margin: 12px 0; }
.s-arrival-address { margin: 8px 0; font-size: 17px; }
