/* Ellavia — vizuál inšpirovaný šablónou Tripvana ([tripvana-agency.webflow.io](https://tripvana-agency.webflow.io/)) */

:root {
  /* Pozadie: čistá biela + krémový / svetlo béžový */
  --bg: #ffffff;
  --bg-muted: #faf8f5;
  --bg-warm: #f5f1ea;
  --ink: #071532;
  --ink-soft: #3d4f66;
  --primary: #071532;
  --primary-soft: #0c2848;
  /* Zlatý akcent (nie agresívna oranžová) */
  --accent: #ac8510;
  --accent-soft: #c9a24a;
  --accent-deep: #8a6d0d;
  /* Jemná vrstva pozadia — rovnaká ako 404 / error hero */
  --portal-surface-gradient:
    radial-gradient(circle at 20% 20%, rgba(255, 153, 92, 0.10), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(99, 102, 241, 0.08), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(7, 21, 50, 0.1);
  --shadow-soft: 0 10px 32px rgba(7, 21, 50, 0.06);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  /* Spoľahlivá ochrana pred horizontálnym posunom (mobil): žiadny prvok nesmie roztiahnuť stránku
     do strany. Vertikálny scroll necháme prirodzene riadiť obsahom. */
  max-width: 100%;
  overflow-x: clip;
}
html.lenis, html.lenis body { height: auto; }
.ts-portal {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--portal-surface-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 900px) {
  .ts-portal {
    background-attachment: scroll;
  }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.shell {
  /* calc() — niektoré prehliadače nekorektne počítajú výraz vnútri min() len s % bez calc */
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.shell--narrow { width: min(720px, calc(100% - 40px)); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ----- Header (Tripvana pilulky na hero; inde kontrastný svetlý pruh) ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled,
.site-header:not(.is-scrolled) {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(7, 21, 50, 0.06);
}

.ts-hero-under-header .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: clamp(10px, 2.5vw, 24px);
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.site-logo__brand {
  display: inline-flex;
  align-items: center;
  height: 55px;
}

.site-logo__img {
  height: 100%;
  width: auto;
  max-width: min(210px, 46vw);
  object-fit: contain;
}

.site-logo__img--light {
  display: none;
}
.site-logo__img--dark {
  display: block;
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-logo__img--dark {
  display: none;
}
.ts-hero-under-header .site-header:not(.is-scrolled) .site-logo__img--light {
  display: block;
}

.site-header__nav-slot {
  grid-column: 2;
  justify-self: center;
}

.site-header__cta-slot {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 14px);
  justify-content: flex-end;
}

.site-header__mobile-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-decoration: none;
  border: 1px solid rgba(7, 21, 50, 0.1);
  background: rgba(7, 21, 50, 0.06);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header__lang-btn--solo:hover {
  background: rgba(7, 21, 50, 0.1);
  border-color: rgba(7, 21, 50, 0.16);
}

.site-header__lang-btn:focus-visible {
  outline: 2px solid rgba(172, 133, 16, 0.85);
  outline-offset: 2px;
}

.site-header__lang-flag {
  display: flex;
  line-height: 0;
}

.site-header__lang-flag svg {
  display: block;
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-header__lang-btn--solo {
  background: rgba(7, 21, 50, 0.45);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.96);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-header__lang-btn--solo:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.site-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-header__burger:focus-visible {
  outline: 2px solid rgba(172, 133, 16, 0.85);
  outline-offset: 2px;
}

.site-header.is-scrolled .site-header__burger:hover,
.site-header:not(.is-scrolled) .site-header__burger:hover {
  background: rgba(7, 21, 50, 0.08);
  color: var(--primary);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-header__burger {
  color: var(--white);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-header__burger:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header__burger-icon {
  display: block;
}

.site-header__burger-icon--close {
  display: none;
}

html.site-nav-drawer-open .site-header__burger-icon--bars {
  display: none;
}

html.site-nav-drawer-open .site-header__burger-icon--close {
  display: block;
}

.site-nav-shell {
  border-radius: 999px;
  padding: 4px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled .site-nav-shell,
.site-header:not(.is-scrolled) .site-nav-shell {
  background: rgba(7, 21, 50, 0.055);
  border: 1px solid rgba(7, 21, 50, 0.08);
  box-shadow: 0 4px 18px rgba(7, 21, 50, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-nav-shell {
  background: rgba(7, 21, 50, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  align-items: center;
}

.site-nav__link {
  padding: 10px 17px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled .site-nav__link,
.site-header:not(.is-scrolled) .site-nav__link {
  color: var(--ink-soft);
}

.site-header.is-scrolled .site-nav__link:hover,
.site-header:not(.is-scrolled) .site-nav__link:hover {
  background: rgba(7, 21, 50, 0.08);
  color: var(--primary);
}

.site-header.is-scrolled .site-nav__link--active,
.site-header:not(.is-scrolled) .site-nav__link--active {
  background: var(--primary);
  color: var(--white);
}

.site-header.is-scrolled .site-nav__link--active:hover,
.site-header:not(.is-scrolled) .site-nav__link--active:hover {
  background: var(--primary-soft);
  color: var(--white);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-nav__link {
  color: rgba(255, 255, 255, 0.94);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-nav__link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-nav__link--active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-nav__link--active:hover {
  color: var(--ink);
  background: var(--white);
}

.site-header__cta-shell {
  border-radius: 999px;
  padding: 4px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled .site-header__cta-shell,
.site-header:not(.is-scrolled) .site-header__cta-shell {
  background: rgba(7, 21, 50, 0.055);
  border: 1px solid rgba(7, 21, 50, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-header__cta-shell {
  background: rgba(7, 21, 50, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0px 2px 0px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-header.is-scrolled .site-header__cta,
.site-header:not(.is-scrolled) .site-header__cta {
  color: var(--primary);
}

.site-header.is-scrolled .site-header__cta:hover,
.site-header:not(.is-scrolled) .site-header__cta:hover {
  background: rgba(7, 21, 50, 0.06);
  color: var(--primary);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-header__cta {
  color: var(--white);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-header__cta:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.site-header__cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled .site-header__cta-icon,
.site-header:not(.is-scrolled) .site-header__cta-icon {
  background: var(--primary);
  color: var(--white);
}

.site-header.is-scrolled .site-header__cta:hover .site-header__cta-icon,
.site-header:not(.is-scrolled) .site-header__cta:hover .site-header__cta-icon {
  background: var(--primary-soft);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-header__cta-icon {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.ts-hero-under-header .site-header:not(.is-scrolled) .site-header__cta:hover .site-header__cta-icon {
  background: var(--white);
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header__nav-slot {
    display: none;
  }

  .site-header__cta-slot {
    grid-column: 2;
  }

  .site-header__burger {
    display: inline-flex;
  }
}

/* Výsuvné menu — mobilná navigácia (desktop len skryté tlačidlo bez draweru ak sa neotvorí). */
.site-nav-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  visibility: hidden;
  pointer-events: none;
}

.site-nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.site-nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 50, 0.42);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.site-nav-drawer.is-open .site-nav-drawer__backdrop {
  opacity: 1;
}

.site-nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(376px, 92vw);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: -16px 0 48px rgba(7, 21, 50, 0.18);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-drawer.is-open .site-nav-drawer__panel {
  transform: translate3d(0, 0, 0);
}

.site-nav-drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(7, 21, 50, 0.1);
}

.site-nav-drawer__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.site-nav-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(7, 21, 50, 0.12);
  background: var(--white);
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.site-nav-drawer__nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  -webkit-overflow-scrolling: touch;
}

.site-nav-drawer__link {
  display: block;
  padding: 14px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.18s ease;
}

.site-nav-drawer__link:hover {
  background: rgba(7, 21, 50, 0.06);
  color: var(--accent-soft);
}

.site-nav-drawer__link.is-active {
  background: var(--primary);
  color: var(--white);
}

.site-nav-drawer__lang-solo {
  flex-shrink: 0;
  padding: 16px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(7, 21, 50, 0.1);
  background: var(--bg-muted);
}

.site-nav-drawer__lang-solo .site-nav-drawer__lang-chip {
  width: 100%;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(7, 21, 50, 0.14);
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(7, 21, 50, 0.06);
}

.site-nav-drawer__lang-solo .site-nav-drawer__lang-chip:hover {
  border-color: rgba(172, 133, 16, 0.45);
}

html.site-nav-drawer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (min-width: 901px) {
  .site-nav-drawer {
    display: none !important;
  }

  html.site-nav-drawer-open {
    overflow: visible;
    overscroll-behavior: auto;
  }

  /* Ak zostalo class po zmene šírky okna — vizuál hamburger ikony */
  html.site-nav-drawer-open .site-header__burger-icon--bars {
    display: block !important;
  }

  html.site-nav-drawer-open .site-header__burger-icon--close {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav-drawer__panel,
  .site-nav-drawer__backdrop {
    transition-duration: 0.01ms;
  }
}


/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(7, 21, 50, 0.22);
}
.btn--primary:hover {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: var(--white);
}
.btn--ghost {display: none;}
.btn--lg { padding: 14px 28px; font-size: 14px; }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}
.hero--compact {
  min-height: 52vh;
  align-items: flex-end;
  padding: calc(var(--header-h) + 36px) 0 56px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* orez transformovaného obrázka pri parallax / scale (najmä desktop; na mobile nič neškodí) */
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}
.hero__media--scale {
  overflow: hidden;
}
.hero__media--scale img {
  height: 100%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 21, 50, 0.35) 0%, rgba(7, 21, 50, 0.78) 75%);
}
.hero__overlay--strong {
  background: linear-gradient(180deg, rgba(7, 21, 50, 0.45) 0%, rgba(7, 21, 50, 0.82) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.92;
  margin: 0 0 14px;
}
.hero__eyebrow a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.20;
  margin: 0 0 18px;
  max-width: 14ch;
}
.hero__title--xl {
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}
.hero__lead {
  font-size: 1.08rem;
  max-width: 46ch;
  opacity: 0.92;
  margin: 0 0 28px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Home hero — AI vyhľadávanie v strede „slidera“ (fullscreen pozadia) */
.hero--home {
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 36px) 0 72px;
  text-align: center;
}
.hero__content--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.hero__eyebrow--center {
  margin-left: auto;
  margin-right: auto;
}
.hero__title--center {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.hero__lead--center {
  margin-left: auto;
  margin-right: auto;
  max-width: 52ch;
}
.hero__cta--center {
  justify-content: center;
  margin-top: 10px;
}

/* Domovský hero: pôvodné max-width v „ch“ bolo príliš úzke — pri nowrap slovách + overflow:hidden na .hero sa orezával aj blok s vyhľadávaním. */
.hero--home .hero__title.hero__title--center {
  max-width: min(46rem, calc(100vw - 32px));
}

/* ----- Home hero — Swiper rotácia bannerov ----- */
.hero--slider.hero--home {
  /* Istá výška pozadia: absolútny Swiper nestačí na výšku flex kontajnera bez explicitného min-height */
  min-height: max(92vh, 560px);
}
.hero--slider .hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  min-height: max(92vh, 560px);
}
.hero--slider .swiper-wrapper {
  width: 100%;
  height: 100%;
  min-height: max(92vh, 560px);
}
.hero--slider .swiper-slide {
  width: 100%;
  height: 100%;
  min-height: max(92vh, 560px);
}
.hero-swiper-slide .hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-swiper-slide .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fade: pred inicializáciou JS nastaví všetkým slidom opacity 0 → prvý slid viditeľný ručne */
.hero--slider .hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  opacity: 0 !important;
  visibility: hidden;
}
.hero--slider .hero-swiper:not(.swiper-initialized) .swiper-slide:first-child {
  opacity: 1 !important;
  visibility: visible;
}

.hero-slider-nav-wrap {
  position: absolute;
  left: 15px;
  right: unset;
  bottom: 22px;
  width: max-content;
  z-index: 3;
  pointer-events: none;
  text-align: left;
  color: var(--white);
}
.hero--slider .hero-slider-nav {
  pointer-events: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-align: left;
  width: 100%;
  padding: 11px 18px;
  border-radius: var(--radius-lg);
  background: rgba(7, 21, 50, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-slider-nav__bars {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.hero-slider-nav__bar-wrap {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.hero-slider-nav__bar-wrap.is-active {
  background: rgba(255, 255, 255, 0.35);
}
.hero-slider-nav__bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: left center;
}
.hero-slider-nav__fraction {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-slider-nav__cur {
  color: var(--accent);
}
.hero-slider-nav__sep {
  opacity: 0.65;
  font-weight: 500;
}

@keyframes heroBarProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.hero-word {
  display: inline-block;
  white-space: nowrap;
}

.hero-char {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero-char__inner {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  opacity: 0;
  animation: heroCharIn 0.46s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d, 0) * 0.038s);
}
@keyframes heroCharIn {
  from {
    transform: translate3d(0, 108%, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.js-hero-dynamic-lead {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js-hero-dynamic-lead.is-visible {
  opacity: 0.92;
  transform: translateY(0);
}

@media (max-width: 560px) {
  .hero-slider-nav-wrap {
    display: none;
  }
  .hero--slider .hero-slider-nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero-slider-nav__bar-wrap {
    width: 32px;
  }
}

.hero-ai-search {
  width: min(760px, 94%);
  margin: 22px auto 18px;
}
.hero-ai-search__form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-ai-search__field {
  flex: 1;
  min-width: min(100%, 180px);
}
.hero-ai-search__input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.hero-ai-search__input-row .hero-ai-search__input {
  flex: 1;
  min-width: 0;
}
.hero-ai-search__voice-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  min-height: 52px;
  padding: 0;
  border: 2px solid rgba(7, 21, 50, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  align-self: center;
}
.hero-ai-search__voice-btn:hover:not(:disabled) {
  border-color: rgba(7, 21, 50, 0.22);
  color: var(--primary);
}
.hero-ai-search__voice-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
.hero-ai-search__voice-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.hero-ai-search__voice-btn.is-recording {
  border-color: #e11d48;
  color: #e11d48;
  background: rgba(255, 255, 255, 0.98);
  animation: ella-voice-pulse 1.2s ease-in-out infinite;
}
.hero-ai-search__form:focus-within {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(172, 133, 16, 0.35);
}
.hero-ai-search__input {
  flex: 1;
  min-width: 0;
  padding: 16px 22px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  /* min 16px chráni pred iOS focus zoom-om aj v hero. */
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 500;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.96);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.hero-ai-search__input::placeholder {
  color: rgba(7, 21, 50, 0.45);
  font-weight: 400;
}
.hero-ai-search__submit {
  flex-shrink: 0;
  border-radius: 999px;
  padding-left: 26px;
  padding-right: 26px;
  box-shadow: 0 10px 28px rgba(7, 21, 50, 0.22);
}
.hero-ai-search.is-loading .hero-ai-search__submit {
  opacity: 0.75;
  pointer-events: none;
}
.hero-ai-search.is-loading .hero-ai-search__voice-btn {
  opacity: 0.75;
  pointer-events: none;
}
.hero-ai-search__hint {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.88;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 560px) {
  .hero-ai-search__form {
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ai-search__input {
    border-radius: 14px;
    width: 100%;
  }
  .hero-ai-search__voice-btn {
    width: 48px;
    min-height: 48px;
  }
  .hero-ai-search__submit {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Strip ----- */
.strip {
  padding: 36px 0;
}
.strip--stats {
  background: var(--primary);
  color: var(--white);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 700px) {
  .strip__grid { grid-template-columns: 1fr; }
}
.stat-pill {
  text-align: center;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-pill__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}
.stat-pill__lbl {
  font-size: 13px;
  opacity: 0.85;
}

/* ----- USP pás — jeden rad, Swiper, plná šírka obrazovky + autoplay (home) -----
 * Worker (5.2026): predtým 2×3 mriežka; teraz jedna horizontálna stopa aby sekcia
 * zaberala výrazne menej vertikálneho priestoru.
 */
.usp-grid-section {
  padding: clamp(28px, 5vw, 52px) 0;
  background: var(--bg);
}
.usp-carousel {
  width: 100%;
  overflow: hidden;
  padding-inline: clamp(16px, 4vw, 22px);
  box-sizing: border-box;
}
.usp-swiper {
  overflow: visible;
}
/* Pred inicializáciou len prvá karta (žiadne „všetky slidov pod sebou“ FOUC). */
.usp-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none !important;
}
.usp-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}
.usp-swiper .swiper-wrapper {
  align-items: stretch;
}
.usp-card {
  background: var(--primary);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: clamp(16px, 1.6vw, 22px) clamp(16px, 1.6vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  min-height: clamp(148px, 22vw, 178px);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.usp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(7, 21, 50, 0.28);
}
.usp-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.usp-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.usp-card__icon--shield     { background: rgba(172, 133, 16, 0.18); color: var(--accent); }
.usp-card__icon--live       { background: rgba(81, 178, 255, 0.18); color: #5cb8ff; }
.usp-card__icon--instant    { background: rgba(172, 133, 16, 0.18); color: var(--accent); }
.usp-card__icon--ai-search  { background: rgba(255, 235, 134, 0.18); color: #ffe07a; }
.usp-card__icon--ai-tips    { background: rgba(81, 178, 255, 0.18); color: #5cb8ff; }
.usp-card__icon--drops      { background: rgba(255, 235, 134, 0.18); color: #ffe07a; }
.usp-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: var(--white);
  margin: 0;
  margin-top: 10px;
  margin-bottom: 5px;
  line-height: 1.25;
}
.usp-card__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ----- Sections ----- */
.section {
  padding: 88px 0;
}
.section__head {
  max-width: 640px;
  margin-bottom: 40px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--primary);
}
.section__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.section--tight {
  padding: 52px 0 72px;
}
.section__head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 32px;
  margin-bottom: 44px;
}
.section__head--split .section__title {
  margin-bottom: 10px;
}
.section__head-cta {
  flex-shrink: 0;
}
.section--explore {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-muted) 45%, var(--bg) 100%);
}

.explore-split {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
  align-items: stretch;
}
@media (min-width: 900px) {
  .explore-split {
    flex-direction: row;
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
  }
  .explore-split--reverse {
    flex-direction: row-reverse;
  }
}
.explore-split__copy {
  flex: 1;
  min-width: 0;
}
.explore-split__visual {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-height: min(520px, 70vh);
}
.explore-split__visual .ts-media,
.explore-split__visual .explore-split__media {
  height: 100%;
  min-height: 260px;
}
.explore-split__visual .ts-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}

.explore-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.explore-pill {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(7, 21, 50, 0.08);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease, border-color 0.25s ease;
}
.explore-pill:hover {
  box-shadow: var(--shadow);
  border-color: rgba(7, 21, 50, 0.14);
}
.explore-pill__k {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.explore-pill__t {
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
}
.explore-pill__a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.explore-pill--accent {
  border-color: rgba(172, 133, 16, 0.55);
  background: linear-gradient(135deg, rgba(255, 251, 245, 1) 0%, var(--white) 100%);
}

.ts-filter-bar {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(7, 21, 50, 0.08);
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
}
.ts-filter-bar__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: flex-end;
}
.ts-filter-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: min(200px, 100%);
}
.ts-filter-field--grow {
  flex: 1;
  min-width: min(260px, 100%);
}
.ts-filter-field--compact {
  min-width: min(260px, 100%);
}
.ts-filter-field.ts-filter-field--compact {
  padding: 0;
  margin: 0;
  border: none;
}
.ts-filter-field.ts-filter-field--compact legend.ts-filter-field__lbl {
  margin-bottom: 4px;
}
.ts-filter-inline-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}
.ts-filter-inline-check input[type='checkbox'] {
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}
.ts-filter-field__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ts-filter-field select,
.ts-filter-field input[type="search"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(7, 21, 50, 0.14);
  font-family: inherit;
  font-size: 14px;
  background: var(--bg-muted);
  color: var(--ink);
}
.ts-filter-field select:focus,
.ts-filter-field input[type="search"]:focus {
  outline: 2px solid rgba(172, 133, 16, 0.45);
  outline-offset: 1px;
  border-color: rgba(172, 133, 16, 0.35);
}
.ts-filter-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ts-filter-bar .btn--ghost {
  border-color: rgba(7, 21, 50, 0.18);
  color: var(--primary);
  background: transparent;
}
.ts-filter-bar .btn--ghost:hover {
  border-color: var(--primary);
  background: rgba(7, 21, 50, 0.04);
}

.ts-filter-bar--stacked {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ts-filter-bar__row--stay {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: flex-end;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(7, 21, 50, 0.1);
  margin-bottom: 4px;
}
.ts-filter-bar__row--stay .ts-filter-field input[type='date'],
.ts-filter-bar__row--stay .ts-filter-field input[type='number'],
.ts-filter-bar__row--stay .ts-filter-field input[type='text'] {
  width: 100%;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(7, 21, 50, 0.14);
  font-family: inherit;
  font-size: 14px;
  background: var(--bg-muted);
  color: var(--ink);
}
.ts-filter-bar__row--stay .ts-filter-field input:focus {
  outline: 2px solid rgba(172, 133, 16, 0.45);
  outline-offset: 1px;
  border-color: rgba(172, 133, 16, 0.35);
}
.ts-filter-hint {
  margin: -4px 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 78ch;
}
.ts-filter-field--amenities {
  min-width: 100%;
  flex-basis: 100%;
}
.ts-amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.ts-amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(7, 21, 50, 0.12);
  background: var(--bg-muted);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ts-amenity-chip:has(input:checked) {
  border-color: rgba(172, 133, 16, 0.55);
  background: rgba(255, 251, 245, 0.95);
}
.ts-amenity-chip input {
  margin: 0;
  cursor: pointer;
}

/* === Hľadať pobyt — top bar (dátumy + hostia + Hľadať) =================== */

.stay-search {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}
.stay-search__top {
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(7, 21, 50, 0.08);
  box-shadow: var(--shadow-soft);
}
.stay-search__top-grid {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) 110px minmax(160px, 1fr) auto;
  gap: 12px 16px;
  align-items: end;
}
.stay-search__hint {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 78ch;
}
.stay-search__submit {
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .stay-search__top { padding: 14px; }
  .stay-search__top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
  }
  .stay-search__top-grid .stay-field--grow,
  .stay-search__top-grid .stay-search__submit {
    grid-column: 1 / -1;
  }
}

/* Polia (zhodný design pre top + sidebar) */
.stay-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.stay-field__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stay-field input,
.stay-field select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(7, 21, 50, 0.14);
  background: var(--bg-muted);
  color: var(--ink);
  font-family: inherit;
  /* 16px = bez iOS focus zoom-u */
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
}
.stay-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
                    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.stay-field input:focus,
.stay-field select:focus {
  outline: 2px solid rgba(172, 133, 16, 0.45);
  outline-offset: 1px;
  border-color: rgba(172, 133, 16, 0.4);
}

/* === Ubytovanie / pobyty: výsledky na celú šírku; filtre len v centrálnom modáli ([hidden]) */

.stay-search__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}

/* Oblúk filtrov — z DOM je defaultne vyhodený cez `[hidden]`; JS ho odomkne pri „Filtre“. */
.stay-filter-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 9200;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px))
    max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
}

.stay-filter-modal[hidden] {
  display: none !important;
}

.stay-filter-modal:not([hidden]) {
  display: flex;
}

.stay-filter-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(7, 21, 50, 0.52);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stay-filter-modal__backdrop:focus {
  outline: none;
}

/* Panel modálu (obsah filtrov); predchádzajúci „stay-sidebar“ len ako vnútorný layout. */
.stay-filter-modal .stay-sidebar.stay-filter-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: min(88dvh, 720px);
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(7, 21, 50, 0.1);
  box-shadow:
    0 28px 64px rgba(7, 21, 50, 0.16),
    0 8px 20px rgba(7, 21, 50, 0.07);
  background: var(--white);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96) translateY(10px);
  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stay-filter-modal:not([hidden]) .stay-filter-modal__dialog {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .stay-filter-modal .stay-sidebar.stay-filter-modal__dialog {
    transition-duration: 0.01ms;
  }
}

.stay-sidebar__header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(7, 21, 50, 0.07);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5));
}
body.stay-filters-open {
  overflow: hidden;
}
.stay-sidebar__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.stay-sidebar__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(7, 21, 50, 0.1);
  background: rgba(255, 255, 255, 0.75);
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.stay-sidebar__close:hover {
  border-color: rgba(7, 21, 50, 0.2);
  background: var(--bg-muted);
}
.stay-sidebar__close:focus-visible {
  outline: none;
  border-color: rgba(172, 133, 16, 0.55);
  box-shadow: 0 0 0 3px rgba(172, 133, 16, 0.22);
}
.stay-sidebar__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stay-sidebar__group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
  border: none;
}
.stay-sidebar__details {
  margin: 0;
  padding: 0;
  border: none;
}
.stay-sidebar__details-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0 0 12px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
}
.stay-sidebar__details-sum::-webkit-details-marker {
  display: none;
}
.stay-sidebar__details-chev {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-right: 1.5px solid rgba(7, 21, 50, 0.32);
  border-bottom: 1.5px solid rgba(7, 21, 50, 0.32);
  transform: rotate(45deg) translate(-3px, -2px);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.stay-sidebar__details[open] .stay-sidebar__details-chev {
  transform: rotate(225deg) translate(-1px, -1px);
}
.stay-sidebar__group--nested {
  margin: 0;
  padding: 10px 0 2px;
  border: none;
}
/* Labely v sidebar-e (fieldset legend + polia) — neovplyvňujú horný booking bar */
.stay-sidebar .stay-field__lbl,
.stay-sidebar legend.stay-field__lbl {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stay-sidebar .stay-field select,
.stay-sidebar .stay-field input[type='search'] {
  border-radius: 11px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.stay-sidebar .stay-field select:focus-visible,
.stay-sidebar .stay-field input[type='search']:focus-visible {
  outline: none;
  border-color: rgba(172, 133, 16, 0.45);
  box-shadow: 0 0 0 3px rgba(172, 133, 16, 0.18);
}
.stay-sidebar .stay-field select:focus:not(:focus-visible),
.stay-sidebar .stay-field input[type='search']:focus:not(:focus-visible) {
  box-shadow: none;
}
.stay-sidebar .stay-amenity-chips {
  gap: 8px 10px;
}
.stay-sidebar .stay-amenity-chip {
  padding: 5px 11px;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 999px;
  border-color: rgba(7, 21, 50, 0.11);
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}
.stay-sidebar .stay-amenity-chip:hover {
  border-color: rgba(7, 21, 50, 0.2);
}
.stay-sidebar .stay-amenity-chip:focus-within {
  border-color: rgba(172, 133, 16, 0.45);
  box-shadow: 0 0 0 2px rgba(172, 133, 16, 0.2);
}
.stay-sidebar .stay-amenity-chip:has(input:checked) {
  border-color: rgba(172, 133, 16, 0.5);
  background: rgba(255, 251, 245, 0.98);
}
.stay-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}
.stay-checkbox input[type='checkbox'] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent);
}
.stay-amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.stay-amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(7, 21, 50, 0.12);
  background: var(--bg-muted);
  font-size: 11px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.stay-amenity-chip:hover { border-color: rgba(7, 21, 50, 0.22); }
.stay-amenity-chip:has(input:checked) {
  border-color: rgba(172, 133, 16, 0.55);
  background: rgba(255, 251, 245, 0.95);
  color: var(--primary);
  font-weight: 600;
}
.stay-amenity-chip input {
  position: absolute;
  width: 0; height: 0;
  opacity: 0;
  pointer-events: none;
}

/* Ella — voľný text z modálu filtrov ⇒ server zostaví katalóg. */
.stay-sidebar__ella {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 12px;
  margin: 0;
  border-radius: 13px;
  border: 1px solid rgba(7, 21, 50, 0.1);
  background: rgba(255, 252, 248, 0.65);
}
.stay-sidebar__ella-intro {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.stay-sidebar__ella-textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.42;
  border-radius: 11px;
  border: 1px solid rgba(7, 21, 50, 0.14);
  background: var(--bg);
  color: inherit;
  font-family: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.stay-sidebar__ella-textarea::placeholder {
  color: rgba(7, 21, 50, 0.38);
}
.stay-sidebar__ella-textarea:focus-visible {
  outline: none;
  border-color: rgba(172, 133, 16, 0.45);
  box-shadow: 0 0 0 3px rgba(172, 133, 16, 0.18);
}
.stay-sidebar__ella-feedback {
  margin: -4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #b42318;
}
.stay-sidebar__ella-feedback:not([hidden]) {
  margin-top: -2px;
}
.stay-sidebar__ella-submit[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.stay-sidebar__actions {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  padding: 14px 18px max(14px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(7, 21, 50, 0.08);
  background: var(--bg-muted);
}
.stay-sidebar__actions .btn {
  flex: 1;
  justify-content: center;
}

/* Výsledky */
.stay-results {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stay-results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stay-results__meta {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.stay-results__filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  flex-shrink: 0;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
}
.stay-results__filter-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* Výsledky — fluidná mriežka (~360px karta ⇒ 3 stĺpce bežný laptop, 4 na širokom monitore). */
.grid--stay-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: clamp(14px, 2vw, 22px);
}

/* Na najmenších displejoch zostávajú 2 hutné stĺpce (dotykové položky). */
@media (max-width: 559px) {
  .grid--stay-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 2.8vw, 18px);
  }
}

@media (max-width: 899px) {
  .stay-results__bar {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.theme-card__price {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.theme-card__price--live {
  color: #1a6b3a;
}
.theme-card__price--bad {
  color: #a33;
}
.theme-card__price--muted {
  color: var(--ink-soft);
  font-weight: 600;
}
.theme-card__price-note {
  font-weight: 500;
  font-size: 0.85em;
  opacity: 0.75;
}
.theme-card--has-live-price {
  outline: 1px solid rgba(26, 107, 58, 0.12);
}
.theme-card__tags {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.theme-card__tags li {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(7, 21, 50, 0.06);
  color: var(--ink-soft);
}

.blog-article-header {
  margin-top: 140px;
  margin-bottom: 44px;
}
/* Článok so sidebarom: titulok zarovnaný s ľavým menu (bez starého full-width offsetu). */
.blog-layout--article .blog-article-header {
  margin-top: 0;
}

.catalog-meta {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: 26px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 3.2vw, 22px);
  }
}

/* Theme cards */
.theme-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s ease;
}
.theme-card:hover {
  box-shadow: var(--shadow);
}
.theme-card__img-wrap {
  overflow: hidden;
  position: relative;
}
.theme-card__body {
  padding: 22px 22px 26px;
}
.theme-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
/* Názov v listingoch (mobile flex layout v @media max-width 600px) */
.theme-card__title-text {
  min-width: 0;
}
.theme-card__body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.theme-card__stars {
  font-weight: 500;
  font-size: 0.88em;
  color: var(--ink-soft);
}

.home-type-band {
  margin-bottom: 2.75rem;
}
.home-type-band:last-child {
  margin-bottom: 0;
}
.home-type-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 600;
  margin: 0 0 1.1rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.home-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 0.75rem 1rem 1.75rem;
  font-size: 15px;
  max-width: 52ch;
  margin-inline: auto;
}
.package-card__link--muted {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

/* ----- Lazy médiá (shimmer → fade-in ako Airbnb) ----- */
@keyframes ts-shimmer-slide {
  0% { background-position: 130% 0; }
  100% { background-position: -30% 0; }
}

.ts-media {
  --ts-media-ratio: 16/11;
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: var(--ts-media-ratio);
  background: var(--bg-muted);
}

.ts-media__shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    var(--bg-muted) 0%,
    rgba(255, 255, 255, 0.72) 42%,
    var(--bg-muted) 84%
  );
  background-size: 240% 100%;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.ts-media--lazy .ts-media__shimmer {
  animation: ts-shimmer-slide 1.45s ease-in-out infinite;
}

.ts-media.is-loaded .ts-media__shimmer {
  animation: none;
  opacity: 0;
}

.ts-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 118%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.ts-media.is-loaded .ts-media__img {
  opacity: 1;
}

.theme-card__img-wrap > .ts-media,
.package-card__media > .ts-media {
  border-radius: inherit;
}

.package-card__media {
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .ts-media--lazy .ts-media__shimmer {
    animation: none;
    opacity: 0.4;
  }
  .ts-media.is-loaded .ts-media__img {
    opacity: 1;
    transition: none;
  }
}

/* Filter pills (Tripvana-style) */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-pills__btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid rgba(7, 21, 50, 0.12);
  background: var(--bg-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.filter-pills__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-pills__btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Package cards */
.package-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.package-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.package-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.package-card__body h3 {
  margin: 0;
  font-size: 1.2rem;
}
.package-card__body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}
.package-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}
.package-card__badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--ink-soft);
}
.package-card__link {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  margin-top: 4px;
}

/* Mobile: hustší 2-stĺpec — nižší pomer média, kompaktnejší text, 44px srdiečko */
@media (max-width: 600px) {
  .theme-card__img-wrap > .ts-media,
  .package-card__media > .ts-media {
    --ts-media-ratio: 16 / 9;
  }

  /* Kompaktnejšie kartové okraje + medzery v 2-col theme gridoch */
  .grid.grid--3.themes-grid,
  .grid.grid--stay-results.themes-grid {
    gap: clamp(8px, 2.2vw, 14px);
  }

  .theme-card__body {
    padding: 12px 10px 16px;
  }
  /* Názov na celý 1. riadok; hviezdy + Google badge na 2. */
  .theme-card__body h3 {
    font-size: 0.95rem;
    line-height: 1.25;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
  }
  .theme-card__body h3 > .theme-card__title-text {
    flex: 1 1 100%;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
  }
  .theme-card__body h3 > .theme-card__stars,
  .theme-card__body h3 > .google-rating-badge {
    flex: 0 0 auto;
  }
  .theme-card__body h3 > .google-rating-badge {
    margin-left: 0;
  }
  .theme-card__body p {
    font-size: 12px;
    line-height: 1.4;
  }
  .theme-card__stars {
    font-size: 0.82em;
  }
  .theme-card__tags {
    margin-top: 8px;
    gap: 4px;
  }
  .theme-card__tags li {
    font-size: 10px;
    padding: 3px 6px;
  }
  .theme-card__price {
    font-size: 12px;
  }

  .package-card__body {
    padding: 12px 10px;
    gap: 6px;
  }
  .package-card__body h3 {
    font-size: 1rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
  }
  .package-card__body p {
    font-size: 12px;
    line-height: 1.4;
  }
  .package-card__tag {
    font-size: 10px;
  }
  .package-card__meta {
    font-size: 12px;
  }
  .package-card__badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .package-card__link {
    font-size: 12px;
  }

  .package-card.ts-card-with-fav > .ts-fav-btn,
  .theme-card-wrap.ts-card-with-fav > .ts-fav-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 6px;
    right: 6px;
  }
}

/* Steps */
.steps-section .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
@media (min-width: 800px) {
  .steps-section .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
.steps__item {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.steps__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.steps__item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.steps__item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Chat */
.section--chat {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}
.chat-shell {
  display: grid;
  gap: 36px;
}
@media (min-width: 900px) {
  .chat-shell {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}
.chat-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  border: 1px solid rgba(7, 21, 50, 0.08);
}
.chat-panel__messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  min-height: 180px;
}
.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 100%;
}
.chat-msg--bot {
  align-self: flex-start;
  max-width: min(94%, calc(100% - 4px));
}
.chat-msg__avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(7, 21, 50, 0.12);
  border: 1px solid rgba(7, 21, 50, 0.06);
}
.chat-msg__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.chat-msg--bot .chat-bubble--bot {
  flex: 1;
  min-width: 0;
  max-width: none;
  align-self: stretch;
}
.chat-bubble {
  max-width: 92%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  /* Bez overflow-wrap by dlhé URL / token-y roztláčali bublinu cez celú obrazovku. */
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
.chat-bubble--bot {
  align-self: flex-start;
  background: var(--bg-muted);
  color: var(--ink);
}
.chat-bubble--user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--white);
}
.chat-bubble--muted { opacity: 0.85; font-size: 13px; }
.chat-bubble--typing {
  letter-spacing: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  /* pulzovanie celej bubliny nahradené ella-chat-dots (menej rušivé pri dlhom čakaní) */
}
.ella-chat-status {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-soft);
  min-height: 2.6em;
}
.ella-chat-dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.ella-chat-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.35;
  animation: ella-chat-dot-bounce 1.15s ease-in-out infinite;
}
.ella-chat-dots span:nth-child(2) {
  animation-delay: 0.14s;
}
.ella-chat-dots span:nth-child(3) {
  animation-delay: 0.28s;
}
@keyframes ella-chat-dot-bounce {
  0%,
  70%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  35% {
    transform: translateY(-5px);
    opacity: 1;
  }
}
.chat-bubble--bot .chat-bubble-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.chat-bubble strong { font-weight: 700; color: var(--primary); }
.chat-bubble--user strong { color: inherit; }
.chat-bubble-list {
  margin: 6px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-bubble-list li {
  line-height: 1.5;
}
.chat-bubble-list li::marker {
  color: var(--accent);
}
.chat-panel__form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.chat-panel__field {
  flex: 1;
  min-width: min(100%, 200px);
}
.chat-panel__input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.chat-panel__input-row .chat-panel__input {
  flex: 1;
  min-width: 0;
}
.chat-panel__voice-btn {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border: 2px solid rgba(7, 21, 50, 0.12);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.chat-panel__voice-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}
.chat-panel__voice-btn:focus-visible {
  outline: 3px solid #54a8ff;
  outline-offset: 2px;
}
.chat-panel__voice-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.chat-panel__voice-btn.is-recording {
  border-color: #e11d48;
  color: #e11d48;
  background: rgba(225, 29, 72, 0.06);
  animation: ella-voice-pulse 1.2s ease-in-out infinite;
}
@keyframes ella-voice-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(225, 29, 72, 0);
  }
}
.chat-panel__input {
  flex: 1;
  min-width: 0;          /* aby input nehladko nepretiekol cez container na úzkom mobile */
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid rgba(7, 21, 50, 0.12);
  font-family: inherit;
  /* iOS Safari: pri font-size < 16px sa pri focus vždy zoomuje viewport. 16px = bez zoomu. */
  font-size: 16px;
  line-height: 1.3;
  background: var(--white);
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  /* Safari iOS: skryť default „zaoblenie“ inputu a tap highlight */
  -webkit-tap-highlight-color: transparent;
}
.chat-panel__input:focus {
  outline: none;
  border-color: var(--primary);
}
.chat-panel__input::placeholder { opacity: 0.5; }
@media (min-width: 720px) {
  /* Desktop môže používať pôvodnú jemnejšiu typografiu (zoom riziko len na touch). */
  .chat-panel__input { font-size: 14px; }
}

.chat-shell--teaser {
  display: block;
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.chat-teaser .section__title {
  margin: 0 0 12px;
}
.chat-teaser .section__lead {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/*
 * Vyhľadávanie pobytov (/pobyty/, /ubytovanie/) — overlay počas SSR / GET navigácie.
 * z-index: nad Ella FAB (210) a ai-chat-modal (220), pod site-login-modal (260).
 */
html.ts-stay-search-overlay-open,
html.ts-stay-search-overlay-open body {
  overflow: hidden;
}

.ts-stay-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 240;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  transition:
    visibility 0.2s step-end,
    opacity 0.24s ease;
  opacity: 0;
}

.ts-stay-search-overlay.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition:
    visibility 0s step-start,
    opacity 0.2s ease;
}

.ts-stay-search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 50, 0.52);
}

.ts-stay-search-overlay__panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  max-width: min(420px, 100%);
  padding: clamp(26px, 4vw, 36px) clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg, 14px);
  background: linear-gradient(
    134deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 255, 0.98)
  );
  border: 1px solid rgba(7, 21, 50, 0.1);
  box-shadow:
    0 20px 64px rgba(7, 21, 50, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .ts-stay-search-overlay__panel {
    background: linear-gradient(
      145deg,
      rgba(26, 32, 54, 0.98),
      rgba(17, 24, 48, 0.96)
    );
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
      0 20px 64px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  }
}

.ts-stay-search-overlay__panel--raised {
  overflow: hidden;
}

.ts-stay-search-overlay__panel--raised::before {
  content: '';
  position: absolute;
  left: -40%;
  top: -60%;
  width: 60%;
  height: 240%;
  background: linear-gradient(
    100deg,
    transparent 42%,
    rgba(124, 160, 212, 0.18) 50%,
    transparent 58%
  );
  animation: ts-stay-overlay-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

.ts-stay-search-overlay__title {
  position: relative;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.38;
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  .ts-stay-search-overlay__title {
    color: rgba(246, 248, 253, 0.96);
  }
}

.ts-stay-search-overlay__dots {
  position: relative;
  margin-top: 18px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.ts-stay-search-overlay__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary), transparent 52%);
}

.ts-stay-search-overlay.is-visible .ts-stay-search-overlay__dot:nth-child(1) {
  animation: ts-stay-overlay-pulse 1.05s ease-in-out infinite -0ms;
}

.ts-stay-search-overlay.is-visible .ts-stay-search-overlay__dot:nth-child(2) {
  animation: ts-stay-overlay-pulse 1.05s ease-in-out infinite -180ms;
}

.ts-stay-search-overlay.is-visible .ts-stay-search-overlay__dot:nth-child(3) {
  animation: ts-stay-overlay-pulse 1.05s ease-in-out infinite -360ms;
}

@keyframes ts-stay-overlay-pulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
    background: color-mix(in srgb, var(--primary), transparent 72%);
  }
  48% {
    transform: translateY(-4px);
    opacity: 1;
    background: var(--primary);
  }
}

@keyframes ts-stay-overlay-shimmer {
  0% {
    transform: translateX(-28%) skewX(-8deg);
  }
  100% {
    transform: translateX(380%) skewX(-8deg);
  }
}

@supports not (background: color-mix(in srgb, red 30%, transparent)) {
  .ts-stay-search-overlay__dot {
    background: rgba(71, 102, 196, 0.35);
  }
  .ts-stay-search-overlay.is-visible .ts-stay-search-overlay__dot:nth-child(1),
  .ts-stay-search-overlay.is-visible .ts-stay-search-overlay__dot:nth-child(2),
  .ts-stay-search-overlay.is-visible .ts-stay-search-overlay__dot:nth-child(3) {
    animation-name: ts-stay-overlay-pulse-fallback;
  }
}

@keyframes ts-stay-overlay-pulse-fallback {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.42;
    background: rgba(71, 102, 196, 0.45);
  }
  48% {
    transform: translateY(-4px);
    opacity: 1;
    background: #4766c4;
  }
}

/* AI chat — fullscreen modál, animácia „rozšírenia“ z hero poľa */
.ai-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: none;
}
.ai-chat-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.ai-chat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 50, 0.52);
  opacity: 0;
}
.ai-chat-modal__backdrop.is-visible {
  opacity: 1;
}
.ai-chat-modal__panel {
  position: fixed;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 32px 100px rgba(7, 21, 50, 0.38);
  overflow: hidden;
  border: 1px solid rgba(7, 21, 50, 0.1);
  /* Bez rovnej max-width by FLIP animácia z hero pole mohla pri prechode roztiahnuť panel cez okraj. */
  max-width: 100vw;
  max-width: 100dvw;
}
.ai-chat-modal__panel.ai-chat-modal__panel--expanded {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(760px, calc(100% - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  height: min(85vh, 880px) !important;
  max-height: min(85vh, calc(100dvh - 28px), calc(100svh - 28px)) !important;
  border-radius: var(--radius-lg) !important;
}

/* Mobil: celoobrazovka „mobilná appka“ — fixne na celý dynamic viewport,
 * žiadne posuny, klávesnica zmenší panel namiesto roztláčania obsahu. */
@media (max-width: 719.98px) {
  .ai-chat-modal__panel.ai-chat-modal__panel--expanded {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100vw !important;
    width: 100dvw !important;
    max-width: 100vw !important;
    max-width: 100dvw !important;
    /* svh = small viewport (s URL barom), dvh = dynamic (mení sa pri zmiznutí baru) */
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .ai-chat-modal__toolbar {
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }

  .ai-chat-modal__footer {
    /* Bezpečná zóna iPhonu, plus malá rezerva. */
    padding-bottom: max(14px, calc(10px + env(safe-area-inset-bottom, 0px)));
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }

  .ai-chat-modal__messages.chat-panel__messages {
    /* Bez padding-x by sa správy lepili na okraje a vyzeralo to roztrhnuto. */
    padding: 14px 14px 18px;
  }
}
.ai-chat-modal__toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(7, 21, 50, 0.08);
  background: linear-gradient(180deg, var(--bg-muted) 0%, var(--white) 100%);
}
.ai-chat-modal__brand {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ai-chat-modal__avatar-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(7, 21, 50, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.ai-chat-modal__avatar-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.ai-chat-modal__avatar-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.ai-chat-modal__title-stack {
  min-width: 0;
}
.ai-chat-modal__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ai-chat-modal__subtitle {
  margin: 5px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ai-chat-modal__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(7, 21, 50, 0.12);
  background: var(--white);
  color: var(--primary);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ai-chat-modal__close:hover {
  background: var(--bg-muted);
  border-color: rgba(7, 21, 50, 0.18);
}
.ai-chat-modal__messages.chat-panel__messages {
  flex: 1 1 auto;
  flex-grow: 1;
  flex-shrink: 1;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  /* Inde nesmie pretiecť (deck cards majú vlastný horizontal overflow). */
  overflow-x: hidden;
  overscroll-behavior: contain;
  margin: 0;
  padding: 18px 20px 22px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.ai-chat-modal__footer {
  flex-shrink: 0;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(7, 21, 50, 0.08);
  background: var(--white);
}
.ai-chat-modal__form {
  margin: 0;
}
/* Ella FAB — všetky stránky okrem homepage (TS_AI_CHAT_HIDE_LAUNCHER_FAB) */
.ts-ai-chat-fab {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 210;
  width: min(62px, 15vw);
  height: min(62px, 15vw);
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}
.ts-ai-chat-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 36px rgba(7, 21, 50, 0.42), 0 2px 0 rgba(255, 255, 255, 0.15) inset;
}
.ts-ai-chat-fab:focus-visible {
  outline: 3px solid #54a8ff;
  outline-offset: 3px;
}
.ts-ai-chat-fab img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
body.ai-chat-modal-open .ts-ai-chat-fab {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.ai-chat-modal-open,
html.ai-chat-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}
/* Backdrop sám zachytí touch eventy mimo panel — žiadny pull-to-refresh za modalom. */
.ai-chat-modal.is-open .ai-chat-modal__backdrop {
  touch-action: none;
}

/* Ella — karty pobytov pod odpoveďou (vodorovný posúvač, až ~10 kartičiek) */
.chat-msg--results {
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
}

.chat-msg--results .ai-chat-deck {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 0 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.chat-msg--results .ai-chat-hotel-card {
  flex: 0 0 auto;
  width: min(220px, 78vw);
  max-width: 260px;
}

@media (min-width: 720px) {
  .chat-msg--results {
    padding-left: calc(34px + 10px);
  }
}

.ai-chat-hotel-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 14px;
  border: 1px solid rgba(7, 21, 50, 0.11);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ai-chat-hotel-card:hover {
  border-color: rgba(7, 21, 50, 0.2);
  transform: translateY(-1px);
}

.ai-chat-hotel-card__media {
  aspect-ratio: 16 / 11;
  background: linear-gradient(145deg, rgba(7, 21, 50, 0.08), rgba(7, 21, 50, 0.02));
  overflow: hidden;
}

.ai-chat-hotel-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-chat-hotel-card__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(7, 21, 50, 0.42);
}

.ai-chat-hotel-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-chat-hotel-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(7, 21, 50, 0.07);
  color: var(--ink-soft);
}

.ai-chat-hotel-card__badge--available {
  background: rgba(52, 168, 102, 0.16);
  color: #1f6a3e;
}

.ai-chat-hotel-card__badge--sold_out {
  background: rgba(200, 92, 92, 0.15);
  color: #8f2e2e;
}

.ai-chat-hotel-card__badge--error {
  background: rgba(200, 148, 92, 0.2);
  color: #6a4a22;
}

.ai-chat-hotel-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--ink);
}

.ai-chat-hotel-card__loc {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.ai-chat-hotel-card__price {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.ai-chat-hotel-card__hint {
  margin: 0;
  font-size: 11px;
  color: rgba(7, 21, 50, 0.62);
  line-height: 1.35;
}

/* === Ella deck — darčekové poukazy ============================== */

.chat-msg--results .ai-chat-deck--gift {
  padding-top: 4px;
}

.ai-chat-gift-lead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.ai-chat-gift-lead::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ac8510' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z'/><path d='M20 3v4'/><path d='M22 5h-4'/><path d='M4 17v2'/><path d='M5 18H3'/></svg>") center/contain no-repeat;
}

.ai-chat-voucher-card {
  flex: 0 0 auto;
  width: min(220px, 78vw);
  max-width: 260px;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 14px;
  border: 1px solid rgba(7, 21, 50, 0.11);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.ai-chat-voucher-card:hover {
  border-color: rgba(7, 21, 50, 0.2);
  transform: translateY(-1px);
}

.ai-chat-voucher-card__media {
  aspect-ratio: 16 / 11;
  background: linear-gradient(145deg, rgba(168, 78, 132, 0.1), rgba(7, 21, 50, 0.04));
  overflow: hidden;
  position: relative;
}

.ai-chat-voucher-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-chat-voucher-card__media::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23071532' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='8' width='18' height='4' rx='1'/><path d='M12 8v13'/><path d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/><path d='M7.5 8a2.5 2.5 0 0 1 0-5A4.8 4.8 0 0 1 12 8a4.8 4.8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5'/></svg>") center/14px 14px no-repeat;
  border-radius: 999px;
  width: 26px;
  height: 26px;
  box-shadow: 0 1px 4px rgba(7, 21, 50, 0.18);
}

.ai-chat-voucher-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-chat-voucher-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(168, 78, 132, 0.14);
  color: #7a2c5c;
}

.ai-chat-voucher-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--ink);
}

.ai-chat-voucher-card__hotel {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.ai-chat-voucher-card__price {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

/* === Ella deck — host services (massage, sauna, restaurant table, …) === */

.chat-msg--results-service .ai-chat-deck--service {
  padding-top: 4px;
}

.ai-chat-service-card {
  flex: 0 0 auto;
  width: min(220px, 78vw);
  max-width: 260px;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 14px;
  border: 1px solid rgba(7, 21, 50, 0.11);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ai-chat-service-card:hover {
  border-color: rgba(7, 21, 50, 0.2);
  transform: translateY(-1px);
}

.ai-chat-service-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, rgba(7, 21, 50, 0.08), rgba(7, 21, 50, 0.02));
  overflow: hidden;
}

.ai-chat-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-chat-service-card__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(7, 21, 50, 0.42);
}

.ai-chat-service-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-chat-service-card__pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(7, 21, 50, 0.07);
  color: var(--ink-soft);
}

.ai-chat-service-card__pill--wellness {
  background: rgba(52, 168, 102, 0.16);
  color: #1f6a3e;
}

.ai-chat-service-card__pill--dining {
  background: rgba(200, 92, 92, 0.15);
  color: #8f2e2e;
}

.ai-chat-service-card__pill--experience {
  background: rgba(168, 78, 132, 0.14);
  color: #7a2c5c;
}

.ai-chat-service-card__pill--extras {
  background: rgba(200, 148, 92, 0.2);
  color: #6a4a22;
}

.ai-chat-service-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--ink);
}

.ai-chat-service-card__prop {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.ai-chat-service-card__meta {
  margin: 0;
  font-size: 11px;
  color: rgba(7, 21, 50, 0.62);
  line-height: 1.35;
}

.ai-chat-service-card__price {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.ai-chat-service-card__cta {
  margin-top: 4px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.chat-msg--results-service .ai-chat-deck--service {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 0 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* FAQ */
.faq-item {
  border-radius: var(--radius);
  border: 1px solid rgba(7, 21, 50, 0.1);
  background: var(--white);
  padding: 6px 18px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.88);
  padding: 56px 0 28px;
  margin: 10px;
  border-radius: 35px;
}
.site-footer__grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.site-footer .site-logo--footer {
  margin: 0 0 4px;
}
.site-logo__img-footer {
  height: clamp(30px, 3.8vw, 32px);
  width: auto;
  max-width: min(200px, 70vw);
  object-fit: contain;
}
.site-footer__lead {
  margin: 16px 0 0;
  font-size: 14px;
  opacity: 0.85;
  max-width: 36ch;
}
.site-footer__h {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
}
.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.site-footer__links a {
  color: rgba(255, 255, 255, 0.88);
  display: inline-block;
  padding: 6px 0;
}
.site-footer__links a:hover { color: var(--white); }

.site-footer__trust {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
}
.site-footer__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}
.site-footer__trust-ico {
  flex-shrink: 0;
  opacity: 0.92;
}
.site-footer__trust-wordmark--visa {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.site-footer__trust-badge--blik {
  letter-spacing: 0.2em;
  font-weight: 800;
}
.site-footer__trust-badge--visa {
  padding-inline: 13px;
}

.site-footer__bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  opacity: 0.75;
}

#main { padding-bottom: 20px; }

/* ----- CMS page.php (plná šírka layoutu) ----- */
.ts-template-page .cms-page-header {
  padding: calc(var(--header-h) + 40px) 0 28px;
  background: linear-gradient(165deg, var(--bg-muted) 0%, var(--bg) 55%);
  border-bottom: 1px solid rgba(7, 21, 50, 0.08);
}
.cms-page-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.cms-page-kicker a { color: var(--primary-soft); border-bottom: 1px solid rgba(7, 21, 50, 0.25); }
.cms-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 600;
  margin: 0;
  color: var(--primary);
}
.cms-page-body {
  width: 100%;
  padding: 48px 0 88px;
}
.cms-prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
}
.cms-prose h2, .cms-prose h3 {
  font-family: var(--font-display);
  color: var(--primary);
  margin: 1.4em 0 0.5em;
}
.cms-prose p { margin: 0 0 1em; }
.cms-prose ul { padding-left: 1.25em; }
.cms-lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ----- /zdroje-obrazkov/ — súhrn stock atribúcie ----- */
.cms-page--image-credits .cms-page-body {
  padding-top: 40px;
}
.cms-prose--image-credits {
  max-width: none;
}
.cms-prose--image-credits .cms-lead {
  margin-bottom: 1.75rem;
}
.cms-image-credits__empty {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: rgba(7, 21, 50, 0.035);
  border: 1px solid rgba(7, 21, 50, 0.08);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.cms-image-credits__empty code {
  font-size: 0.9em;
}
.cms-image-credits__panel {
  margin-top: 0.25rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: 14px;
  background: var(--bg-muted);
  border: 1px solid rgba(7, 21, 50, 0.1);
  box-shadow: var(--shadow-soft);
}
.cms-image-credits__panel-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(7, 21, 50, 0.12);
}
.cms-image-credits__list {
  list-style: disc;
  margin: 0;
  padding-left: 1.35rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}
.cms-image-credits__list li {
  margin: 0 0 0.7em;
  padding-left: 0.15em;
}
.cms-image-credits__list li:last-child {
  margin-bottom: 0;
}
.cms-image-credits__list a {
  font-weight: 600;
  color: rgba(37, 99, 235, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cms-image-credits__list a:hover {
  color: rgba(29, 78, 216, 1);
}
.cms-image-credits__legal {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(7, 21, 50, 0.1);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(7, 21, 50, 0.58);
}

/* -----------------------------------------------------------------------------
 *  Rich text rendering — zdielané pre cms_page.body_html, cms_post.body_html,
 *  portal_property.long_description, portal_offer.description, portal_voucher.summary
 *  a payload_json description blocks.
 *
 *  Aplikuje sa na: .cms-prose, .cms-body, .hotel-page__prose--rich, .hotel-page__html-block.
 *  Output `ts_render_rich_text()` helpera obsahuje len whitelistované tagy
 *  (<p>, <ul>, <ol>, <li>, <h2>–<h6>, <strong>, <em>, <a>, <blockquote>, <br>).
 * --------------------------------------------------------------------------- */
.cms-prose,
.cms-body,
.hotel-page__prose--rich,
.hotel-page__html-block {
  color: var(--ink);
  line-height: 1.65;
}
.cms-prose p,
.cms-body p,
.hotel-page__prose--rich p,
.hotel-page__html-block p {
  margin: 0 0 1em;
}
.cms-prose p:last-child,
.cms-body p:last-child,
.hotel-page__prose--rich p:last-child,
.hotel-page__html-block p:last-child {
  margin-bottom: 0;
}
.cms-prose strong, .cms-prose b,
.cms-body strong, .cms-body b,
.hotel-page__prose--rich strong, .hotel-page__prose--rich b,
.hotel-page__html-block strong, .hotel-page__html-block b {
  font-weight: 700;
  color: var(--primary);
}
.cms-prose em, .cms-prose i,
.cms-body em, .cms-body i,
.hotel-page__prose--rich em, .hotel-page__prose--rich i,
.hotel-page__html-block em, .hotel-page__html-block i {
  font-style: italic;
}
.cms-prose ul, .cms-prose ol,
.cms-body ul, .cms-body ol,
.hotel-page__prose--rich ul, .hotel-page__prose--rich ol,
.hotel-page__html-block ul, .hotel-page__html-block ol {
  margin: 0.4em 0 1.2em;
  padding-left: 1.5em;
}
.cms-prose ul, .cms-body ul, .hotel-page__prose--rich ul, .hotel-page__html-block ul {
  list-style: disc outside;
}
.cms-prose ol, .cms-body ol, .hotel-page__prose--rich ol, .hotel-page__html-block ol {
  list-style: decimal outside;
}
.cms-prose li,
.cms-body li,
.hotel-page__prose--rich li,
.hotel-page__html-block li {
  margin: 0.25em 0;
  padding-left: 0.2em;
  line-height: 1.6;
}
.cms-prose li::marker,
.cms-body li::marker,
.hotel-page__prose--rich li::marker,
.hotel-page__html-block li::marker {
  color: var(--accent);
}
.cms-prose h2, .cms-prose h3, .cms-prose h4, .cms-prose h5, .cms-prose h6,
.cms-body h2, .cms-body h3, .cms-body h4, .cms-body h5, .cms-body h6,
.hotel-page__prose--rich h2, .hotel-page__prose--rich h3, .hotel-page__prose--rich h4,
.hotel-page__html-block h2, .hotel-page__html-block h3, .hotel-page__html-block h4 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.3;
  margin: 1.5em 0 0.6em;
  font-weight: 600;
}
.cms-prose h2, .cms-body h2, .hotel-page__prose--rich h2, .hotel-page__html-block h2 { font-size: 1.5em; }
.cms-prose h3, .cms-body h3, .hotel-page__prose--rich h3, .hotel-page__html-block h3 { font-size: 1.25em; }
.cms-prose h4, .cms-body h4, .hotel-page__prose--rich h4, .hotel-page__html-block h4 { font-size: 1.1em; }
.cms-prose a,
.cms-body a,
.hotel-page__prose--rich a,
.hotel-page__html-block a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.cms-prose a:hover,
.cms-body a:hover,
.hotel-page__prose--rich a:hover,
.hotel-page__html-block a:hover {
  color: var(--primary);
}
.cms-prose blockquote,
.cms-body blockquote,
.hotel-page__prose--rich blockquote,
.hotel-page__html-block blockquote {
  margin: 1em 0;
  padding: 0.4em 1em;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
}
/* Lead-text variant (voucher/offer summary "úvodný odstavec"). */
.hotel-page__prose--rich .hotel-page__lead-text {
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 1.1em;
}
.hotel-page__prose--rich .hotel-page__lead-text p:first-child {
  margin-top: 0;
}

/* ----- Blog page_1.php ----- */
.blog-index-hero {
  padding: calc(var(--header-h) + 36px) 0 24px;
}
.blog-card-grid { align-items: stretch; }
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.blog-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.blog-card__media .ts-media__img {
  transition: opacity 0.5s ease;
}
.blog-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.blog-card__body h2 { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.blog-card__body h2 a { text-decoration: none; color: var(--primary); }
.blog-card__body h2 a:hover { color: var(--accent); }
.blog-card__body p { margin: 0; font-size: 14px; color: var(--ink-soft); flex: 1; }

.blog-article-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 600;
  margin: 8px 0 12px;
  color: var(--primary);
}
.blog-meta { font-size: 13px; color: var(--ink-soft); }
.blog-article-hero {
  width: 100%;
  overflow: hidden;
  margin: 0 0 32px;
}
.blog-article-hero > .ts-media {
  max-height: 420px;
}
.blog-article-hero .ts-media__img {
  height: 115%;
}
.blog-article-body { padding-bottom: 48px; }

.blog-article-gallery {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.blog-article-gallery__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink);
}
.blog-article-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.blog-article-gallery__item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(7, 21, 50, 0.1);
  background: rgba(244, 245, 247, 0.6);
}
.blog-article-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Horizontálna minigaléria v tele článku ([[minigallery:slug]]) */
.blog-minigallery {
  margin: 1.35rem 0;
  max-width: 100%;
}
.blog-minigallery__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.blog-minigallery__track::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}
.blog-minigallery__fig {
  flex: 0 0 auto;
  margin: 0;
  height: 300px;
  aspect-ratio: var(--ar);
  max-height: 300px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(7, 21, 50, 0.1);
  background: rgba(244, 245, 247, 0.6);
  scroll-snap-align: start;
}
.blog-minigallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: middle;
}
.blog-minigallery__credits {
  margin: 0;
  padding: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(7, 21, 50, 0.65);
}
.blog-minigallery__credits-title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(7, 21, 50, 0.72);
}
.blog-minigallery__credits-list {
  margin: 0;
  padding-left: 1.15rem;
}
.blog-minigallery__credits-list a {
  color: rgba(37, 99, 235, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-minigallery__credits--page-wide {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(7, 21, 50, 0.14);
}
.blog-minigallery__credits-link {
  margin: 1.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(7, 21, 50, 0.72);
}
.blog-minigallery__credits-link a {
  color: rgba(37, 99, 235, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-minigallery__credits-link a:hover {
  color: rgba(29, 78, 216, 1);
}

.blog-stay-tips {
  padding: 8px 20px 56px;
  max-width: 1100px;
  margin: 0 auto;
}
.blog-stay-tips__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(7, 21, 50, 0.12);
}
.blog-stay-tips__intro {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.blog-stay-tips__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.blog-stay-tips__card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.blog-stay-tips__media {
  display: block;
  overflow: hidden;
  line-height: 0;
}
.blog-stay-tips__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-stay-tips__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.blog-stay-tips__name a {
  text-decoration: none;
  color: var(--primary);
}
.blog-stay-tips__name a:hover { color: var(--accent); }
.blog-stay-tips__city {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-stay-tips__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  flex: 1;
}
.blog-stay-tips__more {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(7, 21, 50, 0.22);
  align-self: flex-start;
}
.blog-stay-tips__more:hover { color: var(--accent); border-bottom-color: var(--accent); }

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  justify-content: center;
}
.blog-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(7, 21, 50, 0.15);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}
.blog-pagination__link:hover { border-color: var(--primary); }
.blog-pagination__link.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Blog listing /blog/ — filters + search (page_1 index) */
.shell--blog-index { max-width: 1200px;margin-top: 50px; }
.blog-index-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 901px) {
  .blog-index-grid {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  }
}
.blog-index-sidebar-inner {
  padding: 18px 18px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.blog-index-mobile-acc > summary.blog-index-mobile-acc__summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(7, 21, 50, 0.1);
}
.blog-index-mobile-acc > summary::-webkit-details-marker { display: none; }
.blog-index-mobile-acc > summary::after {
  content: '';
  float: right;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.blog-index-mobile-acc[open] > summary.blog-index-mobile-acc__summary::after {
  transform: rotate(-135deg);
}
@media (min-width: 901px) {
  .blog-index-mobile-acc > summary.blog-index-mobile-acc__summary { display: none; }
  .blog-index-sidebar-inner {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
  }
  .blog-layout--article .blog-index-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    align-self: start;
  }
  .blog-layout--article .blog-index-sidebar-inner {
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
  }
}
.blog-article-back-wrap {
  padding: 32px 0 56px;
}
.blog-index-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 20px;
}
.blog-index-search__input {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(7, 21, 50, 0.15);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
}
.blog-index-search__input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.blog-index-search__submit {
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  background: var(--primary);
  color: var(--white);
}
.blog-index-search__submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.blog-index-cat-nav { font-size: 15px; }
.blog-index-cat-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-index-cat-sublist {
  margin: 4px 0 12px;
  padding: 0 0 0 12px;
  list-style: none;
  border-left: 2px solid rgba(7, 21, 50, 0.12);
}
.blog-index-cat-list__item { margin-bottom: 6px; }
.blog-index-cat-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.blog-index-cat-twist__btn {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  background: rgba(244, 245, 247, 0.85);
  color: var(--primary);
}
.blog-index-cat-twist__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.blog-index-cat-twist__btn::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.blog-index-cat-twist__btn[aria-expanded="false"]::before {
  transform: rotate(-45deg);
}
.blog-index-cat-row__anchor { flex: 1; align-self: center; padding: 6px 0; }
.blog-index-cat-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}
.blog-index-cat-link:hover {
  color: var(--accent);
}
.blog-index-cat-link.is-active {
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
}
.blog-index-reset {
  margin: 16px 0 0;
  font-size: 14px;
}
.blog-index-reset a {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.blog-index-reset a:hover { color: var(--accent); }
.blog-index-cards { margin-top: 8px; }
.blog-index-empty { margin-top: 8px; }
@media (min-width: 901px) {
  .blog-index-cat-twist__btn {
    display: none;
    pointer-events: none;
  }
}

.package-card__sub {
  margin: 4px 0 10px;
  font-size: 13px;
}
.package-card__sub a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(7, 21, 50, 0.22);
}
.package-card__sub a:hover {
  border-bottom-color: var(--primary);
}

/* ——— Kontakt ——— */
.contact-block { padding: 8px 0 48px; }
.contact-block__lead { margin: 0 0 20px; font-size: 15px; line-height: 1.62; color: var(--ink-soft); }
.contact-block__sub {
  margin: 36px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.42rem);
  color: var(--primary);
}
.contact-dl { margin: 0; }
.contact-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 10px 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(7, 21, 50, 0.08);
  font-size: 15px;
}
.contact-dl__row dt { margin: 0; font-weight: 700; color: var(--primary); }
.contact-dl__row dd { margin: 0; color: var(--ink-soft); }
.contact-dl__muted { color: var(--ink-soft); opacity: 0.9; font-style: italic; }
.contact-block__note { font-size: 13px; color: var(--ink-soft); margin-top: 14px !important; }
@media (max-width: 640px) {
  .contact-dl__row { grid-template-columns: 1fr; }
}

/* ——— Domov: Regióny ——— */
.section--regions {
  position: relative;
  padding-bottom: clamp(28px, 5vw, 56px);
  margin-bottom: clamp(10px, 2vw, 24px);
}
.regions-intro-bg {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: -12%;
  width: 140%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50% 0,
    transparent 0,
    transparent 38px,
    rgba(7, 21, 50, 0.06) 38px,
    rgba(7, 21, 50, 0.06) 39px
  );
}
.regions-intro-wrap {
  position: relative;
  z-index: 1;
}
.regions-intro {
  margin: 0 auto 26px;
  max-width: 920px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2.85vw, 1.92rem);
  font-weight: 600;
  line-height: 1.34;
  color: var(--primary);
}
.regions-intro__char {
  display: inline;
  white-space: pre-wrap;
}
.regions-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.regions-pill {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  background: #f5f7f9;
  color: var(--primary);
}
.regions-pill:hover { opacity: 0.94; }
.regions-pill.is-active {
  background: var(--primary);
  color: var(--white);
}
.regions-marquee-outer {
  margin-top: 18px;
  padding-bottom: 40px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.regions-marquee__track {
  display: flex;
  gap: clamp(14px, 2.2vw, 22px);
  width: max-content;
  padding: 8px clamp(14px, 3vw, 28px);
  animation: ts-regions-marquee 48s linear infinite;
}
@keyframes ts-regions-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.regions-marquee__card,
a.regions-marquee__card {
  flex: 0 0 auto;
  width: clamp(148px, 15vw, 220px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.regions-marquee__card--high .regions-marquee__img-wrap { transform: translateY(-10px); }
.regions-marquee__card--low .regions-marquee__img-wrap { transform: translateY(16px); }
.regions-marquee__img-wrap {
  border-radius: clamp(14px, 2vw, 22px);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(7, 21, 50, 0.12);
  transition: transform 0.25s ease;
}
.regions-marquee__card:hover .regions-marquee__img-wrap {
  transform: translateY(-2px) !important;
}
.regions-marquee__cap {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 0 4px;
  position: absolute;
  bottom: 10px;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  color: #ffffff80;
  transition: 700ms;
}
.regions-marquee__card.is-hidden,
.theme-card.is-hidden,
.theme-card-wrap.is-hidden {
  display: none !important;
}

.regions-marquee__card:hover .regions-marquee__cap {opacity: 1;}
.home-hotel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 14px 0 28px;
}
.home-hotel-pill {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f5f7f9;
  color: var(--primary);
}
.home-hotel-pill.is-active {
  background: var(--primary);
  color: var(--white);
}
.section__cta-row { margin-top: 32px; text-align: center; }

.section--google-praise .google-praise-footnote {
  margin-top: 1.25rem;
  max-width: 44rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  opacity: 0.88;
}

/* Horizontálne karty — vizuálne zladené so zoznamom zľav (.drops-list / .drop-row) */
.section--google-praise .google-praise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
}
.section--google-praise .google-praise-row {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(31, 34, 50, 0.05);
  border: 1px solid rgba(31, 34, 50, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.section--google-praise .google-praise-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(7, 21, 50, 0.1);
  border-color: rgba(7, 21, 50, 0.15);
}
.section--google-praise .google-praise-row__wrap {
  position: relative;
  display: block;
}
.section--google-praise .google-praise-row__wrap > .google-praise-row__link {
  position: relative;
  z-index: 0;
  /* Neprepínať na block — zruší grid z .google-praise-row__link a .ts-media (width:100%) zaberie celú šírku. */
}
.section--google-praise .google-praise-row__link {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.25fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  text-decoration: none;
  color: inherit;
}
.section--google-praise .google-praise-row__thumb {
  width: 88px;
  max-width: 88px;
  min-width: 0;
  align-self: center;
  overflow: hidden;
  justify-self: start;
}
.section--google-praise .google-praise-row__thumb .ts-media {
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.section--google-praise .google-praise-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.section--google-praise .google-praise-row__title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.section--google-praise .google-praise-row__loc {
  font-size: 0.82rem;
  color: #6b7280;
}
.section--google-praise .google-praise-row__main .google-praise-row__rating {
  margin-top: 4px;
  max-width: max-content;
}
.section--google-praise .google-praise-row__summary {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #374151;
}
.section--google-praise .google-praise-row__kind {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
}
.section--google-praise .google-praise-row__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.section--google-praise .google-praise-row__cta {
  font-size: 1.1rem;
  color: #071532;
  font-weight: 700;
  width: 1.6rem;
  text-align: center;
  opacity: 0.55;
  transition: opacity 140ms ease, transform 140ms ease;
}
.section--google-praise .google-praise-row:hover .google-praise-row__cta {
  opacity: 1;
  transform: translateX(2px);
}
@media (max-width: 720px) {
  .section--google-praise .google-praise-row__link {
    grid-template-columns: 72px 1fr auto;
    grid-template-areas:
      "thumb main cta"
      "summary summary summary";
    gap: 0.65rem 0.85rem;
  }
  .section--google-praise .google-praise-row__thumb {
    width: 72px;
    max-width: 72px;
    grid-area: thumb;
  }
  .section--google-praise .google-praise-row__main {
    grid-area: main;
  }
  .section--google-praise .google-praise-row__summary {
    grid-area: summary;
    padding-left: 0;
  }
  .section--google-praise .google-praise-row__cta {
    grid-area: cta;
  }
}
@media (max-width: 480px) {
  .section--google-praise .google-praise-row__link {
    padding: 0.75rem 0.85rem;
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "thumb main"
      "summary summary";
  }
  .section--google-praise .google-praise-row__thumb {
    width: 64px;
    max-width: 64px;
  }
  .section--google-praise .google-praise-row__cta {
    display: none;
  }
}
.package-card__media-link { display: block; color: inherit; }
.package-card__title-link { text-decoration: none; color: inherit; }
.package-card__title-link:hover { color: var(--accent); }
.package-card__link--btn {
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
html.ts-hotel-room-dialog-open,
html.ts-purchase-dialog-open { overflow: hidden; }
.ts-purchase-dialog {
  max-width: min(480px, 94vw);
  width: 100%;
  padding: 0;
  margin: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(7, 21, 50, 0.14);
  background: var(--white);
  color: var(--primary);
}
.ts-purchase-dialog::backdrop {
  background: rgba(7, 21, 50, 0.45);
  backdrop-filter: blur(2px);
}
.ts-purchase-dialog__shell { padding: clamp(16px, 3vw, 24px); }
.ts-purchase-dialog__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}
.ts-purchase-dialog__title {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
}
.ts-purchase-dialog__close {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  font-size: 1.85rem;
  cursor: pointer;
  line-height: 1;
  color: var(--primary);
}
.ts-purchase-dialog__hint {
  margin: 12px 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.ts-purchase-dialog__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.portal-product-detail__cta-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(7, 21, 50, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.portal-product-detail__cta-note { margin: 0; font-size: 13px; max-width: 42rem; color: var(--ink-soft); }
.hotel-page__main--product .hotel-page__html-block.cms-body { font-size: 15px; line-height: 1.65; }
.hotel-page__h2--aside { margin-top: 22px !important; font-size: 1rem !important; }
.hotel-aside-card__footnote { margin-top: 14px !important; }

@media (prefers-reduced-motion: reduce) {
  .regions-marquee__track { animation: none !important; }
  .theme-card,
  .package-card,
  .btn,
  .blog-card__media .ts-media__img { transition: none; }
  .ella-chat-dots span { animation: none !important; opacity: 0.55; }
}

/* Mini-badge na hotel kartách v listingoch (★ 4.6 (123)) — Google Places rating.
 * Údaje plní cron public/cron/google-reviews-sync.php do portal_property.google_rating. */
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  vertical-align: middle;
}
.google-rating-badge::before {
  content: "★";
  color: #f59e0b;
  font-size: 0.95em;
  line-height: 1;
}
.google-rating-badge__count {
  color: #78716c;
  font-weight: 500;
}
.google-rating-badge--inverted {
  background: rgba(255, 255, 255, 0.94);
  color: #1f2937;
}
.theme-card .google-rating-badge {
  margin-left: 6px;
}
.drop-row__main .google-rating-badge {
  margin-top: 4px;
  max-width: max-content;
}

/* ----- Landing /pridat-ubytovanie (hostitelia; CMS sloty landing_host_onboard_*) ----- */
.landing-host-page {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0));
}

.landing-host__section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.landing-host__benefit-grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .landing-host__benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.landing-host__benefit-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(7, 21, 50, 0.06);
}

.landing-host__benefit-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}

.landing-host__benefit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-host__benefit-body {
  padding: clamp(18px, 3vw, 24px);
  flex: 1;
}

.landing-host__benefit-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--primary);
  line-height: 1.3;
}

.landing-host__benefit-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.landing-host__benefit-text p:first-child {
  margin-top: 0;
}

.landing-host__benefit-text p:last-child {
  margin-bottom: 0;
}

.landing-host__trust-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: grid;
  gap: 12px 24px;
}

@media (min-width: 560px) {
  .landing-host__trust-list {
    grid-template-columns: 1fr 1fr;
  }
}

.landing-host__trust-list li {
  position: relative;
  padding-left: 28px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.landing-host__trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #c9a227 100%);
}

.landing-host__steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-host__steps-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(7, 21, 50, 0.08);
}

.landing-host__steps-item--last {
  border-bottom: none;
}

.landing-host__steps-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-host__steps-copy strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
}

.landing-host__steps-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.landing-host__steps-cta {
  text-align: center;
  margin-top: 28px;
}

.landing-host__faq-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.landing-host-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(7, 21, 50, 0.1);
  box-shadow: 0 -8px 32px rgba(7, 21, 50, 0.12);
  backdrop-filter: blur(10px);
}

.landing-host-sticky__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.landing-host-sticky__pitch {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

@media (max-width: 520px) {
  .landing-host-sticky__pitch {
    flex: 1 1 100%;
    text-align: center;
  }
  .landing-host-sticky__btn {
    flex: 1 1 auto;
    width: 100%;
    justify-content: center;
  }
}

/* ----- CMS: tematické landing ubytovanie (/inspiracie/… layout thematic_stay) ----- */
.hero-search--thematic-booking-only .hero-search__mode--booking {
  display: block !important;
}
.thematic-search-hint {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.45;
}
.regions-intro-bg--mute {
  opacity: 0.5;
}
.section--thematic-intro .shell {
  position: relative;
}
.section--thematic-body {
  padding-top: clamp(10px, 2vw, 22px);
}
.thematic-info-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 52px);
}
.thematic-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
}
.thematic-split--reverse .thematic-split__media {
  order: 2;
}
.thematic-split--reverse .thematic-split__copy {
  order: 1;
}
@media (max-width: 900px) {
  .thematic-split,
  .thematic-split.thematic-split--reverse {
    grid-template-columns: 1fr;
  }
  .thematic-split--reverse .thematic-split__media,
  .thematic-split--reverse .thematic-split__copy {
    order: unset;
  }
}
.thematic-split__title {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  color: var(--primary);
  line-height: 1.2;
}
.thematic-split__lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.58;
}
.thematic-split__body {
  margin-top: 12px;
}
.thematic-split__media-fallback {
  aspect-ratio: 4/3;
  border-radius: clamp(14px, 2vw, 22px);
  background: linear-gradient(135deg, #e8eef5 0%, #dfe7f5 82%);
}
.thematic-host-cta {
  padding: clamp(32px, 5vw, 56px);
  border-radius: clamp(18px, 2.5vw, 28px);
  background: linear-gradient(135deg, var(--primary) 0%, #0a2856 75%);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(7, 21, 50, 0.18);
}
.thematic-host-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.thematic-host-cta__title {
  margin: 0 0 10px;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.thematic-host-cta__lead {
  margin: 0 0 22px;
  opacity: 0.93;
  line-height: 1.55;
}
.thematic-host-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.thematic-hero-banner-cta {
  margin-top: 18px !important;
}

/* ----- Obľúbené (srdiečko) — karty + detail hero ----- */
.hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 16px;
}
.hero__title-row .hero__title {
  flex: 1 1 280px;
  margin-bottom: 0;
}
.ts-fav-btn {
  appearance: none;
  border: none;
  margin: 0;
  padding: 6px;
  border-radius: 0;
  cursor: pointer;
  line-height: 0;
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}
.ts-fav-btn:hover {
  background: transparent;
  opacity: 0.92;
  transform: scale(1.06);
}
.ts-fav-btn:focus-visible {
  outline: 2px solid var(--accent, #c9a227);
  outline-offset: 2px;
}
.ts-fav-btn__svg {
  display: block;
  vertical-align: middle;
}
/* Kontrast na fotografiách — bez vyplneného kruhu/pilulky */
.ts-fav-btn:not(.is-active) .ts-fav-btn__svg {
  filter:
    drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.88))
    drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55));
}
.ts-fav-btn__icon {
  display: block;
}
.ts-fav-btn__icon--fill {
  display: none;
}
.ts-fav-btn.is-active {
  color: #dc2626;
  background: transparent;
}
.ts-fav-btn.is-active .ts-fav-btn__svg {
  filter:
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.35))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}
.ts-fav-btn.is-active .ts-fav-btn__icon--outline {
  display: none;
}
.ts-fav-btn.is-active .ts-fav-btn__icon--fill {
  display: block;
}
/* Inline pri hero (titulok biely na overlay) */
.hotel-page__hero-content .ts-fav-btn {
  margin-top: 4px;
  flex-shrink: 0;
}
.ts-fav-btn--inline {
  position: static;
}
/* Karty — absolútne v rohu */
.ts-card-with-fav {
  position: relative;
}
.package-card.ts-card-with-fav > .ts-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30;
  pointer-events: auto;
}
/* Parallax/médiá môžu vytvoriť nový stacking context — drž odkaz pod srdcom. */
.package-card.ts-card-with-fav > .package-card__media-link {
  position: relative;
  z-index: 0;
}
.theme-card-wrap.ts-card-with-fav {
  position: relative;
  display: block;
}
.theme-card-wrap.ts-card-with-fav > .ts-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30;
  pointer-events: auto;
}
/* Po GSAP translate3d na karte drží „srdce" nad odkazom (leží ako súrodenecký blok). */
.theme-card-wrap.ts-card-with-fav > .theme-card {
  position: relative;
  z-index: 0;
  display: block;
}
