/* Sdílený design veřejné části ozdravovna.cz */
:root {
  --oz-primary: #0f766e;
  --oz-primary-dark: #115e59;
  --oz-primary-2: #0ea5e9;
  --oz-ink: #0f172a;
  --oz-muted: #64748b;
  --oz-paper: #ffffff;
  --oz-soft: #f8fafc;
  --oz-line: rgba(15, 23, 42, 0.1);
  --oz-radius: 24px;
  --oz-radius-sm: 16px;
  --oz-nav-h: 76px;
  --oz-shadow: 0 22px 56px rgba(15, 23, 42, 0.12);
  --oz-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* aliasy pro stávající stránky */
  --primary: var(--oz-primary);
  --primary-2: var(--oz-primary-2);
  --primary-dark: var(--oz-primary-dark);
  --brand: var(--oz-primary);
  --brand2: var(--oz-primary-2);
  --ink: var(--oz-ink);
  --text: var(--oz-ink);
  --muted: var(--oz-muted);
  --paper: var(--oz-paper);
  --bg: var(--oz-soft);
  --line: var(--oz-line);
  --radius: var(--oz-radius);
  --nav-h: var(--oz-nav-h);
  --shadow: var(--oz-shadow);
  --shadow2: 0 14px 38px rgba(15, 23, 42, 0.08);
}

html { scroll-behavior: smooth; }

body.oz-site {
  font-family: var(--oz-font);
  color: var(--oz-ink);
}

body.oz-site [id] {
  scroll-margin-top: calc(var(--oz-nav-h) + 20px);
}

.oz-skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10001;
  background: #fff;
  color: var(--oz-ink);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
}
.oz-skip:focus { left: 12px; }

/* —— Header —— */
.oz-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  min-height: var(--oz-nav-h);
  height: var(--oz-nav-h);
  display: flex;
  align-items: center;
  overflow: visible;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

body.oz-site[data-page="home"] .oz-header {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.06));
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

body.oz-site[data-page="home"] .oz-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.oz-header__inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.oz-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--oz-ink);
  min-width: 0;
}

body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-brand {
  color: #fff;
}

.oz-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ecfeff, #dcfce7);
  color: var(--oz-primary);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-brand__mark {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
}

.oz-brand__mark svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block;
}

.oz-brand strong {
  display: block;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.oz-brand small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.82;
  color: var(--oz-muted);
  font-weight: 500;
}

body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-brand small {
  color: rgba(255, 255, 255, 0.85);
}

.oz-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--oz-line);
  background: #fff;
  color: var(--oz-ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-nav-toggle {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.oz-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.oz-nav a,
.oz-nav__more-btn {
  font-family: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #134e4a;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}

body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-nav a,
body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-nav__more-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.oz-nav a:hover,
.oz-nav__more-btn:hover,
.oz-nav a.is-active {
  background: rgba(15, 118, 110, 0.1);
  border-color: rgba(15, 118, 110, 0.14);
  color: var(--oz-primary-dark);
}

body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-nav a:hover,
body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-nav__more-btn:hover,
body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-nav a.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.oz-nav__cta {
  background: var(--oz-primary) !important;
  color: #fff !important;
  border-color: var(--oz-primary) !important;
  box-shadow: none;
  font-weight: 700;
}

body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-nav__cta {
  background: #fff !important;
  color: var(--oz-primary) !important;
  border-color: #fff !important;
}

.oz-nav__more { position: relative; }

.oz-nav__more-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 250px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--oz-line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  z-index: 1200;
  gap: 2px;
}

.oz-nav__more.is-open .oz-nav__more-menu,
.oz-nav__more-menu.is-floating {
  display: grid;
}

.oz-nav__more-menu.is-floating {
  position: fixed;
  z-index: 4000;
}

.oz-nav__more-menu a {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 10px;
  font-weight: 650;
  color: #134e4a !important;
  background: transparent !important;
  border-color: transparent !important;
}

.oz-nav__more-menu a:hover {
  background: rgba(15, 118, 110, 0.08) !important;
}

/* Minimalistická hero tlačítka napříč stránkami */
body.oz-site .hero-actions .btn,
body.oz-site .heroActions .btn,
body.oz-site .hero-actions a.btn,
body.oz-site .heroActions a.btn {
  min-height: 40px;
  padding: 8px 14px;
  gap: 8px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13.5px;
  box-shadow: none !important;
  transform: none !important;
  backdrop-filter: none;
}

body.oz-site .hero-actions .btn.light,
body.oz-site .heroActions .btn.light,
body.oz-site .hero-actions .btn.ghost,
body.oz-site .heroActions .btn.outline {
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

body.oz-site .hero-actions .btn:not(.light):not(.ghost):not(.outline),
body.oz-site .heroActions .btn.primary,
body.oz-site .heroActions .btn.green {
  background: var(--oz-primary);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.oz-site .hero-actions .btn:hover,
body.oz-site .heroActions .btn:hover {
  filter: brightness(1.03);
}

/* Stejná velikost sociálních ikon v menu i v hero */
body.oz-site .site-social-nav,
body.oz-site .site-social-hero-chip {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0 !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  transform: none !important;
}

body.oz-site .site-social-hero-chip {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #0f172a;
  text-decoration: none;
}

body.oz-site .site-social-hero-chip .site-social-nav__text,
body.oz-site .site-social-nav--icon .site-social-nav__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Mobil */
@media (max-width: 960px) {
  :root { --oz-nav-h: 72px; }
  .oz-nav-toggle { display: inline-flex; }
  .oz-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(var(--oz-nav-h) - 2px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--oz-line);
    box-shadow: var(--oz-shadow);
  }
  .oz-nav.is-open { display: flex; }
  .oz-nav__more-menu {
    position: static;
    display: grid !important;
    box-shadow: none;
    border: 0;
    padding: 0;
    min-width: 0;
  }
  .oz-nav__more-btn { display: none; }
  body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-nav a,
  body.oz-site[data-page="home"] .oz-header:not(.is-scrolled) .oz-nav__more-btn {
    color: #134e4a;
    background: #f1f5f9;
    border-color: var(--oz-line);
  }
}

/* Odsazení obsahu pod fixed header */
body.oz-site { padding-top: var(--oz-nav-h); }
body.oz-site[data-page="home"],
body.oz-site.has-hero-bleed { padding-top: 0; }

/* Pojistka proti lokálním override sticky na stránkách */
body.oz-site .oz-header {
  position: fixed !important;
  top: 0 !important;
}

/* Filtry z xx/zz volných pokojů — pod sjednoceným menu */
.oz-vp-filterbar {
  position: fixed;
  top: var(--oz-nav-h);
  left: 0;
  right: 0;
  z-index: 950;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.oz-vp-filterbar__inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.oz-vp-filterbar .vp-filter {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}
body.oz-site.has-vp-filterbar {
  padding-top: calc(var(--oz-nav-h) + 54px);
}
body.oz-site.has-vp-filterbar.has-trial-banner {
  padding-top: calc(var(--oz-nav-h) + 54px + 38px);
}
body.oz-site.has-vp-filterbar.has-trial-banner .oz-vp-filterbar {
  top: calc(var(--oz-nav-h) + 38px);
}

/* Jemné upozornění (zkušební provoz) – pod menu, ne uvnitř lišty */
.oz-trial-banner {
  position: relative;
  z-index: 900;
  margin: 0;
  padding: 9px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  color: #115e59;
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdfa 50%, #ecfdf5 100%);
  border-bottom: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.06);
}

.oz-trial-banner::before {
  content: "i";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
  vertical-align: middle;
  color: #fff;
  background: var(--oz-primary);
}

body.oz-site.has-trial-banner {
  padding-top: calc(var(--oz-nav-h) + 38px);
}

/* Skrýt starý skip-link po aktivaci shellu */
body.oz-site .skip-link { display: none; }

/* Tlačítka – sjednocení */
body.oz-site .btn,
body.oz-site .btn.primary,
body.oz-site .btn.green {
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

body.oz-site .btn.primary,
body.oz-site .btn.green,
body.oz-site a.btn:not(.light):not(.ghost):not(.outline):not(.secondary) {
  background: linear-gradient(135deg, var(--oz-primary), var(--oz-primary-2));
  color: #fff;
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.22);
}

body.oz-site .btn:hover { transform: translateY(-1px); }

/* Footer */
.oz-footer {
  margin-top: 48px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--oz-line);
  background: rgba(255, 255, 255, 0.7);
}

.oz-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.oz-footer strong { display: block; margin-bottom: 6px; }

.oz-footer a {
  color: var(--oz-primary);
  font-weight: 800;
  text-decoration: none;
}

.oz-footer a:hover { text-decoration: underline; }

.oz-footer__note {
  max-width: 640px;
  font-size: 13px;
  color: var(--oz-muted);
  line-height: 1.55;
}

.oz-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  font-weight: 800;
}

/* Pokoje modul – hero zůstane, jen horní lišta */
body.oz-site[data-page="pokoje"] .site-hero .topbar {
  display: none;
}

body.oz-site[data-page="pokoje"] .site-hero {
  padding-top: calc(var(--oz-nav-h) + 12px);
}

/* Právní / informační podstránky (GDPR, AI) */
body.oz-site.oz-legal-page {
  background:
    radial-gradient(900px 520px at 8% 3%, rgba(14, 165, 233, 0.14), transparent 60%),
    radial-gradient(900px 520px at 96% 8%, rgba(15, 118, 110, 0.12), transparent 56%),
    linear-gradient(180deg, #f8fafc 0%, #eef6f4 42%, #f8fafc 100%);
}

.oz-page-hero {
  padding: 40px 0 36px;
  color: #fff;
  background: linear-gradient(125deg, #115e59, var(--oz-primary) 45%, var(--oz-primary-2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.oz-page-hero .oz-main {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
}

.oz-page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.oz-page-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.5;
}

.oz-main {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
  padding: 28px 0 40px;
}

.oz-legal-card,
body.oz-site .hero.oz-legal-card,
body.oz-site .section.oz-legal-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--oz-line);
  border-radius: var(--oz-radius-sm);
  box-shadow: var(--shadow2);
  padding: 22px 24px;
  margin-bottom: 16px;
}

.oz-legal-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--oz-primary-dark);
}

.oz-legal-card p { margin: 0 0 10px; color: var(--oz-ink); }
.oz-legal-card p:last-child { margin-bottom: 0; }
.oz-legal-card ul { margin: 0; padding-left: 20px; }
.oz-legal-card li { margin: 0 0 6px; }

.oz-intro-box {
  margin-top: 14px;
  padding: 14px 16px;
  background: #ecfeff;
  border: 1px solid #99f6e4;
  border-left: 4px solid var(--oz-primary);
  border-radius: 14px;
  color: #134e4a;
}

.oz-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.oz-mini-card {
  padding: 14px 16px;
  background: var(--oz-soft);
  border: 1px solid var(--oz-line);
  border-radius: 14px;
}

.oz-mini-card h3 { margin: 0 0 8px; font-size: 16px; }
.oz-muted { color: var(--oz-muted); }

.oz-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.oz-link-grid a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--oz-line);
  background: #fff;
  text-decoration: none;
  font-weight: 800;
  color: var(--oz-primary-dark);
}

.oz-link-grid a:hover {
  background: #f0fdfa;
  border-color: rgba(15, 118, 110, 0.25);
}

.oz-code {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  background: #f1f5f9;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

@media (max-width: 820px) {
  .oz-contact-grid { grid-template-columns: 1fr; }
}
