/* =====================================================================
   BACHLEDKA PROTOTYP — style.css
   Design system + komponenty + responzivita
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand */
  --color-navy:        #1F2B5D;
  --color-turquoise:   #00A7A7;
  --color-lime:        #D2D700;
  --color-black:       #1D1D1B;
  --color-white:       #FFFFFF;

  --color-navy-900:    #1F2B5D; /* zjednotené na manuál Pantone 2757 C (klient 29.10.2026; pôvodne #0F1530) */
  --color-heading:     #1F2B5D; /* Pantone 2757 C podľa dizajn manuálu (HEX #1F2B5D) — nadpisy aj text */
  --color-navy-700:    #1F2B5D;
  --color-navy-500:    #3A4783;
  --color-navy-300:    #8990B5;
  --color-navy-100:    #E5E7F0;

  --color-turquoise-700: #00A7A7; /* klient 29.10.2026: jednotná brandová tyrkysová Pantone 3262 C aj v hover stavoch a odkazoch (pôvodne #007F7F) */
  --color-turquoise-500: #00A7A7;
  --color-turquoise-300: #66CACA;
  --color-turquoise-100: #E0F4F4;

  --color-lime-700:    #A5A800;
  --color-lime-800:    #767A00; /* AA kontrast 4.6:1 na bielej — text eyebrow */
  --color-lime-500:    #D2D700;
  --color-lime-300:    #E5EA5E;
  --color-lime-100:    #F8F9D6;

  --color-gray-50:     #F8F8F7;
  --color-gray-100:    #ECECEB;
  --color-gray-200:    #D9D9D8;
  --color-gray-400:    #A8A8A7;
  --color-gray-600:    #6B6B6A;
  --color-gray-800:    #3A3A39;

  /* Semantic */
  --color-bg:           var(--color-white);
  --color-text:         var(--color-navy-900);
  --color-text-muted:   var(--color-gray-600);
  --color-link:         var(--color-turquoise-700);
  --color-cta:          var(--color-lime-500);
  /* hover CTA neprechádza do tmavšieho odtieňa, ale do ďalšej korporátnej farby
     (pripomienka klienta: buttony rotujú limetková/tyrkysová/tmavomodrá) */
  --color-cta-hover:    var(--color-turquoise-500);
  --color-cta-text:     var(--color-navy-900);
  --color-hero-overlay: rgba(15, 21, 48, 0.50);
  --color-accent:       var(--color-turquoise-500);

  /* Typography — brand fonty z design manuálu (Cheddar Gothic Sans Two = headline,
     Ariana Pro = text) sa načítavajú z assets/fonts/fonts.css, keď sú súbory nahraté
     (komerčné licencie — dodáva klient). Montserrat/Inter = fallback, kým nie sú. */
  --font-display: 'Cheddar Gothic Sans Two', 'Chedar Gothic Sans Two', 'Montserrat', system-ui, sans-serif;
  --font-body:    'Ariana Pro', 'Inter', system-ui, sans-serif;

  --fs-h1:  clamp(2.5rem, 5vw + 1rem, 5.5rem);
  --fs-h2:  clamp(2rem, 3vw + 0.8rem, 3.5rem);
  --fs-h3:  clamp(1.5rem, 2vw + 0.6rem, 2.25rem);
  --fs-h4:  clamp(1.25rem, 1vw + 0.6rem, 1.5rem);
  --fs-lead: clamp(1.125rem, 0.5vw + 1rem, 1.375rem);
  --fs-body: 1rem;
  --fs-sm:   0.875rem;
  --fs-xs:   0.75rem;

  --lh-tight: 1.05;
  --lh-snug:  1.25;
  --lh-base:  1.6;

  /* Layout */
  --container:        1320px;
  --container-narrow: 980px;
  --gutter:           clamp(1rem, 2vw, 2rem);
  --side-rail:        72px;
  --header-h:         100px;

  /* Radii / Shadows
     Brand = ostré hrany (štvorce/obdĺžniky), bez zaoblených rohov.
     Tokeny ponechané kvôli kompatibilite, ale nulové. */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-pill: 0;

  --shadow-sm: 0 2px 8px rgba(15, 21, 48, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 21, 48, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 21, 48, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 450ms;
}

.season-summer {
  --color-accent: var(--color-lime-500);
  --color-hero-overlay: rgba(15, 21, 48, 0.32);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--color-navy); }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul, ol { padding-left: 1.25rem; }
/* nadpisy (pripomienka grafičky 10/2026): Cheddar Bold, tmavomodrá Pantone 2757 C, riadkovanie 1,2× veľkosti písma,
   rozostup písmen +5 % (0.05em) — vzdušnejšie; jednotné na celom webe (h1–h4 v obsahu, karty, CTA pás) */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.2; letter-spacing: 0.005em; /* „5 %" v grafickom programe = tracking 5/1000 em */ color: var(--color-heading); }
h1 { font-size: var(--fs-h1); font-weight: 700; text-transform: uppercase; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; }
p  { margin: 0 0 1rem; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-snug); color: var(--color-navy-700); }

::selection { background: var(--color-lime); color: var(--color-navy-900); }
:focus-visible { outline: 3px solid var(--color-turquoise); outline-offset: 3px; border-radius: var(--radius-sm); }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--color-lime);
  color: var(--color-navy-900);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(-140%);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 3. UTILITIES ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: var(--container-narrow); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  /* jednotná brandová limetková pre text AJ pás (pripomienka klienta —
     text nesmie byť tmavší než pomlčka; vedomý ústupok z AA kontrastu) */
  color: var(--color-lime-500);
  margin-bottom: 0.75rem;
}
/* Brandový pás (typický prvok značky) — currentColor zaručí zhodu s farbou textu */
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
}
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.section--alt { background: var(--color-gray-50); }
.section--dark { background: var(--color-navy); color: var(--color-white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-white); }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.95rem 1.75rem;
  /* buttony podľa manuálu Ariana Pro Bold (badge pravidlo) — Cheddar bol pri malých kapitálkach nečitateľný */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
  box-shadow: var(--shadow-sm);
}
/* inverzný hover: podklad ↔ farba textu (stacknuté buttony sa nezlievajú) */
.btn--primary:hover { background: var(--color-cta-text); color: var(--color-cta); box-shadow: var(--shadow-md); }
.btn--primary:active { background: var(--color-navy); color: var(--color-white); }
.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn--secondary:hover { background: var(--color-white); color: var(--color-navy-900); }
.btn--ghost {
  background: transparent;
  color: var(--color-navy-900);
  border: 2px solid var(--color-navy-900);
}
.btn--ghost:hover { background: var(--color-navy); color: var(--color-white); }
.btn--turquoise {
  background: var(--color-turquoise-500); /* korporátna tyrkysová #00A7A7 (bez stmavenia) */
  color: var(--color-white);
}
/* inverzný hover: podklad ↔ farba textu */
.btn--turquoise:hover { background: var(--color-white); color: var(--color-turquoise-500); }
.btn--turquoise:active { background: var(--color-lime-500); color: var(--color-navy-900); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.75rem; }
.btn .icon { width: 1rem; height: 1rem; }

/* ---------- 5. HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* na začiatku úplne transparentné */
  background: transparent;
  transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
/* modrý podklad sa pridá až po scrolle (alebo otvorení mobilného menu) */
.header.is-scrolled,
.header.is-open {
  background: var(--color-navy);
  box-shadow: 0 6px 20px rgba(15, 21, 48, 0.45);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding-inline: clamp(1rem, 3vw, 3rem);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.header__logo img {
  height: 72px;
  width: auto;
  display: block;
  /* farebné logo (tmavý text) → biele na tmavomodrom headeri */
  filter: brightness(0) invert(1);
  transition: height var(--t-base) var(--ease);
}
.header.is-open .header__logo img { height: 64px; }

.nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  /* menu v texte (Ariana), nie headline fontom — voľba užívateľa */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-white);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--color-lime); background: rgba(255, 255, 255, 0.08); }
.nav__caret {
  display: inline-flex;
  align-items: center;
  margin-left: 0.15rem;
  transition: transform var(--t-fast);
}
.nav__caret svg { width: 14px; height: 14px; stroke-width: 2.4; }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

/* dropdowns */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  padding: 0.75rem 0.75rem 4.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
/* jemná brandová grafika (silueta hôr) v spodnom pozadí submenu */
.nav__dropdown::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 88px;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to top, rgba(255,255,255,0) 45%, var(--color-white) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='88' viewBox='0 0 280 88' preserveAspectRatio='xMidYMax slice'%3E%3Cpath d='M0,88 L46,34 L78,58 L116,22 L150,52 L196,28 L234,56 L280,30 L280,88 Z' fill='%2300A7A7' fill-opacity='0.10'/%3E%3Cpath d='M0,88 L60,52 L104,68 L150,42 L202,62 L256,46 L280,56 L280,88 Z' fill='%231F2B5D' fill-opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.nav__dropdown > li { position: relative; z-index: 1; }
.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__dropdown-link {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-navy-700);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__dropdown-link:hover { background: var(--color-navy-100); color: var(--color-turquoise-700); }
.nav__dropdown-link .badge-season {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 1px 6px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--color-navy-100);
  color: var(--color-navy-700);
}
.nav__dropdown-link .badge-season.summer { background: var(--color-lime-100); color: var(--color-lime-700); }
.nav__dropdown-link .badge-season.winter { background: var(--color-turquoise-100); color: var(--color-turquoise-500); }
/* štítok zhodný s aktuálnou sezónou je redundantný → skryť (necháva sa len ten z „opačnej" sezóny) */
.season-winter .badge-season.winter,
.season-summer .badge-season.summer { display: none; }

.header__actions { display: flex; align-items: center; gap: 0.75rem; flex: 0 0 auto; }

/* search v hlište */
.header__search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.header__search-btn:hover { background: rgba(255, 255, 255, 0.12); color: var(--color-lime); }
.header__search-btn svg { width: 22px; height: 22px; }

.search-panel {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 90;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--color-gray-100);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.search-panel.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.search-panel__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem var(--gutter);
}
.search-panel__icon { width: 24px; height: 24px; color: var(--color-turquoise-500); flex: 0 0 auto; }
.search-panel__input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-navy-900);
  padding: 0.4rem 0;
}
.search-panel__input::placeholder { color: var(--color-gray-400); }
.search-panel__input:focus { outline: none; }
.search-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  color: var(--color-navy-700);
  flex: 0 0 auto;
  transition: background var(--t-fast) var(--ease);
}
.search-panel__close:hover { background: var(--color-navy-100); }
.search-panel__close svg { width: 22px; height: 22px; }

/* season toggle */
.season-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  padding: 3px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.season-toggle__btn {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast);
}
.season-toggle__btn.is-active {
  background: var(--color-white);
  color: var(--color-navy-900);
  box-shadow: var(--shadow-sm);
}
.season-summer .season-toggle__btn[data-season="summer"].is-active {
  background: var(--color-lime);
  color: var(--color-navy-900);
}

/* lang switcher */
.lang {
  position: relative;
}
.lang__current {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background var(--t-fast);
}
.lang__current:hover { background: rgba(255, 255, 255, 0.12); }
.lang__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 100px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-navy-700);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
  cursor: pointer;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.lang__option:hover { background: var(--color-navy-100); color: var(--color-turquoise-700); }
.flag {
  width: 22px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15, 21, 48, 0.1);
  display: block;
}
.flag svg { width: 100%; height: 100%; display: block; }
/* obrázkové vlajky (flagcdn) — vyplnia rámik orezom, bez deformácie */
.flag img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.lang__current .flag { width: 20px; height: 14px; }

/* hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}
.hamburger svg { width: 22px; height: 22px; transition: transform var(--t-base) var(--ease); }
/* otvorené menu — ikona sa jemne pootočí */
.hamburger .hamburger__close { display: none; }
.header.is-open .hamburger .hamburger__open { display: none; }
.header.is-open .hamburger .hamburger__close { display: block; }

/* ---------- 6. SIDE RAIL (ľavý vertikálny modul) ---------- */
.side-rail {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 95;
  background: var(--color-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
  width: var(--side-rail);
  transition: width var(--t-base) var(--ease);
  overflow: hidden;
}
.side-rail.is-expanded { width: 260px; }
.side-rail__inner { padding: 0.6rem; }
.side-rail__title {
  display: none;
  padding: 0.4rem 0.6rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-turquoise-500);
}
.side-rail.is-expanded .side-rail__title { display: block; }
.side-rail__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.side-rail__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-navy-700);
  transition: background var(--t-fast), color var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.side-rail__item:hover { background: var(--color-navy-100); color: var(--color-turquoise-700); }
.side-rail__icon {
  width: 28px; height: 28px;
  flex: 0 0 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-turquoise-500);
}
.side-rail__icon svg { width: 22px; height: 22px; }
.side-rail__text { flex: 1; min-width: 0; }
.side-rail__label { display: block; font-weight: 600; line-height: 1.1; }
.side-rail__value { display: block; font-size: 0.72rem; font-weight: 500; color: var(--color-text-muted); margin-top: 1px; }
.side-rail:not(.is-expanded) .side-rail__text { display: none; }
.side-rail__toggle {
  width: 100%;
  margin-top: 6px;
  padding: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy-300);
  border-top: 1px solid var(--color-navy-100);
  border-radius: 0;
  transition: color var(--t-fast);
}
.side-rail__toggle:hover { color: var(--color-turquoise-700); }
.side-rail__toggle svg { width: 14px; height: 14px; transition: transform var(--t-base); }
.side-rail.is-expanded .side-rail__toggle svg { transform: rotate(180deg); }
.side-rail:not(.is-expanded) .side-rail__toggle-text { display: none; }

/* ---------- 7. HERO ---------- */
/* podstránky bez hero (privacy, cookies) potrebujú odsadenie pod fixný header */
body { padding-top: var(--header-h); }
/* stránky s hero — obrázok ide POD priehľadné menu (menu leží na obrázku) */
body:has(.hero) { padding-top: 0; }
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 6rem);
  color: var(--color-white);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
  /* zoom animácia obrázka (scale) nesmie pretiecť mimo médium —
     na mobile by inak prekrývala lištu buttonov pod bannerom */
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  to { transform: scale(1.12); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 21, 48, 0.58) 0%, rgba(15, 21, 48, 0.18) 26%, rgba(15, 21, 48, 0) 42%),
    linear-gradient(180deg, rgba(15, 21, 48, 0.22) 0%, var(--color-hero-overlay) 58%, rgba(15, 21, 48, 0.78) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: calc(var(--side-rail) + 1.5rem);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}
.hero__eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-lime-500);
}
.hero__title {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero__subtitle {
  font-size: var(--fs-lead);
  max-width: 50ch;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 720px);
  margin: clamp(1.5rem, 4vh, 2.5rem) 0 0;
  padding: 0;
  background: rgba(15, 21, 48, 0.42);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
}
.hero__proof-item {
  padding: 0.9rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.hero__proof-item:last-child { border-right: 0; }
.hero__proof dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-lime-300);
}
.hero__proof dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw, 1.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}
.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }

/* hero podstránka — kratší */
.hero--page {
  min-height: 60vh;
  align-items: flex-end;
}
/* pripomienka grafičky 10/2026: nadpis podstránky zarovnať naľavo s textom (ľavý okraj containera = bez extra odsadenia) a zväčšiť */
.hero--page .hero__title { font-size: clamp(2.4rem, 3.4vw + 1rem, 4.5rem); max-width: 26ch; line-height: 1.1; overflow-wrap: anywhere; }
.hero--page .hero__content { padding-left: 0; }
/* dlhé nadpisy (články/podujatia) nesmú zasahovať do fixnej hlavičky s logom (pripomienka klienta 10/2026):
   obsah hero začína až pod hlavičkou a banner sa pri dlhom titulku natiahne */
.hero--page { padding-top: calc(var(--header-h) + 1.5rem); min-height: max(60vh, 420px); }
.hero--page .hero__content { padding-bottom: 2.5rem; }
/* grafička 29.10.2026: nadpis podstránky ešte väčší a nižšie (bližšie k spodnej hrane);
   dlhé titulky (> 40 znakov, trieda hero__title--long) ostávajú menšie, aby sa zmestili */
.hero--page { padding-bottom: clamp(1.75rem, 4vh, 2.75rem); }
.hero--page .hero__content { padding-bottom: 0; }
.hero--page .hero__title { font-size: clamp(3rem, 4.4vw + 1rem, 7rem); max-width: 22ch; margin-bottom: 0; line-height: 1.05; }
.hero--page .hero__title--long { font-size: clamp(2.4rem, 2.6vw + 1rem, 4.5rem); max-width: 28ch; line-height: 1.1; }
/* blog: stránka článku je orientovaná na stred (bez bočného panelu) → nadpis na stred aj na PC */
.hero--post .hero__content { text-align: center; }
.hero--post .hero__title { margin-inline: auto; }

/* ---------- 7b. HERO ÚVOD (vzor avoriaz.com) ----------
   Desktop: nadpis vertikálne vycentrovaný, buttony ukotvené v ľavom
   spodnom rohu banneru. Mobil (≤768px): buttony v plnofarebnej lište
   HNEĎ POD bannerom (nie cez fotografiu). */
.hero--home {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding-bottom: 0;
}
/* pripomienka grafičky 10/2026: domovská stránka je orientovaná na stred → nadpis v hero na stred a väčší */
.hero--home .hero__content {
  padding-left: 0;
  text-align: center;
}
.hero--home .hero__title {
  font-size: clamp(3rem, 6.5vw + 0.5rem, 7rem);
  max-width: 20ch;
  margin-inline: auto;
}
/* PC: vertikálny blok buttonov pri ĽAVOM OKRAJI banneru (vzor avoriaz.com —
   stĺpec farebných obdĺžnikov limetková/tyrkys/navy). Poloha aj šírka sú
   fluidné (clamp/vw) — plynulo sa prispôsobujú veľkosti obrazovky. */
.hero--home .hero__actions {
  position: absolute;
  left: clamp(1rem, 2vw, 2rem);
  right: auto;
  bottom: clamp(2rem, 6vh, 4.5rem);
  z-index: 2;
  width: auto;
  margin: 0;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
/* keď je viditeľný side-rail (≥1465px), blok sa posunie tesne za neho */
@media (min-width: 1465px) {
  .hero--home .hero__actions { left: calc(var(--side-rail) + 1.25rem); }
}
.hero--home .hero__actions .btn {
  width: clamp(240px, 23vw, 340px);
  justify-content: space-between;
  text-align: left;
  box-shadow: var(--shadow-md);
}
/* tretí button (rezervácia) v bloku plnofarebne navy — obrys by v stacku zanikol */
.hero--home .hero__actions .btn--secondary {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}
.hero--home .hero__actions .btn--secondary:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy);
}


@media (max-width: 768px) {
  /* .hero.hero--home — vyššia špecificita, aby neskoršie mobilné pravidlo .hero nižšie v súbore neprebilo lištu */
  .hero.hero--home {
    --hero-mobile-h: 68svh;
    display: block;
    min-height: 0;
    padding: 0;
  }
  .hero--home .hero__media {
    position: relative;
    inset: auto;
    height: var(--hero-mobile-h);
  }
  .hero--home .hero__content {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--hero-mobile-h);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 0 var(--gutter) 1.75rem;
  }
  /* nadpis úvodu na mobile: vycentrovaný, väčší, slová POD SEBOU (pripomienka klienta) */
  .hero--home .hero__title {
    font-size: clamp(2.25rem, 9.5vw, 3rem); /* mobil menší (klient 20.10.2026) */
    max-width: min-content; /* každé slovo na vlastnom riadku */
    margin-inline: auto;
  }
  /* lišta buttonov pod bannerom — plné farby, ostré hrany, 1px deliace linky;
     buttony VEDĽA SEBA v jednom riadku (pripomienka klienta) — auto-flow column
     rozdelí šírku rovnomerne len medzi viditeľné (sezónne skryté netvoria stĺpec) */
  .hero--home .hero__actions {
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 1px;
    background: var(--color-navy-900);
  }
  .hero--home .hero__actions .btn {
    width: auto; /* reset desktop clamp šírky — v gridovej lište plní stĺpec */
    justify-content: center;
    min-height: 56px;
    border: 0;
    padding: 0.6rem 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: normal;
    text-align: center;
  }
  .hero--home .hero__actions .btn .icon { display: none; }
  .hero--home .hero__actions .btn--secondary {
    background: var(--color-navy);
    color: var(--color-white);
  }
}

/* ---------- 8. STATUS BAR (sekcia 1) ---------- */
.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--color-navy-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.status-tile {
  flex: 1 1 140px;
  background: var(--color-white);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  transition: background var(--t-fast), transform var(--t-fast);
  cursor: pointer;
}
.status-tile:hover { background: var(--color-navy-50, var(--color-gray-50)); transform: translateY(-2px); }
.status-tile__icon {
  width: 36px; height: 36px;
  color: var(--color-turquoise-500);
}
.status-tile__value {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-navy-900);
  line-height: 1;
}
.status-tile__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- 9. FEATURE SPLIT (Sekcia Zjazdovky) ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.feature-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.feature-split__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.feature-split__media:hover img { transform: scale(1.04); }
.feature-split__body h2 { margin-bottom: 1rem; }
.feature-split__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-split__list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 500; color: var(--color-navy-700);
}
.feature-split__list li::before {
  content: '';
  flex: 0 0 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-turquoise-500);
}
.season-summer .feature-split__list li::before { background: var(--color-lime-500); }

/* ---------- 10. CARD GRID (Atrakcie, Ubytovanie, Gastro) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.card-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
/* keď sezónna fíčra skryje karty, grid sa zúži a vycentruje (karty sa neroztiahnu) */
.card-grid.is-reduced {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
}

.card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  isolation: isolate;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
  /* vlastná GPU vrstva od začiatku → Chrome rasterizuje v plnom rozlíšení a pri hover zoome obrázok nerozmaže */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}
.card:hover .card__media img,
.card:focus-visible .card__media img { transform: translateZ(0) scale(1.06); }
.card__body { padding: 1.25rem; }
.card__title { font-size: 1.25rem; margin-bottom: 0.4rem; }
.card__desc { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; line-height: 1.5; }
.card__cta {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-turquoise-500);
}
.card__cta::after { content: '→'; transition: transform var(--t-fast); }
.card:hover .card__cta::after { transform: translateX(3px); }

/* hlavička sekcie (eyebrow + h2) → vždy rovnaký odstup od obsahu, aj keď editor inline štýl vynechal (staging: Ubytujte sa v centre diania) */
.section > .container > .text-center:first-child { margin-bottom: 2.5rem; }

/* zarovnanie odkazov v kartách: telo je flex stĺpec, CTA/akcie sa tlačia na spodok → v rade kariet sú v jednej rovine */
.card { display: flex; flex-direction: column; }
.card__media { flex-shrink: 0; }
.card__body { flex: 1 1 auto; display: flex; flex-direction: column; }
.card__body .card__cta,
.card__body .card__actions { margin-top: auto; padding-top: 0.85rem; }
.card--overlay .card__body { flex: none; }

/* holidayinfo webkamera (SDK operator.holidayinfo.sk): widget je absolútne pozicovaný a kontajneru nastaví výšku 7:5 →
   medzi 16:9 videom a spodnou info lištou vznikala medzera. Výška = 16:9 video + lišta (60 px / 49 px mobil). */
#holidayinfo { position: relative; height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 9; box-sizing: content-box; padding-bottom: 60px; margin-bottom: 1.5rem; overflow: hidden; }
#holidayinfo > div { height: calc(100% + 60px) !important; min-height: 0 !important; padding-top: 0 !important; } /* obal SDK: 16:9 video + lišta */
#holidayinfo .hi-camera { height: 100% !important; }
#holidayinfo .-hi-cam-toolbar { top: auto !important; bottom: 0 !important; } /* SDK počíta top z vlastnej 7:5 výšky */
@media (max-width: 769px) { #holidayinfo { padding-bottom: 49px; } #holidayinfo > div { height: calc(100% + 49px) !important; } }

/* trate: piktogramy náročnosti, označenie, parametre, tabuľka (body 9/10) */
.track-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem; }
.track-badges--lg { font-size: 0.95rem; margin-bottom: 1rem; }
.track-code { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 0.4rem; background: var(--color-navy); color: var(--color-white); font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; }
.track-diff { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6); }
.track-diff--green { background: #2E9E4F; } .track-diff--blue { background: #1E6FD9; } .track-diff--red { background: #D93636; } .track-diff--black { background: #1D1D1B; }
.track-diff--blue-red { background: linear-gradient(90deg, #1E6FD9 50%, #D93636 50%); } /* stredne ľahká */
.track-diff--red-black { background: linear-gradient(90deg, #D93636 50%, #1D1D1B 50%); } /* stredne ťažká */
.track-ico--type { width: 26px; height: 26px; object-fit: contain; filter: brightness(0) saturate(100%) invert(14%) sepia(30%) saturate(1500%) hue-rotate(200deg) brightness(90%); } /* navy tón sivých PNG ikon */
.track-ico--snow, .track-ico--light { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) saturate(100%) invert(35%) sepia(60%) saturate(500%) hue-rotate(150deg); }
.track-ico--light { background-image: none; }
.track-ico { display: inline-block; width: 18px; height: 18px; vertical-align: middle; background-repeat: no-repeat; background-size: contain; }
.track-ico--light { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D2D700' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4' fill='%23D2D700'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1'/%3E%3C/svg%3E"); }
.track-status { margin-left: auto; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.15rem 0.5rem; }
.track-status--open { background: #E4F5E9; color: #1D7A3A; } .track-status--closed { background: #FBE7E7; color: #B02A2A; }
.track-meta { font-weight: 600; color: var(--color-navy); }
.track-breadcrumb { font-size: 0.9rem; margin-bottom: 1rem; }
.track-params { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; margin: 0 0 1.5rem; }
.track-params__item { background: var(--color-gray-100, #f3f4f6); padding: 0.75rem 1rem; }
.track-params__item dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); }
.track-params__item dd { margin: 0.2rem 0 0; font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--color-navy); display: flex; align-items: center; gap: 0.4rem; }
.slopes-table--rich th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); text-align: left; padding: 0.4rem 0.6rem; }
.slopes-table__badges { white-space: nowrap; }
.slopes-table__badges > * { margin-right: 0.35rem; }
.table-wrap { overflow-x: auto; }

/* vysvetlivky ikon pod tabuľkou stavu zjazdoviek */
.slopes-legend { margin-top: 2.5rem; padding: 1.5rem; background: var(--color-gray-100, #f3f4f6); }
.slopes-legend h3 { margin-bottom: 1rem; }
.slopes-legend h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin: 0.75rem 0 0.4rem; }
.slopes-legend__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; }
.slopes-legend ul { list-style: none; padding: 0; margin: 0; }
.slopes-legend li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; line-height: 1.4; margin-bottom: 0.45rem; }
.slopes-legend li > *:first-child { flex-shrink: 0; margin-top: 2px; }
.slopes-legend .status-badge { font-size: 0.6rem; line-height: 1; padding: 0.2rem 0.4rem; }
@media (max-width: 768px) { .slopes-legend__grid { grid-template-columns: 1fr; } }
/* vysvetlivky v bočnom paneli (aside__card--legend) */
.aside .slopes-legend { margin: 0; padding: 0; background: none; }
.aside .slopes-legend h3 { display: none; }
.aside .slopes-legend h4 { margin: 0.6rem 0 0.3rem; }
.aside .slopes-legend__grid { grid-template-columns: 1fr; gap: 0; }
.aside .slopes-legend li { font-size: 0.82rem; margin-bottom: 0.35rem; }

/* otváracie hodiny — podrobný rozpis ([[hodiny_tabulka]]) */
.opening-hours__season { margin: 1rem 0 1.5rem; }
.opening-hours__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; font-size: 1.15rem; margin-bottom: 0.5rem; }
.opening-hours__summary { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.005em; color: var(--color-turquoise-500); }
.opening-hours__table { width: 100%; max-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.opening-hours__table th, .opening-hours__table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--color-gray-200, #e5e7eb); text-align: left; vertical-align: top; }
.opening-hours__table th { font-weight: 600; color: var(--color-text); width: 45%; }
.opening-hours__table td { font-variant-numeric: tabular-nums; }
.opening-hours__note { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.5rem; }

/* YouTube lite embed (video-embed.js): náhľad + Prehrať, iframe až po kliknutí, prehráva na stránke */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--color-navy);
  overflow: hidden;
  cursor: pointer;
}
.video-embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease), opacity var(--t-base); }
.video-embed:hover img { transform: scale(1.04); }
.video-embed__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border: 0; padding: 0; cursor: pointer;
  background: var(--color-lime);
  display: grid; place-items: center;
  transition: transform var(--t-fast), background var(--t-fast);
}
.video-embed__play::before { content: ''; margin-left: 4px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--color-navy); }
.video-embed:hover .video-embed__play { transform: translate(-50%, -50%) scale(1.08); }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-embed__msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; background: rgba(15,21,48,0.75); color: var(--color-white); font-weight: 600; }
.video-embed--webcam::before { content: 'LIVE'; position: absolute; top: 10px; left: 10px; z-index: 2; background: #D93636; color: #fff; font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.2rem 0.5rem; }
.video-embed--webcam.is-playing::before { display: none; }
.video-embed.is-playing img, .video-embed.is-playing .video-embed__play { display: none; }
.video-embed__caption { font-size: 0.9rem; color: var(--color-text-muted); margin-top: 0.5rem; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.video-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.video-grid--single { grid-template-columns: minmax(0, 760px); }
.video-grid--cols-1 { grid-template-columns: 1fr; gap: 2rem; } /* webkamery — každá na celú šírku */
.video-grid > figure { margin: 0; }
@media (max-width: 768px) { .video-grid, .video-grid--cols-3 { grid-template-columns: 1fr; } }

/* karta bez celoplošného linku — klikateľné sú len akčné odkazy (úvod: ubytovanie) */
.card--static:hover { transform: none; box-shadow: var(--shadow-sm); }
.card--static:hover .card__media img { transform: none; }
.card--static:hover .card__cta::after { transform: none; }
.card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.85rem; }
.card__actions .card__cta { margin-top: 0; }
.card__actions .card__cta:hover { text-decoration: underline; }
.card__actions .card__cta:hover::after { transform: translateX(3px); }
.card__cta--secondary { color: var(--color-navy, var(--color-text)); }

/* card varianta — overlay (foto cez celé) */
.card--overlay { color: var(--color-white); }
.card--overlay .card__media { aspect-ratio: 3 / 4; }
.card--overlay .card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,21,48,0.08) 20%, rgba(15,21,48,0.55) 58%, rgba(15,21,48,0.92) 100%);
  z-index: 1;
}
.card--overlay .card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.5rem;
}
.card--overlay .card__title { color: var(--color-white); }
.card--overlay .card__desc { color: rgba(255,255,255,0.85); }
.card--overlay .card__cta { color: var(--color-lime); }

/* card price (ubytovanie) */
.card__price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 0.75rem;
}
.card__price-from { font-size: 0.78rem; color: var(--color-text-muted); }
.card__price-amount { font-family: var(--font-body); font-weight: 700; font-size: 1.4rem; color: var(--color-navy-900); }

/* ---------- 11. STATS BAR (sekcia 4 — limetkové dlaždice) ---------- */
.stats-bar {
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.stats-bar h1, .stats-bar h2, .stats-bar h3, .stats-bar h4 { color: var(--color-white); }
.stats-bar .eyebrow { color: var(--color-lime); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.5rem, 1.5vw, 1.5rem);
}
.stat-tile {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  position: relative;
}
.stat-tile__value {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--color-lime);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-tile__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.78);
  line-height: 1.3;
}

/* ---------- 12. CTA STRIPE (limetkový pás z brand manuálu) ---------- */
.cta-stripe {
  background: var(--color-lime);
  color: var(--color-navy-900);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-stripe__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
/* pripomienka grafičky 10/2026: text CTA pásu tmavomodrý (farba nadpisov) a väčší */
.cta-stripe__title { font-size: clamp(1.75rem, 3vw, 3rem); margin: 0; max-width: 30ch; }
.cta-stripe__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cta-stripe .btn--primary { background: var(--color-navy); color: var(--color-white); }
/* na limetkovom páse: inverzný hover — biely podklad, tmavomodrý text */
.cta-stripe .btn--primary:hover { background: var(--color-white); color: var(--color-navy); }

/* ---------- 13. NEWSLETTER ---------- */
.newsletter {
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.newsletter h2 { color: var(--color-white); }
.newsletter p { color: rgba(255,255,255,0.78); }
.newsletter__form {
  display: flex;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  padding: 4px;
  box-shadow: var(--shadow-md);
}
.newsletter__input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-navy-900);
  border: none;
  background: transparent;
  outline: none;
  min-width: 0;
}
.newsletter__form .btn { flex-shrink: 0; }
/* honeypot proti spam botom — vizuálne aj pre čítačky neexistuje */
.nl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* poďakovanie po prihlásení (newsletter.js nahrádza formulár) — na navy páse */
.newsletter__success {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  background: rgba(210, 215, 0, 0.14);
  border: 2px solid var(--color-lime);
  color: var(--color-white);
  font-weight: 600;
}
.newsletter__error { margin-top: 0.5rem; color: #FFB4B4; font-weight: 600; }

/* ---------- 14. FOOTER ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  color: rgba(255,255,255,0.78);
  padding: 4rem 0 1.5rem;
}
/* jemná silueta hôr v spodnom pozadí footera */
.footer::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 200px;
  pointer-events: none;
  z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='200' viewBox='0 0 1440 200' preserveAspectRatio='xMidYMax slice'%3E%3Cpath d='M0,200 L180,96 L300,150 L470,60 L620,140 L800,72 L980,150 L1160,84 L1320,140 L1440,92 L1440,200 Z' fill='%2300A7A7' fill-opacity='0.07'/%3E%3Cpath d='M0,200 L240,140 L420,170 L600,110 L820,160 L1040,120 L1260,165 L1440,130 L1440,200 Z' fill='%23FFFFFF' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
}
.footer .container { position: relative; z-index: 1; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.6fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 3rem;
}
/* mapa Google (Ski Bachledka) — iframe vkladá footer-map.js po súhlase s cookies / kliknutí */
.footer__map {
  position: relative;
  min-height: 220px;
  height: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
.footer__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.footer__map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 1rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.78);
}
.footer__map-placeholder svg { width: 28px; height: 28px; color: var(--color-lime); }
.footer__map-placeholder a { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.footer__map-placeholder a:hover { color: var(--color-lime); }
.footer__map.is-loaded .footer__map-placeholder { display: none; }
.footer__brand img {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
  /* biely variant loga na tmavomodrom footeri (inak nečitateľné) */
  filter: brightness(0) invert(1);
}
.footer__tagline { font-size: 0.9rem; line-height: 1.5; max-width: 32ch; }
.footer__title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer__list a { color: rgba(255,255,255,0.78); font-size: 0.9rem; transition: color var(--t-fast); }
.footer__list a:hover { color: var(--color-lime); }
.footer__contact-line { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; line-height: 1.5; }
.footer__contact-line svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--color-turquoise-300); }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer__social-link {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: var(--color-white);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.footer__social-link svg,
.footer__social-link i {
  width: 20px; height: 20px;
  color: currentColor;
  stroke: currentColor;
}
.footer__social-link:hover {
  background: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-navy-900);
  transform: translateY(-2px);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer__legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,0.6); }
.footer__legal a:hover { color: var(--color-lime); }

/* ---------- 15. CHATBOT ---------- */
.chatbot-toggle {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-turquoise-500);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast), background var(--t-fast);
}
.chatbot-toggle:hover { transform: scale(1.06); background: var(--color-turquoise-700); }
.chatbot-toggle svg { width: 28px; height: 28px; }
.chatbot-toggle::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-turquoise-300);
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { opacity: 0.7; transform: scale(0.95); }
  100% { opacity: 0; transform: scale(1.25); }
}

.chatbot {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 91;
  width: min(380px, calc(100vw - 2rem));
  height: min(560px, calc(100vh - 4rem));
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.chatbot.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chatbot__header {
  background: var(--color-turquoise-500);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.chatbot__title { display: flex; align-items: center; gap: 0.6rem; }
.chatbot__avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.16);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.chatbot__name { font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.1; }
.chatbot__status { font-size: 0.7rem; color: rgba(255,255,255,0.7); }
.chatbot__close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  border-radius: 50%;
  transition: background var(--t-fast);
}
.chatbot__close:hover { background: rgba(255,255,255,0.16); }
.chatbot__body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--color-gray-50);
}
.chat-msg {
  max-width: 80%;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: msgIn 0.3s var(--ease);
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg--bot {
  align-self: flex-start;
  background: var(--color-white);
  color: var(--color-navy-900);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--color-turquoise-500);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}
.chatbot__suggestions { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.5rem; background: var(--color-gray-50); }
.chatbot__chip {
  padding: 0.4rem 0.8rem;
  background: var(--color-white);
  border: 1px solid var(--color-navy-100);
  color: var(--color-navy-700);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast);
}
.chatbot__chip:hover { background: var(--color-turquoise-100); color: var(--color-turquoise-700); }
.chatbot__form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem;
  border-top: 1px solid var(--color-gray-100);
  background: var(--color-white);
}
.chatbot__input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--color-navy-900);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-pill);
  background: var(--color-gray-50);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.chatbot__input:focus { border-color: var(--color-turquoise-500); background: var(--color-white); }
.chatbot__send {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-turquoise-500);
  color: var(--color-white);
  border-radius: 50%;
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.chatbot__send:hover { background: var(--color-turquoise-700); }

/* ---------- 15b. PROMO POP-UP (podujatia / novinky — vzor avoriaz.com) ----------
   Desktop: pravý spodný roh (nad chatbot bublinou). Mobil: cez hlavný banner.
   Zobrazuje sa automaticky pri načítaní (main.js), zavretie si pamätá session. */
.promo-popup {
  position: fixed;
  right: 1.5rem;
  bottom: calc(1.5rem + 60px + 1rem);   /* nad chatbot toggle (60px) */
  z-index: 89;
  width: min(340px, calc(100vw - 2rem));
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--color-lime);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  /* animuje sa LEN opacity + transform (kompozitná animácia — Lighthouse „nezložené animácie");
     visibility sa prepína bez transition, fade-out pri zatvorení rieši .is-closing (main.js) */
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.promo-popup.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.promo-popup.is-visible.is-closing { opacity: 0; transform: translateY(16px); pointer-events: none; }
.promo-popup__close {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  z-index: 2;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-navy);
  color: var(--color-white);
  transition: background var(--t-fast);
}
.promo-popup__close:hover { background: var(--color-navy-900); }
.promo-popup__close svg { width: 16px; height: 16px; }
.promo-popup__link { display: block; color: inherit; }
.promo-popup__media { aspect-ratio: 16 / 9; overflow: hidden; }
.promo-popup__media img { width: 100%; height: 100%; object-fit: cover; }
.promo-popup__body { padding: 1rem 1.15rem 1.15rem; }
.promo-popup__tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-lime);
  color: var(--color-navy-900);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.promo-popup__title { font-size: 1.1rem; margin-bottom: 0.35rem; }
.promo-popup__text { font-size: 0.85rem; color: var(--color-text-muted); margin: 0 0 0.6rem; line-height: 1.45; }
.promo-popup__cta {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-turquoise-500);
}
.promo-popup__cta::after { content: '→'; transition: transform var(--t-fast); }
.promo-popup__link:hover .promo-popup__cta::after { transform: translateX(3px); }

@media (max-width: 768px) {
  /* mobil: pop-up cez hlavný banner (vycentrovaný v hornej časti obrazovky) */
  .promo-popup {
    right: 50%;
    bottom: auto;
    top: 22svh;
    transform: translate(50%, 16px);
    width: min(400px, calc(100vw - 2.5rem));
  }
  .promo-popup.is-visible { transform: translate(50%, 0); }
  .promo-popup.is-visible.is-closing { transform: translate(50%, 16px); }
}

/* ---------- 16. COOKIES BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 92;
  background: var(--color-white);
  border-top: 4px solid var(--color-lime);
  box-shadow: 0 -10px 40px rgba(15,21,48,0.15);
  padding: 1.25rem var(--gutter);
  transform: translateY(100%);
  transition: transform var(--t-base) var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; min-width: 280px; font-size: 0.9rem; }
.cookie-banner__text strong { display: block; margin-bottom: 0.25rem; font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--color-navy-900); }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* cookies modal */
.modal-backdrop {
  position: fixed; inset: 0;
  z-index: 110;
  background: rgba(15,21,48,0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform var(--t-base) var(--ease);
}
.modal-backdrop.is-open .modal { transform: scale(1); }
.modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-gray-100);
}
.modal__title { font-size: 1.5rem; }
.modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.modal__close:hover { background: var(--color-gray-100); }
.modal__body { padding: 1.5rem; }
.modal__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-gray-100);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-cat {
  padding: 1rem;
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.cookie-cat__body { flex: 1; }
.cookie-cat__title { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--color-navy-900); margin-bottom: 0.25rem; }
.cookie-cat__desc { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* toggle switch */
.switch {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch__slider {
  position: absolute; cursor: pointer;
  inset: 0;
  background: var(--color-gray-200);
  border-radius: 999px;
  transition: background var(--t-fast);
}
.switch__slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.switch input:checked + .switch__slider { background: var(--color-turquoise-500); }
.switch input:checked + .switch__slider::before { transform: translateX(20px); }
.switch input:disabled + .switch__slider { background: var(--color-navy-700); opacity: 0.6; cursor: not-allowed; }

/* ---------- 17. SUBPAGE — breadcrumbs + sticky subnav ---------- */
.breadcrumbs {
  background: var(--color-gray-50);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}
.breadcrumbs__list {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  list-style: none;
  padding: 0; margin: 0;
  font-size: 0.85rem;
}
.breadcrumbs__list li { display: flex; align-items: center; gap: 0.4rem; color: var(--color-text-muted); }
.breadcrumbs__list li:not(:last-child)::after {
  content: '›';
  color: var(--color-gray-400);
}
.breadcrumbs__list a { color: var(--color-text-muted); }
.breadcrumbs__list a:hover { color: var(--color-turquoise-700); }
.breadcrumbs__list li:last-child { color: var(--color-navy-900); font-weight: 500; }

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray-100);
}
/* klikateľné šípky na posúvanie menu atrakcie (pripomienka klienta) — vkladá main.js.
   Samostatné pevné tlačidlá PO STRANÁCH listu (flex súrodenci, nie overlay) —
   text menu pod ne nezateká. Zobrazia sa, len keď je menu scrollovateľné;
   neaktívny smer je stlmený. */
.subnav .container { position: relative; display: flex; align-items: stretch; }
.subnav__list { flex: 1; min-width: 0; }
.subnav__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  flex: 0 0 2.75rem;
  background: var(--color-white);
  color: var(--color-turquoise-500);
  transition: opacity var(--t-fast) var(--ease), color var(--t-fast);
}
.subnav__arrow:hover { color: var(--color-navy-900); }
.subnav__arrow--prev { border-right: 1px solid var(--color-gray-100); }
.subnav__arrow--next { border-left: 1px solid var(--color-gray-100); }
/* keď sa dá scrollovať aspoň jedným smerom, ukáž obe šípky (layout neskáče) */
.subnav.can-scroll-left .subnav__arrow,
.subnav.can-scroll-right .subnav__arrow { display: flex; }
.subnav:not(.can-scroll-left)  .subnav__arrow--prev,
.subnav:not(.can-scroll-right) .subnav__arrow--next { opacity: 0.25; pointer-events: none; }
.subnav__arrow svg { width: 20px; height: 20px; }
.subnav__list {
  display: flex; gap: 0.25rem;
  list-style: none;
  padding: 0; margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__link {
  display: inline-flex;
  align-items: center;
  padding: 1rem 1rem;
  /* sekčné menu článku v Ariane (voľba užívateľa — čitateľnosť) */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-navy-700);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  scroll-snap-align: start;
}
.subnav__link:hover, .subnav__link.is-active { color: var(--color-turquoise-700); border-bottom-color: var(--color-turquoise-500); }

/* mobil: väčšie a vzdušnejšie taby, jasnejší aktívny stav */
@media (max-width: 768px) {
  /* kompaktnejší header + menšie logo na mobile */
  :root { --header-h: 76px; }
  .header__logo img,
  .header.is-open .header__logo img { height: 42px; }

  .subnav__list { gap: 0; }
  .subnav__link {
    padding: 0.95rem 0.95rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }
  .subnav__link.is-active {
    background: var(--color-turquoise-100);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  /* šípky na posúvanie menu atrakcie rieši .subnav__arrow (klikateľné, vkladá main.js) */
}

/* article layout */
.article {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.article__main { min-width: 0; }
.article__main section { scroll-margin-top: calc(var(--header-h) + 84px); }
.attraction-logo {
  display: block;
  width: min(460px, 85%);
  height: auto;
  margin: 0 0 1.75rem;
}
/* logo presunuté na koniec článku (pripomienka klienta) */
.attraction-logo--end { margin: 3rem auto 0; }
.article__main h2 {
  /* menšie nadpisy sekcií v článku podstránky (pripomienka klienta — globálny h2 je tu príliš veľký) */
  font-size: clamp(1.4rem, 1.2vw + 0.9rem, 1.9rem);
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-lime);
}
.article__main h2:first-of-type { margin-top: 0; }
/* jednotné medzery NAD a POD nadpismi aj podnadpismi na celom webe (pripomienka grafičky 10/2026) */
.article__main h3 { font-size: clamp(1.35rem, 1vw + 0.95rem, 1.7rem); margin: 2rem 0 0.75rem; }
.article__main h4 { font-size: clamp(1.15rem, 0.6vw + 0.9rem, 1.35rem); margin: 1.5rem 0 0.6rem; }
.article__main h2 + h3, .article__main h3 + h4, .article__main section > h3:first-child, .article__main section > h4:first-child { margin-top: 0; }
.article__main :is(h2, h3, h4) + :is(p, ul, ol, figure, div) { margin-top: 0; }
.article__main p, .article__main ul, .article__main ol { margin-top: 0; margin-bottom: 1rem; }
.article__main :is(p, ul, ol) + :is(h3, h4) { margin-top: 2rem; }
.article__main p { font-size: 1.05rem; color: var(--color-navy-700); line-height: 1.7; }
.article__main ul { font-size: 1rem; color: var(--color-navy-700); line-height: 1.7; }

/* fotogaléria v článku — masonry (CSS columns): fotky sa NEorezávajú, každá si drží vlastný pomer strán
   (aj na výšku); pripomienka klienta 10/2026 — predtým pevná mriežka 4:3 s object-fit: cover */
.article__gallery {
  columns: 3 220px;
  column-gap: 0.75rem;
  margin: 1.5rem 0;
}
.article__gallery > * { min-width: 0; margin: 0 0 0.75rem; break-inside: avoid; display: block; }
.article__gallery img { width: 100%; height: auto; border-radius: var(--radius-md); display: block; }
@media (max-width: 768px) {
  .article__gallery { columns: 2 140px; column-gap: 0.5rem; }
  .article__gallery > * { margin-bottom: 0.5rem; }
}

/* sticky aside */
.aside { position: sticky; top: calc(var(--header-h) + 80px); align-self: start; display: flex; flex-direction: column; gap: 1rem; }
.aside__card {
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
}
.aside__card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-gray-100);
}
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.info-list li { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.9rem; }
.info-list .label { color: var(--color-text-muted); }
.info-list .value { font-weight: 600; color: var(--color-navy-900); }

.aside__cta {
  background: var(--color-lime);
  color: var(--color-navy-900);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
}
.aside__cta h3 { color: var(--color-navy-900); }
.aside__cta .btn { width: 100%; justify-content: center; margin-top: 0.6rem; background: var(--color-navy); color: var(--color-white); }
.aside__cta .btn:hover { background: var(--color-white); color: var(--color-navy); }

/* webcam preview */
.webcam-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}
.webcam-preview img { width: 100%; height: 100%; object-fit: cover; }
.webcam-preview::after {
  content: 'LIVE';
  position: absolute; top: 8px; left: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-white);
  background: rgba(255,0,0,0.85);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

/* FAQ accordion */
.faq__item {
  border-bottom: 1px solid var(--color-gray-100);
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.1rem 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-navy-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--t-fast);
}
.faq__q:hover { color: var(--color-turquoise-700); }
.faq__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__desc { margin: 0 0 1rem; color: var(--color-text-muted); line-height: 1.6; } /* popis zostavy z modulu FAQ */
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease);
}
.faq__a-inner { padding: 0 0 1.25rem; color: var(--color-text-muted); line-height: 1.6; }
.faq__item.is-open .faq__a { max-height: 500px; }

/* mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-white);
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--t-base) var(--ease), visibility var(--t-base);
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav__list { list-style: none; padding: 0; margin: 0; }
.mobile-nav__item { border-bottom: 1px solid var(--color-gray-100); }
.mobile-nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.5rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-navy-900);
}
/* submenu sa plynulo vysunie (max-height + fade) namiesto skokového zobrazenia */
.mobile-nav__sub {
  list-style: none;
  padding: 0 0 0 1rem;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--t-slow) var(--ease), opacity var(--t-base) var(--ease), padding var(--t-base);
}
.mobile-nav__item.is-open .mobile-nav__sub {
  max-height: 1200px;
  opacity: 1;
  padding-bottom: 0.5rem;
}
.mobile-nav__sub a {
  display: block;
  padding: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-navy-700);
}
.mobile-nav__caret { transition: transform var(--t-fast); }
.mobile-nav__item.is-open .mobile-nav__caret { transform: rotate(180deg); }
.mobile-nav__bottom { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }

/* ovládače na vrchu mobilného menu — sezóna + jazyk (doplnené podľa pripomienok klienta) */
.mobile-nav__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0 0.5rem 1.25rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-gray-100);
}
.mobile-nav__controls .season-toggle {
  background: var(--color-navy-100);
  border-color: var(--color-navy-100);
}
.mobile-nav__controls .season-toggle__btn { color: var(--color-navy-700); }
.mobile-nav__controls .season-toggle__btn.is-active { background: var(--color-navy); color: var(--color-white); }
.mobile-nav__controls .season-summer .season-toggle__btn[data-season="summer"].is-active,
.season-summer .mobile-nav__controls .season-toggle__btn[data-season="summer"].is-active { background: var(--color-lime); color: var(--color-navy-900); }
/* jazykové vlajky v mobilnom menu */
.mobile-nav__lang { display: inline-flex; align-items: center; gap: 0.4rem; }
.mobile-nav__lang button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 28px;
  padding: 0;
  border: 2px solid transparent;
  transition: border-color var(--t-fast);
}
.mobile-nav__lang button.is-active { border-color: var(--color-turquoise-500); }
.mobile-nav__lang .flag { width: 32px; height: 22px; }

/* rýchle menu hamburger menu (pripomienka klienta: zredukované — len texty
   položiek bez počtov/časov, kompaktné dlaždice aspoň 3 vedľa seba) */
.mobile-nav__quick {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  /* flex namiesto gridu: posledný neúplný riadok sa roztiahne na celú šírku (5 dlaždíc = 3 + 2, bez prázdneho miesta) */
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-gray-100);
}
.mobile-nav__quick li { display: flex; flex: 1 1 calc((100% - 1rem) / 3); }
.mobile-nav__quick a {
  display: flex;
  flex: 1;
  min-height: 78px; /* jednotná veľkosť dlaždíc — aj 2-riadkový text má rovnakú výšku */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem;
  background: var(--color-gray-50);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-navy-700);
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-nav__quick a:hover { background: var(--color-turquoise-100); color: var(--color-turquoise-700); }
.mobile-nav__quick svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-turquoise-500); }

/* CTA buttony z úvodného banneru na spodku hamburger menu — VEDĽA SEBA
   v jednej rovine (pripomienka klienta), pri nedostatku miesta sa zalomia */
.mobile-nav__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.mobile-nav__cta .btn {
  flex: 1 1 0;
  min-width: 105px;
  justify-content: center;
  padding: 0.7rem 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: normal;
  text-align: center;
}

/* ---------- 17b. LEGAL PAGES (privacy/cookies) — menšie nadpisy ---------- */
.legal h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.4rem); margin-top: 2rem; }
.legal .lead { font-size: 1.05rem; }
.legal p, .legal li { font-size: 0.95rem; }

/* ---------- 17c. SLIDER KARIET (pripomienka klienta) ----------
   Triedu .is-slider prideľuje main.js vždy, keď by sa karty zalomili do
   2 a viac riadkov (alebo na mobile ≤768px) — grid sa zmení na
   horizontálny scroll-snap carousel s bodkami a klikateľnými šípkami. */
.card-grid.is-slider {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0.9rem;
  /* full-bleed: slider siaha po okraje obrazovky, prvá karta zarovnaná s obsahom */
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scroll-padding-left: var(--gutter);
}
.card-grid.is-slider::-webkit-scrollbar { display: none; }

/* CLS fix: na mobile (≤768px) je slider layout aktívny už od PRVÉHO renderu —
   main.js tam .is-slider prideľuje vždy, ale až po načítaní, čo posúvalo layout (CLS 0.56) */
@media (max-width: 768px) {
  .card-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.9rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-left: var(--gutter);
  }
  .card-grid::-webkit-scrollbar { display: none; }
  .card-grid > * { flex: 0 0 82%; scroll-snap-align: start; }
}
/* CLS fix (6. 11. 2026, PageSpeed CLS 0.475): grid, ktorý by sa zalomil (viac kariet ako stĺpcov),
   je slider už od PRVÉHO renderu — main.js mu .is-slider pridá až po načítaní a layout skákal.
   Počítajú sa len karty viditeľné v aktuálnej sezóne (data-season-only). */
@media (min-width: 1101px) {
  .season-winter .card-grid--cols-3:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="summer"]))),
.season-summer .card-grid--cols-3:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="winter"]))),
.season-winter .card-grid--cols-4:not([data-no-slider]):has(> :nth-child(5 of :not([data-season-only="summer"]))),
.season-summer .card-grid--cols-4:not([data-no-slider]):has(> :nth-child(5 of :not([data-season-only="winter"]))),
.season-winter .card-grid--cols-5:not([data-no-slider]):has(> :nth-child(6 of :not([data-season-only="summer"]))),
.season-summer .card-grid--cols-5:not([data-no-slider]):has(> :nth-child(6 of :not([data-season-only="winter"]))) {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 0.9rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-left: var(--gutter);
  }
.season-winter .card-grid--cols-3:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="summer"]))) > *,
.season-summer .card-grid--cols-3:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="winter"]))) > *,
.season-winter .card-grid--cols-4:not([data-no-slider]):has(> :nth-child(5 of :not([data-season-only="summer"]))) > *,
.season-summer .card-grid--cols-4:not([data-no-slider]):has(> :nth-child(5 of :not([data-season-only="winter"]))) > *,
.season-winter .card-grid--cols-5:not([data-no-slider]):has(> :nth-child(6 of :not([data-season-only="summer"]))) > *,
.season-summer .card-grid--cols-5:not([data-no-slider]):has(> :nth-child(6 of :not([data-season-only="winter"]))) > * { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .season-winter .card-grid--cols-3:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="summer"]))),
.season-summer .card-grid--cols-3:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="winter"]))),
.season-winter .card-grid--cols-4:not([data-no-slider]):has(> :nth-child(3 of :not([data-season-only="summer"]))),
.season-summer .card-grid--cols-4:not([data-no-slider]):has(> :nth-child(3 of :not([data-season-only="winter"]))),
.season-winter .card-grid--cols-5:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="summer"]))),
.season-summer .card-grid--cols-5:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="winter"]))) {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 0.9rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-left: var(--gutter);
  }
.season-winter .card-grid--cols-3:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="summer"]))) > *,
.season-summer .card-grid--cols-3:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="winter"]))) > *,
.season-winter .card-grid--cols-4:not([data-no-slider]):has(> :nth-child(3 of :not([data-season-only="summer"]))) > *,
.season-summer .card-grid--cols-4:not([data-no-slider]):has(> :nth-child(3 of :not([data-season-only="winter"]))) > *,
.season-winter .card-grid--cols-5:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="summer"]))) > *,
.season-summer .card-grid--cols-5:not([data-no-slider]):has(> :nth-child(4 of :not([data-season-only="winter"]))) > * { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }
}
.card-grid.is-slider.is-reduced { justify-content: flex-start; }
.card-grid.is-slider > * {
  flex: 0 0 min(82%, 320px);   /* vidno „kúsok" ďalšej karty → signál, že sa dá swipovať */
  scroll-snap-align: start;
}

/* ovládanie slidera: šípky + limetkové štvorčeky (pozícia) — zobrazí sa len pri aktívnom slideri */
.slider-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.1rem;
}
.card-grid.is-slider + .slider-controls { display: flex; }
.slider-arrow {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-navy-900);
  color: var(--color-navy-900);
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}
.slider-arrow:hover { background: var(--color-navy); color: var(--color-white); }
.slider-arrow:disabled { opacity: 0.3; pointer-events: none; }
.slider-arrow svg { width: 18px; height: 18px; }
.slider-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem;
}
.slider-dots__dot {
  /* klikateľná plocha 24×24 px (WCAG target-size), vizuálna bodka 9px cez ::before */
  width: 24px; height: 24px;
  padding: 0;
  position: relative;
  background: transparent;
}
.slider-dots__dot::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 9px;
  transform: translate(-50%, -50%);
  background: var(--color-navy-100);
  transition: background var(--t-fast), transform var(--t-fast);
}
.slider-dots__dot.is-active::before { background: var(--color-lime-500); transform: translate(-50%, -50%) scale(1.25); }
.slider-dots__count { display: none; font-size: 0.85rem; font-weight: 600; color: var(--color-navy-900); min-width: 4.5rem; text-align: center; line-height: 24px; }
@media (max-width: 640px) {
  .slider-dots--many .slider-dots__dot { display: none; }
  .slider-dots--many .slider-dots__count { display: inline-block; }
}

/* ---------- 18. ANIMATIONS — fade in on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1366px) {
  /* plné horizontálne menu sa nezmestí → kompaktný header s hamburgerom
     (zvýšené z 1280px — menu pretekalo do loga skôr, než sa prepol hamburger) */
  .nav, .header__actions .season-toggle, .header__actions .lang { display: none; }
  .hamburger { display: flex; }
  .header__inner { justify-content: space-between; }
}

/* JS poistka proti prekrývaniu loga: keď sa menu reálne nezmestí (meria main.js),
   telo dostane .nav-collapsed → hamburger sa zapne bez ohľadu na breakpoint */
.nav-collapsed .nav,
.nav-collapsed .header__actions .season-toggle,
.nav-collapsed .header__actions .lang { display: none; }
.nav-collapsed .hamburger { display: flex; }
.nav-collapsed .header__inner { justify-content: space-between; }

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid--cols-5 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .feature-split { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__map { grid-column: 1 / -1; min-height: 260px; }
  .footer__brand { grid-column: 1 / -1; }

  .article { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  /* pripomienka klienta: na mobile ide HORE len „Rýchle info";
     CTA (kúpiť lístok) + mapa idú na spodok stránky.
     display:contents → karty aside sa stanú priamymi flex položkami .article
     a dajú sa zoradiť cez order (medzery dodá gap na .article) */
  .aside { display: contents; }
  .aside__card--info { order: -1; }
  .article__main { order: 0; }
  .aside__cta, .aside__card--map { order: 1; }
  /* Instagram reel v aside ide na mobile HORE hneď pod „Rýchle info“ (pripomienka klienta 27. 10.) */
  .aside > .ig-reel { order: -1; float: none; margin: 0 auto; }
  .aside__card { padding: 1rem; }

}

/* Side-rail sa skryje HNEĎ, keď by zasahoval do obsahu (pripomienka klienta —
   notebookové šírky): container 1320px je centrovaný, takže ľavý okraj má
   (100vw − 1320px) / 2; lišta 72px sa zmestí až od 1320 + 2×72 = 1464px.
   Pod tým sa zobrazí status-fab + bottom sheet ako na mobile. */
@media (max-width: 1464px) {
  .hero__content { padding-left: var(--gutter); }
  .side-rail { display: none; }
}
/* len desktop/tablet bez side-railu — na mobile (≤768) hero__content POTREBUJE
   gutter padding (nulovanie mu odsekávalo nadpis na ľavom okraji) */
@media (min-width: 769px) and (max-width: 1464px) {
  .hero--home .hero__content { padding-left: 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  /* stav strediska: 3 dlaždice vedľa seba, ikony 18px ako v quick menu hamburgera */
  .status-bar { display: grid; grid-template-columns: repeat(3, 1fr); }
  .status-tile { padding: 0.85rem 0.4rem; gap: 0.3rem; }
  .status-tile__icon { width: 18px; height: 18px; }
  .status-tile__value { font-size: 1.05rem; }
  .status-tile__label { font-size: 0.6rem; letter-spacing: 0.04em; }

  /* „Kúpiť skipas" ostáva pripnutý v lište aj na mobile (pripomienka klienta) —
     rovnaká výška ako hamburger a lupa (44px, pripomienka klienta) */
  .header__actions .btn--primary {
    min-height: 44px;
    padding: 0 0.85rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }
  .header__search-btn { width: 44px; height: 44px; }
  /* istý odstup hamburgera od pravého okraja (aj pri notch/safe-area) */
  .header__inner { padding-right: max(1rem, env(safe-area-inset-right)); gap: 0.75rem; }
  .header__actions { gap: 0.5rem; }

  /* slider kariet: rieši trieda .card-grid.is-slider (sekcia 17c) — prideľuje ju main.js
     hneď, keď by sa karty zalomili do 2 riadkov (na mobile vždy) */
  .card-grid.is-slider > * { flex-basis: 82%; }

  .hero { min-height: 90vh; padding-bottom: 4rem; }
  /* podstránkové hero bannery: JEDNOTNÁ výška na mobile (pripomienka klienta) —
     všetky podstránky rovnako, nadpis ukotvený dole */
  .hero--page,
  .hero.hero--page {
    min-height: 0;
    height: clamp(320px, 52svh, 480px);
    padding-bottom: 1.75rem; /* rovnaké odsadenie nadpisu od spodnej hrany ako na úvode (grafička 10/2026) */
  }
  /* tlačidlá s dlhým textom sa na mobile zalamujú, neodsekávajú (klient 21.10.2026) */
  .btn { white-space: normal; max-width: 100%; box-sizing: border-box; text-align: center; line-height: 1.3; }
  .hero__title { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  /* nadpis podstránky na mobile: na stred a väčší (grafička 10/2026) */
  .hero--page .hero__content { padding-bottom: 0; text-align: center; }
  /* max 24ch + break-word: dátum s nezalomiteľnými medzerami („2. 11. – 30. 11. 2026") sa zmestí do jedného riadka (klient 29.10.2026) */
  .hero--page .hero__title { font-size: clamp(1.9rem, 7.5vw, 2.6rem); max-width: min(100%, 24ch); margin-inline: auto; overflow-wrap: break-word; text-wrap: balance; }
  .hero__subtitle { max-width: 36ch; }
  .hero__proof {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 1.25rem;
  }
  .hero__proof-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }
  .hero__proof-item:last-child { border-bottom: 0; }
  .hero__proof dt { margin-bottom: 0; }
  .hero__proof dd { text-align: right; font-size: 0.95rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: auto; }

  .cta-stripe__inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-stripe__actions { justify-content: center; width: 100%; }
}

@media (max-width: 400px) {
  /* veľmi úzke displeje — zmenši logo a ovládače (všetky ROVNAKÁ výška 38px) */
  .header__logo img,
  .header.is-open .header__logo img { height: 36px; }
  .header__search-btn { width: 38px; height: 38px; }
  .hamburger { width: 38px; height: 38px; }
  .header__actions .btn--primary { min-height: 38px; padding: 0 0.6rem; }
  .header__inner { gap: 0.5rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .newsletter__form { flex-direction: column; padding: 0; background: transparent; box-shadow: none; }
  .newsletter__input { background: var(--color-white); border-radius: var(--radius-pill); margin-bottom: 0.5rem; }
  .chatbot { right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); }
  .chatbot-toggle { right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .chatbot-toggle svg { width: 24px; height: 24px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

/* status panel pre mobile (bottom sheet trigger) */
.status-fab {
  display: none;
  position: fixed;
  left: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  padding: 0.7rem 1.1rem;
  background: var(--color-white);
  color: var(--color-navy-900);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-items: center;
  gap: 0.5rem;
}
.status-fab svg { width: 18px; height: 18px; color: var(--color-turquoise-500); }
/* bottom sheet „Stav strediska" — plynulé vysunutie zdola + fade pozadia */
.side-rail[data-mobile-open="1"] { animation: sheetUp 320ms var(--ease); }
@keyframes sheetUp { from { transform: translateY(100%); } }
#side-rail-backdrop { animation: fadeIn 250ms ease; }
@keyframes fadeIn { from { opacity: 0; } }
/* jemný nábeh sezónneho obsahu pri prepnutí Zima/Leto (pridáva season.js) */
.season-fade { animation: seasonFade 420ms var(--ease); }
@keyframes seasonFade { from { opacity: 0; transform: translateY(8px); } }
/* fab nahrádza side-rail všade, kde je lišta skrytá (viď 1464px breakpoint vyššie) */
@media (max-width: 1464px) {
  .status-fab { display: inline-flex; }
}
/* malý mobil: len ikona (kruh), aby tlačidlo neprekrývalo obsah, napr. cenové tabuľky */
@media (max-width: 600px) {
  .status-fab { padding: 0; width: 48px; height: 48px; justify-content: center; }
  .status-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .status-fab svg { width: 22px; height: 22px; }
}

/* ---------- Typografia mimo obsahu (voľba užívateľa) ----------
   Cheddar = LEN obsahové nadpisy (h1–h4) a hero titulok; nadpisy vo
   widgetoch/popupoch/bočných paneloch sú v Ariane kvôli čitateľnosti. */
.modal__title,
.promo-popup__title,
.aside__card h3,
.aside__cta h3,
.chatbot h3, .chatbot h4 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
}

/* prefers reduced motion — REDUKUJEME, nevypíname všetko (pripomienka klienta:
   web pôsobil úplne bez efektov, lebo Windows s vypnutými animáciami zhodil
   aj krátke fady menu). Vypnú sa len veľké/dekoratívne pohyby; drobné
   prechody (dropdowny, panely, hover) ostávajú — sú krátke a bezpečné. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .hero__scroll { animation: none !important; }
  .hero__media img { animation: none !important; } /* heroZoom */
  .chatbot-toggle::after { animation: none !important; }  /* pulse */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Instagram reel (blok „Instagram" v editore, video-embed.js): úzky rám ako v aplikácii, text obteká */
.ig-reel { width: min(340px, 100%); margin: 0.5rem auto 1.5rem; }
.ig-reel--right { float: right; margin: 0.25rem 0 1.25rem 2rem; }
.ig-reel--left { float: left; margin: 0.25rem 2rem 1.25rem 0; }
/* sekcia obalí plávajúci reel — ďalšia sekcia nezačne vedľa neho */
:where(section, article):has(> .ig-reel--left, > .ig-reel--right) { display: flow-root; }
.ig-reel__iframe { display: block; width: 100%; height: 620px; border: 1px solid #dbdbdb; border-radius: 12px; background: #fff; }
.ig-reel__ph {
  aspect-ratio: 9 / 16; border-radius: 12px; padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; text-align: center;
  color: #fff; background: linear-gradient(160deg, #515BD4 0%, #8134AF 30%, #DD2A7B 65%, #F58529 100%);
}
.ig-reel__logo { width: 52px; height: 52px; border: 4px solid #fff; border-radius: 15px; position: relative; }
.ig-reel__logo::before { content: ''; position: absolute; inset: 9px; border: 4px solid #fff; border-radius: 50%; }
.ig-reel__logo::after { content: ''; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; background: #fff; border-radius: 50%; }
.ig-reel__title { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.05em; }
.ig-reel__play { border: 0; cursor: pointer; padding: 0.7rem 1.4rem; background: #fff; color: #1F2B5D; font: 700 0.85rem var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; transition: transform var(--t-fast); }
.ig-reel__play:hover { transform: scale(1.05); }
.ig-reel__play:focus-visible, .ig-reel__open:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ig-reel__note { font-size: 0.75rem; opacity: 0.9; max-width: 240px; }
.ig-reel__open, .ig-reel__fallback { color: #fff; font-size: 0.85rem; text-decoration: underline; }
.ig-reel__fallback { display: block; padding: 1rem; background: #8134AF; border-radius: 12px; text-align: center; }
@media (max-width: 768px) {
  .ig-reel--right, .ig-reel--left { float: none; margin: 1rem auto 1.5rem; }
  /* mobil: reel až na záver sekcie (pod text, pred ďalší nadpis) */
  :where(section, article):has(> .ig-reel--left, > .ig-reel--right) { display: flex; flex-direction: column; }
  :where(section, article):has(> .ig-reel--left, > .ig-reel--right) > * { width: 100%; }
  :where(section, article):has(> .ig-reel--left, > .ig-reel--right) > .ig-reel { order: 99; width: min(320px, 86vw); margin: 1.5rem auto 0.5rem; }
  .ig-reel { width: min(320px, 86vw); }
}

/* ---------- video v slučke (video-embed.js, klient 29.10.2026) ---------- */
.video-embed.is-loop iframe { pointer-events: none; } /* bez ovládania — klik neotvára YouTube */
.video-embed.is-loop .video-embed__play { display: none; }
.hero__video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.hero__video.is-ready { opacity: 1; }
.hero__video iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 0; }
/* dlaždice „Aktuálny stav strediska" ako odkazy (klient 29.10.2026) */
a.status-tile { color: inherit; text-decoration: none; }

/* PageSpeed prístupnosť (6. 11. 2026): odkaz v texte pätičky sa nesmie líšiť len farbou */
.footer__bottom span a { text-decoration: underline; text-underline-offset: 2px; }
