/* ── Lyžařská škola — veřejný web ─────────────────────────────── */
:root {
  --ink: #0B1220;
  --ink-2: #121C2F;
  --ink-3: #1D2A42;
  --paper: #F5F4EF;
  --paper-2: #ECEAE3;
  --white: #FFFFFF;
  --line: rgba(11, 18, 32, .10);
  --line-2: rgba(11, 18, 32, .18);
  --muted: #5D6676;
  --ember: #FF5A1F;
  --ember-2: #E54810;
  --ember-soft: #FFE6DA;
  --glacier: #A8D2F0;
  --pine: #16624A;
  --ok: #16A34A;
  --warn: #D97706;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(11,18,32,.04), 0 12px 40px -12px rgba(11,18,32,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ember); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ember { background: var(--ember); color: #fff; box-shadow: 0 10px 30px -10px rgba(255,90,31,.7); }
.btn-ember:hover { background: var(--ember-2); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ── navigace ─────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff;
  transition: background .35s, color .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.nav.solid, .nav.light {
  background: rgba(245,244,239,.86); color: var(--ink);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%; background: #C8C8C8; overflow: hidden; flex: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85);
}
.logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav.solid .logo-mark, .nav.light .logo-mark { box-shadow: 0 0 0 1px var(--line-2); }
.logo small { display: block; font-weight: 500; font-size: 11.5px; letter-spacing: .02em; opacity: .65; margin-top: -2px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav-links a { opacity: .82; transition: opacity .2s; position: relative; }
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 14px; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0;
  background: rgba(255,255,255,.14); color: inherit; cursor: pointer; }
.nav.solid .nav-burger, .nav.light .nav-burger { background: rgba(11,18,32,.06); }
.nav-burger svg { width: 22px; height: 22px; }

/* oznámení z Nastavení: tenký pruh nad menu */
.ozn {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 32px; padding: 0 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ember); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.ma-ozn .nav { top: 32px; }

/* ── hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: max(720px, 100svh); color: #fff; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  background: var(--ink);
}
.hero-bg, .hero-bg picture { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,0) 22%),
    linear-gradient(0deg, rgba(11,18,32,.96) 0%, rgba(11,18,32,.72) 32%, rgba(11,18,32,.12) 62%),
    linear-gradient(90deg, rgba(11,18,32,.5) 0%, rgba(11,18,32,0) 55%);
}
.hero-in { padding-bottom: 44px; }
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
.hero .eyebrow::before { display: none; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; margin: 18px 0 0;
  font-size: clamp(58px, 9.2vw, 148px); line-height: .9; letter-spacing: -.025em;
}
.hero h1 em { font-style: italic; color: #FFD9C7; }
.hero-lead { max-width: 470px; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.78); margin: 0 0 6px; }
.hero-side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding-bottom: 14px; }
.hero-chip {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); font-size: 14px;
}
.hero-chip b { display: block; font-size: 15px; }
.hero-chip span { color: rgba(255,255,255,.7); font-size: 13px; }
.hero-chip .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.hero-chip .ico svg { width: 20px; height: 20px; }

/* vyhledávací lišta */
.finder {
  margin-top: 40px; display: grid; grid-template-columns: auto 1.4fr 1fr auto; gap: 6px; align-items: stretch;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 26px; padding: 8px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55);
}
.finder-f { display: flex; flex-direction: column; justify-content: center; padding: 8px 18px; border-radius: 18px; transition: background .2s; min-width: 0; }
.finder-f:hover { background: var(--paper); }
.finder-f label { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.finder-f select, .finder-f input {
  border: 0; background: transparent; padding: 2px 0 0; font-size: 16px; font-weight: 600; outline: none; width: 100%;
  appearance: none; -webkit-appearance: none; cursor: pointer; min-height: 28px;
}
.finder-f + .finder-f { position: relative; }
.finder-f + .finder-f::before { content: ''; position: absolute; left: -3px; top: 18%; bottom: 18%; width: 1px; background: var(--line); }
.seg { display: inline-flex; background: var(--paper); border-radius: 14px; padding: 4px; gap: 2px; }
.seg button {
  border: 0; background: transparent; padding: 0 16px; height: 40px; border-radius: 11px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--muted); transition: all .25s var(--ease);
}
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,18,32,.12); }
.finder .seg { align-self: center; margin-left: 4px; }
.finder .btn { height: auto; min-height: 60px; border-radius: 20px; padding: 0 28px; }

/* ── pruh ─────────────────────────────────────────────────────── */
.ticker { background: var(--ink); color: rgba(255,255,255,.86); overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); }
.ticker-in { display: flex; gap: 48px; padding: 20px 0; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--serif); font-size: 26px; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── sekce ────────────────────────────────────────────────────── */
section { position: relative; }
.sec { padding: 130px 0; }
.sec-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.sec-head h2, .h2 {
  font-family: var(--serif); font-weight: 400; margin: 16px 0 0;
  font-size: clamp(42px, 5.4vw, 80px); line-height: .98; letter-spacing: -.022em;
}
.sec-head h2 em, .h2 em { font-style: italic; color: var(--ember-2); }
.sec-head p { margin: 0; font-size: 18px; color: var(--muted); max-width: 470px; justify-self: end; }
.num { font-family: var(--serif); font-style: italic; color: var(--ember-2); font-size: 15px; letter-spacing: 0; text-transform: none; margin-right: 2px; }

/* ── bento programů ───────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(300px, auto); gap: 18px; }
.card {
  position: relative; border-radius: var(--r); padding: 30px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
a.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.02; margin: 0 0 10px; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: var(--paper); color: var(--ink);
}
.tag.ember { background: var(--ember-soft); color: var(--ember-2); }
.tag.dark { background: rgba(255,255,255,.12); color: #fff; }
.card .foot { margin-top: auto; padding-top: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.price { font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.price small { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.arrow {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--ink); color: #fff; transition: transform .45s var(--ease), background .3s;
}
.arrow svg { width: 20px; height: 20px; }
a.card:hover .arrow { transform: rotate(-45deg); background: var(--ember); }
.card-hero { grid-row: span 2; color: #fff; background: var(--ink); padding: 0; min-height: 620px; }
.card-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.card-hero:hover img { transform: scale(1.04); }
.card-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,18,32,.95) 8%, rgba(11,18,32,.35) 50%, rgba(11,18,32,0) 72%); }
.card-hero .in { position: relative; z-index: 1; margin-top: auto; padding: 34px; }
.card-hero h3 { font-size: 54px; }
.card-hero p { color: rgba(255,255,255,.75); max-width: 380px; }
.card-hero .price small { color: rgba(255,255,255,.65); }
.card-hero .arrow { background: #fff; color: var(--ink); }
.lens { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.lens span { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.card-feat { background: var(--ember); color: #fff; box-shadow: none; }
.card-feat p, .card-feat .price small { color: rgba(255,255,255,.82); }
.card-feat .tag { background: rgba(255,255,255,.2); color: #fff; }
.card-feat .arrow { background: #fff; color: var(--ember-2); }
a.card-feat:hover .arrow { background: var(--ink); color: #fff; }
.card-dark { background: var(--ink); color: #fff; box-shadow: none; }
.card-dark p { color: rgba(255,255,255,.7); }
.card-dark .tag { background: rgba(255,255,255,.1); color: #fff; }
.card-dark .arrow { background: var(--ember); }
.card .big-num { font-family: var(--serif); font-size: 96px; line-height: .8; letter-spacing: -.04em; position: absolute; right: 26px; top: 22px; opacity: .14; }

/* ── kroky ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.step { padding: 34px 28px 10px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--ember-2); letter-spacing: -.03em; }
.step h4 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── úrovně ───────────────────────────────────────────────────── */
.dark { background: var(--ink); color: #fff; }
.dark .eyebrow { color: rgba(255,255,255,.6); }
.dark .sec-head p { color: rgba(255,255,255,.62); }
.dark .h2 em, .dark .sec-head h2 em { color: #FFB291; }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.level {
  border-radius: var(--r); padding: 28px; background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  display: flex; flex-direction: column; min-height: 330px; transition: background .4s, transform .5s var(--ease);
}
.level:hover { background: var(--ink-3); transform: translateY(-4px); }
.level .slope { height: 84px; margin: -6px -6px 18px; }
.level .slope svg { width: 100%; height: 100%; }
.level .lv { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.level h4 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 8px 0 10px; line-height: 1; }
.level p { margin: 0; color: rgba(255,255,255,.66); font-size: 15px; }
.level .kids { margin-top: auto; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,.55); }
.level .kids b { color: #FFB291; font-weight: 600; }

/* ── tým ──────────────────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person { border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.person-h { display: none; }
.person .ph { aspect-ratio: 4/4.4; position: relative; overflow: hidden; display: grid; place-items: center; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person .mono { font-family: var(--serif); font-size: 92px; color: #fff; letter-spacing: -.04em; line-height: 1; position: relative; }
.person .ph::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.28), transparent 60%); }
.person .ph .peak { position: absolute; inset: auto 0 0 0; height: 46%; opacity: .25; }
.person .in { padding: 20px 22px 22px; }
.person h4 { font-family: var(--serif); font-weight: 400; font-size: 27px; margin: 0; line-height: 1.1; }
.person .q { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.person .bio { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.person .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.person .chips span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper); }
.person .chips .l { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }

/* ── nábor ────────────────────────────────────────────────────── */
.join { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 34px 38px; border-radius: var(--r); background: var(--ember-soft); }
.join h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.02; margin: 12px 0 8px; letter-spacing: -.015em; }
.join h3 em { color: var(--ember-2); }
.join p { margin: 0; color: var(--muted); max-width: 520px; }
.join .eyebrow { color: var(--ember-2); }

/* ── půjčovna ─────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/4.2; position: relative; }
.split-img picture { display: block; width: 100%; height: 100%; }
.split-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.split-photo { display: grid; gap: 12px; }
.split-photo .badge {
  padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  display: flex; gap: 14px; align-items: center; font-size: 14.5px;
}
.split-photo .badge .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--ember); color: #fff; display: grid; place-items: center; flex: none; }
.rows { margin-top: 30px; border-top: 1px solid var(--line-2); }
.row { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.row b { font-weight: 600; white-space: nowrap; }
.row span { color: var(--ink); }

/* ── ceník ────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing.dva { grid-template-columns: repeat(2, 1fr); }
.pcol { background: #fff; border-radius: var(--r); padding: 30px; box-shadow: inset 0 0 0 1px var(--line); }
.pcol h4 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 0 0 6px; }
.pcol .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.prow .nm { font-weight: 600; font-size: 15px; }
.prow .nm small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.prow .pr { font-family: var(--serif); font-size: 28px; white-space: nowrap; }

/* ── faq ──────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px;
  font-size: 19px; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: #fff; box-shadow: none; }
.faq .ans { padding: 0 60px 26px 0; color: var(--muted); font-size: 16px; }

/* ── výzva / kontakt ──────────────────────────────────────────── */
.cta { position: relative; color: #fff; overflow: hidden; border-radius: 34px; margin: 0 28px; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,18,32,.92) 10%, rgba(11,18,32,.55) 60%, rgba(11,18,32,.25)); }
.cta .in { padding: 110px 0; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 104px); line-height: .95; margin: 18px 0 34px; letter-spacing: -.025em; max-width: 900px; }
.cta h2 em { color: #FFB291; }
.cta .eyebrow { color: rgba(255,255,255,.7); }
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 80px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.18); }
.contact div { font-size: 15px; color: rgba(255,255,255,.85); }
.contact b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 6px; font-weight: 600; }
.contact a:hover { color: #FFB291; }

footer { padding: 60px 0 40px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.foot-in nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-in nav a:hover { color: var(--ink); }
.foot-big { font-family: var(--serif); font-size: clamp(60px, 14vw, 220px); line-height: .8; letter-spacing: -.04em; color: var(--ink); opacity: .06; margin: 40px 0 0; white-space: nowrap; overflow: hidden; }

/* animace při scrollu */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].vis { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .ticker-in, .hero-bg img { animation: none; }
}

/* ── rezervační průvodce ──────────────────────────────────────── */
.page-top { padding: 128px 0 34px; }
.page-top h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 84px); line-height: .95; margin: 14px 0 0; letter-spacing: -.025em; }
.page-top h1 em { color: var(--ember-2); }
.book { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; padding-bottom: 120px; }
.stepper { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.stepper button {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; border-radius: 999px; border: 0;
  background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer;
}
.stepper button i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line-2); }
.stepper button.on { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.stepper button.on i { background: var(--ink); color: #fff; box-shadow: none; }
.stepper button.done i { background: var(--ember); color: #fff; box-shadow: none; }
.stepper button:disabled { cursor: default; opacity: .6; }
.panel { background: #fff; border-radius: var(--r); padding: 34px; box-shadow: inset 0 0 0 1px var(--line); }
.panel h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; margin: 0 0 6px; letter-spacing: -.015em; line-height: 1.05; }
.panel > p.lead { margin: 0 0 26px; color: var(--muted); }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.back { background: none; border: 0; color: var(--muted); font-weight: 600; cursor: pointer; padding: 10px 0; }
.back:hover { color: var(--ink); }

.prog { display: grid; gap: 12px; }
.prog-item {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; text-align: left;
  border: 0; background: var(--paper); border-radius: 18px; padding: 20px 22px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s, background .25s;
}
.prog-item:hover { background: var(--paper-2); }
.prog-item.on { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.prog-item b { font-size: 18px; letter-spacing: -.01em; }
.prog-item .d { color: var(--muted); font-size: 14px; grid-column: 1; }
.prog-item .pr { grid-row: span 2; grid-column: 2; font-family: var(--serif); font-size: 30px; text-align: right; line-height: 1; }
.prog-item .pr small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 4px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / -1; margin-top: 10px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  border: 0; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; font-size: 14px;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: all .2s;
}
.pill:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pill.on { background: var(--ink); color: #fff; box-shadow: none; }
.pill small { font-weight: 500; opacity: .7; margin-left: 4px; }
.who { margin-top: 14px; }
.who-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.who-opt {
  border: 0; text-align: left; cursor: pointer; padding: 18px 20px; border-radius: 18px; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px transparent; transition: background .2s, box-shadow .2s;
}
.who-opt:hover { background: var(--paper-2); }
.who-opt.on { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.who-opt b { display: block; font-size: 16px; letter-spacing: -.01em; }
.who-opt small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.who .pills { margin-top: 12px; }
.count { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 18px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.count .lbl b { display: block; }
.count .lbl small { color: var(--muted); }
.stepn { display: flex; align-items: center; gap: 4px; }
.stepn button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; font-size: 20px; font-weight: 500; }
.stepn button:hover { background: var(--paper-2); }
.stepn output { width: 44px; text-align: center; font-weight: 700; font-size: 20px; }

.cal { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head b { font-family: var(--serif); font-weight: 400; font-size: 28px; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.cal-nav button:hover { background: var(--paper-2); }
.cal-nav svg { width: 18px; height: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid .dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 0; }
.day {
  aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; cursor: pointer; font-weight: 600; font-size: 15px;
  position: relative; transition: background .2s, color .2s;
}
.day::after { content: ''; position: absolute; left: 50%; bottom: 7px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; }
.day.volno { background: var(--paper); }
.day.volno::after { background: var(--ok); }
.day.malo { background: var(--paper); }
.day.malo::after { background: var(--warn); }
.day.volno:hover, .day.malo:hover { background: var(--paper-2); }
.day.plno, .day.zavreno, .day.minulost { color: #B8BCC4; cursor: default; }
.day.plno { text-decoration: line-through; }
.day.sel { background: var(--ink) !important; color: #fff; }
.day.sel::after { background: #fff; }
.day.today { box-shadow: inset 0 0 0 1px var(--ink); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.times h4 { margin: 4px 0 4px; font-size: 16px; }
.times .hint { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time {
  border: 0; background: var(--paper); border-radius: 14px; padding: 12px 6px; cursor: pointer; text-align: center;
  font-weight: 700; font-size: 15px; transition: all .2s;
}
.time small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.time:hover { background: var(--paper-2); }
.time.on { background: var(--ink); color: #fff; }
.time.on small { color: rgba(255,255,255,.7); }
.time.last small { color: var(--warn); }
.time.on.last small { color: #FFC58A; }
.empty { padding: 30px 20px; text-align: center; color: var(--muted); border-radius: 16px; background: var(--paper); font-size: 14.5px; }

.ppl { display: grid; gap: 14px; }
.pcard { border-radius: 18px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.pcard-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pcard-h .av { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.pcard-h b { font-size: 16px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid .full { grid-column: 1 / -1; }
.f label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.f input, .f select, .f textarea {
  width: 100%; height: 50px; border: 0; border-radius: 14px; background: var(--paper); padding: 0 16px; font-size: 15.5px;
  outline: none; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background .2s;
}
.f textarea { height: 100px; padding: 14px 16px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.f .err { box-shadow: inset 0 0 0 1.5px #DC2626; }
.lvls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lvl {
  border: 0; background: var(--paper); border-radius: 14px; padding: 12px 10px; cursor: pointer; text-align: left; transition: all .2s;
}
.lvl b { display: block; font-size: 13.5px; }
.lvl small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.lvl .bars { display: flex; gap: 3px; margin-bottom: 8px; }
.lvl .bars i { width: 14px; height: 4px; border-radius: 2px; background: var(--line-2); }
.lvl .bars i.f { background: var(--ember); }
.lvl:hover { background: var(--paper-2); }
.lvl.on { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.switch, .f .switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 15px; user-select: none; margin: 0; position: relative; }
.switch input { position: absolute; opacity: 0; }
.switch .tg { width: 46px; height: 28px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .25s; flex: none; }
.switch .tg::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .tg { background: var(--ember); }
.switch input:checked + .tg::after { transform: translateX(18px); }
.switch small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.rent { display: none; margin-top: 12px; }
.rent.on { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pref { margin-top: 18px; padding: 22px; border-radius: 18px; background: var(--paper); }
.pref h4 { margin: 0 0 12px; font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ember); margin-top: 2px; flex: none; }
.check a { color: var(--ink); text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 14px; background: #FEF2F2; color: #991B1B; font-size: 14.5px; margin-top: 16px; display: none; }
.alert.on { display: block; }

.sum { position: sticky; top: 100px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 30px; overflow: hidden; }
.sum::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,31,.35), transparent 70%); }
.sum h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 20px; position: relative; }
.sum dl { margin: 0; display: grid; gap: 0; }
.sum dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14.5px; }
.sum dt { color: rgba(255,255,255,.6); }
.sum dd { margin: 0; text-align: right; font-weight: 600; }
.sum .tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; }
.sum .tot b { font-family: var(--serif); font-weight: 400; font-size: 44px; letter-spacing: -.02em; }
.sum .note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.55); display: grid; gap: 8px; }
.sum .note div { display: flex; gap: 10px; }
.sum .note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #FFB291; }

/* potvrzení */
.done-hero { padding: 140px 0 40px; }
.done-hero .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 24px; }
.done-hero .ok svg { width: 30px; height: 30px; }
.done-hero .ok.x { background: #9CA3AF; }
.done-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; padding-bottom: 120px; align-items: start; }
.code { font-family: var(--serif); font-size: 64px; letter-spacing: .04em; line-height: 1; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 12px 20px; font-size: 15.5px; margin-top: 22px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.qr { background: #fff; border-radius: 18px; padding: 16px; width: 220px; box-shadow: inset 0 0 0 1px var(--line); }
.qr svg { width: 100%; height: auto; display: block; }
.instr { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--paper); margin-top: 22px; }
.instr .av { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 26px; flex: none; overflow: hidden; }
.instr .av img { width: 100%; height: 100%; object-fit: cover; }
.list-ppl { margin: 18px 0 0; padding: 0; list-style: none; }
.list-ppl li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.list-ppl li span { color: var(--muted); }
.flash { padding: 14px 18px; border-radius: 14px; background: var(--ember-soft); color: var(--ember-2); font-weight: 600; margin-bottom: 18px; }

.prose { max-width: 760px; padding-bottom: 120px; font-size: 16.5px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 46px 0 10px; }
.prose p, .prose li { color: #374151; }

/* ── responzivita ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card-hero { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .book { grid-template-columns: 1fr; }
  .sum { position: relative; top: 0; }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn-nav { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .nav.open { background: var(--paper); color: var(--ink); }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); padding: 8px 28px 24px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
  }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero-top { flex-direction: column; align-items: flex-start; gap: 22px; }
  .finder { grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .finder .seg { grid-column: 1 / -1; justify-self: start; margin: 4px; }
  .finder .btn { grid-column: 1 / -1; min-height: 56px; }
  .finder-f + .finder-f::before { display: none; }
  .sec { padding: 90px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .sec-head p { justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .split, .faq { grid-template-columns: 1fr; gap: 40px; }
  .pricing, .pricing.dva { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr 1fr; }
  .cal { grid-template-columns: 1fr; }
  .done-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  /* instruktoři: karty se při scrollu přilepí nahoru a skládají na sebe, z každé zůstane vidět hlavička */
  .team { display: block; padding-bottom: 8px; }
  .team .person {
    position: sticky; top: calc(var(--nav, 86px) + var(--i, 0) * var(--krok, 58px)); margin-bottom: 22px;
    box-shadow: inset 0 0 0 1px var(--line-2), 0 -12px 28px -20px rgba(11,18,32,.35);
  }
  .team .person[data-reveal] { opacity: 1; transform: none; transition: none; }
  .person-h {
    display: block; height: 54px; padding: 10px 20px 0; background: #fff;
    font-family: var(--serif); font-size: 26px; line-height: 1.1; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .person .in h4 { display: none; }
  .person .in .q { margin-top: 0; }
  .person .in { padding-top: 16px; }
  .person .ph { aspect-ratio: 4 / 3.1; }
  /* světlá fotka ze svahu: na mobilu je text přes celou výšku, potřebuje tmavší podklad */
  .hero::before { background: linear-gradient(180deg, rgba(11,18,32,.6) 0%, rgba(11,18,32,.45) 28%, rgba(11,18,32,.78) 52%, rgba(11,18,32,.96) 100%); }
  .hero h1 { font-size: 60px; }
  .hero-lead { font-size: 16.5px; }
  .finder { grid-template-columns: 1fr; padding: 6px; }
  .hero-chip { display: none; }
  .bento, .team, .levels { grid-template-columns: 1fr; }
  .card-hero h3 { font-size: 42px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .cta { margin: 0 10px; border-radius: 26px; }
  .cta .in { padding: 70px 0; }
  .contact { grid-template-columns: 1fr; gap: 20px; margin-top: 50px; }
  .panel { padding: 22px 18px; }
  .fgrid { grid-template-columns: 1fr; }
  .lvls { grid-template-columns: 1fr 1fr; }
  .who-opts { grid-template-columns: 1fr; }
  .rent.on { grid-template-columns: 1fr 1fr; }
  .tgrid { grid-template-columns: repeat(3, 1fr); }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .code { font-size: 48px; }
  .faq .ans { padding-right: 0; }
  .stepper button span { display: none; }
  .stepper button { padding: 0 8px; }
}

/* stálý klient: uložené osoby, „z minula“, hledání v adminu */
.saved { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.saved .lbl { font-weight: 600; font-size: 14px; margin-right: 6px; }
.z-minula { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--paper-2, #F1EFE9); font-size: 14px; }
.z-minula .ico { width: 16px; height: 16px; color: var(--ember); }
.z-minula button { margin-left: auto; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.klient-hledat { margin: 0 0 18px; }
.klient-vysl { display: grid; gap: 6px; margin-top: 8px; }
.klient-vysl button { display: grid; gap: 2px; text-align: left; padding: 10px 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; cursor: pointer; }
.klient-vysl button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.klient-vysl span, .klient-vysl small { color: var(--muted); font-size: 13px; }
