/* HYBKO Trenčín – spoločný dizajn verejného webu */

:root {
  --yellow: #F7E612;
  --yellow-soft: #FBF3A3;
  --navy: #302B4C;
  --navy-deep: #221E37;
  --orange: #FF5628;
  --red: #D90403;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --tint: #F3F2F7;
  --text: #302B4C;
  --muted: #5F5A78;
  --line: #E4E2EC;

  --font-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --narrow: 780px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(48px, 8vw, 96px);
  --radius: 24px;
  --radius-sm: 14px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(48, 43, 76, .10);
  --shadow-lg: 0 20px 50px rgba(48, 43, 76, .16);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.icon { flex: none; vertical-align: middle; }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .9em 2.1em;
  border: 2px solid transparent; border-radius: var(--pill);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: 0;
  text-decoration: none; text-align: center; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: #FFF04A; }
.btn--dark { background: var(--navy); color: var(--yellow); }
.btn--dark:hover { background: var(--navy-deep); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--small { min-height: 42px; padding: .65em 1.5em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.75rem; }
.btn-row--center { justify-content: center; }
.text-link { color: var(--navy); font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: .4em; }
.text-link:hover { color: var(--orange); }

/* ---------- Hlavička a navigácia ---------- */
.site-header {
  /* Horný pásik (40 px) odskroluje preč, prilepí sa iba hlavná lišta – výška sa nikdy nemení, nič neposkakuje. */
  position: sticky; top: 0; z-index: 50; background: var(--surface);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease;
}
.site-header--topbar { top: -40px; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(48, 43, 76, .10); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Horný informačný pásik */
.topbar { height: 40px; background: var(--navy); color: #fff; font-size: .85rem; overflow: hidden; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar__list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar a { color: #fff; text-decoration: none; transition: color .15s ease; }
.topbar a:hover { color: var(--yellow); }
.topbar .icon { width: 16px; height: 16px; color: var(--yellow); }
.topbar__social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background-color .15s ease, color .15s ease; }
.topbar__social a:hover { background: var(--yellow); color: var(--navy); }
.topbar__social a:hover .icon { color: var(--navy); }
@media (max-width: 700px) { .topbar__hide-sm { display: none !important; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-logo { display: inline-flex; flex: none; transition: transform .2s ease; }
.site-logo:hover { transform: rotate(-3deg) scale(1.04); }
.site-logo img { width: auto; height: 52px; transform-origin: left center; transition: transform .25s ease; }
.site-header.is-scrolled .site-logo img { transform: scale(.84); }


.preview-bar { background: var(--orange); color: #fff; text-align: center; padding: 8px 16px; font-weight: 600; font-size: .95rem; }
.preview-bar a { color: #fff; }

.nav-toggle { display: none; }
.nav-pill { display: none; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu__link { display: block; text-decoration: none; font-family: var(--font-body); font-weight: 500; }
.menu__link--label { cursor: default; }
.submenu-toggle { display: none; }

/* Tlačidlo rezervácie so šípkou */
.main-nav__cta { gap: .6em; overflow: hidden; }
.main-nav__cta .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.main-nav__cta:hover .icon { transform: translateX(4px); }

/* Bez JavaScriptu je menu vždy rozbalené pod hlavičkou. */
.no-js .main-nav { width: 100%; }

@media (max-width: 1023px) {
  .site-header__inner { flex-wrap: wrap; }
  .js .nav-toggle {
    position: relative; z-index: 2; margin-left: auto;
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; padding: 14px; border: 0; border-radius: 50%;
    background: var(--navy); cursor: pointer; transition: background-color .2s ease, transform .2s ease;
  }
  .js .nav-toggle:active { transform: scale(.92); }
  .nav-toggle__bar { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease, background-color .2s ease; }
  .nav-toggle[aria-expanded="true"] { background: var(--yellow); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: var(--navy); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav { flex-basis: 100%; padding: 8px 0 24px; }
  /* Celoobrazovkové menu na mobile */
  .js .main-nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px; overflow-y: auto;
    background: var(--navy); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s ease, transform .3s ease, visibility .25s;
  }
  .js .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .js .main-nav .menu--l1 > .menu__item { opacity: 0; transform: translateX(-16px); transition: opacity .3s ease, transform .3s ease; transition-delay: calc(var(--i, 0) * 45ms + 80ms); }
  .js .main-nav.is-open .menu--l1 > .menu__item { opacity: 1; transform: none; }
  .js .main-nav .menu__link { color: #fff; }
  .js .main-nav .submenu-toggle::before { border-color: #fff; }

  .menu--l1 > .menu__item { border-bottom: 1px solid rgba(255,255,255,.14); position: relative; }
  .menu--l1 > .menu__item > .menu__link { padding: 16px 4px; font-size: 1.4rem; font-weight: 700; }
  .menu__item.is-active > .menu__link { color: var(--yellow) !important; }
  .menu--l2, .menu--l3 { padding-left: 16px; }
  .menu--l2 > .menu__item > .menu__link { padding: 10px 4px; font-size: 1.02rem; font-weight: 600; }
  .menu--l3 .menu__link { padding: 8px 4px; font-weight: 400; font-size: .98rem; opacity: .85; }
  .js .menu__item.has-children > .menu { display: none; }
  .js .menu__item.has-children.is-open > .menu { display: block; }
  .js .submenu-toggle {
    display: block; position: absolute; right: 0; top: 8px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  }
  .js .menu--l2 .submenu-toggle { top: 0; }
  .menu--l2 > .menu__item { position: relative; }
  .submenu-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .submenu-toggle[aria-expanded="true"]::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .main-nav__cta { margin-top: 28px; width: 100%; min-height: 56px; font-size: 1.05rem; }
  .js .main-nav .main-nav__cta { background: var(--yellow); color: var(--navy); }
}

@media (min-width: 1024px) {
  .main-nav { display: flex; align-items: center; gap: 24px; }
  .menu--l1 { display: flex; align-items: center; gap: 2px; }
  .menu--l1 > .menu__item { position: relative; z-index: 1; }
  .menu--l1 > .menu__item > .menu__link { position: relative; z-index: 1; padding: 10px 16px; border-radius: var(--pill); font-size: .95rem; font-weight: 600; color: var(--navy); }
  /* Bez JS: zvýraznenie priamo na odkaze */
  .no-js .menu--l1 > .menu__item > .menu__link:hover, .no-js .menu--l1 > .is-active > .menu__link { background: var(--yellow); }
  /* S JS: žltá „pilulka“ sa plynulo presúva za kurzorom */
  .nav-pill {
    display: block; position: absolute; z-index: 0; top: 50%; left: 0; height: 42px; width: 0; margin-top: -21px;
    border-radius: var(--pill); background: var(--yellow); pointer-events: none; opacity: 0;
    transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), width .35s cubic-bezier(.3, 1.4, .5, 1), opacity .2s ease;
  }
  .nav-pill.is-visible { opacity: 1; }
  .menu--l1 > .has-children > .menu__link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s ease; }
  .menu--l1 > .has-children:hover > .menu__link::after,
  .menu--l1 > .has-children:focus-within > .menu__link::after { transform: translateY(0) rotate(-135deg); }

  .menu--l2 {
    position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px; margin-top: 10px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 50px rgba(48, 43, 76, .16);
    opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top center;
    transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility .2s;
  }
  .menu--l2::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .menu__item.has-children:hover > .menu--l2,
  .menu__item.has-children:focus-within > .menu--l2,
  .menu__item.has-children.is-open > .menu--l2 { opacity: 1; visibility: visible; transform: none; }
  .menu--l2 .menu__link { position: relative; padding: 9px 12px; border-radius: 10px; font-size: .95rem; transition: background-color .15s ease, padding-left .2s ease, color .15s ease; }
  .menu--l2 .menu__link:hover, .menu--l2 .is-active > .menu__link { background: var(--tint); color: var(--navy); }
  .menu--l3 .menu__link::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .2s ease; }
  .menu--l3 .menu__link:hover { padding-left: 24px; }
  .menu--l3 .menu__link:hover::before { transform: scale(1); }

  /* Mega menu Tréningy: kategórie v stĺpcoch, ukotvené na šírku hlavičky */
  .site-header__inner { position: relative; }
  .menu--l1 > .menu__item.has-mega { position: static; }
  .has-mega > .menu--l2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; left: var(--gutter); right: var(--gutter); top: 100%; margin-top: 0; padding: 26px; width: auto; max-width: none; }
  .has-mega > .menu--l2.menu--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .has-mega > .menu--l2.menu--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .has-mega .menu--l2 > .menu__item { opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .3s ease; transition-delay: calc(var(--i, 0) * 60ms); }
  .has-mega:hover .menu--l2 > .menu__item, .has-mega:focus-within .menu--l2 > .menu__item, .has-mega.is-open .menu--l2 > .menu__item { opacity: 1; transform: none; }
  .has-mega .menu--l2 > .menu__item > .menu__link { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 2px solid var(--yellow); border-radius: 0; margin-bottom: 6px; }
  .has-mega .menu--l2 > .menu__item > .menu__link:hover { background: transparent; color: var(--navy); }
  .has-mega .menu--l3 { padding: 0; }
  .has-mega .menu--l3 .menu__link { font-weight: 400; padding: 6px 12px; }
  .has-mega .menu--l3 .menu__link:hover { padding-left: 24px; }
  .has-mega .menu--l2 > .menu__item:not(.has-children) { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 8px; }
}

/* ---------- Úvod podstránky ---------- */
.page-intro {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff;
  padding: clamp(48px, 7vw, 96px) 0;
}
.page-intro__ring { position: absolute; z-index: -1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .08); pointer-events: none; }
.page-intro__ring--a { width: 440px; height: 440px; right: -120px; top: -200px; }
.page-intro__ring--b { width: 220px; height: 220px; left: 30%; bottom: -150px; border-color: rgba(247, 230, 18, .18); }
.page-intro::after {
  content: ""; position: absolute; right: -4%; bottom: -10%; width: min(520px, 60vw); aspect-ratio: 1.5;
  background: url("../img/runner-yellow.png") no-repeat right bottom / contain; opacity: .09; pointer-events: none;
}
.page-intro__inner { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.page-intro--with-image .page-intro__inner { grid-template-columns: 1fr; }
@media (min-width: 900px) { .page-intro--with-image .page-intro__inner { grid-template-columns: 1.1fr .9fr; } }
.page-intro__kicker { margin: 0 0 .75rem; color: var(--yellow); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .82rem; }
.page-intro__title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin-bottom: .35em; overflow-wrap: anywhere; }
.page-intro__lead { max-width: 62ch; font-size: clamp(1rem, 1.3vw, 1.12rem); color: rgba(255,255,255,.82); }
.page-intro__text, .page-intro__media { animation: hero-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-intro__media { position: relative; padding: 0 20px 20px 0; animation-delay: .15s; }
.page-intro__media::before { content: ""; position: absolute; inset: 20px 0 0 20px; z-index: -1; border-radius: 28px; background: var(--yellow); }
.page-intro__lead p:last-child { margin-bottom: 0; }
.page-intro__media img { width: 100%; border-radius: 28px; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); aspect-ratio: 4 / 3; object-fit: cover; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.25rem; color: #fff; font-weight: 500; text-decoration: none; padding: 6px 14px 6px 10px; border-radius: var(--pill); background: rgba(255,255,255,.1); }
.back-link:hover { background: rgba(255,255,255,.2); }

/* ---------- Sekcie ---------- */
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section--tinted + .section, .section + .section--tinted, .section--dark + .section, .section + .section--dark { padding-top: var(--section); }
.section--tight { padding: calc(var(--section) / 2) 0; }
.section--tinted { background: var(--tint); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .section-title { color: var(--yellow); }
.section-head { max-width: 760px; margin-bottom: 2.25rem; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.section-title--spaced { margin-top: 3rem; }
.section-more { margin: 2rem 0 0; }
.lead { font-size: 1.08rem; color: var(--muted); }
.section--dark .lead { color: rgba(255,255,255,.85); }
.lead p:last-child { margin-bottom: 0; }
.empty-note { color: var(--muted); }

.prose { max-width: 72ch; }
.prose h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; margin-top: 1.8em; color: var(--navy); }
.prose h4 { font-size: 1.1rem; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6em; margin-bottom: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65em; height: .65em; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--navy) inset; }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin-bottom: .5em; }
.prose a { color: var(--navy); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 5px solid var(--yellow); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.highlight-box { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); border-left: 6px solid var(--yellow); }

/* Rozloženie text + obrázok */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: -1; }
  .split--single { grid-template-columns: 1fr; max-width: calc(var(--narrow) + 2 * var(--gutter)); }
}
.split__media { position: relative; isolation: isolate; padding: 0 20px 20px 0; }
.split__media::before { content: ""; position: absolute; inset: 20px 0 0 20px; z-index: -1; border-radius: 28px; background: var(--yellow); }
.split--reverse .split__media { padding: 0 0 20px 20px; }
.split--reverse .split__media::before { inset: 20px 20px 0 0; }
.split__media img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 50px rgba(48, 43, 76, .18); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.split__media:hover img { transform: translate(-6px, -6px); }
.split--reverse .split__media:hover img { transform: translate(6px, -6px); }
@media (max-width: 899px) { .split__media img { max-height: 380px; } }
.split__media--framed { position: relative; padding: 0 18px 18px 0; }
.split__media--framed::before { content: ""; position: absolute; inset: 18px 0 0 18px; background: var(--yellow); border-radius: var(--radius); z-index: -1; }
.block-features .split { isolation: isolate; }

.check-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.check-list .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--yellow); color: var(--navy); stroke-width: 3; }

/* ---------- Pridaj sa a cvič s komunitou (blok prednosti) ---------- */
.features__media { position: relative; padding: 0 22px 22px 0; }
.features__frame { position: absolute; inset: 22px 0 0 22px; z-index: -1; border-radius: 28px; background: var(--yellow); }
.features__img { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 50px rgba(48, 43, 76, .18); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
@media (max-width: 899px) { .features__img img { max-height: 380px !important; } }
.features__img img { width: 100%; max-height: 600px; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.features__media:hover .features__img { transform: translate(-8px, -8px); }
.features__media:hover .features__img img { transform: scale(1.05); }

.features__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.features__mark { position: relative; z-index: 0; white-space: nowrap; }
.features__mark::after { content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em; bottom: .06em; height: .34em; border-radius: 4px; background: var(--yellow); transform-origin: left; transition: transform .7s cubic-bezier(.2, .7, .2, 1) .15s; }
.features__title.is-waiting .features__mark::after { transform: scaleX(0); }

.features__list { list-style: none; margin: 1.75rem 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.features__item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px;
  border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); color: var(--navy);
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease, opacity .6s ease;
}
.features__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--yellow); color: var(--navy); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), background-color .25s ease; }
.features__icon .icon { width: 24px; height: 24px; }
.features__label { font-weight: 700; line-height: 1.3; }
.features__item:hover { transform: translateY(-6px); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.features__item:hover .features__icon { transform: rotate(-10deg) scale(1.08); }
.features__item.is-waiting { opacity: 0; transform: translateY(24px); }

.features__note { margin-top: 1.25rem; padding-left: 16px; border-left: 4px solid var(--yellow); font-weight: 600; color: var(--navy); }
.features__note p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .features__item.is-waiting { opacity: 1; transform: none; } .features__title.is-waiting .features__mark::after { transform: none; } }

.figure { margin: 0 auto; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { margin-top: .75rem; color: var(--muted); font-size: .95rem; }

/* ---------- Hero (úvodný banner) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 8vw, 110px); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; left: -4%; bottom: -6%; width: min(620px, 80vw); aspect-ratio: 1.5; background: url("../img/runner-yellow.png") no-repeat left bottom / contain; opacity: .05; }
.hero__inner { position: relative; display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

/* Dekoratívne kruhy a bodky (pohybujú sa s myšou) */
.hero__ring { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero__ring { border: 2px solid rgba(255, 255, 255, .08); }
.hero__ring--a { width: 520px; height: 520px; right: -140px; top: -180px; }
.hero__ring--b { width: 260px; height: 260px; left: 38%; bottom: -150px; border-color: rgba(247, 230, 18, .18); }

/* Text */

.hero__title { font-size: clamp(2.6rem, 6.4vw, 4.8rem); font-weight: 800; letter-spacing: -.03em; line-height: .98; color: #fff; margin: 0 0 .18em; }
.hero__rotator { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; margin: 0 0 24px; font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: rgba(255, 255, 255, .75); }
.hero__words { position: relative; display: inline-grid; color: var(--yellow); }
.hero__word { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(70%); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.hero__word.is-active { opacity: 1; transform: none; }
.hero__word.is-leaving { opacity: 0; transform: translateY(-70%); }

.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .82); max-width: 46ch; }
.hero .btn-row { margin-top: 30px; }
.hero__btn.btn--primary:hover { box-shadow: 0 10px 0 -2px var(--orange); }

/* Rýchly výber kategórie */
.hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__chips-label { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.hero__chips ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero__chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, .08); color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.hero__chip .icon { width: 0; height: 16px; opacity: 0; transition: width .2s ease, opacity .2s ease; }
.hero__chip:hover { background: var(--yellow); color: var(--navy); transform: translateY(-2px); }
.hero__chip:hover .icon { width: 16px; opacity: 1; }

/* Fotografia s plávajúcimi kartičkami */
.hero__visual { position: relative; }
.hero__shape { position: absolute; z-index: 0; left: 6%; right: 0; bottom: 0; height: 74%; border-radius: 40px; background: var(--yellow); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero__media { position: relative; z-index: 1; padding: 0 2% 0 8%; }
.hero__img { width: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .25)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); transform-origin: 50% 100%; }
.hero__visual:hover .hero__img { transform: scale(1.03); }

.hero__badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 22px; }
.hero__badge { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; border-radius: 18px; background: #fff; color: var(--navy); font-size: .85rem; line-height: 1.3; text-decoration: none; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); transition: transform .2s ease, background-color .2s ease; }
.hero__badge strong { font-size: .95rem; }
.hero__badge-num { font-size: 2.2rem !important; font-weight: 800; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.hero__badge-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--navy); }
.hero__badge-icon--yellow { background: var(--yellow); }
.hero__badge--c:hover { background: var(--yellow); transform: translateY(-3px); }
.hero__badge--c:hover .hero__badge-icon { background: var(--navy); color: var(--yellow); }
@media (max-width: 600px) {
  .hero__badge { padding: 10px 14px; font-size: .78rem; }
  .hero__badge-num { font-size: 1.7rem !important; }
}

/* Šípka nadol */
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; transition: border-color .2s ease; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: hero-scroll 1.6s ease-in-out infinite; }
.hero__scroll:hover { border-color: var(--yellow); }
@keyframes hero-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.hero__anchor { position: absolute; bottom: 0; scroll-margin-top: 70px; }
@media (max-width: 959px) { .hero__scroll { display: none; } }

/* Postupné objavenie pri načítaní (čisté CSS – obsah sa zobrazí aj bez JS) */
.hero__reveal { animation: hero-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > .hero__reveal:nth-child(2) { animation-delay: .08s; }
.hero__text > .hero__reveal:nth-child(3) { animation-delay: .16s; }
.hero__text > .hero__reveal:nth-child(4) { animation-delay: .24s; }
.hero__text > .hero__reveal:nth-child(5) { animation-delay: .32s; }
.hero__text > .hero__reveal:nth-child(6) { animation-delay: .40s; }
.hero__visual { animation-delay: .2s; }
.hero__badges { animation-delay: .4s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__reveal { animation: none; } .hero__word { transition: none; } }

/* ---------- Výzva (CTA) ---------- */
.cta { padding: clamp(40px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta--yellow { background: var(--yellow); color: var(--navy); }
.cta--dark { background: var(--navy); color: #fff; }
.cta--dark .cta__title { color: var(--yellow); }
.cta--light { background: var(--tint); }
.cta--yellow::after, .cta--dark::after { content: ""; position: absolute; right: -40px; top: 50%; width: 320px; aspect-ratio: 1.5; transform: translateY(-50%); background: no-repeat center / contain; opacity: .18; pointer-events: none; }
.cta--yellow::after { background-image: url("../img/runner-navy.png"); }
.cta--dark::after { background-image: url("../img/runner-yellow.png"); }
.cta__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta__text { max-width: 680px; }
.cta__title { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: .35em; }
.cta__text p:last-child { margin-bottom: 0; }

/* ---------- Karty ---------- */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(18px, 3vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid--2, .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, opacity .6s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card.is-waiting { opacity: 0; transform: translateY(24px); }
.card__media { display: block; aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.07); }
.card__placeholder { display: block; width: 100%; height: 100%; background: var(--navy) url("../img/runner-yellow.png") no-repeat center / 50%; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.card__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; margin-bottom: .5em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.card__text { color: var(--muted); }
.card__text p:last-child { margin-bottom: 0; }
.card__more { position: relative; z-index: 2; align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: var(--pill); background: var(--tint); font-weight: 700; font-size: .95rem; color: var(--navy); text-decoration: none; transition: background-color .25s ease; }
.card__text + .card__more { margin-top: 20px; }
.card__more .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--yellow); transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.card:hover .card__more { background: var(--yellow); }
.card:hover .card__more .icon { transform: translateX(3px); background: var(--navy); color: var(--yellow); }

@media (prefers-reduced-motion: reduce) { .card.is-waiting { opacity: 1; transform: none; } }
.card--draft { outline: 3px dashed var(--orange); }

/* ---------- Ponuka tréningov (karty kategórií) ---------- */
.offer-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .offer-grid--2, .offer-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .offer-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.offer {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 540px; border-radius: 26px; overflow: hidden; color: #fff; background: var(--navy);
  box-shadow: 0 18px 40px rgba(48, 43, 76, .18);
  transform: translateY(var(--lift, 0px));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, opacity .7s ease;
}
.offer__media { position: absolute; inset: 0; z-index: -2; }
.offer__media img, .offer__media .card__placeholder { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.offer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(34, 30, 55, .48); transition: background-color .4s ease; }

.offer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 0; pointer-events: none; }
.offer__num { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--yellow); }
.offer__count { padding: 7px 14px; border-radius: var(--pill); background: #fff; color: var(--navy); font-size: .82rem; font-weight: 700; }

.offer__body { padding: 0 26px 26px; }
.offer__title { margin: 0 0 6px; font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.offer__link { color: #fff; text-decoration: none; }
.offer__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.offer__link:focus-visible { outline: none; }
.offer:has(.offer__link:focus-visible) { outline: 3px solid var(--orange); outline-offset: 4px; }

/* Text a zoznam tréningov sa rozbalia pri prejdení myšou */
.offer__reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1); }
.offer__reveal-inner { overflow: hidden; min-height: 0; }
.offer__text { margin-top: 8px; font-size: .93rem; line-height: 1.55; color: rgba(255, 255, 255, .88); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity .35s ease .05s, transform .4s ease .05s; }
.offer__text p { margin: 0; }
.offer__chips { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 2px; padding: 0; opacity: 0; transform: translateY(10px); transition: opacity .35s ease .12s, transform .4s ease .12s; }
.offer__chips a { display: inline-block; padding: 6px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .14); color: #fff; font-size: .82rem; font-weight: 600; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.offer__chips a:hover, .offer__chips a:focus-visible { background: var(--yellow); color: var(--navy); }

.offer__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 6px 6px 6px 18px; border-radius: var(--pill); background: rgba(255, 255, 255, .14); font-size: .92rem; font-weight: 700; transition: background-color .25s ease, color .25s ease; }
.offer__more .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--yellow); color: var(--navy); transition: transform .25s ease, background-color .25s ease, color .25s ease; }

/* Aktívny stav: myš alebo klávesnica */
.offer:hover, .offer:focus-within { --lift: -6px; box-shadow: 0 30px 60px rgba(48, 43, 76, .30); }
.offer:hover::before, .offer:focus-within::before { background: rgba(34, 30, 55, .86); }
.offer:hover .offer__media img, .offer:focus-within .offer__media img { transform: scale(1.1); }
.offer:hover .offer__reveal, .offer:focus-within .offer__reveal { grid-template-rows: 1fr; }
.offer:hover .offer__text, .offer:hover .offer__chips,
.offer:focus-within .offer__text, .offer:focus-within .offer__chips { opacity: 1; transform: none; }
.offer:hover .offer__more, .offer:focus-within .offer__more { background: var(--yellow); color: var(--navy); }
.offer:hover .offer__more .icon, .offer:focus-within .offer__more .icon { background: var(--navy); color: var(--yellow); transform: translateX(3px); }

/* Dotykové zariadenia: všetko je viditeľné hneď */
@media (hover: none) {
  .offer { min-height: 0; }
  .offer__top { padding-bottom: 120px; }
  .offer::before { background: rgba(34, 30, 55, .74); }
  .offer__reveal { grid-template-rows: 1fr; }
  .offer__text, .offer__chips { opacity: 1; transform: none; }
}

/* Objavenie pri skrolovaní (trieda sa pridáva iba cez JS) */
.offer.is-waiting { opacity: 0; --lift: 40px; }
@media (prefers-reduced-motion: reduce) { .offer.is-waiting { opacity: 1; --lift: 0px; } }
.badge { display: inline-block; padding: 2px 10px; border-radius: var(--pill); font-size: .8rem; font-weight: 700; margin-bottom: .6em; }
.badge--draft { background: var(--orange); color: #fff; }

/* ---------- Detail tréningu ---------- */
.training__layout { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 960px) { .training__layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .training__facts { position: sticky; top: calc(var(--header-h) + 24px); } }
.training__suitable { margin-top: 2.5rem; padding: clamp(24px, 3vw, 36px); background: var(--yellow); border-radius: var(--radius); }
.training__suitable .prose ul li::before { background: var(--navy); box-shadow: none; }
.training__suitable .section-title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.training__facts { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 6px var(--yellow); }
.facts__title { color: var(--yellow); font-size: 1.25rem; font-weight: 800; }
.facts { margin: 0; }
.facts__row { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.15); }
.facts dt { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--yellow); margin-bottom: 4px; }
.facts dd { margin: 0; }
.facts__list { list-style: none; padding: 0; margin: 0; }
.facts__list li { padding: 2px 0; }
.facts__note { margin: 12px 0 0; font-size: .9rem; color: rgba(255,255,255,.75); }

/* ---------- Video a galéria ---------- */
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video video { width: 100%; height: auto; }
.video--embed { aspect-ratio: 16 / 9; }
.video--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } .gallery--4 { grid-template-columns: repeat(4, 1fr); } }
.gallery { gap: 14px; }
.gallery__link { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 20px; transition: transform .25s ease, box-shadow .25s ease; }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery__link:hover img { transform: scale(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20, 18, 33, .92); }
.lightbox img { max-height: 90vh; width: auto; border-radius: var(--radius-sm); }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; }

/* ---------- Podujatia ---------- */
/* ---------- Eventy ---------- */
.ev-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.ev {
  --ev-bg: #fff; --ev-fg: var(--navy);
  display: flex; flex-direction: column; padding: 8px; border-radius: 26px;
  background: var(--ev-bg); color: var(--ev-fg); border: 2px solid var(--navy);
  box-shadow: 0 6px 0 var(--navy);
  transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease;
}
.ev--yellow { --ev-bg: var(--yellow); }
.ev--orange { --ev-bg: var(--orange); --ev-fg: #fff; }
.ev--peach  { --ev-bg: #F8CFA0; }
.ev--navy   { --ev-bg: var(--navy); --ev-fg: #fff; border-color: var(--navy); }
.ev:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 12px 0 var(--navy); }
.ev.is-waiting { opacity: 0; transform: translateY(24px); }

.ev__head { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 12px; padding: 16px 16px 18px; }
.ev__when { grid-column: 1 / -1; min-width: 0; }
.ev__date { margin: 0; white-space: nowrap; font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.ev__date span { margin-left: .3em; font-size: .5em; font-weight: 700; opacity: .6; letter-spacing: 0; }
.ev__day { margin: 6px 0 0; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.ev__time { grid-row: 2; grid-column: 1; display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 800; line-height: 1; }
.ev__time .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.ev__rel, .ev__badge { grid-row: 2; grid-column: 2; align-self: end; margin-bottom: 2px; padding: 6px 12px; border-radius: var(--pill); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.ev__rel { background: rgba(48, 43, 76, .1); }
.ev--orange .ev__rel, .ev--navy .ev__rel { background: rgba(255, 255, 255, .18); }
.ev__badge { background: var(--navy); color: var(--yellow); }
.ev--navy .ev__badge { background: var(--yellow); color: var(--navy); }

.ev__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 14px; border-radius: 20px; background: var(--navy); color: #fff; }
.ev--navy .ev__body { background: rgba(255, 255, 255, .1); }
.ev__title { margin: 0 0 6px; font-size: 1.3rem; font-weight: 800; line-height: 1.2; color: #fff; }
.ev__title a { color: inherit; text-decoration: none; }
.ev__title a:hover { color: var(--yellow); }
.ev__text { margin: 0 0 8px; font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--yellow); }
.ev__place { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.ev__place .icon { width: 16px; height: 16px; flex: none; }
.ev__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.ev__org { margin-left: auto; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.ev__poster { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: var(--pill); background: rgba(255, 255, 255, .12); color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.ev__poster img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ev__poster:hover { background: var(--yellow); color: var(--navy); }
.ev-empty { padding: 28px; border-radius: var(--radius); background: var(--surface); text-align: center; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .ev.is-waiting { opacity: 1; transform: none; } }

/* ---------- Referencie ---------- */
.testimonials { list-style: none; padding: 0 0 12px; margin: 0; display: grid; gap: 20px; grid-auto-flow: column; grid-auto-columns: minmax(280px, 88%); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
@media (min-width: 700px) { .testimonials { grid-auto-columns: calc(50% - 10px); } }
@media (min-width: 1100px) { .testimonials { grid-auto-columns: calc(33.333% - 14px); } }
.testimonial { scroll-snap-align: start; }
.testimonial figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 6px solid var(--yellow); }
.testimonial__stars { display: flex; gap: 2px; color: #F5B400; margin: 0 0 .75em; }
.testimonial__text { margin: 0 0 1.25em; font-size: 1rem; }
.testimonial__text p:last-child { margin-bottom: 0; }
.testimonial__author { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testimonial__author small { color: var(--muted); }
.testimonial__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-family: var(--font-head); font-weight: 700; }
.carousel-nav { display: flex; gap: 10px; margin-top: 16px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.carousel-nav button:hover { background: var(--navy); color: var(--yellow); }

/* ---------- Google recenzie ---------- */
.greviews .section-title { color: #fff; }
.greviews .lead { color: rgba(255, 255, 255, .8); }
.greviews__layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .greviews__layout { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; } }

.greviews__summary { display: flex; flex-direction: column; align-items: flex-start; }
.greviews__brand { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; font-size: .95rem; }
.g-logo { flex: none; padding: 3px; border-radius: 50%; background: #fff; box-sizing: content-box; }
.greviews__score { margin: 0; font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.greviews__count { margin: 10px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .7); }
.greviews__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.greviews__actions .icon { width: 16px; height: 16px; }
@media (min-width: 1000px) { .greviews__actions { flex-direction: column; align-items: stretch; width: 100%; } }

/* Hviezdičky s čiastočným vyplnením */
.stars { position: relative; display: inline-flex; line-height: 0; }
.stars .icon { width: 20px; height: 20px; }
.stars__base { display: inline-flex; gap: 2px; color: rgba(255, 255, 255, .22); }
.stars__fill { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 2px; overflow: hidden; white-space: nowrap; color: #FBBC04; }
.greviews__stars { margin-top: 10px; }
.greviews__stars .icon { width: 24px; height: 24px; }

/* Karty recenzií */
.greviews__track { min-width: 0; }
.greviews__list { padding-bottom: 4px; }
@media (min-width: 700px) { .greviews__list { grid-auto-columns: calc(50% - 10px); } }
@media (min-width: 1200px) { .greviews__list { grid-auto-columns: calc(33.333% - 14px); } }
.greview figure { padding: 22px; border: 0; border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: none; color: #fff; transition: background-color .2s ease, transform .2s ease; }
.greview figure:hover { background: rgba(255, 255, 255, .11); transform: translateY(-3px); }
.greview__stars { margin-bottom: 12px; }
.greview__stars .icon { width: 17px; height: 17px; }
.greview__text { margin: 0; font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.greview__text[data-clamp] { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.greview__text.is-open { -webkit-line-clamp: unset; display: block; }
.greview__toggle { align-self: flex-start; margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--yellow); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.greview__toggle:hover { text-decoration: underline; }
.greview__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; }
.greview__avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 800; object-fit: cover; }
.greview__name { display: block; font-size: .98rem; }
.greview__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.greview__meta .g-logo { width: 12px; height: 12px; padding: 2px; }

.greviews .carousel-nav button { border-color: rgba(255, 255, 255, .5); color: #fff; }
.greviews .carousel-nav button:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.greviews .testimonials { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }

/* ---------- Tím ---------- */
.team-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.person { text-align: center; padding: 10px 10px 18px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, opacity .6s ease; }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.person__photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--yellow); margin-bottom: 16px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.person:hover .person__photo img { transform: scale(1.06); }
.person__placeholder { display: grid; place-items: center; height: 100%; font: 700 3rem var(--font-head); color: var(--navy); }
.person__name { font-size: 1.12rem; font-weight: 800; margin-bottom: .2em; }
.person__role { color: var(--muted); margin-bottom: .5em; font-size: .95rem; }
.person__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; justify-items: center; font-size: .92rem; }
.person__links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 5px 12px; border-radius: var(--pill); background: var(--tint); font-weight: 600; transition: background-color .2s ease; }
.person__links a:hover { background: var(--yellow); }
.person__links .icon { width: 16px; height: 16px; }

/* ---------- Čísla ---------- */
.stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.07); transition: background-color .25s ease, transform .25s ease, opacity .6s ease; }
.stat:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.stat__value { display: block; font: 800 clamp(2.2rem, 4.6vw, 3rem) var(--font-head); letter-spacing: -.03em; color: var(--yellow); }
.stat__label { display: block; margin: 4px 0 12px; }
.stat__bar { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.stat__bar span { display: block; height: 100%; background: var(--yellow); border-radius: 4px; transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .2s; }
.stat.is-waiting .stat__bar span { transform: scaleX(0); }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.contact-list a { font-weight: 600; }

/* ---------- Pätička ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.85); margin-top: 0; }
.site-footer__grid { display: grid; gap: 36px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 40px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__logo img { height: 72px; width: auto; margin-bottom: 16px; background: #fff; border-radius: var(--radius-sm); padding: 6px 10px; }
.site-footer__title { color: var(--yellow); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--yellow); margin-top: 2px; }
.social-links { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: rgba(255,255,255,.08); }
.social-links a:hover { background: var(--yellow); color: var(--navy); text-decoration: none; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .88rem; color: rgba(255,255,255,.6); }
.site-footer__bottom p { margin: 0; }
.site-footer .btn--primary { color: var(--navy); }
.site-footer .btn--primary:hover { color: var(--navy); text-decoration: none; }

/* ---------- Spoločné objavovanie pri skrolovaní ---------- */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-waiting, .person.is-waiting, .stat.is-waiting { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) { .reveal.is-waiting, .person.is-waiting, .stat.is-waiting { opacity: 1; transform: none; } .stat.is-waiting .stat__bar span { transform: none; } }

/* ---------- Cenník ---------- */
.price-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(16px, 2.5vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .price-grid--2, .price-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .price-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.price { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); border-top: 6px solid var(--line); }
.price--featured { border-top-color: var(--yellow); }
.price__title { font-size: 1.2rem; font-weight: 800; line-height: 1.25; margin: 0 0 .5rem; }
.price__text { color: var(--muted); font-size: .98rem; }
.price__text p { margin: 0 0 .5rem; }
.price__value { margin: auto 0 0; padding-top: 1rem; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--navy); }
.section--tinted .price { box-shadow: none; }

/* ---------- Termíny tréningu v skupinách (napr. Hybkáčik) ---------- */
.schedule__title { text-align: center; }
.schedule__title::after { content: ""; display: block; width: 72px; height: 4px; margin: 1rem auto 0; border-radius: 2px; background: var(--yellow); }
.schedule__grid { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 4vw, 48px) 0; }
.schedule__item { flex: 0 0 100%; padding: 0 clamp(8px, 2vw, 24px); }
@media (min-width: 560px) { .schedule__item { flex-basis: 50%; } }
@media (min-width: 1000px) { .schedule__item { flex-basis: 25%; } }
.schedule__head { display: flex; align-items: center; gap: 14px; margin-bottom: .9rem; }
.schedule__head .icon { width: 44px; height: 44px; stroke-width: 1.4; color: var(--yellow); }
.schedule__name { margin: 0; font-size: 1.2rem; font-weight: 800; line-height: 1.25; color: #fff; }
.schedule__name span { display: block; }
.schedule__times { list-style: none; padding: 0; margin: 0; color: rgba(255, 255, 255, .85); line-height: 1.8; }
.schedule__cta { margin-top: clamp(32px, 5vw, 56px); }

/* Popis telefónneho čísla v pätičke */
.phone-label { display: block; font-size: .85em; opacity: .75; line-height: 1.35; }
