/* Vojtův kvíz – veřejný web. Hodnoty jsou z webtemplate/design/reference.html a tokens.css (zdroj pravdy pro vzhled). */

:root {
  /* Barvy */
  --green: #0F3F34;
  --yellow: #F7B928;
  --yellow-hover: #FFC93F;
  --yellow-icon: #E9A20C;
  --cream: #FBF6E6;
  --white: #FFFFFF;
  --ink: #12302A;
  --muted: #4A5F57;
  --sage: #E3EAE0;
  --line: #C9D6CC;
  --input-border: #7C9188;
  --seat-empty: #9FB3A7;
  --selected-bg: #EEF3EC;
  --on-green-muted: #D5E0D8;
  --error: #B42318;

  /* Písmo */
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  /* Zaoblení */
  --r-pill: 999px;
  --r-panel: 40px;
  --r-card: 28px;
  --r-row: 24px;
  --r-date: 20px;
  --r-input: 14px;

  /* Stíny */
  --shadow-card: 0 6px 24px rgba(15, 63, 52, .08);
  --shadow-card-hover: 0 18px 40px rgba(15, 63, 52, .16);
  --shadow-ticket: 0 18px 50px rgba(15, 63, 52, .16);
  --shadow-form: 0 24px 50px rgba(0, 0, 0, .18);
  --shadow-btn: 0 4px 0 var(--green);

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); line-height: 1.5; }
.site { overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--green); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }

:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
/* na zeleném pozadí by zelený obrys nebyl vidět */
.ftr :where(a):focus-visible, .prihlaska-vlevo :where(a):focus-visible { outline-color: var(--yellow); }

/* ---------- animace ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wob { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.rise { animation: rise .7s var(--ease-out) both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }
.wob { animation: wob 3s ease-in-out infinite; transform-origin: 50% 80%; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--r-pill);
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--yellow); color: var(--green); transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--green); }
.btn-outline { border: 2px solid var(--green); background: rgba(251, 246, 230, .7); color: var(--green); }
.btn-md { min-height: 50px; padding: 0 26px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.btn-primary.btn-lg { box-shadow: var(--shadow-btn); }
.btn-outline.btn-lg { padding: 0 28px; }
.btn-block { margin-top: auto; min-height: 52px; gap: 8px; }
.btn-neaktivni { background: var(--sage); color: var(--muted); cursor: not-allowed; }
.btn:disabled { cursor: not-allowed; }
.btn-primary:disabled:hover, fieldset:disabled .btn-primary:hover { transform: none; }
fieldset:disabled .btn-primary { background: var(--sage); color: var(--muted); box-shadow: none; }

/* ---------- hlavička ---------- */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 230, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(15, 63, 52, .08); }
.hdr-in { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--green); letter-spacing: -.2px; }
.logo-text .hl { background: linear-gradient(transparent 60%, var(--yellow) 60% 90%, transparent 90%); padding: 0 3px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-weight: 700; font-size: 17px; }
.nav-links a { text-decoration: none; color: var(--green); }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.nav-links .nav-app { color: var(--muted); font-size: 15px; }

.mnav { display: none; position: relative; }
.mnav summary { list-style: none; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--cream); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: 58px; width: 240px; background: var(--white); border-radius: 22px; padding: 10px; box-shadow: 0 16px 40px rgba(15, 63, 52, .18); display: flex; flex-direction: column; font-weight: 800; }
.mnav nav a { text-decoration: none; color: var(--green); padding: 12px 14px; border-radius: 12px; min-height: 44px; }
.mnav nav a:hover { background: var(--selected-bg); }
.mnav nav .mnav-cta { margin-top: 6px; text-align: center; border-radius: var(--r-pill); background: var(--yellow); }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none !important; }
  .mnav { display: block; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 580px; padding: 64px 24px 170px;
  background: var(--cream) url("img/hero-bg.jpg") center bottom / cover no-repeat;
}
@supports (background-image: image-set(url("a.webp") type("image/webp"))) {
  .hero { background-image: image-set(url("img/hero-bg.webp") type("image/webp"), url("img/hero-bg.jpg") type("image/jpeg")); }
}
.hero-in { max-width: 780px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-stitek { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: var(--r-pill); background: var(--green); color: var(--cream); font-weight: 700; font-size: 15px; letter-spacing: .4px; }
.hero h1, .hero .hero-nadpis { font-size: clamp(42px, 6.6vw, 78px); line-height: 1.02; letter-spacing: -1.2px; }
.h1-slovo { position: relative; display: inline-block; }
.h1-slovo svg { position: absolute; left: -4%; bottom: -14px; width: 108%; height: 22px; }
.hero-perex { margin-top: 8px; font-size: 20px; max-width: 580px; color: var(--ink); }
.hero-tlacitka { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 6px; }
.hero-fakta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-weight: 700; font-size: 15px; color: var(--muted); }
@media (max-width: 600px) { .sep { display: none; } }

/* ---------- slider v hero ---------- */
.hero { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; }
/* bez JavaScriptu je vidět jen první slide */
.slider:not(.is-ready) .slide:not(.is-active) { display: none; }
.slider.is-ready .slide { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.slider.is-ready .slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.slider-ovladani { position: absolute; left: 50%; bottom: 116px; transform: translateX(-50%); z-index: 1; display: flex; align-items: center; gap: 6px; }
.sl-sip { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--green); background: rgba(251, 246, 230, .85); color: var(--green); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.sl-sip:hover { background: var(--yellow); }
.sl-vlevo { transform: scaleX(-1); }
.sl-tecky { display: flex; }
.sl-tecka { width: 36px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sl-tecka::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--green); background: rgba(251, 246, 230, .85); }
.sl-tecka[aria-current="true"]::before { background: var(--yellow); }

/* ---------- vstupenka „Nejbližší kvíz“ ---------- */
.ticket-wrap { max-width: 1080px; margin: -110px auto 0; padding: 0 24px; position: relative; z-index: 2; }
.ticket { position: relative; display: flex; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow-ticket); }
.ticket-datum { flex: none; width: 128px; background: var(--green); color: var(--cream); border-radius: var(--r-card) 0 0 var(--r-card); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 0; font-family: var(--font-display); }
.ticket-den { font-size: 14px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--yellow); }
.ticket-cislo { font-size: 52px; font-weight: 700; line-height: 1; }
.ticket-mesic { font-size: 17px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.vykus { position: absolute; left: 116px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); }
.vykus-hore { top: -12px; }
.vykus-dole { bottom: -12px; }
.ticket-telo { flex: 1; min-width: 0; padding: 22px 28px; border-left: 3px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.ticket-text { display: flex; flex-direction: column; gap: 4px; }
.ticket-nazev { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.1; color: var(--green); }
.ticket-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; color: var(--ink); }
.ticket-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.ticket-meta svg { color: var(--green); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- kategorie ---------- */
.kategorie { max-width: 1100px; margin: 0 auto; padding: 52px 24px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.eyebrow-velky { font-family: var(--font-body); font-size: 15px; letter-spacing: 1.2px; }
.kategorie ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 800; color: var(--green); transition: transform .15s ease; }
.chip:nth-child(odd) { transform: rotate(-2deg); }
.chip:nth-child(even) { transform: rotate(1.5deg); }
.chip:hover { transform: rotate(0) scale(1.05); }
.chip-bila { background: var(--white); border: 2px solid var(--green); }
.chip-zluta { background: var(--yellow); }
.chip-zelena { background: var(--green); color: var(--cream); }
.chip-salvej { background: var(--sage); }
.chip-123 { font-family: var(--font-display); font-weight: 700; font-size: 16px; }

/* ---------- sekce a nadpisy ---------- */
.sekce { max-width: 1200px; margin: 0 auto; padding: 96px 24px 0; }
.sekce-velka { padding-top: 104px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 36px; }
.sec-head-text { position: relative; }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.05; letter-spacing: -.6px; }
.hvezda { position: absolute; }
.hvezda-vlevo { left: -34px; top: -10px; }
.hvezda-vpravo { right: -30px; top: -6px; }
.podtrzeni { display: block; margin-top: 4px; }
.sec-perex { margin-top: 8px; font-size: 18px; color: var(--muted); }
.prazdno { font-size: 18px; color: var(--muted); }
.odkaz-sipka { font-weight: 800; color: var(--green); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.sipka { transition: transform .15s ease; flex: none; }
.odkaz-sipka:hover .sipka, .radek-aktuality:hover .sipka { transform: translateX(4px); }

.mrizka { display: grid; gap: 28px; }
.mrizka-karty { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.mrizka-mista { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.mrizka-aktuality { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }

.lift { transition: transform .18s ease, box-shadow .18s ease; }
.lift:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-card-hover); }

/* ---------- bloky data ---------- */
.datum-blok { flex: none; background: var(--green); color: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-display); }
.db-den { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--yellow); }
.db-cislo { font-weight: 700; line-height: 1; }
.db-mesic { font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.datum-karta { width: 78px; height: 86px; border-radius: var(--r-date); }
.datum-karta .db-cislo { font-size: 34px; }
.datum-karta .db-mesic { font-size: 14px; }
.datum-aktualita { width: 64px; height: 72px; border-radius: 16px; background: var(--sage); color: var(--green); }
.datum-aktualita.zluty { background: var(--yellow); }
.datum-aktualita .db-cislo { font-size: 28px; }
.datum-aktualita .db-mesic { font-size: 13px; font-weight: 600; }
.datum-mini { width: 48px; height: 52px; border-radius: 12px; }
.datum-mini .db-cislo { font-size: 20px; }
.datum-mini .db-mesic { font-size: 11px; font-weight: 600; }

/* ---------- karta kvízu ---------- */
.karta { position: relative; background: var(--white); border-radius: var(--r-card); display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.karta-hlava { padding: 24px 26px 22px; display: flex; align-items: center; gap: 16px; }
.karta-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.karta h3 { font-size: 25px; line-height: 1.15; }
.stitek { align-self: flex-start; padding: 2px 10px; border-radius: var(--r-pill); background: var(--sage); color: var(--green); font-weight: 800; font-size: 13px; }
.karta-meta { font-weight: 700; color: var(--muted); font-size: 15px; }
.perforace { position: relative; height: 0; border-top: 3px dashed var(--line); margin: 0 18px; }
.vykus-l, .vykus-p { position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); }
.vykus-l { left: -30px; }
.vykus-p { right: -30px; }
.karta-pata { padding: 20px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.kapacita-radek { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kapacita-text { font-weight: 700; font-size: 15px; }
.odznak { padding: 3px 12px; border-radius: var(--r-pill); font-weight: 800; font-size: 14px; }
.odznak-mini { flex: none; padding: 3px 10px; font-size: 13px; }
.odznak-volno { background: var(--sage); color: var(--green); }
.odznak-posledni { background: var(--yellow); color: var(--green); }
.odznak-plno { background: #D9DDDA; color: var(--muted); }
.puntiky { display: flex; flex-wrap: wrap; gap: 6px; }
.puntik { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--seat-empty); }
.puntik.plny { background: var(--green); border-color: var(--green); }
.pruh { height: 14px; border-radius: var(--r-pill); background: var(--sage); overflow: hidden; }
.pruh span { display: block; height: 100%; background: var(--green); }

/* ---------- místa konání ---------- */
.misto-karta { background: var(--white); border-radius: var(--r-card); padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-card); }
.misto-foto { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-date); background: var(--sage); }
.misto-zastupce { position: relative; overflow: hidden; background: var(--green); display: flex; align-items: center; justify-content: center; }
.zast-otaznik { font-family: var(--font-display); font-weight: 700; font-size: 150px; line-height: 1; color: var(--yellow); transform: rotate(-6deg); }
.zast-zarovka { position: absolute; left: 22px; bottom: 16px; opacity: .85; }
.zast-hvezda { position: absolute; }
.zast-h1 { right: 28px; top: 22px; }
.zast-h2 { left: 30%; top: 16px; opacity: .6; }
.zast-h3 { right: 22%; bottom: 20px; opacity: .8; }
.misto-odkazy { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.misto-text h3 a { text-decoration: none; color: inherit; }
.misto-text h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 5px; }
.misto-text { display: flex; gap: 16px; align-items: flex-start; }
.misto-ikona { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sage); color: var(--green); display: flex; align-items: center; justify-content: center; }
.misto-text h3 { font-size: 25px; line-height: 1.15; }
.misto-text p { margin-top: 4px; color: var(--muted); font-weight: 700; }

/* ---------- aktuality ---------- */
.novinka-hlavni { background: var(--white); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.stripes { background: repeating-linear-gradient(135deg, #C9D6CC 0 12px, #DCE5DD 12px 24px); }
.novinka-obraz { position: relative; height: 240px; }
.novinka-obraz img { width: 100%; height: 100%; object-fit: cover; display: block; }
.novinka-stitek { position: absolute; left: 20px; top: 20px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--yellow); color: var(--green); font-weight: 800; font-size: 14px; }
.novinka-telo { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.novinka-telo time { color: var(--muted); font-weight: 700; font-size: 15px; }
.novinka-telo h3 { font-size: 32px; line-height: 1.12; }
.novinka-telo p { font-size: 17px; }
.novinka-telo .odkaz-sipka { align-self: flex-start; }
.radky { display: flex; flex-direction: column; gap: 16px; }
.radek-aktuality { text-decoration: none; background: var(--white); border-radius: var(--r-row); padding: 20px 22px; display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow-card); }
.radek-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.radek-text .eyebrow { letter-spacing: .8px; }
.radek-text h3 { font-size: 22px; line-height: 1.2; }
.radek-text p { font-size: 16px; }
.sipka-radek { color: var(--green); }

/* ---------- přihláška ---------- */
.prihlaska-sekce { max-width: 1200px; margin: 0 auto; padding: 104px 24px 0; }
.prihlaska { position: relative; overflow: hidden; background: var(--green); border-radius: var(--r-panel); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; color: var(--cream); }
.prihlaska h2 { color: var(--cream); font-size: clamp(34px, 4.6vw, 50px); line-height: 1.05; letter-spacing: -.6px; }
.prihlaska-otaznik { position: absolute; left: -40px; bottom: -150px; font-family: var(--font-display); font-weight: 700; font-size: 460px; line-height: 1; color: rgba(247, 185, 40, .09); pointer-events: none; }
.prihlaska-tecka { position: absolute; right: 38%; top: 36px; width: 10px; height: 10px; border-radius: 50%; background: rgba(247, 185, 40, .6); }
.prihlaska-vlevo { position: relative; display: flex; flex-direction: column; gap: 30px; }
.podtrzeni-zelena { margin-top: 6px; }
.prihlaska-perex { margin-top: 14px; font-size: 19px; max-width: 440px; }
.kroky { position: relative; }
.kroky-cara { position: absolute; left: 22px; top: 24px; bottom: 24px; border-left: 3px dashed rgba(247, 185, 40, .45); }
.kroky ol { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.kroky li { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.kroky strong { font-size: 19px; }
.krok-cislo { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.krok-popis { color: var(--on-green-muted); }
.prihlaska-info { border-top: 2px solid rgba(251, 246, 230, .22); padding-top: 20px; font-size: 16px; color: var(--on-green-muted); }

.formular { position: relative; background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow-form); }
.formular-upozorneni { margin-bottom: 20px; padding: 12px 16px; border-radius: 14px; background: var(--selected-bg); color: var(--green); font-weight: 700; }
.formular-pole { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.vyber-kvizu { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.vyber-kvizu legend { font-weight: 800; padding: 0; margin-bottom: 10px; }
.qopt { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 18px; background: var(--white); cursor: pointer; }
.qopt:has(input:checked) { border-color: var(--green); background: var(--selected-bg); }
fieldset:disabled .qopt { cursor: not-allowed; }
.qopt input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green); }
.qopt-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qopt-text strong { color: var(--green); font-size: 17px; }
.qopt-text span { font-size: 14px; color: var(--muted); font-weight: 700; }
.pole-mrizka { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; }
.pole-dolu { align-items: end; }
.pole { display: flex; flex-direction: column; gap: 6px; }
.pole label, .pole-popisek { font-weight: 800; }
.nepovinne { font-weight: 600; color: var(--muted); }
.pole input, .pole textarea { border: 2px solid var(--input-border); border-radius: var(--r-input); padding: 0 14px; font: inherit; color: var(--ink); background: var(--white); }
.pole input { min-height: 52px; }
.pole textarea { padding: 12px 14px; resize: vertical; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 52px; border: 2px solid var(--input-border); border-radius: var(--r-input); padding: 0 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--sage); color: var(--green); font: inherit; font-size: 22px; font-weight: 800; cursor: pointer; }
.stepper output { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--green); }
.souhlas { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--muted); }
.souhlas input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green); }
.btn-formular { width: 100%; }
fieldset:disabled .pole input, fieldset:disabled .pole textarea { background: #F4F6F3; }

/* ---------- formulář přihlášky: chyby, úspěch, stepper ---------- */
.chyba-pole { display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--error); }
.chyba-pole svg { flex: none; margin-top: 3px; }
.chyba-obecna { margin: 0; padding: 12px 16px; border-radius: 14px; background: #FDECEA; color: var(--error); font-weight: 700; }
.pole input[aria-invalid="true"] { border-color: var(--error); }
.cf-turnstile { min-height: 65px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.stepper input { width: 100%; min-width: 0; border: 0; background: transparent; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--green); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: 0; }
.formular-uspech { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 48px 0; }
.formular-uspech h3 { font-size: 32px; }
.formular-uspech p { font-size: 18px; max-width: 360px; }
.uspech-kolecko { width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); color: var(--green); display: flex; align-items: center; justify-content: center; }
.clanek .btn-lg { align-self: flex-start; }

/* ---------- patička ---------- */
.ftr { margin-top: 110px; color: var(--cream); }
.ftr-vlna { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.ftr-body { background: var(--green); }
.ftr-in { max-width: 1200px; margin: 0 auto; padding: 40px 24px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; }
.ftr-sloupec { display: flex; flex-direction: column; gap: 6px; }
.ftr-sloupec strong { color: var(--yellow); font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.ftr-sloupec a { text-decoration: none; min-height: 32px; }
.ftr-sloupec a:hover { text-decoration: underline; }
.logo-patice { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 28px; }
.logo-patice .zluta { color: var(--yellow); }
.ftr-claim { color: var(--on-green-muted); max-width: 280px; margin-top: 8px; }
.soc { display: flex; gap: 10px; margin-top: 4px; }
.soc a { width: 46px; height: 46px; border-radius: 50%; background: rgba(251, 246, 230, .12); display: flex; align-items: center; justify-content: center; }
.ftr-lista { max-width: 1200px; margin: 0 auto; padding: 18px 24px 30px; border-top: 1px solid rgba(251, 246, 230, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--on-green-muted); font-size: 15px; }
.ftr-lista a { text-decoration: none; font-weight: 800; color: var(--cream); }

/* ---------- chybové stránky ---------- */
.chyba-stranka { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 40px; min-height: 50vh; }
.chyba-stranka h1 { font-size: clamp(34px, 4.6vw, 50px); }
.chyba-stranka p { font-size: 18px; color: var(--muted); }

/* ---------- stránka místa a výsledky ---------- */
.zpet-na-misto { margin-bottom: 18px; }
.zpet-na-misto .sipka { transform: scaleX(-1); order: -1; }
/* fotka nahoře, pod ní název a pod ním popis, adresa a odkazy */
.misto-hlava { display: flex; flex-direction: column; gap: 28px; max-width: 820px; }
.misto-hlava-obraz .misto-foto { aspect-ratio: 16 / 9; }
.misto-hlava-obraz .misto-foto { border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.misto-hlava-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.misto-popis { font-size: 18px; max-width: 70ch; }
.misto-adresa { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: 17px; }
.vysledek-karta { background: var(--white); border-radius: var(--r-card); padding: clamp(20px, 3.5vw, 32px); box-shadow: var(--shadow-card); max-width: 820px; }
.vysledek-nadpis { font-size: 28px; line-height: 1.15; }
.vysledek-meta { margin: 4px 0 18px; color: var(--muted); font-weight: 700; }
.vysledek-starsi { font-size: 28px; margin: 48px 0 16px; }
.starsi-vysledky { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.vysledek-rozbal { background: var(--white); border-radius: var(--r-row); box-shadow: var(--shadow-card); padding: 6px 22px; }
.vysledek-rozbal summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; min-height: 52px; cursor: pointer; font-weight: 700; list-style: none; }
.vysledek-rozbal summary::-webkit-details-marker { display: none; }
.vysledek-rozbal summary::after { content: "+"; margin-left: auto; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--green); }
.vysledek-rozbal[open] summary::after { content: "–"; }
.vr-datum { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--green); }
.vr-vitez { flex: 1 1 200px; min-width: 0; }
.vr-pocet { color: var(--muted); font-size: 15px; }
.vysledek-rozbal .tabulka-obal { padding-bottom: 14px; }
.tabulka-obal { overflow-x: auto; }
.vysledky { width: 100%; border-collapse: collapse; font-size: 17px; }
.vysledky th { text-align: left; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line); }
.vysledky td { padding: 10px; border-bottom: 1px dashed var(--line); font-weight: 600; }
.vysledky tr:last-child td { border-bottom: 0; }
.vysledky .v-poradi { width: 76px; }
.vysledky .v-body { text-align: right; width: 90px; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--green); }
.vysledky th.v-body { font-family: var(--font-body); font-size: 13px; color: var(--muted); }
.v-misto { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 18px; background: var(--sage); color: var(--green); }
.v-misto-1 { background: var(--yellow); }
.v-misto-2 { background: var(--green); color: var(--cream); }
.v-misto-3 { background: var(--white); border: 2px solid var(--green); }
.jen-cteni { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- podstránky: seznam a detail aktuality ---------- */
.podstranka { padding-top: 56px; min-height: 60vh; }
.h-sekce { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.05; letter-spacing: -.6px; }
.radky-seznam { max-width: 820px; }
.novinka-telo h3 a, .radek-text h3 a { text-decoration: none; color: inherit; }
.novinka-telo h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 5px; }
.clanek { max-width: 820px; background: var(--white); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.clanek-obraz { display: block; width: 100%; max-height: 380px; object-fit: cover; }
.clanek-telo { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.clanek-hlava { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--muted); font-weight: 700; font-size: 15px; }
.clanek-stitek { position: static; display: inline-block; }
.clanek h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.clanek-perex { font-size: 20px; color: var(--ink); font-weight: 600; }
.clanek-telo p { font-size: 17px; }
.clanek .zpet { align-self: flex-start; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .slider.is-ready .slide, .slider.is-ready .slide.is-active { transition: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
