/* ==========================================================================
   site.css — spoločný základ celého webu (tokeny, komponenty, hlavička, päta)
   --------------------------------------------------------------------------
   Zdroj pravdy pre farby a komponenty. Tokeny sa menia len v :root.
   Pravidlá sú viazané na `body.site`; úvodná stránka má <body class="home site">,
   stránky s fotografiou v hlavičke <body class="site page">,
   dokumentové stránky <body class="site doc">.
   Pripája sa po style.css (ten je zdieľaný a nemení sa) a pred home.css.
   ========================================================================== */

:root {
  --c-primary: #1f4d3a;      /* tmavozelená (odvodená od zelenej v logu): nadpisy, odkazy, sekundárne tlačidlá */
  --c-primary-700: #163a2b;  /* hover/active primárnej, plná hlavička, pás recenzií */
  --c-accent: #ff9800;       /* akcent: rezervačné CTA */
  --c-accent-700: #e08600;   /* hover akcentu */
  --c-ink: #1c1a17;
  --c-muted: #5b564f;        /* kontrast ≥ 4.5:1 na --c-bg */
  --c-bg: #fbf8f3;
  --c-bg-alt: #f3eee5;
  --c-surface: #ffffff;
  --c-line: #e7e0d5;
  --c-open: #1b7a3a;
  --radius: 14px;
  --shadow-1: 0 1px 2px rgba(28, 26, 23, 0.06), 0 8px 24px rgba(28, 26, 23, 0.06);
  --shadow-2: 0 2px 4px rgba(28, 26, 23, 0.08), 0 14px 32px rgba(28, 26, 23, 0.12);
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --focus: var(--c-primary);
}

/* ---------- Základ ---------- */
body.site {
  background: var(--c-bg);
  color: var(--c-ink);
  font: 400 1rem/1.65 var(--font-body);
  overflow-x: hidden;
}

body.site img {
  display: block;
  max-width: 100%;
}

/* Reset okrajov s nulovou špecifickosťou, aby ho komponenty (.split__text p + p, .section-head p, …) mohli prepísať. */
:where(body.site) :is(p, h1, h2, h3, blockquote) {
  margin: 0;
}

body.site h1,
body.site h2,
body.site h3 {
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

body.site h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--c-primary);
}

body.site h3 {
  font-size: 1.35rem;
  color: var(--c-primary);
}

:where(body.site) ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site a {
  color: var(--c-primary);
}

/* Globálny hover odkazov zo style.css (svetlooranžový) nahradí tón primárnej; (0,1,1) = rovnaká váha, vyhráva poradie. */
:where(body.site) a:hover {
  color: var(--c-primary-700);
}

/* ---------- Dostupnosť ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--c-surface);
  color: var(--c-primary);
  font-weight: 700;
  border-radius: 8px;
  box-shadow: var(--shadow-2);
  transition: top 0.15s;
}

.skip-link:focus {
  top: 12px;
}

/* Na tmavých plochách je fokus oranžový (kontrast ≥ 3:1), na svetlých tmavozelený. */
body.site :focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-dark {
  --focus: var(--c-accent);
}

/* ---------- Rozloženie ---------- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.band {
  padding: clamp(64px, 9vw, 112px) 0;
}

/* style.css na desktope dáva sekciám bočný padding 20px (section:not(#hero)); pásy majú ísť od okraja po okraj. */
body.site section:not(#hero) {
  padding-left: 0;
  padding-right: 0;
}

.band--alt {
  background: var(--c-bg-alt);
}

.band--flush {
  padding-bottom: 0;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head--tight {
  margin-bottom: 0;
}

.section-head p {
  margin: 12px auto 0;
  max-width: 52ch;
  color: var(--c-muted);
}

/* ---------- Tlačidlá: jeden tvar, jeden hover ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-body);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

body.site .button--primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-ink);
}

body.site .button--primary:hover,
body.site .button--primary:focus-visible {
  background: var(--c-accent-700);
  border-color: var(--c-accent-700);
  color: var(--c-ink);
}

body.site .button--secondary {
  background: transparent;
  border-color: var(--c-primary);
  color: var(--c-primary);
}

body.site .button--secondary:hover,
body.site .button--secondary:focus-visible {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

body.site .button--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

body.site .button--light:hover,
body.site .button--light:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--c-primary);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
}

.link-arrow i {
  transition: transform 0.2s;
}

body.site .link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* ---------- Hlavička ---------- */
body.site #header {
  top: 0;
  height: auto;
  padding: env(safe-area-inset-top, 0px) 0 0;
  background: var(--c-primary-700);
  box-shadow: 0 6px 24px rgba(8, 22, 15, 0.28);
  color: #fff;
  transition: background-color 0.25s, box-shadow 0.25s;
  --focus: var(--c-accent);
}

/* Stránky s fotografiou pod hlavičkou: priehľadná hore, po scrolle plná. Dokumentové stránky (.doc) sú plné od začiatku. */
body.site:is(.home, .page) #header {
  background: transparent;
  box-shadow: none;
}

body.site #header.header-scrolled,
body.site:is(.home, .page) #header.header-scrolled {
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--c-primary-700);
  box-shadow: 0 6px 24px rgba(8, 22, 15, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

body.site #header .logo {
  margin: 0 auto 0 0;
  order: 0;
  display: flex;
  align-items: center;
}

body.site #header .logo a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

body.site #header .logo img {
  height: 40px;
  width: auto;
  max-height: none;
}

/* style.css posúva menu o -25px kvôli topbaru; na úvodnej stránke topbar nie je. */
body.site #navbar {
  margin-top: 0 !important;
}

@media (min-width: 992px) {
  body.site #navbar { order: 1; }
  .header-tel { order: 2; }
  .header-cta { order: 3; }
}

body.site #navbar a {
  display: inline-flex;
  justify-content: flex-start;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

body.site #navbar a:hover,
body.site #navbar a:focus {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

body.site #navbar a.active,
body.site:not(.home) #navbar a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--c-accent);
}

body.site #navbar ul {
  gap: 4px;
}

body.site .header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}

body.site .header-tel:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.site .header-cta {
  min-height: 44px;
  padding: 8px 22px;
  font-size: 0.95rem;
}

body.site .mobile-nav-toggle {
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
}

@media (max-width: 991px) {
  .header-inner { gap: 8px; }
  .header-tel { order: 1; }
  .header-cta { order: 2; }
  body.site #navbar { order: 3; }

  body.site .header-tel { width: 44px; justify-content: center; padding: 0; }
  body.site .header-tel span { display: none; }
  body.site .mobile-nav-toggle { display: inline-flex; }

  /* Otvorené menu: celá obrazovka v tmavozelenej, veľké odkazy, krížik na mieste hamburgera. */
  body.site #navbar.navbar-mobile {
    background: var(--c-primary-700);
  }

  body.site #navbar.navbar-mobile ul {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px) var(--gutter-r) 24px var(--gutter-l);
    border-radius: 0;
    background: transparent;
    overflow-y: auto;
  }

  body.site #navbar.navbar-mobile li {
    width: 100%;
  }

  body.site #navbar.navbar-mobile a {
    width: 100%;
    min-height: 56px;
    padding: 0;
    font-size: 1.25rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  body.site #navbar.navbar-mobile a:hover,
  body.site:not(.home) #navbar.navbar-mobile a[aria-current="page"],
  body.site #navbar.navbar-mobile a.active {
    color: var(--c-accent);
  }

  body.site #navbar.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    right: var(--gutter-r);
    z-index: 1;
    color: #fff;
  }
}

@media (max-width: 400px) {
  body.site .header-cta { padding: 8px 16px; font-size: 0.875rem; }
  body.site #header .logo img { height: 34px; }
}

/* Stav otvorené / zatvorené: vždy bodka + text, nikdy len farba. */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.open-status:empty {
  display: none;
}

.open-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}


/* ---------- Dvojstĺpcové bloky (O nás, Art galéria) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

.split__text {
  min-width: 0;
}

.split__text h2 {
  margin-bottom: 20px;
}

.split__text p {
  max-width: 62ch;
}

.split__text p + p {
  margin-top: 14px;
}

.split__text .button {
  margin-top: 28px;
}

.split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(31, 77, 58, 0.09);
  color: var(--c-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- Služby ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.service__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--c-line);
}

.service__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 26px 26px 20px;
}

.service__body p {
  color: var(--c-muted);
}

.service__body .link-arrow {
  margin-top: auto;
  padding-top: 6px;
}

@media (max-width: 991px) {
  .services {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 72px);
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.contact-list i {
  margin-top: 1px;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--c-primary);
}

.contact-list strong {
  display: block;
}

.contact-list span {
  overflow-wrap: anywhere;
}

body.site .contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -10px;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-line);
  text-underline-offset: 4px;
}

body.site .contact-list a:hover {
  color: var(--c-ink);
  text-decoration-color: var(--c-primary);
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  min-width: 0;
  align-items: start;
}

.hours-card {
  min-width: 0;
  padding: 24px 14px 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

body.site .hours-card h3 {
  margin: 0 10px 12px;
  font-size: 1.2rem;
}

/* Riadky plní opening-hours.js: <span>Deň:</span> text. Dvojstĺpcové zarovnanie robí flex. */
.hours-list > [data-hours] {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 8px;
  margin: 0;
  padding: 10px;
  border-top: 1px solid var(--c-line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.hours-list > [data-hours]:first-child {
  border-top-color: transparent;
}

.hours-list > [data-hours] > span:first-child {
  font-weight: 600;
}

/* Dnes: zaoblený riadok v jemnom zelenom tóne, tučné písmo a štítok „dnes“ (nie len farba). */
.hours-list > [data-hours].is-today {
  border-top-color: transparent;
  background: rgba(31, 77, 58, 0.09);
  color: var(--c-primary-700);
  font-weight: 700;
}

.hours-list > [data-hours].is-today + [data-hours] {
  border-top-color: transparent;
}

.hours-list > [data-hours].is-today > span:first-child::after {
  content: "dnes";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  vertical-align: 1px;
}

.hours-note {
  margin: 14px 12px 0;
  font-size: 0.875rem;
  color: var(--c-muted);
}


@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Recenzie ---------- */
.reviews {
  background: var(--c-primary-700);
  color: #fff;
  text-align: center;
}

.reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}

body.site .reviews-head h2 {
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--c-accent);
  font-size: 1.35rem;
  line-height: 1;
}

.reviews .testimonials-slider {
  max-width: 760px;
  margin-inline: auto;
  overflow: hidden;
}

.reviews .swiper-slide {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.review {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.6;
  color: #fff;
}

/* Stránkovanie pod citátom; každá bodka má cieľ 44 × 44 px. */
.reviews .testimonials-slider .swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  --swiper-pagination-bullet-horizontal-gap: 0px;
}

.reviews .swiper-pagination-bullet {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  opacity: 1;
}

.reviews .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border: 2px solid #fff;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.reviews .swiper-pagination-bullet-active {
  background: transparent;
}

.reviews .swiper-pagination-bullet-active::after {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

/* ---------- Mapa ---------- */
.map iframe {
  display: block;
  width: 100%;
  height: 380px;
  margin-top: 40px;
  border: 0;
}

@media (max-width: 860px) {
  .map iframe {
    height: 300px;
  }
}

/* ---------- Päta ---------- */
body.site #footer {
  padding: 56px 0 28px;
  background: var(--c-ink);
  color: #ece7dd;
  font-size: 0.9375rem;
  text-align: left;
  --focus: var(--c-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

body.site #footer h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-accent);
}

body.site #footer .footer-title {
  margin: 0 0 10px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

body.site #footer p {
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-style: normal;
  color: #ece7dd;
}

#footer ul {
  display: flex;
  flex-direction: column;
}

body.site #footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

body.site #footer a:hover {
  color: #fff;
  text-decoration-color: var(--c-accent);
}

.footer-contact p {
  line-height: 1.7;
}

.footer-contact p + p {
  margin-top: 14px;
}

body.site #footer .copyright {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.875rem;
  color: #cfc8bb;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Tlačidlo „späť hore“ ---------- */
body.site .back-to-top {
  width: 44px;
  height: 44px;
  background: var(--c-primary);
  --focus: var(--c-accent);
}

body.site .back-to-top:hover {
  background: var(--c-primary-700);
}

/* ---------- Omrvinková navigácia ---------- */
body.site .breadcrumb ol {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.875rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 8px;
  opacity: 0.7;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumb [aria-current="page"] {
  font-weight: 700;
}

/* ---------- Hero podstránok (fotografia, nie 100vh) ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 42vh, 440px);
  background: #20160d;
  color: #fff;
  overflow: hidden;
}

.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

/* Tmaví sa len horná a dolná časť; stred fotografie ostáva čitateľný. */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(12, 12, 10, 0.62) 0, rgba(12, 12, 10, 0) 38%),
    linear-gradient(to top, rgba(12, 10, 8, 0.88) 0, rgba(12, 10, 8, 0.66) 45%, rgba(12, 10, 8, 0.3) 85%),
    rgba(12, 10, 8, 0.12);
}

.page-hero__content {
  text-shadow: 0 1px 10px rgba(12, 10, 8, 0.55);
}

.page-hero .button {
  text-shadow: none;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: clamp(28px, 5vw, 48px);
}

.page-hero .breadcrumb a {
  color: #fff;
}

body.site .page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: 0.01em;
}

.page-hero__lead {
  max-width: 52ch;
  margin-top: 10px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #fff;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 576px) {
  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 380px;
  }
}

/* ---------- Podmenu stránky (lepkavé čipy na sekcie) ---------- */
.page-subnav {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  z-index: 20;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.page-subnav__list {
  position: relative;
  display: flex;
  gap: 8px;
  padding-block: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--c-primary);
  font-weight: 500;
  white-space: nowrap;
}

.page-subnav a:hover {
  background: rgba(31, 77, 58, 0.09);
}

.page-subnav a[aria-current="true"] {
  background: rgba(31, 77, 58, 0.09);
  font-weight: 700;
}

/* Kotvy sekcií sa nesmú schovať pod fixnú hlavičku a lepkavé podmenu. */
body.site.page section[id] {
  scroll-margin-top: calc(var(--header-h) + 56px);
}

/* ---------- Dokumentové stránky ---------- */
body.site.doc #main {
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px) 0 clamp(56px, 8vw, 96px);
}

.doc-page__col {
  max-width: 760px;
  margin-inline: auto;
}

/* style.css dáva každej <section> vlastný padding; v dokumente rozstupy riadia nadpisy. */
body.site .doc-page section {
  padding: 0;
}

.doc-page p + .doc-dl {
  margin-top: 14px;
}

.doc-page .breadcrumb a {
  color: var(--c-primary);
}

body.site .doc-page h1 {
  margin: 8px 0 clamp(24px, 4vw, 40px);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--c-primary);
}

.doc-page h2 {
  margin: clamp(32px, 5vw, 48px) 0 16px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.doc-page p,
.doc-page li {
  max-width: 65ch;
}

.doc-page p + p {
  margin-top: 14px;
}

.doc-page ol,
.doc-page ul {
  padding-left: 1.4em;
  list-style: revert;
}

.doc-page li + li {
  margin-top: 10px;
}

.doc-page p a,
.doc-page li a,
.doc-page dd a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Zoznam definícií: názov údaja vľavo, hodnota vpravo; na mobile pod sebou. */
.doc-dl {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.doc-dl dt,
.doc-dl dd {
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--c-line);
  overflow-wrap: anywhere;
}

.doc-dl dt {
  font-weight: 700;
  color: var(--c-primary);
}

.doc-dl dt:first-of-type,
.doc-dl dt:first-of-type + dd {
  border-top: 0;
}

@media (max-width: 560px) {
  .doc-dl {
    grid-template-columns: 1fr;
  }

  .doc-dl dt {
    padding-bottom: 0;
  }

  .doc-dl dd {
    padding-top: 2px;
    border-top: 0;
  }

  .doc-dl dt:first-of-type {
    border-top: 0;
  }
}

/* Tabuľky: posúvajú sa len vo vnútri obalu, nie celá stránka. */
.table-wrap {
  overflow-x: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.table-wrap table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.table-wrap caption {
  padding: 14px 16px;
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--c-primary);
}

.table-wrap th,
.table-wrap td {
  padding: 12px 16px;
  border-top: 1px solid var(--c-line);
  text-align: left;
}

.table-wrap thead th {
  background: var(--c-bg-alt);
}

.table-wrap tbody th {
  font-weight: 700;
}

/* ---------- Stránky s fotografiou (.page): rozloženie hlavných sekcií ---------- */
.split--start {
  align-items: start;
}

.split--start .split__media {
  position: sticky;
  top: calc(var(--header-h) + 56px + 24px);
}

@media (max-width: 860px) {
  .split--start .split__media {
    position: static;
  }
}

.split--start .split__text .pill {
  margin: 20px 0 8px;
}

/* Zoznam s ikonami (typy izieb, vlastnosti) */
.checklist {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.checklist i {
  margin-top: 2px;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--c-primary);
}

/* Karty služieb v užšom okne: rovnaká výška kariet v riadku, bez odkazu ostáva pätka prázdna */
.services--page {
  align-items: stretch;
}

/* Tabuľky cien: prvý stĺpec ostáva viditeľný pri posune na mobile */
.table-wrap--sticky tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--c-surface);
  box-shadow: 1px 0 0 var(--c-line);
}

.table-wrap--sticky thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}

.table-wrap td {
  font-variant-numeric: tabular-nums;
}

/* Cenník: názvy riadkov sa nelámu, tabuľka sa posúva len vo vnútri obalu. */
.table-wrap--sticky tbody th,
.table-wrap--sticky thead th:first-child {
  white-space: nowrap;
}

/* Úzka tabuľka (3 stĺpce) sa na mobile zmestí bez posunu. */
.table-wrap--compact table {
  min-width: 0;
}

.table-note {
  max-width: 65ch;
  margin: 20px auto 0;
  text-align: center;
}

.table-block {
  max-width: 960px;
  margin-inline: auto;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 28px;
}

/* Galéria náhľadov (GLightbox) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-grid a:hover,
.gallery-grid a:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Výstavy (Art galéria): text autora + fotografia, galéria diel */
.split--single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.split--single .split__text p {
  max-width: 65ch;
}

/* Fotografia autora v pôvodnom pomere (portrét sa neorezáva) */
.split__media--natural img {
  aspect-ratio: auto;
  object-fit: contain;
}

.exhibition-text h3 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
  color: var(--c-primary);
}

.exhibition-text ul {
  padding-left: 1.3em;
  list-style: revert;
}

.exhibition-text li {
  max-width: 65ch;
}

.exhibition-text li + li {
  margin-top: 8px;
}

.exhibition-text .pill {
  margin: 24px 0 0;
}

/* Obrazy sa zobrazujú celé (bez orezu) na bielom podklade */
.gallery-grid--art a {
  background: var(--c-surface);
}

.gallery-grid--art img {
  object-fit: contain;
}

/* Vložený externý obsah (menu): karta, záložný odkaz pod ňou */
.embed-card {
  max-width: 760px;
  margin-inline: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.embed-card iframe {
  display: block;
  width: 100%;
  border: 0;
}

.embed-card--daily iframe {
  height: 800px;
}

.embed-card--carte iframe {
  min-height: 400px;
}

.embed-fallback {
  margin-top: 16px;
  text-align: center;
}

/* Jedna karta hodín (reštaurácia) */
.hours-grid--single {
  grid-template-columns: minmax(0, 440px);
}

/* Raňajky: riadok dopĺňa opening-hours.js, preto sa štýluje tu */
.hours-list > [data-hours="restauracia-ranajky"] {
  justify-content: flex-start;
  color: var(--c-muted);
  font-size: 0.9375rem;
}

.hours-list > [data-hours="restauracia-ranajky"] > span:first-child {
  font-weight: 400;
}

/* ---------- Päta: uvedenie autora šablóny (len podstránky) ---------- */
body.site #footer .footer-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.35em;
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: #cfc8bb;
}

/* ---------- Pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.site *,
  body.site *::before,
  body.site *::after {
    transition: none !important;
    animation: none !important;
  }

  .button:hover,
  .button:focus-visible,
  .service:hover,
  .link-arrow:hover i {
    transform: none;
  }
}
