/* Web Renáty Kocichové
   Koncept: celá stránka je koloběh pěti elementů (Střed → Dřevo → Oheň → Země → Kov → Voda).
   Každá sekce nese barvu svého elementu v proměnné --el. Den = rýžový papír, Noc = čajovna v noci.
   Úrovně efektů: html[data-fx="full|lite|calm"] (viz js/fx-init.js). */

:root {
  --paper: #FBF7EF; --paper-2: #F2EADA; --card: #FFFFFF; --ink: #1C2A2E; --ink-2: #4A5753; --line: #E3D9C4;
  --water: #1D6FB8; --wood: #2B8650; --earth: #A9652A; --fire: #D23F22; --metal: #657482;
  --accent: #1D6FB8; --on-accent: #FFFFFF; --on-node: #FFFFFF; --focus: #1D6FB8;
  --shadow: 0 1px 2px rgba(31,43,45,.06), 0 8px 24px rgba(31,43,45,.06);
  --el: var(--water);
  --display: "EB Garamond", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --han: "Noto Serif SC", "Songti SC", "SimSun", "Microsoft YaHei", serif;
  --navh: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1A21; --paper-2: #12232C; --card: #162A34; --ink: #ECE6D6; --ink-2: #AAB4AF; --line: #2C424C;
    --water: #86AFD6; --wood: #86BA95; --earth: #D2AA76; --fire: #E08A6E; --metal: #C4C2B7;
    --accent: #86AFD6; --on-accent: #0E1A21; --on-node: #0E1A21; --focus: #86AFD6;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1A21; --paper-2: #12232C; --card: #162A34; --ink: #ECE6D6; --ink-2: #AAB4AF; --line: #2C424C;
  --water: #86AFD6; --wood: #86BA95; --earth: #D2AA76; --fire: #E08A6E; --metal: #C4C2B7;
  --accent: #86AFD6; --on-accent: #0E1A21; --on-node: #0E1A21; --focus: #86AFD6;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.han { font-family: var(--han); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

/* Barevný nádech podle sekce – jedna vrstva, mění se jen barva. */
.wash { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(1100px 700px at 85% 8%, color-mix(in oklab, var(--el) 12%, transparent), transparent 70%),
    radial-gradient(900px 600px at 5% 95%, color-mix(in oklab, var(--el) 9%, transparent), transparent 70%); }
html[data-fx="full"] body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .45; background: url(/img/grain.png); }
html[data-fx="full"] .wash, html[data-fx="lite"] .wash { transition: background .9s ease; }

/* ---------- navigace ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent); }
html[data-fx="full"] .nav { background: color-mix(in oklab, var(--paper) 80%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-in { display: flex; align-items: center; gap: 16px; height: var(--navh); }
.brand { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none; margin-right: auto; }
.brand b { font-family: var(--display); font-size: 24px; font-weight: 600; }
.brand span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: flex; align-items: center; gap: 7px; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 7px 11px; border-radius: 999px; color: var(--ink-2); }
.nav ul a .han { font-size: 13px; color: var(--c); }
.nav ul a:hover, .nav ul a.on { color: var(--ink); background: color-mix(in oklab, var(--c) 13%, transparent); }
[data-k="wood"] { --c: var(--wood); } [data-k="fire"] { --c: var(--fire); } [data-k="earth"] { --c: var(--earth); }
[data-k="metal"] { --c: var(--metal); } [data-k="water"] { --c: var(--water); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 1060px) { .nav ul { display: none; } }
@media (max-width: 520px) { .brand b { font-size: 20px; } .brand span { font-size: 9.5px; } .nav-in { gap: 10px; } .nav .btn.small { padding: 9px 13px; } }

/* ---------- tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15px/1 var(--body); padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn[disabled] { opacity: .55; cursor: progress; }
html:not([data-fx="calm"]) .btn { transition: transform .2s ease, background-color .2s ease; }
html:not([data-fx="calm"]) .btn:hover { transform: translateY(-1px); }
.more { font-weight: 600; font-size: 14px; color: var(--el); text-underline-offset: 3px; }

/* ---------- sekce ---------- */
main { position: relative; z-index: 1; }
.sec { padding-block: clamp(56px, 10vh, 104px); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--el); margin-bottom: 16px; }
.eyebrow .han { font-size: 22px; letter-spacing: 0; }
.eyebrow::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .5; }
h2 { font-size: clamp(2.3rem, 3.2vw + 1.4vh, 3.6rem); }
.h3 { font-size: 30px; margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 62ch; margin-top: 14px; }
#sluzby { --el: var(--wood); } #o-mne { --el: var(--fire); } #elementy { --el: var(--earth); }
#navsteva { --el: var(--metal); } #rezervace { --el: var(--water); }

/* odhalení při scrollu – výchozí stav je vždy viditelný */
html[data-fx="full"] .reveal.pre, html[data-fx="lite"] .reveal.pre { opacity: 0; transform: translateY(18px); }
html[data-fx="full"] .reveal, html[data-fx="lite"] .reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }

/* ---------- úvod ---------- */
.hero { position: relative; padding-block: clamp(16px, 4.5vh, 56px) clamp(40px, 8vh, 80px); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.4vh + 1.5vw, 5.2rem); margin-top: 4px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--earth); }
.hero .lead { font-size: clamp(16px, 1.1vh + 9px, 19px); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(18px, 3.5vh, 32px); }
.organclock { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(16px, 3vh, 28px); padding: 7px 14px 7px 7px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in oklab, var(--card) 70%, transparent); font-size: 13.5px; color: var(--ink-2); min-height: 46px; }
.organclock:empty { visibility: hidden; }
.organclock i { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; font-style: normal; font-family: var(--han); font-weight: 600; color: var(--on-accent); background: var(--c); }
.organclock b { color: var(--ink); font-weight: 600; }
.dia { position: relative; width: 100%; max-width: min(540px, 70vh); margin-inline: auto; aspect-ratio: 1; }
.dia svg { width: 100%; height: 100%; display: block; overflow: visible; }
.dia[data-hint]::after { content: attr(data-hint); position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); font-size: 12px; color: var(--ink-2); letter-spacing: .06em; white-space: nowrap; }
.mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; z-index: -1; pointer-events: none; }
.mountains path { fill: var(--paper-2); opacity: .7; }
@media (max-width: 880px) { .hero-in { grid-template-columns: 1fr; } .dia { max-width: 400px; } }

/* diagram */
.fe-node { cursor: pointer; }
.fe-node:focus { outline: none; }
.fe-node:focus-visible .ring { stroke-width: 4.5; }
.fe-node:hover .ring { stroke-width: 4; }
.fe.dim .fe-node:not(.sel) { opacity: .72; }
html:not([data-fx="calm"]) .fe-node { transition: opacity .4s ease; }
html:not([data-fx="calm"]) .fe-draw { transition: stroke-dashoffset 1.6s cubic-bezier(.6,.05,.2,1); }
html:not([data-fx="calm"]) .fe-pop { transition: opacity .7s ease, transform .7s cubic-bezier(.3,1.4,.5,1); }
.fe-pop { transform-box: fill-box; transform-origin: center; }
.fe.pre .fe-pop { opacity: 0; transform: scale(.6); }
html[data-fx="lite"] .fe-yy, html[data-fx="full"] .fe-yy { animation: spin 90s linear infinite; transform-box: fill-box; transform-origin: center; }
.fe.paused .fe-yy { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- služby ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid color-mix(in oklab, var(--line) 70%, transparent); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card h3 { font-size: 30px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .more { margin-top: 2px; align-self: flex-start; }
.meta { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--ink) !important; margin-top: auto !important; padding-top: 6px; font-variant-numeric: tabular-nums; }
.feature { grid-row: span 2; background: linear-gradient(150deg, var(--water), color-mix(in oklab, var(--water) 70%, var(--earth))); color: var(--on-accent); border-color: transparent; position: relative; overflow: hidden; }
.feature p, .feature .meta { color: color-mix(in oklab, var(--on-accent) 88%, transparent) !important; }
.feature .bgchar { position: absolute; right: -24px; bottom: -48px; font-size: 240px; line-height: 1; opacity: .08; font-family: var(--han); font-weight: 600; pointer-events: none; }
.btn.light { border-color: var(--on-accent); color: var(--on-accent); align-self: flex-start; margin-top: 4px; }
@media (max-width: 920px) { .svc { grid-template-columns: 1fr 1fr; } .feature { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }

/* ---------- o mně ---------- */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.portrait { position: relative; margin: 0; max-width: 420px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 210px 210px 22px 22px; display: block; background: var(--paper-2); }
.seal { position: absolute; right: -12px; bottom: 28px; width: 84px; height: 84px; border-radius: 14px; background: var(--fire); color: var(--on-accent); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-6deg); box-shadow: var(--shadow); }
.seal b { font-family: var(--display); font-size: 28px; letter-spacing: 0; line-height: 1; }
.story > p { font-size: 17px; max-width: 64ch; margin-top: 14px; }
.story .quote { font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.3; color: var(--fire); margin-top: 20px; }
.story strong { font-weight: 600; color: var(--ink); }
.timeline { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.timeline li { position: relative; padding: 18px 16px 0 0; font-size: 13.5px; color: var(--ink-2); min-width: 0; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--fire); }
.timeline b { display: block; font-family: var(--display); font-size: 24px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 340px; } .timeline { grid-template-columns: 1fr 1fr; row-gap: 20px; } }

/* ---------- pět elementů ---------- */
.explore { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "dia head" "dia side"; column-gap: clamp(24px, 4vw, 56px); row-gap: 20px; align-items: start; }
.explore-head { grid-area: head; }
.explore-head .lead { font-size: 16.5px; }
.explore-head h2 { font-size: clamp(2.1rem, 2.6vw + 1.2vh, 3.2rem); }
.explore-side { grid-area: side; }
.dia.big { grid-area: dia; align-self: start; position: sticky; top: calc(var(--navh) + 16px); max-width: min(600px, calc(100vh - var(--navh) - 40px)); }
.panel { background: var(--card); border-radius: 22px; padding: 22px 24px; border: 1px solid color-mix(in oklab, var(--line) 70%, transparent); box-shadow: var(--shadow); position: relative; overflow: hidden; min-height: 270px; }
.panel .bigchar { position: absolute; right: 16px; top: 4px; font-family: var(--han); font-weight: 600; font-size: 116px; line-height: 1; color: var(--c); opacity: .14; }
.panel h3 { font-size: 40px; color: var(--c); }
.panel .sub { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.panel p { margin-top: 10px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 5px 18px; margin: 16px 0 0; font-size: 14.5px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; }
.tabs { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.tabs button { font: 600 13.5px var(--body); border: 1.5px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 7px 13px; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.tabs button .han { color: var(--c); }
.tabs button[aria-pressed="true"] { border-color: var(--c); background: color-mix(in oklab, var(--c) 14%, transparent); }
@media (max-width: 880px) { .explore { grid-template-columns: 1fr; grid-template-areas: "head" "dia" "side"; } }

/* ---------- návštěva ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 46px; line-height: 1; color: var(--metal); }
.pricing { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 52px; align-items: start; }
table.price { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.price td:nth-child(2) { color: var(--ink-2); text-align: right; padding-right: 18px; white-space: nowrap; }
.price td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.faq details { border-bottom: 1px solid var(--line); padding: 13px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--metal); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
@media (max-width: 880px) { .steps, .pricing { grid-template-columns: 1fr; } }

/* ---------- rezervace ---------- */
.bookwrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 22px; margin-top: 32px; align-items: stretch; }
.bookwrap > .book { align-self: start; }
.book { padding: 26px; box-shadow: var(--shadow); border-radius: 22px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-t { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--water); margin: 0 0 10px; padding: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 600 14px var(--body); border: 1.5px solid var(--line); background: transparent; color: var(--ink); border-radius: 12px; padding: 9px 13px; cursor: pointer; text-align: left; }
.chip small { display: block; font-weight: 500; color: var(--ink-2); font-size: 12px; }
.chip[aria-pressed="true"] { border-color: var(--water); background: color-mix(in oklab, var(--water) 13%, transparent); }
.cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; margin-top: 22px; }
.calhead { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-variant-numeric: tabular-nums; }
.cal .dh { font-size: 11px; font-weight: 700; color: var(--ink-2); text-align: center; letter-spacing: .06em; padding-bottom: 2px; }
.cal .mh { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 6px 2px 2px; text-transform: capitalize; }
.cal button, .cal span.d { height: 40px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--ink-2); font: 500 14px var(--body); position: relative; padding: 0; }
.cal span.d { display: grid; place-items: center; opacity: .45; }
.cal span.d.off { text-decoration: line-through; }
.cal button { cursor: pointer; color: var(--ink); background: color-mix(in oklab, var(--water) 11%, transparent); font-weight: 700; }
.cal button::after { content: attr(data-n); position: absolute; right: 4px; top: 2px; font-size: 9.5px; color: var(--water); font-weight: 700; }
.cal button[aria-pressed="true"] { background: var(--water); color: var(--on-accent); }
.cal button[aria-pressed="true"]::after { color: var(--on-accent); }
.cal .today { box-shadow: inset 0 0 0 1.5px var(--line); }
.hint { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.slots { display: flex; flex-direction: column; gap: 8px; }
.slots .day { font-weight: 700; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; background: transparent; color: var(--ink); font: 700 17px var(--body); cursor: pointer; font-variant-numeric: tabular-nums; text-align: left; }
.slot span { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.slot[aria-pressed="true"] { border-color: var(--water); background: color-mix(in oklab, var(--water) 13%, transparent); }
.bookform { margin-top: 22px; display: grid; gap: 12px; border-top: 1px dashed var(--line); padding-top: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
label > input, label > textarea, label > select { flex-basis: 100%; }
.opt { font-weight: 500; }
input, select, textarea { font: 500 15px var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--el); box-shadow: 0 0 0 3px color-mix(in oklab, var(--el) 22%, transparent); }
input[aria-invalid="true"] { border-color: var(--fire); }
textarea { resize: vertical; min-height: 76px; }
.check { flex-wrap: nowrap; align-items: flex-start; gap: 9px; font-weight: 500; }
.check > input { flex-basis: auto; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.submitrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.summary { font-size: 14px; color: var(--ink-2); }
.msg { font-size: 14.5px; padding: 10px 14px; border-radius: 12px; background: color-mix(in oklab, var(--fire) 12%, transparent); color: var(--ink); }
.msg.ok { background: color-mix(in oklab, var(--wood) 15%, transparent); }
.done { border-radius: 16px; padding: 24px; background: color-mix(in oklab, var(--wood) 13%, transparent); display: grid; gap: 12px; }
.done h3 { font-size: 34px; }
.done .when { font-size: 20px; font-weight: 700; }
.done .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.contact { display: flex; flex-direction: column; gap: 18px; }
.contact .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.contact .big-tel { font-family: var(--display); font-size: 36px; font-weight: 600; font-variant-numeric: tabular-nums; }
.big-tel a { text-decoration: none; }
address { font-style: normal; font-size: 14.5px; color: var(--ink-2); }
.contact form { display: grid; gap: 10px; }
.contact form .btn { justify-self: start; }
@media (max-width: 980px) { .bookwrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cols, .row { grid-template-columns: 1fr; } .book { padding: 18px; } }

/* ---------- patička ---------- */
.foot { position: relative; z-index: 1; padding-block: 48px 110px; border-top: 1px solid var(--line); margin-top: 32px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: end; }
.foot-quote { font-family: var(--display); font-size: 26px; font-style: italic; }
.foot-meta { display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.fx-switch { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.fx-switch button { font: 500 13px var(--body); background: transparent; border: 1px solid transparent; color: var(--ink-2); border-radius: 999px; padding: 2px 9px; cursor: pointer; }
.fx-switch button[aria-pressed="true"] { border-color: var(--line); color: var(--ink); font-weight: 700; }

/* ---------- pětiúhelník ---------- */
.penta { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 55; width: 96px; height: 96px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.penta svg { position: absolute; inset: 0; }
.penta a { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--han); font-weight: 600; font-size: 13px; color: var(--c); text-decoration: none; }
html:not([data-fx="calm"]) .penta a { transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.penta a.on { background: var(--c); color: var(--on-accent); transform: scale(1.22); }
@media (max-width: 600px) { .penta { width: 80px; height: 80px; } .penta a { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11.5px; } }

/* ---------- ostatní stránky ---------- */
.page { position: relative; z-index: 1; padding-block: 48px 80px; max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.page h2 { font-size: 26px; margin: 28px 0 8px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 10px; }
.notfound { max-width: 640px; margin: 15vh auto; padding: 0 24px; }
.notfound h1 { font-size: 44px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
html[data-fx="calm"] { scroll-behavior: auto; }
@media print { .nav, .penta, .wash, .foot .fx-switch, #book, .contact form { display: none !important; } }

/* Bouře elementů v úvodu (js/storm.js) */
.storm { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; }
html[data-fx="calm"] .storm { display: none; }
#heroDia { position: relative; z-index: 2; }
#heroDia svg.fe { will-change: transform; }
html[data-fx="calm"] #heroDia svg.fe { will-change: auto; }
.dia.scattered[data-hint]::after { opacity: 0; }

/* Mapka v kontaktu: vyplní sloupec až ke spodní hraně rezervačního formuláře */
.mapcard { flex: 1 1 200px; min-height: 200px; padding: 0; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.mapthumb, .mapcard iframe { flex: 1; width: 100%; min-height: 200px; border: 0; display: block; }
.mapthumb { position: relative; padding: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
.mapthumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-land { fill: color-mix(in oklab, var(--paper-2) 80%, var(--card)); }
.m-park { fill: color-mix(in oklab, var(--wood) 16%, var(--paper)); }
.m-river { fill: none; stroke: color-mix(in oklab, var(--water) 45%, var(--paper)); stroke-width: 14; stroke-linecap: round; }
.m-road-big path { fill: none; stroke: var(--card); stroke-width: 10; }
.m-road path { fill: none; stroke: var(--card); stroke-width: 5; }
.m-pin path { fill: var(--fire); }
.m-halo { fill: color-mix(in oklab, var(--fire) 18%, transparent); }
.m-dot { fill: #fff; }
.mapthumb-label { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); white-space: nowrap; }
.mapthumb:hover .mapthumb-label { border-color: var(--ink); }
.mapnote { margin: 0; padding: 8px 14px; font-size: 12px; color: var(--ink-2); border-top: 1px solid var(--line); }
.mapcard.loaded .mapnote { display: none; }
@media (max-width: 980px) { .mapcard { flex: none; height: 240px; } }

/* Podstránky: zrušení rezervace, zásady ochrany údajů */
.subpage { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.subpage .back { display: inline-block; margin-bottom: 28px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.subpage h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0 0 16px; }
.subpage h2 { font-size: 1.6rem; margin: 32px 0 8px; }
.subpage p, .subpage li { color: var(--ink-2); }
.subpage .card { padding: 26px; border-radius: 20px; box-shadow: var(--shadow); }
.subpage .big { font-family: var(--display); font-size: 1.8rem; color: var(--ink); margin: 4px 0 8px; }
.subpage .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn.danger { background: var(--fire); border-color: var(--fire); color: #fff; }

/* Podstránka Certifikáty */
.subpage-wide { max-width: 1120px; --el: var(--fire); }
.cert-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 26px 0 0; }
.cert-filters button { font: 600 14px var(--body); border: 1px solid var(--line); background: var(--card); color: var(--ink-2); padding: 8px 15px; border-radius: 999px; cursor: pointer; }
.cert-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.certs { list-style: none; padding: 0; margin: 22px 0 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .certs { grid-template-columns: 1fr; } }
.cert { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; box-shadow: var(--shadow); }
.cert-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--paper-2); cursor: zoom-in; }
.cert-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; }
.cert-yr { position: absolute; top: 10px; left: 10px; background: var(--fire); color: var(--on-accent); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.cert-body { padding: 16px 18px 18px; border-top: 3px solid var(--c, var(--line)); display: flex; flex-direction: column; flex: 1; }
.subpage .cert-body h2 { font-size: 1.35rem; margin: 0 0 4px; line-height: 1.2; }
.subpage .cert-body p { margin: 4px 0 0; font-size: 14.5px; }
.subpage .cert-body .cert-who { font-size: 13.5px; opacity: .8; margin: 0; }
.cert-tags { margin-top: auto !important; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cert-tags span { background: var(--paper-2); border-radius: 999px; padding: 2px 10px; font-size: 12.5px; }
.cert-teacher { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; background: var(--card); }
.cert-teacher .han { width: 70px; height: 70px; border-radius: 10px; background: var(--fire); color: var(--on-accent); display: grid; place-items: center; font: 600 32px var(--han); transform: rotate(-4deg); }
.subpage .cert-teacher h2 { margin: 0 0 4px; }
@media (max-width: 560px) { .cert-teacher { grid-template-columns: 1fr; } }
.cert-lb { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 96vh; overflow: visible; }
.cert-lb::backdrop { background: rgba(14, 20, 22, .85); }
.cert-lb img { display: block; max-width: 100%; max-height: calc(94vh - 64px); margin: 0 auto; background: #fff; border-radius: 6px; }
.cert-lb-bar { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #fff; }
.cert-lb-bar span { flex: 1; min-width: 0; font: 500 18px var(--display); }
.cert-lb-bar button { font: 600 14px var(--body); background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 999px; padding: 9px 15px; cursor: pointer; }
.timeline-more { margin-top: 18px; font-weight: 600; }
