:root {
  --color-text: #1b2a35;
  --color-bg: #f2f1ee;
  --color-surface: #e7e8e6;
  --color-divider: color-mix(in srgb, #1b2a35 40%, transparent);
  --color-accent: #14618f;
  --color-accent-100: #eaf3f9; --color-accent-200: #cfe3ef; --color-accent-300: #a8cbe0; --color-accent-400: #6ba6c9;
  --color-accent-500: #2f83b3; --color-accent-600: #0f5580; --color-accent-700: #0b4364; --color-accent-800: #0a3049; --color-accent-900: #0a2334;
  --color-neutral-100: #f7f6f4; --color-neutral-200: #e8e8e5; --color-neutral-300: #d4d5d2; --color-neutral-400: #b6b8b6;
  --color-neutral-500: #979a99; --color-neutral-600: #797d7d; --color-neutral-700: #5c6163; --color-neutral-800: #414749; --color-neutral-900: #2b3237;
  --sun: #f0a830; --sun-ink: #9a6100; --leaf: #5e8f47;
  --edge: clamp(20px, 5vw, 72px);
}
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; text-wrap: pretty; overflow-x: hidden; background: var(--color-bg); }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-700); text-decoration: underline; }
.page { background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: 17px; line-height: 28px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--edge); }
.tnum { font-feature-settings: 'tnum' 1; }

@keyframes rise { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift { from { transform: translateY(-7%) scale(1.1); } to { transform: translateY(7%) scale(1.1); } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scene { 0% { opacity: 0; transform: translateY(20px) } 16% { opacity: 1; transform: none } 78% { opacity: 1; transform: none } 100% { opacity: 0; transform: translateY(-20px) } }
@keyframes appear { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: .55 } 50% { transform: translateY(10px); opacity: 1 } }
@keyframes beat { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.035) } }
@keyframes dash { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@keyframes tow { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── nav ── */
.topnav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 26px; padding: 10px max(var(--edge), calc((100% - 1240px) / 2 + var(--edge))); background: color-mix(in srgb, var(--color-bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 2px solid var(--color-divider); }
.navprogress { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--color-accent); transform-origin: left; transform: scaleX(0); }
.brandlink { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--color-text); }
.brandlink:hover { text-decoration: none; color: var(--color-text); }
.navlogo { height: 44px; width: auto; mix-blend-mode: multiply; }
.brandtext { font-family: var(--font-heading); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; }
.brandtext span { font-weight: 400; font-size: 12px; letter-spacing: 0.08em; color: var(--color-neutral-700); }
.navlink { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text); white-space: nowrap; }
.navlink:hover { color: var(--color-accent); text-decoration: none; }
.navcta { text-decoration: none; white-space: nowrap; }
.navcta:hover { text-decoration: none; color: var(--color-bg); }
@media (max-width: 900px) { .navlink { display: none; } .topnav { gap: 12px; } }
@media (max-width: 420px) { .brandtext span { display: none; } .navcta { font-size: 13px; padding: 8px 10px; } }

/* ── hero ── */
.hero { padding: 88px 0 48px; display: grid; gap: 48px; }
.h-hero { font-family: var(--font-heading); font-weight: 800; font-size: clamp(42px, 6.4vw, 90px); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 28px; margin-left: -0.058em; }
.h-hero > span { display: block; }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.lead { max-width: 58ch; margin: 0 0 28px; font-size: 18px; line-height: 30px; }
.btn-lg { padding: 12px 18px; font-size: 15px; }
.btn:hover { text-decoration: none; }
.btn-primary:hover { color: var(--color-bg); }
.btn-secondary { color: var(--color-text); }
.lift-sun { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease; }
.lift-sun:hover { transform: translateY(-3px); box-shadow: 0 6px 0 0 var(--sun); }
.lift { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.lift:hover { transform: translateY(-3px); color: var(--color-text); }
.lift-sm { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.lift-sm:hover { transform: translateY(-2px); }
.scrollhint { display: flex; align-items: center; gap: 14px; margin-top: 36px; animation: fade 1s ease both; animation-delay: .8s; font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-neutral-700); line-height: 1.4; }
.bobline { width: 2px; height: 34px; background: var(--color-accent); display: block; flex: none; animation: bob 2.2s ease-in-out infinite; }
.heroimg { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 8; background: var(--color-neutral-200); animation: wipe 1.1s cubic-bezier(.66,0,.34,1) both; animation-delay: .35s; }
.heroimg .drift { position: absolute; inset: -8%; }
.heroimg img, .zonefig img, .gallery img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.herotag { position: absolute; left: 0; bottom: 0; background: var(--color-accent); color: var(--color-bg); padding: 10px 16px; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; line-height: 1.4; }
@media (max-width: 640px) { .heroimg { aspect-ratio: 4 / 3; } .hero { padding-top: 48px; } }

/* ── ticker ── */
.ticker { border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); overflow: hidden; padding: 12px 0; }
.tickertrack { display: flex; width: max-content; animation: slide 36s linear infinite; }
.tickerrow { display: flex; gap: 36px; padding-right: 36px; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.tickerrow i { color: var(--sun); font-style: normal; }

/* ── stats ── */
.stats { padding: 60px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 36px 28px; }
.stat { font-family: var(--font-heading); font-weight: 800; font-size: clamp(38px, 3.6vw, 54px); line-height: 1.1; color: var(--color-accent); margin: 0; }
.statlbl { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-700); margin: 12px 0 0; line-height: 1.5; }
.growhr { height: 2px; border: 0; margin: 0; background: var(--color-divider); transform-origin: left; }

/* ── headings ── */
.kicker { display: block; font-size: 13px; line-height: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-700); margin: 0 0 14px; }
.h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 12px; }
.h2s { font-family: var(--font-heading); font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 24px; }
.h2c { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 28px; }
.h2a { font-family: var(--font-heading); font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.h3 { font-family: var(--font-heading); font-weight: 800; font-size: 26px; line-height: 1.15; margin: 0 0 16px; }
.minilabel { font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-700); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px 56px; align-items: start; }
.sec { padding: 56px 0 72px; border-top: 2px solid var(--color-divider); }

/* ── plan ── */
.planbox { border: 2px solid var(--color-text); background: var(--color-neutral-100); padding: 20px; }
.planimg { width: 100%; max-width: 860px; height: auto; display: block; }
.planwrap { position: relative; width: 100%; max-width: 860px; }
.zone { position: absolute; top: 0; bottom: 0; appearance: none; cursor: pointer; background: transparent; border: 2px solid transparent; transition: background .3s ease, border-color .3s ease; }
.zone:hover { background: color-mix(in srgb, var(--color-accent) 22%, transparent); }
.zone.on { background: color-mix(in srgb, var(--color-accent) 26%, transparent); border-color: var(--color-accent); }
.zoneticks { display: flex; margin-top: 12px; max-width: 860px; }
.zoneticks button { appearance: none; cursor: pointer; border: 0; border-top: 2px solid var(--color-divider); background: transparent; color: var(--color-neutral-700); padding: 10px 6px 0; text-align: left; font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.25; overflow-wrap: anywhere; transition: color .25s ease; }
.zoneticks button:hover { color: var(--color-accent); }
.zoneticks button.on { border-top-color: var(--color-accent); color: var(--color-accent); }
.planends { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-700); margin-top: 14px; max-width: 860px; }
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bullets li { display: grid; grid-template-columns: 10px 1fr; gap: 14px; align-items: baseline; }
.bullets li::before { content: ''; width: 10px; height: 10px; background: var(--sun); display: block; }
.zonefig { margin: 0; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-neutral-200); }
.zonefig img { transition: opacity .3s ease; }

.seg2 { display: flex; border: 1px solid var(--color-divider); }
.seg2 button { appearance: none; border: 0; padding: 8px 16px; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; background: transparent; color: var(--color-text); transition: background .25s ease; }
.seg2 button:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg2 button.on { background: var(--color-accent); color: var(--color-bg); }
.seg-full { flex-wrap: wrap; }
.seg-full button { flex: 1; min-width: 96px; padding: 12px 10px; }

/* ── vybavení ── */
.eqg { font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.eqg i { width: 10px; height: 10px; background: var(--sun); display: block; }
.eqi { margin: 0; color: var(--color-neutral-800); }
.tech { width: 100%; border-collapse: collapse; font-size: 16px; }
.tech th { text-align: left; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--color-divider); width: 44%; vertical-align: top; }
.tech td { padding: 14px 0; border-bottom: 1px solid var(--color-divider); color: var(--color-neutral-800); }

/* ── ceník ── */
.cenik { padding: 64px 0 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 56px; align-items: start; border-top: 2px solid var(--color-divider); }
.pricetable { width: 100%; border-collapse: collapse; font-size: 16px; }
.pricetable th { text-align: left; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 0; border-bottom: 2px solid var(--color-divider); }
.pricetable .tcell { padding: 16px 0; border-bottom: 1px solid var(--color-divider); }
.pricetable .tnum { text-align: right; font-family: var(--font-heading); font-weight: 800; white-space: nowrap; padding-left: 16px; }
.calc { border: 2px solid var(--color-text); padding: 28px; position: sticky; top: 96px; background: var(--color-surface); }
.calclabel { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-700); margin-bottom: 10px; }
.calcval { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--color-text); }
.extra { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; line-height: 1.4; }
.extra input { width: 18px; height: 18px; accent-color: var(--color-accent); flex: none; margin: 0; }
.extra span:nth-child(2) { flex: 1; }
.extra b { font-family: var(--font-heading); font-weight: 800; font-feature-settings: 'tnum' 1; white-space: nowrap; }
.calcsum { border-top: 2px solid var(--color-divider); padding-top: 20px; display: grid; gap: 8px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--color-neutral-700); }
.sumrow[hidden] { display: none; }
.sumtotal { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; }
.bigprice { font-family: var(--font-heading); font-weight: 800; font-size: 32px; line-height: 1; color: var(--color-accent); font-feature-settings: 'tnum' 1; }
@media (max-width: 800px) { .calc { position: static; } }

/* ── dostupnost ── */
.avail { padding: 56px 0 72px; border-top: 2px solid var(--color-divider); }
.monthbar { display: flex; border: 1px solid var(--color-divider); margin-bottom: 20px; }
.monthbar .seg2 button { min-width: 0; }
.mnav { appearance: none; border: 0; background: transparent; padding: 0 14px; font-size: 22px; cursor: pointer; color: var(--color-text); font-family: var(--font-heading); font-weight: 800; }
.mnav:hover:not(:disabled) { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.mnav:disabled { opacity: .25; cursor: default; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-700); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; display: block; }
.pickinfo { margin-top: 20px; border: 2px solid var(--color-text); padding: 14px 16px; background: var(--color-neutral-100); font-size: 15px; line-height: 1.5; }
.pickinfo b { font-family: var(--font-heading); }
.pickinfo .btn { margin-top: 10px; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calgrid .dn { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-600); padding-bottom: 6px; text-align: center; }
.calgrid .d { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; font-size: 15px; border: 1px solid var(--color-divider); font-feature-settings: 'tnum' 1; transition: background .3s ease; background: transparent; color: var(--color-text); appearance: none; padding: 0; }
.calgrid button.d { cursor: pointer; }
.calgrid button.d:hover { background: color-mix(in srgb, var(--sun) 40%, transparent); }
.calgrid .d.empty { border-color: transparent; }
.calgrid .d.booked { background: var(--color-accent); color: var(--color-bg); }
.calgrid .d.past { color: var(--color-neutral-400); border-color: color-mix(in srgb, var(--color-divider) 40%, transparent); }
.calgrid .d.closed { color: var(--color-neutral-400); background: repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--color-text) 8%, transparent) 5px 6px); }
.calgrid .d.sel { background: var(--sun); color: var(--color-text); border-color: var(--sun-ink); }
.calgrid .d.inrange { background: color-mix(in srgb, var(--sun) 45%, transparent); }
.calgrid .d.today { outline: 2px solid var(--color-text); outline-offset: -3px; }

/* ── galerie ── */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--color-neutral-200); cursor: zoom-in; }
.gallery .zoom { position: absolute; inset: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover .zoom { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; bottom: 0; background: var(--color-bg); border-top: 3px solid var(--sun); padding: 8px 12px; font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; pointer-events: none; color: var(--color-text); line-height: 1.4; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: color-mix(in srgb, var(--color-accent-900) 92%, transparent); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade .25s ease both; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; top: 16px; right: 16px; background: var(--color-bg); border: 0; font: 800 14px var(--font-heading); padding: 10px 14px; cursor: pointer; letter-spacing: .06em; text-transform: uppercase; }

/* ── trasa ── */
.trasa { view-timeline-name: --trasa; view-timeline-axis: block; }
.spin { transform-origin: 880px 70px; animation: spin 60s linear infinite; }
.ttow { offset-path: path('M 20 214 C 160 214, 220 94, 360 114 S 560 234, 700 174 S 900 94, 980 124'); offset-rotate: auto; offset-distance: 100%; }
.scene { opacity: 0; }
.scene-last { opacity: 1; }
.trips { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; border-top: 2px solid var(--color-divider); padding-top: 28px; margin-top: 8px; }
.tripplace { font-family: var(--font-heading); font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0 0 6px; transition: color .25s ease, transform .25s ease; }
.trips > div:hover .tripplace { color: var(--color-accent); transform: translateX(6px); }
.tripdist { font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun-ink); margin: 0 0 10px; }
.tripnote { margin: 0; font-size: 15px; color: var(--color-neutral-800); line-height: 1.6; }

/* ── podmínky ── */
.term { display: grid; grid-template-columns: 84px 1fr; gap: 12px 24px; padding: 20px 0; border-bottom: 2px solid var(--color-divider); }
.termtag { font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; color: var(--sun-ink); }
.termtitle { font-family: var(--font-heading); font-weight: 800; font-size: 18px; line-height: 1.3; margin: 0 0 6px; }
.termcopy { margin: 0; color: var(--color-neutral-800); font-size: 16px; line-height: 1.6; }
.guide { margin: 0; border: 2px solid var(--color-divider); padding: 16px; background: var(--color-neutral-100); }
.guide img { width: 100%; height: auto; display: block; }
.guide figcaption { font-size: 13px; color: var(--color-neutral-700); margin-top: 12px; line-height: 20px; }
@media (max-width: 480px) { .term { grid-template-columns: 1fr; gap: 4px; } }

/* ── FAQ ── */
.faq { border-bottom: 2px solid var(--color-divider); }
.faq summary { list-style: none; display: flex; gap: 20px; align-items: baseline; padding: 22px 0; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--color-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-accent); }
.faq summary span { flex: 1; }
.faq summary b { color: var(--color-accent); font-size: 24px; line-height: 1; transition: transform .3s ease; }
.faq[open] summary b { transform: rotate(45deg); }
.faq p { margin: 0 0 24px; max-width: 64ch; color: var(--color-neutral-800); animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }

/* ── poptávka ── */
.inquiry { background: var(--color-accent); color: var(--color-bg); }
.inquiry a { color: var(--color-bg); }
.h2big { font-family: var(--font-heading); font-weight: 800; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; margin-left: -0.058em; }
.h2big span { display: block; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.flabel { display: grid; gap: 8px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; }
.finput { background: transparent; border: 1px solid var(--color-bg); color: var(--color-bg); padding: 12px 14px; font-size: 15px; font-family: var(--font-body); border-radius: 0; width: 100%; min-width: 0; letter-spacing: normal; text-transform: none; }
.finput::placeholder { color: color-mix(in srgb, var(--color-bg) 55%, transparent); }
.finput:focus-visible { outline: 2px solid var(--sun); outline-offset: 0; }
.finput.bad { border-color: var(--sun); border-width: 2px; }
.finput[type=date] { color-scheme: dark; }
.inquiry .extra input { accent-color: var(--sun); }
.estimate { border: 1px solid var(--color-bg); padding: 20px; display: grid; gap: 8px; }
.estimate .sumrow { color: inherit; opacity: .9; }
.formwarn { margin: 4px 0 0; font-size: 14px; background: var(--sun); color: var(--color-text); padding: 8px 12px; line-height: 1.4; }
.formwarn[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sun); flex: none; }
.consent a { text-decoration: underline; }
.sendbtn { background: var(--color-bg); color: var(--color-accent-700); padding: 14px 20px; font-size: 15px; justify-content: flex-start; animation: beat 3.4s ease-in-out infinite; transition: transform .2s ease; }
.sendbtn:hover { transform: scale(1.04); color: var(--color-accent-700); }
.sendbtn:disabled { animation: none; }
.formmsg { font-family: var(--font-heading); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; animation: fade .4s ease both; line-height: 1.4; }
.formmsg.err { text-transform: none; letter-spacing: 0; font-weight: 500; background: var(--sun); color: var(--color-text); padding: 8px 12px; }
.clabel { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 6px; opacity: .85; }
.success { border: 2px solid var(--color-bg); padding: 28px; animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.success h3 { font-family: var(--font-heading); font-weight: 800; font-size: 28px; line-height: 1.1; margin: 0 0 12px; }

.foot { padding: 36px 0; font-size: 13px; color: var(--color-neutral-700); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; line-height: 1.6; }
.foot a { color: var(--color-neutral-700); }

/* ── scroll-driven animace (jen kde je prohlížeč umí; jinde je vše rovnou vidět) ── */
@supports (animation-timeline: view()) {
  .navprogress { animation: grow linear both; animation-timeline: scroll(root block); }
  .heroimg .drift { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  .vrise { animation: rise .8s ease both; animation-timeline: view(); animation-range: entry 0% var(--ar, cover 30%); }
  .growhr { animation: grow .9s ease both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
  .zonefig { animation: wipe 1s cubic-bezier(.66,0,.34,1) both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .calgrid .d { animation: pop .5s cubic-bezier(.2,.7,.2,1) both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  .scene, .scene-last { opacity: 1; animation: scene 1s linear both; animation-timeline: --trasa; animation-range: var(--ar); }
  .tgrow { transform-origin: left; animation: grow 1s ease both; animation-timeline: --trasa; animation-range: entry 8% cover 30%; }
  .tdash { animation: dash linear both; animation-timeline: --trasa; animation-range: entry 18% cover 72%; }
  .tpop { animation: pop .5s ease both; animation-timeline: --trasa; animation-range: var(--ar); }
  .ttow { animation: tow linear both; animation-timeline: --trasa; animation-range: entry 18% cover 72%; }
  .tappear { animation: appear .5s ease both; animation-timeline: --trasa; animation-range: var(--ar); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  .scene { opacity: 0; } .scene-last { opacity: 1; }
}

/* Záložní animace pro prohlížeče bez scroll-timeline (Safari na iPhonu, Firefox) — stejné efekty, řízené skriptem */
.io .vrise { opacity: 0; transform: translateY(38px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.io .vrise.in { opacity: 1; transform: none; }
.io .growhr { transform: scaleX(0); transition: transform .9s ease; }
.io .growhr.in { transform: none; }
.io .zonefig { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.66,0,.34,1); }
.io .zonefig.in { clip-path: inset(0 0 0 0); }
.io .calgrid .d { opacity: 0; transform: scale(.86); transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1), background .3s ease; }
.io .calgrid.in .d { opacity: 1; transform: none; }
.io .heroimg .drift { transition: transform .1s linear; }
.io .scene, .io .scene-last { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.io .scene.on { opacity: 1; transform: none; }
.io .tappear, .io .tpop { opacity: 0; transition: opacity .4s ease; }
.io .tappear.on, .io .tpop.on { opacity: 1; }
.io .ttow { offset-distance: 0%; }

/* ═════════════ Úpravy z návrhu (říjen) ═════════════ */
@keyframes ping { 0% { transform: scale(1); opacity: .7 } 100% { transform: scale(2.6); opacity: 0 } }
@keyframes shine { from { transform: translateX(-120%) skewX(-18deg) } to { transform: translateX(320%) skewX(-18deg) } }
@keyframes zoomin { from { opacity: 0; transform: scale(.94) } to { opacity: 1; transform: none } }
@property --r { syntax: '<length>'; inherits: true; initial-value: 0px; }

/* Střídající se cíle v nadpisu */
.h-hero .herowords { display: grid; overflow: hidden; }
.herowords > span { grid-area: 1 / 1; color: var(--color-accent); opacity: 0; transform: translateY(60%); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.herowords > span.on { opacity: 1; transform: none; }
.herowords > span.out { opacity: 0; transform: translateY(-60%); }

/* Úvodní fotka: barvy pod kurzorem */
.heroimg { cursor: crosshair; --mx: 50%; --my: 50%; --r: 0px; transition: --r .4s ease; }
.heroimg .spot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 60%, transparent 100%); mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 60%, transparent 100%); }
.herohint { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; gap: 10px; background: var(--color-bg); padding: 8px 12px; font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; pointer-events: none; transition: opacity .4s ease; }
.herohint i { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); display: block; flex: none; }
.herohint.gone { opacity: 0; }

/* Fotky zóny a galerie: černobílé, barevné po najetí */
.zonefig.tint, .gallery .tint { filter: grayscale(1) contrast(1.08); }
.zonefig.tint { transition: filter .6s ease, clip-path 1s cubic-bezier(.66,0,.34,1); }
.zonefig.tint:hover { filter: grayscale(0) contrast(1); }
.gallery .zoom.tint { transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s ease; }
.gallery figure:hover .zoom.tint, .gallery figure:focus-visible .zoom.tint { transform: scale(1.07); filter: grayscale(0) contrast(1); }
.gallery .expand { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; background: var(--color-bg); color: var(--color-text); display: flex; align-items: center; justify-content: center; pointer-events: none; }

/* Prohlížeč fotek */
.lb2 { position: fixed; inset: 0; z-index: 100; background: color-mix(in srgb, var(--color-text) 94%, transparent); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; padding: 20px var(--edge); animation: fade .3s ease both; touch-action: pan-y; }
.lb2 .lbtop { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--color-bg); font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.lb2 .lbx { appearance: none; border: 2px solid var(--color-bg); background: transparent; color: var(--color-bg); width: 44px; height: 44px; cursor: pointer; font-size: 22px; line-height: 1; flex: none; }
.lb2 .lbx:hover { background: var(--color-accent); border-color: var(--color-accent); }
.lb2 .lbmid { display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb2 .lbmid img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; animation: zoomin .45s cubic-bezier(.2,.7,.2,1) both; }
.lb2 .lbbot { display: flex; justify-content: center; gap: 2px; }
.lb2 .lbbot button { appearance: none; border: 0; background: var(--color-bg); color: var(--color-text); padding: 12px 22px; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.lb2 .lbbot button:hover { background: var(--color-accent); color: var(--color-bg); }

/* Plovoucí štítek s nejbližším volným termínem */
.freepill { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 14px; background: var(--color-text); color: var(--color-bg); padding: 14px 18px; text-decoration: none; overflow: hidden; transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .4s ease, background .25s ease; box-shadow: 6px 6px 0 0 var(--sun); }
.freepill.show { transform: none; opacity: 1; pointer-events: auto; }
.freepill:hover { background: var(--color-accent); color: var(--color-bg); text-decoration: none; }
.freepill .dot { position: relative; width: 10px; height: 10px; flex: none; }
.freepill .dot i { position: absolute; inset: 0; border-radius: 50%; background: var(--leaf); }
.freepill .dot i:first-child { animation: ping 1.8s ease-out infinite; }
.freepill .ft { display: grid; line-height: 1.25; }
.freepill .ft span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: .75; }
.freepill .ft b { font-family: var(--font-heading); font-weight: 800; font-size: 15px; }
.freepill .arr { font-family: var(--font-heading); font-weight: 800; font-size: 18px; }
.freepill .shine { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-bg) 22%, transparent), transparent); animation: shine 3.6s ease-in-out infinite; pointer-events: none; }
@media (max-width: 480px) { .freepill { right: 12px; left: 12px; bottom: 12px; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .herowords > span { transition: none; } }

/* ═════════════ 360° prohlídka ═════════════ */
.pano-sec { padding: 72px 0; }
.pano-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.pano-head p { margin: 0; max-width: 42ch; color: var(--color-neutral-800); }
.pano-tabs { display: flex; flex-wrap: wrap; border: 2px solid var(--color-text); border-bottom: 0; background: var(--color-surface); }
.pano-tabs button { appearance: none; border: 0; border-right: 2px solid var(--color-text); background: transparent; color: var(--color-text); padding: 0 20px; min-height: 52px; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 10px; transition: background .25s ease, color .25s ease; }
.pano-tabs button span { font-size: 12px; opacity: .7; }
.pano-tabs button:hover { background: var(--color-accent-200); }
.pano-tabs button.on { background: var(--color-accent); color: #fff; }
@media (max-width: 520px) { .pano-tabs button { flex: 1; padding: 0 10px; font-size: 14px; justify-content: center; } .pano-tabs button span { display: none; } .pano-tabs button:last-child { border-right: 0; } }
.pano-box { position: relative; width: 100%; aspect-ratio: 16 / 8; min-height: 360px; border: 2px solid var(--color-text); background: var(--color-text); overflow: hidden; }
@media (max-width: 640px) { .pano-box { aspect-ratio: 4 / 5; min-height: 0; } }
.pano-view { position: absolute; inset: 0; }
.pano-msg { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; padding: 32px; color: #fff; pointer-events: none; animation: fade .3s ease both; }
.pano-msg span { font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.pano-msg p { margin: 0; max-width: 40ch; }
.pano-msg[hidden], .pano-ctrl[hidden], .pano-hint[hidden], .pano-ctrl button[hidden] { display: none; }
.pano-ctrl { position: absolute; left: 16px; bottom: 16px; z-index: 5; display: flex; flex-wrap: wrap; gap: 2px; max-width: calc(100% - 32px); }
.pano-ctrl button { appearance: none; border: 0; background: var(--color-bg); color: var(--color-text); padding: 0 14px; height: 44px; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; transition: background .2s ease, color .2s ease, filter .2s ease; }
.pano-ctrl button:hover { background: var(--color-accent); color: #fff; }
.pano-ctrl button.sun, .pano-ctrl button.on { background: var(--sun); color: var(--color-text); }
.pano-ctrl button.sun:hover { filter: brightness(1.08); background: var(--sun); color: var(--color-text); }
.pano-ctrl button.sq { width: 44px; padding: 0; display: flex; align-items: center; justify-content: center; }
@media (max-width: 520px) { .pano-ctrl { left: 10px; bottom: 10px; } .pano-ctrl button { font-size: 11px; padding: 0 10px; height: 40px; } .pano-ctrl button.sq { width: 40px; } }
.pano-hint { position: absolute; right: 16px; top: 16px; z-index: 5; background: var(--color-bg); padding: 8px 12px; font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; transition: opacity .5s ease; }
.pano-hint.gone { opacity: 0; }
/* vzhled prvků knihovny Pannellum */
.pnlm-container { background: var(--color-text) !important; font-family: var(--font-body) !important; }
.pnlm-load-box, .pnlm-about-msg, .pnlm-controls-container { display: none !important; }
.pnlm-hotspot-base.pnlm-info { width: 30px !important; height: 30px !important; border-radius: 0 !important; background: var(--sun) !important; background-image: none !important; box-shadow: 0 0 0 2px var(--color-text); cursor: pointer; }
.pnlm-hotspot-base.pnlm-info::after { content: '+'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 20px/1 var(--font-heading); color: var(--color-text); }
.pnlm-hotspot-base.pnlm-info::before { content: ''; position: absolute; inset: -2px; border: 2px solid var(--sun); animation: pano-ping 1.8s ease-out infinite; }
.pnlm-tooltip span { background: var(--color-text) !important; color: #fff !important; border-radius: 0 !important; font: 700 14px/1.35 var(--font-body) !important; padding: 8px 12px !important; max-width: 220px; white-space: normal !important; }
.pnlm-tooltip span::after { border-color: var(--color-text) transparent transparent transparent !important; }
.pnlm-hotspot-base.pnlm-scene { width: 44px !important; height: 44px !important; border-radius: 0 !important; background: var(--color-accent) !important; background-image: none !important; box-shadow: 0 0 0 2px #fff; cursor: pointer; }
.pnlm-hotspot-base.pnlm-scene::after { content: '→'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 22px/1 var(--font-heading); color: #fff; }
@keyframes pano-ping { 0% { transform: scale(1); opacity: .9 } 100% { transform: scale(1.9); opacity: 0 } }

/* ═════════════ Cesta s karavanem (sticky scéna řízená posouváním) ═════════════ */
.trip-card { opacity: 0; transform: translateY(24px); pointer-events: none; }
.trip-card.past { transform: translateY(-24px); }
.trip-card.on { opacity: 1; transform: none; }
.trip-scene { opacity: 0; transform: translateX(80px); }
.trip-scene.past { transform: translateX(-80px); }
.trip-scene.on { opacity: 1; transform: translateX(0); }
.trip-dot { background: var(--color-bg); }
.trip-dot.done { background: var(--color-accent); }
.trip-dot.on { transform: scale(1.35); }
.trip-stop { color: var(--color-neutral-600); }
.trip-stop.done { color: var(--color-text); }
.trip-stop.on, .trip-stop:hover { color: var(--color-accent); }
@media (max-width: 640px) { .trip-stop { font-size: 10px !important; letter-spacing: 0.02em !important; } }
@media (max-width: 640px) {
  .trip-stop { opacity: 0; transition: opacity .3s ease, color .3s ease !important; }
  .trip-stop.on { opacity: 1; }
  .trip-car { width: 60px; height: 27px; margin-left: -28px !important; }
}
