/* ============================================================
   TOKENY — hodnoty pochazi z DESIGN.md Gustissima (brand-spec.md)
   ============================================================ */
:root {
  --crema: #f5f0e8;
  --raised: #faf7f1;
  --latte: #ede5d8;
  --grano: #d4c5a0;
  --antracite: #1e2a33;
  --ardesia: #364754;
  --notte: #202b36;
  --pietra-scura: #686e74;
  --pietra-chiara: #aeb3b8;
  --border-light: #d8d0c2;
  --terracotta: #c05a35;
  --terracotta-scura: #9c4527;
  --terracotta-chiara: #d4886e;
  --cotto: #eca98a;
  --salvia: #6b7d65;
  --display: "Cormorant Garamond", Georgia, serif;
  --ui: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gut: clamp(20px, 5vw, 64px);
}
/* ---- plosne rezimy: kazda sekce si nastavi vlastni sadu ---- */
.sec {
  background: var(--sbg);
  color: var(--sfg);
}
.sec.d1 {
  --sbg: var(--notte);
}
.sec.d2 {
  --sbg: var(--antracite);
}
.sec.d3 {
  --sbg: var(--ardesia);
}
.sec.d1,
.sec.d2,
.sec.d3 {
  --sfg: var(--crema);
  --sfg2: var(--pietra-chiara);
  --sline: rgba(245, 240, 232, 0.15);
  --sline-strong: rgba(245, 240, 232, 0.34);
  --seyebrow: var(--cotto);
  --spanel: rgba(245, 240, 232, 0.06);
  --slink: var(--cotto);
}
.sec.l1 {
  --sbg: var(--crema);
}
.sec.l2 {
  --sbg: var(--latte);
}
.sec.l1,
.sec.l2 {
  --sfg: var(--antracite);
  --sfg2: var(--pietra-scura);
  --sline: var(--border-light);
  --sline-strong: var(--antracite);
  --seyebrow: var(--salvia);
  --spanel: rgba(30, 42, 51, 0.04);
  --slink: var(--terracotta-scura);
}
.sec.l2 {
  --sfg2: #5f666c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
/* lišta nahoře je fixní — kotva musí zastavit pod ní, ne za ní */
section[id],
aside[id] {
  scroll-margin-top: 96px;
}
body {
  background: var(--notte);
  color: var(--crema);
  font: 17px / 1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gut);
}
.sec {
  padding-block: clamp(56px, 8vw, 116px);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
}
.eyebrow {
  font: 500 11.5px / 1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--seyebrow);
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sline);
  margin-bottom: clamp(28px, 4vw, 52px);
}
.sec-head h2 {
  font-size: clamp(32px, 4.6vw, 58px);
}
.link-more {
  font: 500 13.5px / 1 var(--ui);
  letter-spacing: 0.02em;
  color: var(--slink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  white-space: nowrap;
}

/* ---- tlacitka ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 27px;
  border: 0;
  border-radius: 3px;
  font: 700 15px / 1 var(--ui);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.12s,
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.btn:active {
  transform: translateY(2px);
}
.btn-primary {
  background: var(--terracotta);
  color: var(--crema);
}
.btn-primary:hover {
  background: var(--terracotta-scura);
}
.btn-ghost {
  background: transparent;
  color: var(--sfg);
  box-shadow: inset 0 0 0 1px var(--sline-strong);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--sfg);
}
.btn-sm {
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
}

/* ============================================================
   LISTA A LOGO
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gut);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.nav.solid {
  background: rgba(30, 42, 51, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(245, 240, 232, 0.14);
}
.lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--crema);
}
.lockup .enso {
  width: 42px;
  height: 40px;
  flex: none;
  color: var(--crema);
}
.lockup .wm {
  font: 700 clamp(17px, 2.1vw, 22px) / 1 var(--ui);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lockup .sub {
  display: block;
  font: 500 9.5px / 1 var(--ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pietra-chiara);
  margin-top: 6px;
}
.nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin-left: auto;
}
.nav ul a {
  display: block;
  padding: 11px 0;
  font: 500 14px / 1 var(--ui);
  text-decoration: none;
  color: var(--pietra-chiara);
}
.nav .btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}
.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--crema);
  width: 44px;
  height: 44px;
  font-size: 21px;
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(40px, 6vh, 80px);
  padding-top: 120px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 43, 54, 0.78) 0%,
    rgba(32, 43, 54, 0.42) 40%,
    rgba(32, 43, 54, 0.95) 100%
  );
}
.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero h1 {
  font-size: clamp(42px, 7.4vw, 94px);
  max-width: 16ch;
  margin-top: 18px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--cotto);
}
.hero .lead {
  font-family: var(--display);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.45;
  max-width: 46ch;
  margin-top: 20px;
  color: #e4ded3;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  font: 500 13.5px / 1.5 var(--ui);
  color: var(--pietra-chiara);
}
.facts b {
  color: var(--crema);
  font-weight: 700;
}

/* ============================================================
   KURZY
   ============================================================ */
.courses {
  display: grid;
  gap: clamp(20px, 2.6vw, 30px);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .courses {
    grid-template-columns: repeat(3, 1fr);
  }
}
.course {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sline);
  background: var(--spanel);
}
.course-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.course-img img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.course:hover .course-img img {
  transform: scale(1.05);
}
.course-date {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--sbg);
  padding: 12px 17px 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.course-date .d {
  font: 700 28px / 1 var(--ui);
  letter-spacing: -0.03em;
}
.course-date .m {
  font: 500 11px / 1 var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sfg2);
}
.course-body {
  padding: clamp(18px, 2.2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.course h3 {
  font-size: clamp(23px, 2.3vw, 28px);
}
.course p {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.45;
  color: var(--sfg2);
}
.course-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.seats {
  font: 500 13px / 1 var(--ui);
  letter-spacing: 0.02em;
  color: var(--sfg2);
}
.seats.low {
  color: var(--terracotta-chiara);
  font-weight: 700;
}
.sec.l1 .seats.low,
.sec.l2 .seats.low {
  color: var(--terracotta-scura);
}
.course .btn {
  width: 100%;
}

/* ============================================================
   SEFKUCHAR
   ============================================================ */
.chef-grid {
  display: grid;
  gap: clamp(28px, 4.4vw, 60px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .chef-grid {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
  }
}
.chef figure {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--spanel);
}
.chef h2 {
  font-size: clamp(36px, 4.8vw, 62px);
  margin-top: 12px;
}
.chef .role {
  font: 500 12px / 1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sfg2);
  margin-top: 14px;
}
.chef p {
  font-family: var(--display);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.55;
  max-width: 54ch;
  margin-top: 18px;
  color: var(--sfg2);
}
.chef p.strong {
  color: var(--sfg);
}

/* ============================================================
   JAK TO PROBIHA — kroky vlevo, svetly panel vpravo
   ============================================================ */
.how {
  display: grid;
  gap: clamp(26px, 3.6vw, 48px);
  grid-template-columns: 1fr;
}
@media (min-width: 940px) {
  .how {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}
.steps {
  display: flex;
  flex-direction: column;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  padding-block: clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--sline);
}
.step:first-child {
  border-top: 1px solid var(--sline-strong);
}
.step:last-child {
  border-bottom: 1px solid var(--sline);
}
.step .n {
  font: 700 clamp(30px, 3.6vw, 44px) / 0.9 var(--display);
  letter-spacing: -0.04em;
  color: var(--seyebrow);
  min-width: 1.3ch;
}
.step h3 {
  font-size: clamp(22px, 2.2vw, 27px);
}
.step p {
  font-family: var(--display);
  font-size: 18.5px;
  line-height: 1.48;
  color: var(--sfg2);
  margin-top: 8px;
  max-width: 48ch;
}
/* svetly ostrov — v kazde variante stejny */
.panel {
  background: var(--latte);
  color: var(--antracite);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--border-light);
}
.panel .eyebrow {
  color: var(--salvia);
}
.panel h3 {
  font-size: clamp(25px, 2.5vw, 31px);
  margin-top: 10px;
}
.panel ul {
  list-style: none;
  margin-top: 18px;
}
.panel li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px dotted #c6bca9;
  font-family: var(--display);
  font-size: 18px;
}
.panel li:last-child {
  border-bottom: 0;
}
.panel li .dots {
  flex: 1;
  border-bottom: 1px dotted #c6bca9;
  transform: translateY(-4px);
}
.panel li b {
  font: 700 13.5px / 1 var(--ui);
  white-space: nowrap;
  color: #5f666c;
}
.panel p.note {
  font-family: var(--display);
  font-size: 17px;
  font-style: italic;
  line-height: 1.5;
  color: #5f666c;
  margin-top: 18px;
}

/* ============================================================
   SKUPINY A TEAMBUILDINGY
   ============================================================ */
.grp {
  display: grid;
  gap: clamp(28px, 4.4vw, 60px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .grp {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}
.grp h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  margin-top: 12px;
}
.grp p {
  font-family: var(--display);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.5;
  max-width: 50ch;
  margin-top: 18px;
  color: var(--sfg2);
}
.grp ul {
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid var(--sline);
}
/* Popisky drzi vlastni sloupec, aby se dlouhy S PREDSTIHEM neroztlacil
   a vsechny popisy zacinaly na stejne svislici. */
.grp li {
  padding: 13px 0;
  border-bottom: 1px solid var(--sline);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  font-size: 16.5px;
}
@media (min-width: 560px) {
  .grp li {
    grid-template-columns: 124px 1fr;
    gap: 20px;
    align-items: baseline;
  }
}
.grp li b {
  font: 700 12px / 1.4 var(--ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seyebrow);
}
.grp figure {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--spanel);
}

/* ============================================================
   KALENDAR — tri mesice najednou, nejblizsi predvybrany
   ============================================================ */
.cal {
  display: grid;
  gap: clamp(26px, 4vw, 54px);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .cal {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: start;
  }
}
.months {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cal-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sline-strong);
  background: transparent;
  color: var(--sfg);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.cal-nav button:hover:not([disabled]) {
  background: var(--sline);
  border-color: var(--sfg);
}
.cal-nav button[disabled] {
  opacity: 0.35;
  cursor: default;
}
.cal-nav .span {
  font: 500 12.5px / 1 var(--ui);
  letter-spacing: 0.06em;
  color: var(--sfg2);
}
.mo h3 {
  font: 500 11.5px / 1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sfg2);
  margin-bottom: 13px;
}
.chipsrow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.dch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  font: 500 14px / 1 var(--ui);
  color: var(--sfg2);
  background: var(--spanel);
  cursor: default;
}
.dch.has {
  background: var(--terracotta);
  color: var(--crema);
  font-weight: 700;
  cursor: pointer;
}
.dch.has:hover {
  background: var(--terracotta-scura);
}
.dch.has.sel {
  outline: 2px solid var(--sfg);
  outline-offset: 3px;
}
.detail {
  border: 1px solid var(--sline);
  background: var(--spanel);
  padding: clamp(22px, 3vw, 32px);
}
.detail .when {
  font: 700 12px / 1 var(--ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seyebrow);
}
.detail h3 {
  font-size: clamp(25px, 2.6vw, 33px);
  margin: 13px 0 11px;
}
.detail p {
  font-family: var(--display);
  font-size: 18.5px;
  line-height: 1.48;
  color: var(--sfg2);
}
.detail .line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--sline);
  font: 500 14px / 1 var(--ui);
}
.detail .btn {
  margin-top: 18px;
  width: 100%;
}
/* na širokém displeji panel putuje se čtenářem, ať je vidět i u posledního měsíce */
@media (min-width: 980px) {
  .detail {
    position: sticky;
    top: 96px;
  }
}
/* na úzkém displeji vyjede detail termínu zespodu, jinak by byl mimo obrazovku */
.detail .zavrit {
  display: none;
}
@media (max-width: 979px) {
  .detail {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    border: 0;
    background: var(--sbg);
    border-top: 1px solid var(--sline);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -16px 44px rgba(30, 42, 51, 0.26);
    max-height: 80vh;
    overflow-y: auto;
    padding: 26px 22px calc(26px + env(safe-area-inset-bottom));
    transform: translateY(102%);
    transition: transform 0.26s ease;
    visibility: hidden;
  }
  .detail.otevreny {
    transform: translateY(0);
    visibility: visible;
  }
  .detail h3 {
    padding-right: 46px;
  }
  .detail .zavrit {
    display: grid;
    place-items: center;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--sline);
    background: transparent;
    color: var(--sfg);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .detail .zavrit:hover {
    background: var(--sline);
  }
  .detail .zavrit:focus-visible {
    outline: 2px solid var(--sfg);
    outline-offset: 2px;
  }
}
.cal-legend {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font: 500 12.5px / 1 var(--ui);
  color: var(--sfg2);
}
.cal-legend .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
  flex: none;
}

/* ============================================================
   REFERENCE
   ============================================================ */
.refs {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: 1fr;
}
/* sloupců je tolik, kolik je referencí: dvě se roztáhnou přes celou šířku, tři se srovnají vedle sebe */
@media (min-width: 820px) {
  .refs {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}
.ref {
  border: 1px solid var(--sline);
  padding: clamp(22px, 2.8vw, 30px);
  display: flex;
  flex-direction: column;
}
.ref blockquote {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.42;
  flex: 1;
}
.ref cite {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--sline);
  font: 500 12px / 1 var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--sfg2);
}

/* ============================================================
   PRAHA — uzky pas
   ============================================================ */
.praha-in {
  display: grid;
  gap: clamp(20px, 3vw, 44px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 820px) {
  .praha-in {
    grid-template-columns: auto 1fr;
  }
}
.praha h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  max-width: 14ch;
}
.praha p {
  font-family: var(--display);
  font-size: clamp(17.5px, 1.8vw, 20px);
  line-height: 1.5;
  color: var(--sfg2);
  max-width: 56ch;
}

/* ============================================================
   ZAVER
   ============================================================ */
.final {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.final-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.final-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 51, 0.84);
}
.final .wrap {
  position: relative;
  z-index: 1;
}
.final h2 {
  font-size: clamp(34px, 5.4vw, 72px);
  max-width: 16ch;
  margin: 14px auto 0;
}
.final p {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  max-width: 42ch;
  margin: 18px auto 0;
  color: var(--sfg2);
}
.final .cta-row {
  justify-content: center;
}

/* ============================================================
   PATICKA
   ============================================================ */
footer.sec {
  padding-block: clamp(46px, 6vw, 80px);
  border-top: 1px solid var(--sline);
  font-size: 15px;
}
.foot {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .foot {
    grid-template-columns: 1.35fr 1fr 1fr;
  }
}
footer h4 {
  font: 500 11px / 1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sfg2);
  margin-bottom: 14px;
}
footer a {
  display: block;
  padding: 5px 0;
  text-decoration: none;
  color: var(--sfg2);
}
footer a:hover {
  color: var(--sfg);
}
.legal {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--sline);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--sfg2);
}

@media (max-width: 900px) {
  .nav ul,
  .nav .btn {
    display: none;
  }
  .burger {
    display: block;
  }
  .nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--antracite);
    border-bottom: 1px solid rgba(245, 240, 232, 0.14);
    padding: 4px var(--gut) 18px;
  }
  .nav.open ul a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(245, 240, 232, 0.12);
  }
  .lockup .enso {
    width: 36px;
    height: 34px;
  }
}

/* ============================================================
   PRIDANO PRO PODSTRANKY — pravni texty, poukaz, kontakty
   ============================================================ */
.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--terracotta);
  color: var(--crema);
  padding: 14px 20px;
  font: 700 15px / 1 var(--ui);
  text-decoration: none;
}
.skiplink:focus {
  left: 12px;
  top: 12px;
}

.pagehead {
  padding-top: calc(clamp(48px, 6vw, 84px) + 74px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.pagehead h1 {
  font-size: clamp(36px, 5.6vw, 72px);
  max-width: 16ch;
  margin-top: 14px;
}
.pagehead .promise {
  font-family: var(--display);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.45;
  max-width: 52ch;
  margin-top: 20px;
  color: #ddd7cc;
}
.crumbs {
  font: 500 12.5px / 1.6 var(--ui);
  letter-spacing: 0.02em;
  color: var(--sfg2);
  margin-bottom: 20px;
}
.crumbs a {
  text-decoration: none;
  border-bottom: 1px solid var(--sline-strong);
  padding-bottom: 2px;
}

/* pravni text plus obsah po strane */
.legal-grid {
  display: grid;
  gap: clamp(28px, 4vw, 60px);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .legal-grid {
    grid-template-columns: minmax(220px, 270px) 1fr;
    align-items: start;
  }
}
.toc {
  border: 1px solid var(--sline);
  padding: clamp(18px, 2.2vw, 24px);
}
@media (min-width: 980px) {
  .toc {
    position: sticky;
    top: 92px;
  }
}
.toc h2 {
  font: 500 11px / 1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sfg2);
  margin-bottom: 14px;
}
.toc ol {
  list-style: none;
  counter-reset: t;
}
.toc li {
  counter-increment: t;
  border-top: 1px solid var(--sline);
}
.toc li:first-child {
  border-top: 0;
}
.toc a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  text-decoration: none;
  font: 500 14px / 1.4 var(--ui);
}
.toc a::before {
  content: counter(t) ".";
  color: var(--sfg2);
  min-width: 2ch;
}
.toc a:hover {
  color: var(--terracotta-scura);
}

.prose h2 {
  font-size: clamp(25px, 2.8vw, 34px);
  margin-top: clamp(34px, 4vw, 54px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sline-strong);
  scroll-margin-top: 96px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 21px;
  margin-top: 26px;
}
.prose p {
  font-size: 16.5px;
  line-height: 1.68;
  margin-top: 14px;
  max-width: 70ch;
  color: var(--sfg2);
}
.prose p.intro {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.55;
  color: var(--sfg);
}
.prose ol,
.prose ul {
  margin-top: 14px;
  padding-left: 22px;
  max-width: 70ch;
}
.prose li {
  font-size: 16.5px;
  line-height: 1.68;
  margin-top: 9px;
  color: var(--sfg2);
}
.prose li::marker {
  color: var(--sfg2);
}
.prose strong {
  color: var(--sfg);
  font-weight: 700;
}
.prose .party {
  border: 1px solid var(--sline);
  padding: clamp(18px, 2.2vw, 24px);
  margin-top: 18px;
  max-width: 70ch;
}
.prose .updated {
  font: 500 13px / 1 var(--ui);
  color: var(--sfg2);
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--sline);
}

/* pruh darkoveho poukazu */
.voucher {
  position: relative;
  overflow: hidden;
}
.vgrid {
  display: grid;
  gap: clamp(24px, 3.4vw, 52px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .vgrid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.voucher h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  max-width: 15ch;
  margin-top: 12px;
}
.voucher p {
  font-family: var(--display);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.5;
  max-width: 48ch;
  margin-top: 16px;
  color: var(--sfg2);
}
.vcard {
  background: var(--latte);
  color: var(--antracite);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 34px);
}
.vcard .vlabel {
  font: 500 10.5px / 1 var(--ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--salvia);
}
.vcard .vamount {
  font: 700 clamp(38px, 5vw, 58px) / 1 var(--ui);
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.vcard .vnote {
  font: 500 13.5px / 1.55 var(--ui);
  color: #5f666c;
  margin-top: 12px;
}

/* volba hodnoty poukazu */
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.val {
  position: relative;
}
.val input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.val .face {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--border);
  background: var(--raised);
  font: 700 16px / 1 var(--ui);
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.val:hover .face {
  border-color: #b9af9c;
}
.val input:checked + .face {
  border-color: var(--terracotta);
  box-shadow: inset 0 0 0 1px var(--terracotta);
}
.val input:focus-visible + .face {
  outline: 2px solid var(--antracite);
  outline-offset: 2px;
}
.field {
  margin-top: 16px;
}
.field label {
  display: block;
  font: 500 11px / 1 var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f666c;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--raised);
  color: var(--antracite);
  font: 400 16px / 1.4 var(--ui);
  border-radius: 0;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: -1px;
  border-color: var(--terracotta);
}
.field .err {
  display: none;
  font: 500 13px / 1.4 var(--ui);
  color: #9c4527;
  margin-top: 7px;
}
.field.bad .err {
  display: block;
}
.field.bad input,
.field.bad textarea,
.field.bad select {
  border-color: #9c4527;
}

/* částky poukazu, každá na jedno kliknutí */
.rychle-volby {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.rychla-volba {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--raised);
  color: var(--antracite);
  font: 700 16px / 1 var(--ui);
  cursor: pointer;
}
.rychla-volba:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-scura);
}
.rychla-volba:focus-visible {
  outline: 2px solid var(--antracite);
  outline-offset: 2px;
}

/* kontakty */
.contact-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.ccard {
  border: 1px solid var(--sline);
  padding: clamp(22px, 2.8vw, 30px);
  margin-bottom: 16px;
}
.ccard h3 {
  font-size: 24px;
}
.ccard .rows {
  list-style: none;
  margin-top: 14px;
}
.ccard .rows li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid var(--sline);
}
@media (min-width: 520px) {
  .ccard .rows li {
    grid-template-columns: 10ch 1fr;
    gap: 18px;
    align-items: baseline;
  }
}
.ccard .rows li:last-child {
  border-bottom: 0;
}
.ccard .k {
  font: 500 11px / 1.5 var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sfg2);
}
.ccard .v {
  font-size: 16.5px;
}
.ccard .v a {
  text-decoration: none;
  border-bottom: 1px solid var(--sline-strong);
}
.hours {
  list-style: none;
  margin-top: 14px;
}
.hours + .hours {
  margin-top: 0;
}
.hours li,
.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sline);
  font-size: 16px;
}
.hours li:last-child {
  border-bottom: 0;
}
.hours .day,
.hours > div > span:first-child,
.hours > .closed {
  color: var(--sfg2);
}
.hours .t,
.hours > div > span:last-child {
  font-variant-numeric: tabular-nums;
}
.formcard {
  background: var(--latte);
  color: var(--antracite);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 34px);
}
.formcard h2 {
  font-size: clamp(26px, 3vw, 36px);
}
.formcard > p {
  font-family: var(--display);
  font-size: 18.5px;
  line-height: 1.5;
  color: #5f666c;
  margin-top: 12px;
}
.formcard .btn {
  width: 100%;
  margin-top: 20px;
}
.sent {
  display: none;
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--raised);
  border: 1px solid var(--salvia);
  font: 500 14.5px / 1.55 var(--ui);
}
.sent.on {
  display: block;
}

/* sefkuchar */
.hero-person {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-person {
    grid-template-columns: 0.8fr 1.2fr;
  }
}
.hero-person figure {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--spanel);
}
.creds {
  display: grid;
  gap: 2px;
  background: var(--sline);
  border: 1px solid var(--sline);
  margin-top: 26px;
}
@media (min-width: 600px) {
  .creds {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .creds {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cred {
  background: var(--sbg);
  padding: 18px 20px;
}
.cred dt {
  font: 500 10.5px / 1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sfg2);
}
.cred dd {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 9px;
}
.tofill {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--sfg2);
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px dashed var(--sline-strong);
  max-width: 60ch;
}
.nav .btn-ghost {
  color: var(--crema);
  box-shadow: inset 0 0 0 1px rgba(245, 240, 232, 0.34);
}
.nav .btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--crema);
}
@media (max-width: 1120px) {
  .nav .btn-ghost {
    display: none;
  }
}

/* ============================================================
   STRANKA KURZU A NAKUPNI PANEL — sdilene se strankou poukazu
   ============================================================ */
/* ---- stranka jednoho kurzu ---- */
.pagehead {
  padding-top: calc(clamp(48px, 6vw, 84px) + 74px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.crumbs {
  font: 500 12.5px / 1 var(--ui);
  letter-spacing: 0.02em;
  color: var(--sfg2);
  margin-bottom: 22px;
}
.crumbs a {
  text-decoration: none;
  border-bottom: 1px solid var(--sline-strong);
  padding-bottom: 2px;
}
.pagehead h1 {
  font-size: clamp(36px, 5.6vw, 72px);
  max-width: 15ch;
  margin-top: 14px;
}
.pagehead .promise {
  font-family: var(--display);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.45;
  max-width: 48ch;
  margin-top: 20px;
  color: #ddd7cc;
}

.strip {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 5px;
  height: clamp(190px, 26vw, 340px);
}
.strip figure {
  overflow: hidden;
  background: var(--latte);
}
@media (max-width: 700px) {
  .strip {
    grid-template-columns: 1fr 1fr;
    height: 46vw;
  }
  .strip figure:first-child {
    grid-column: span 2;
  }
}

/* obsah plus panel nakupu */
.course-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .course-grid {
    grid-template-columns: 1fr minmax(320px, 380px);
    align-items: start;
  }
}
.block {
  margin-bottom: clamp(34px, 4.4vw, 56px);
}
.block h2 {
  font-size: clamp(27px, 3.2vw, 40px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sline-strong);
}
.block p {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--sfg2);
  margin-top: 16px;
  max-width: 60ch;
}

.menu-list {
  list-style: none;
  margin-top: 8px;
}
.menu-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--sline);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
}
.menu-list .n {
  font: 700 26px / 1 var(--display);
  color: var(--seyebrow);
  min-width: 1.4ch;
}
.menu-list h3 {
  font-size: 22px;
}
.menu-list p {
  font-size: 18px;
  margin-top: 7px;
}
.block .upresneni {
  font: 400 15.5px / 1.6 var(--ui);
  color: var(--sfg2);
  margin-top: 16px;
  max-width: 60ch;
}

.gains {
  list-style: none;
  margin-top: 18px;
}
.gains li {
  padding: 14px 0;
  border-bottom: 1px solid var(--sline);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gains li b {
  font: 700 12px / 1.6 var(--ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seyebrow);
}
@media (min-width: 560px) {
  .gains li {
    flex-direction: row;
    gap: 14px;
  }
  .gains li b {
    width: 150px;
    flex: none;
  }
}

.info {
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid var(--sline);
}
.info li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sline);
}
@media (min-width: 600px) {
  .info li {
    grid-template-columns: 11ch 1fr;
    gap: 20px;
    align-items: baseline;
  }
}
.info dt,
.info .k {
  font: 500 11px / 1.5 var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sfg2);
}
.prose .party dt {
  font: 500 10.5px / 1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sfg2);
  margin-top: 14px;
}
.prose .party dt:first-child {
  margin-top: 0;
}
.prose .party dd {
  font-size: 16.5px;
  margin-top: 6px;
}
.info .v {
  font-size: 16.5px;
}

/* ---- panel nakupu ---- */
.buy {
  background: var(--latte);
  color: var(--antracite);
  border: 1px solid var(--border);
  padding: clamp(22px, 2.6vw, 28px);
}
.buy .price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.buy .price b {
  font: 700 32px / 1 var(--ui);
  letter-spacing: -0.02em;
}
.buy h3 {
  font: 500 11px / 1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--salvia);
  margin: 22px 0 12px;
}
.opt {
  position: relative;
  display: block;
  cursor: pointer;
  margin-bottom: 8px;
}
div.opt {
  cursor: default;
}
.opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt .face {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  background: var(--raised);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.opt:hover .face {
  border-color: #b9af9c;
}
.opt input:checked + .face {
  border-color: var(--terracotta);
  box-shadow: inset 0 0 0 1px var(--terracotta);
}
.opt input:focus-visible + .face {
  outline: 2px solid var(--antracite);
  outline-offset: 2px;
}
.opt .d {
  font: 700 15px / 1.3 var(--ui);
}
.opt .f {
  font: 500 12.5px / 1 var(--ui);
  color: #5f666c;
  white-space: nowrap;
}
.opt .f.low {
  color: var(--terracotta-scura);
  font-weight: 700;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--raised);
  width: fit-content;
}
.stepper button {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--antracite);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.stepper button:hover:not([disabled]) {
  background: var(--latte);
}
.stepper button[disabled] {
  opacity: 0.3;
  cursor: default;
}
.stepper output {
  min-width: 52px;
  text-align: center;
  font: 700 18px / 1 var(--ui);
  font-variant-numeric: tabular-nums;
}
.hint {
  font: 500 12.5px / 1.5 var(--ui);
  color: #5f666c;
  margin-top: 9px;
}

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.total .lbl {
  font: 500 13px / 1 var(--ui);
  letter-spacing: 0.02em;
  color: #5f666c;
}
.total .sum {
  font: 700 26px / 1 var(--ui);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.buy .btn {
  width: 100%;
  margin-top: 16px;
}
.buy .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
/* Odeslaná objednávka drží tlačítku plnou barvu a pruh pod textem jde zleva doprava,
   dokud pult neodpoví. Vybledlé by řeklo „ještě to nejde", a to už neplatí. */
.buy .btn[aria-busy="true"] {
  background: var(--terracotta);
  opacity: 1;
  cursor: progress;
  position: relative;
  overflow: hidden;
}
.buy .btn[aria-busy="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, currentcolor 35%, currentcolor 65%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .buy .btn[aria-busy="true"]::after {
    animation: objednavka-odchazi 1.2s linear infinite;
  }
}
@keyframes objednavka-odchazi {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
.buy .small {
  font: 500 12.5px / 1.55 var(--ui);
  color: #5f666c;
  margin-top: 14px;
}
.buy .small a {
  color: var(--terracotta-scura);
}
.povinne {
  color: var(--terracotta-scura);
}
.buy .povinne-note {
  font: 500 12.5px / 1.5 var(--ui);
  color: #5f666c;
  margin-top: 18px;
}
.buy .souhlas {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 18px;
}
.buy .souhlas input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--terracotta);
}
.buy .souhlas label {
  font: 500 14px / 1.5 var(--ui);
  cursor: pointer;
}
.buy .souhlas a {
  color: var(--terracotta-scura);
}
.buy .co-jeste-chybi {
  font: 500 13.5px / 1.4 var(--ui);
  color: var(--terracotta-scura);
  margin-top: 14px;
  min-height: 1.4em;
}
.done {
  display: none;
  margin-top: 16px;
  padding: 15px 17px;
  background: var(--raised);
  border: 1px solid var(--salvia);
  font: 500 14px / 1.5 var(--ui);
}
.done.on {
  display: block;
}

/* dalsi kurzy */
.more3 {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .more3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mcard {
  border: 1px solid var(--sline);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.mcard:hover {
  border-color: var(--terracotta);
}
.mcard figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--spanel);
}
.mcard .mb {
  padding: 18px 20px;
}
.mcard strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
}
.mcard span {
  display: block;
  font: 500 13px / 1.5 var(--ui);
  color: var(--sfg2);
  margin-top: 7px;
}
.buy .price span {
  font: 500 13.5px / 1 var(--ui);
  color: #5f666c;
}

/* ============================================================
   IKONY SITI, MAPA, UKAZKA POUKAZU
   ============================================================ */
.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--sline);
  color: var(--sfg2);
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.socials a:hover {
  color: var(--sfg);
  border-color: var(--sfg);
}
.nav ul a:hover {
  color: var(--crema);
}
.socials svg {
  width: 21px;
  height: 21px;
  display: block;
}
.foot-socials a {
  padding: 0;
}

.vshot {
  border: 1px solid var(--sline);
  background: var(--spanel);
  padding: clamp(14px, 2vw, 22px);
}
.vshot img {
  width: 100%;
  height: auto;
  display: block;
}

.mapwrap {
  position: relative;
  border: 1px solid var(--sline);
  background: var(--latte);
  overflow: hidden;
  aspect-ratio: 1440 / 1040;
}
.mapwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mapwrap .pin {
  position: absolute;
  left: clamp(14px, 2vw, 22px);
  top: clamp(14px, 2vw, 22px);
  z-index: 3;
  background: var(--antracite);
  color: var(--crema);
  padding: 15px 19px;
  max-width: min(88%, 300px);
  box-shadow: 0 14px 34px rgba(30, 42, 51, 0.24);
}
.mapwrap .pin strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  display: block;
}
.mapwrap .pin span {
  display: block;
  font: 500 13.5px / 1.5 var(--ui);
  color: #aeb3b8;
  margin-top: 5px;
}
/* znacka sedi presne na Rybim trhu 16, pozice odpovida vyrezu mapy */
.mapwrap .marker {
  position: absolute;
  left: 53.4%;
  top: 50.1%;
  transform: translate(-50%, -100%);
  z-index: 2;
  width: 38px;
  height: 48px;
  color: var(--terracotta);
  filter: drop-shadow(0 6px 12px rgba(30, 42, 51, 0.35));
}
.mapwrap .marker svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mapwrap .marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 14px;
  height: 5px;
  background: rgba(30, 42, 51, 0.28);
  border-radius: 50%;
  transform: translateX(-50%);
}
.mapwrap .attrib {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(245, 240, 232, 0.86);
  padding: 5px 9px;
  font: 500 10.5px / 1 var(--ui);
  color: #5f666c;
}
.mapwrap .attrib a {
  color: inherit;
}
.mapnav {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 20px;
}
/* seznam termínů na stránce kalendáře */
.tlist {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--sline);
}
.trow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--sline);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.trow:hover {
  background: var(--sline);
}
.trow .tdate {
  font: 500 13.5px / 1.4 var(--ui);
  color: var(--sfg2);
}
.trow .tdate b {
  font-weight: 700;
  color: var(--sfg);
}
.trow .tname {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.3;
}
.trow .tfree {
  font: 500 13px / 1.4 var(--ui);
  color: var(--seyebrow);
}
@media (min-width: 720px) {
  .trow {
    grid-template-columns: 230px 1fr 160px;
    gap: 24px;
    align-items: baseline;
  }
  .trow .tfree {
    text-align: right;
  }
}
.maphint {
  font: 500 13px / 1.55 var(--ui);
  color: var(--sfg2);
  margin-top: 12px;
}

/* pole pro cislo darkoveho poukazu v nakupnim panelu */
.toggle-link {
  background: none;
  border: 0;
  padding: 8px 0;
  margin-top: 14px;
  cursor: pointer;
  font: 500 14px / 1 var(--ui);
  color: var(--terracotta-scura);
  border-bottom: 1px solid currentColor;
}
.toggle-link:hover {
  color: var(--antracite);
}
.buy .field input#poukaz:not(:placeholder-shown) {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.applied {
  display: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 14px;
  background: var(--raised);
  border: 1px solid var(--salvia);
  font: 500 13.5px / 1.4 var(--ui);
}
.applied.on {
  display: flex;
}
.applied button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #5f666c;
  font: 500 13px / 1 var(--ui);
  text-decoration: underline;
}

/* ============================================================
   ZAMEK ZNACKY — varianta C, znak plus GUSTISSIMO plus Kurzy vareni
   ============================================================ */
.lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--crema);
}
.lockup .mark {
  flex: none;
  display: block;
  width: auto;
  height: 44px;
  color: currentColor;
}
.lockup .mark svg {
  height: 100%;
  width: auto;
  display: block;
}
.lockup .lock-txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.lockup .parent {
  display: block;
  height: 9px;
}
.lockup .parent svg {
  height: 100%;
  width: auto;
  display: block;
}
.lockup .wm {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav .lockup {
  --knockout: #1e2a33;
}
footer .lockup {
  --knockout: #202b36;
}
@media (max-width: 560px) {
  .lockup {
    gap: 9px;
  }
  .lockup .mark {
    height: 36px;
  }
  .lockup .parent {
    height: 7px;
  }
  .lockup .wm {
    font-size: 20px;
  }
}

/* ============================================================
   FOTKA V HLAVICCE PODSTRANEK
   ============================================================ */
.pagehead {
  position: relative;
  overflow: hidden;
}
.pagehead > .wrap {
  position: relative;
  z-index: 1;
}
.head-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.head-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.head-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 43, 54, 0.9) 0%,
    rgba(32, 43, 54, 0.8) 45%,
    rgba(32, 43, 54, 0.97) 100%
  );
}
@media (min-width: 900px) {
  .head-bg::after {
    background:
      linear-gradient(
        100deg,
        rgba(32, 43, 54, 0.97) 0%,
        rgba(32, 43, 54, 0.93) 38%,
        rgba(32, 43, 54, 0.62) 74%,
        rgba(32, 43, 54, 0.5) 100%
      ),
      linear-gradient(
        180deg,
        rgba(32, 43, 54, 0.5) 0%,
        rgba(32, 43, 54, 0.18) 46%,
        rgba(32, 43, 54, 0.82) 100%
      );
  }
}

/* ============================================================
   VYZVA POD TREMI KURZY — aby seznam vsech kurzu nezapadl
   ============================================================ */
.more-row {
  margin-top: clamp(26px, 3.4vw, 40px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--sline);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.btn-wide {
  min-height: 58px;
  padding: 0 clamp(26px, 4vw, 44px);
  font-size: 16px;
  min-width: min(100%, 340px);
}
.btn-wide svg {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.btn-wide:hover svg {
  transform: translateX(4px);
}
.lockup .enso svg {
  width: 100%;
  height: 100%;
  display: block;
}
.more-note {
  font: 500 13.5px / 1.5 var(--ui);
  color: var(--sfg2);
  max-width: 46ch;
}

/* docasny blok pro obsah, ktery jeste neni napsany */
.chybi-obsah {
  margin-top: 16px;
  border: 1px dashed var(--sline-strong);
  border-radius: 6px;
  padding: 22px 24px;
  background: transparent;
  color: var(--sfg2);
  font: 400 15.5px / 1.6 var(--ui);
}
.chybi-obsah b {
  display: block;
  font: 500 11.5px / 1 var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-scura);
  margin-bottom: 10px;
}
