/* ===== Design tokeny (z brand-drnholka.md) ===== */
:root {
  /* Barvy: značka */
  --c-plaster: #f3eee5;        /* vápenná omítka, hlavní pozadí */
  --c-plaster-deep: #eae2d4;   /* o stupeň tmavší omítka pro střídání pásů */
  --c-bottle: #2f4f3d;         /* lahvově zelená: nadpisy, tlačítka, tmavé pásy */
  --c-bottle-deep: #243d2f;    /* patička */
  --c-copper: #c28b5e;         /* měď z loga: jen ozdobné linky a logo, nikdy text na světlém */
  --c-copper-light: #dcb28c;   /* světlejší měď pro drobný text na tmavé zelené (min 5,5:1) */
  --c-brick: #956042;          /* terakota/cihla: ikony, linky */
  --c-rust: #802f17;           /* rez: tmavý pás, drobný text s akcentem */
  --c-pumpkin: #dd7616;        /* dýňová oranžová: hover a akcent, nikdy text na světlém */
  --c-sand: #b09070;           /* písková: jemné linky na tmavém */

  /* Barvy: text */
  --c-ink: #2a211c;            /* hlavní text */
  --c-ink-soft: #5b4d44;       /* vedlejší text (7:1 na omítce) */
  --c-on-dark: #f3eee5;        /* text na zelené a rezavé */
  --c-on-dark-soft: #dfd6c6;   /* vedlejší text na tmavém (min 7:1) */
  --c-line: rgb(42 33 28 / 0.16);
  --c-line-dark: rgb(243 238 229 / 0.26);

  /* Písmo */
  --f-display: "Marcellus", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --f-label: "Josefin Sans", "Century Gothic", "Trebuchet MS", sans-serif;
  --f-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Stupnice písma (plynulá) */
  --fs-label: 0.8125rem;                                   /* 13 px, verzálky s rozestupem */
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;                                    /* 17 px */
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3: 1.4375rem;
  --fs-h2: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  --fs-h1: clamp(2.35rem, 1.6rem + 3.2vw, 4.25rem);
  --ls-label: 0.16em;

  /* Mezery (základ 4 px) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 75rem;           /* 1200 px */
  --header-h: 4.25rem;

  /* Rádiusy */
  --r-pill: 999px;
  --r-photo: 0.5rem;
  --r-tile: 0.375rem;

  /* Pohyb */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
}

/* Drnholka · demo A (Klasika) */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-color: var(--c-brick) var(--c-plaster-deep);
}

body {
  margin: 0;
  background: var(--c-plaster);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  caret-color: var(--c-bottle);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--c-bottle); color: var(--c-plaster); }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, dl, dd, figure, table { margin: 0; padding: 0; }
ul { list-style: none; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 3px solid var(--c-rust);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Na tmavých plochách světlý kroužek (oranžová na zelené měla jen 2,9:1) */
.section--bottle :focus-visible,
.section--rust :focus-visible,
.hero__plate :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--c-plaster);
}

.skip {
  position: absolute;
  left: var(--s-4);
  top: -5rem;
  z-index: 100;
  background: var(--c-bottle);
  color: var(--c-plaster);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill);
}
.skip:focus { top: var(--s-3); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--c-bottle);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

p { max-width: 62ch; text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.6; }



/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 2.875rem;
  padding: 0.5rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--f-label);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--c-bottle); color: var(--c-plaster); }
.btn--solid:hover { background: var(--c-pumpkin); color: var(--c-ink); }

.btn--light { background: var(--c-plaster); color: var(--c-bottle); }
.btn--light:hover { background: var(--c-pumpkin); color: var(--c-ink); }

.btn--line { border-color: currentColor; color: var(--c-bottle); background: transparent; }
.btn--line:hover { background: var(--c-bottle); border-color: var(--c-bottle); color: var(--c-plaster); }

.section--bottle .btn--line,
.section--rust .btn--line,
.hero__plate .btn--line { color: var(--c-on-dark); }
.section--bottle .btn--line:hover,
.section--rust .btn--line:hover,
.hero__plate .btn--line:hover { background: var(--c-plaster); border-color: var(--c-plaster); color: var(--c-bottle); }

.text-link {
  font-weight: 500;
  text-decoration-color: var(--c-copper);
  text-decoration-thickness: 2px;
  transition: text-decoration-color var(--dur) var(--ease);
}
.text-link:hover { text-decoration-color: var(--c-pumpkin); }


/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-plaster);
  border-bottom: 1px solid var(--c-line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--c-bottle);
  margin-right: auto;
}
.brand img { height: 2.5rem; width: auto; }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.2em;
}
.brand__claim {
  font-family: var(--f-label);
  font-size: 0.6875rem;
  letter-spacing: 0.34em;
  color: var(--c-rust);
  margin-top: 0.3rem;
  font-weight: 600;
}

.nav { display: flex; align-items: center; }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
  font-family: var(--f-label);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
  padding: 0.5rem 0;
  transition: text-decoration-color var(--dur) var(--ease);
}
.nav a:hover { text-decoration-color: var(--c-copper); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1.5px solid var(--c-bottle);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--c-bottle);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 1.125rem;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -0.35rem; }
.nav-toggle span::after { top: 0.35rem; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0.35rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-0.35rem) rotate(-45deg); }

.header-cta { flex: none; white-space: nowrap; order: 3; }
.nav { order: 2; }
.nav-toggle { order: 4; }

/* Menu: bez JS zůstává pod lištou jako řádek odkazů, s JS se schová za tlačítko */
@media (max-width: 62rem) {
  .site-header__bar { flex-wrap: wrap; row-gap: 0; }
  .nav { order: 5; flex: 1 0 100%; padding-bottom: var(--s-3); }
  .nav ul { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  .js .nav-toggle { display: grid; }
  .js .nav { display: none; border-top: 1px solid var(--c-line); padding: var(--s-3) 0 var(--s-5); }
  .js .nav.is-open { display: flex; }
  .js .nav ul { flex-direction: column; width: 100%; gap: 0; }
  .js .nav a { display: block; padding: 0.85rem 0; font-size: 0.9375rem; text-decoration: none; border-bottom: 1px solid var(--c-line); }
}
@media (max-width: 30rem) {
  .brand { gap: var(--s-2); }
  .brand img { height: 2.125rem; }
  .brand__name { font-size: 0.875rem; letter-spacing: 0.12em; }
  .brand__claim { display: none; }
  .header-cta { padding-inline: 0.875rem; min-height: 2.75rem; font-size: 0.75rem; letter-spacing: 0.06em; }
  .nav-toggle { width: 2.75rem; height: 2.75rem; }
  .site-header__bar { gap: var(--s-2); flex-wrap: nowrap; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-plaster); padding-inline: var(--gutter); border-bottom: 1px solid var(--c-line); }
  .site-header__bar { position: relative; }
}

/* ---------- Hero: střídající se fotky, text přes obrázek ---------- */
.hero {
  position: relative;
  display: flex;
  overflow: hidden;
  background: var(--c-bottle-deep);
  min-height: clamp(34rem, 88vh, 56rem);
  min-height: clamp(34rem, 88svh, 56rem);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1000ms var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide picture { display: block; height: 100%; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.hero__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding-bottom: var(--s-5);
}
.hero__plate {
  width: 100%;
  background: rgb(47 79 61 / 0.94);
  color: var(--c-on-dark);
  padding: var(--s-5);
}
.hero__plate h1 { color: var(--c-on-dark); margin-bottom: var(--s-3); font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3rem); }
.hero__plate p { color: var(--c-on-dark-soft); }
.hero__plate .lead { font-size: 1.0625rem; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-5); }
.hero__call { color: var(--c-on-dark); font-weight: 500; text-decoration-color: var(--c-copper); text-decoration-thickness: 2px; }
.hero__call:hover { text-decoration-color: var(--c-pumpkin); }

.status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  font-weight: 500;
}
.hero__status {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-line-dark);
  color: var(--c-on-dark);
}
.status__dot {
  flex: none;
  width: 0.6875rem;
  height: 0.6875rem;
  border-radius: 50%;
  background: var(--c-sand);
}
.status[data-state="open"] .status__dot { background: #7fcf8f; }
.status[data-state="closed"] .status__dot { background: var(--c-pumpkin); }

/* ovládání střídání fotek: bez JS se nezobrazí */
.hero__controls {
  position: absolute;
  z-index: 2;
  top: var(--s-4);
  right: var(--gutter);
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
  border-radius: var(--r-pill);
  background: rgb(36 61 47 / 0.88);
}
.hero__pause, .hero__dot {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-plaster);
  cursor: pointer;
}
.hero__pause svg { width: 1.125rem; height: 1.125rem; }
.hero__dot::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  border: 1.5px solid var(--c-plaster);
  transition: background-color var(--dur) var(--ease);
}
.hero__dot[aria-current="true"]::before { background: var(--c-plaster); }
.hero__controls :focus-visible { outline: 3px solid var(--c-plaster); outline-offset: -4px; }

/* na mobilu panel jen s nadpisem a tlačítky, ať zůstane vidět fotka */
@media (max-width: 47.49rem) {
  .hero__plate .lead { display: none; }
  .hero__actions { margin-top: var(--s-4); }
}
@media (min-width: 47.5rem) {
  .hero__inner { padding-bottom: var(--s-7); }
  .hero__plate { width: min(100%, 25rem); padding: var(--s-5) var(--s-6); }
  .hero__controls { top: auto; bottom: var(--s-7); }
}
@media (min-width: 80rem) { .hero__plate { width: min(100%, 27rem); } }

/* ---------- Sekce ---------- */
.section { padding-block: var(--section-pad, var(--s-section)); }
.section--tight { --section-pad: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section--deep { background: var(--c-plaster-deep); }
.section--bottle { background: var(--c-bottle); color: var(--c-on-dark); }
.section--rust { background: var(--c-rust); color: var(--c-on-dark); }
.section--bottle h2, .section--rust h2 { color: var(--c-on-dark); }
.section__head { margin-bottom: var(--s-7); }
.section__head p { margin-top: var(--s-4); color: var(--c-ink-soft); }
.section--bottle .section__head p { color: var(--c-on-dark-soft); }

/* O nás */
.story {
  display: grid;
  gap: var(--s-8);
  align-items: center;
}
.story__text { display: grid; gap: var(--s-4); align-content: start; }
.story__text h2 { margin-bottom: var(--s-2); }
.story__text p { color: var(--c-ink); }
.story__credit { color: var(--c-ink-soft); font-size: var(--fs-small); }

/* Posuvník Před / Dnes (z varianty B): stodola × vinný dům */
.compare-fig {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
}
.compare-fig figcaption { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--c-ink-soft); }
.compare {
  --pos: 50%;
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 3 / 4;
  border-radius: var(--r-photo);
  overflow: hidden;
  background: var(--c-bottle-deep);
  touch-action: pan-y;
  user-select: none;
}
.compare__img, .compare__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { width: 100%; height: 100%; object-fit: cover; }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--c-plaster); pointer-events: none; }
.compare__grip {
  position: absolute; top: 50%; left: var(--pos);
  width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--c-plaster); color: var(--c-bottle);
  pointer-events: none;
  transition: transform var(--dur) var(--ease);
}
.compare__grip svg { width: 1.5rem; height: 1.5rem; }
.compare:hover .compare__grip { transform: scale(1.08); }
.compare:focus-within .compare__grip { outline: 3px solid var(--c-pumpkin); outline-offset: 3px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare__tag {
  position: absolute; bottom: var(--s-3);
  padding: 0.2rem 0.75rem; border-radius: var(--r-pill);
  background: var(--c-plaster); color: var(--c-ink);
  font-family: var(--f-label); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  pointer-events: none;
}
.compare__tag--l { left: var(--s-3); }
.compare__tag--r { right: var(--s-3); }

.arch {
  margin: 0 auto;
  width: min(100%, 26rem);
}
.arch__frame { position: relative; isolation: isolate; margin: 0.875rem; }
.arch img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 999px 999px var(--r-photo) var(--r-photo);
}
.arch__frame::before {
  content: "";
  position: absolute;
  inset: -0.875rem;
  z-index: -1;
  border: 1.5px solid var(--c-copper);
  border-radius: 999px 999px 0.875rem 0.875rem;
}
.arch figcaption { margin-top: var(--s-5); font-size: var(--fs-small); color: var(--c-ink-soft); text-align: center; }

@media (min-width: 56rem) {
  .story { grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 7vw, 7rem); }
}

/* Nabídka: karty s fotkou v pozadí a plným panelem s textem */
.offer {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .offer { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .offer { grid-template-columns: repeat(4, 1fr); } }
.offer__item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 20rem;
  border-radius: var(--r-photo);
  background: var(--c-bottle-deep);
}
@media (min-width: 64rem) { .offer__item { min-height: 28rem; } }
.offer__bg { position: absolute; inset: 0; z-index: -1; display: block; }
.offer__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.offer__item:hover .offer__bg img { transform: scale(1.04); }
.offer__body {
  display: grid;
  gap: var(--s-2);
  width: 100%;
  padding: var(--s-5);
  background: rgb(36 61 47 / 0.93);
  color: var(--c-on-dark);
}
.offer__body svg { width: 2.5rem; height: 2.5rem; color: var(--c-copper-light); margin-bottom: var(--s-1); }
.offer__body h3 { color: var(--c-on-dark); }
.offer__body p { color: var(--c-on-dark-soft); font-size: var(--fs-small); line-height: 1.55; }
.offer__body .text-link { justify-self: start; color: var(--c-on-dark); text-decoration-color: var(--c-copper-light); }
.offer__body .text-link:hover { text-decoration-color: var(--c-pumpkin); }

/* karta bez fotky (apartmán): plná rez, ikona nahoře, text dole */
.offer__item--solid { background: var(--c-rust); align-items: stretch; }
.offer__item--solid .offer__body {
  grid-template-rows: auto 1fr;
  align-content: space-between;
  gap: var(--s-6);
  background: transparent;
}
.offer__item--solid .offer__body svg { width: 3.5rem; height: 3.5rem; }
.offer__item--solid .offer__text { display: grid; gap: var(--s-2); align-content: end; }
.offer__item--solid :focus-visible { outline-color: var(--c-plaster); }

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
}
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(4, 1fr); gap: var(--s-3); } }
.gallery li { display: block; }
@media (min-width: 48rem) {
  .gallery__lead { grid-column: span 2; grid-row: span 2; }
  .gallery__wide { grid-column: span 2; }
  .gallery .gallery__lead a { aspect-ratio: 1; }
  .gallery .gallery__wide a { aspect-ratio: 2 / 1; }
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--r-tile);
  aspect-ratio: 1;
  background: var(--c-bottle-deep);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease), opacity var(--dur) var(--ease);
}
.gallery a:hover img { transform: scale(1.04); }
.gallery__note { margin-top: var(--s-5); color: var(--c-on-dark-soft); font-size: var(--fs-small); }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--c-on-dark);
}
.lightbox::backdrop { background: rgb(36 29 25 / 0.95); }
/* fotky se jen posouvají do stran (prstem, myší, šipkami na klávesnici) */
.lightbox__track {
  position: absolute; inset: 0;
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
}
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.lightbox__slide {
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 4.5rem var(--s-4) var(--s-5);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.lightbox__slide img {
  max-width: 100%;
  max-height: calc(100dvh - 7rem);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-tile);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__close {
  position: absolute; top: var(--s-4); right: var(--s-4); z-index: 2;
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border: 1.5px solid var(--c-line-dark);
  border-radius: 50%;
  background: rgb(36 29 25 / 0.6);
  color: var(--c-on-dark);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lightbox__close:hover { background: var(--c-plaster); color: var(--c-bottle); border-color: var(--c-plaster); }
.lightbox__close svg { width: 1.25rem; height: 1.25rem; }
/* šipky jen na počítači (myš); na dotykovém displeji se fotky posouvají prstem */
.lightbox__arrow { display: none; }
@media (min-width: 48rem) and (hover: hover) {
  .lightbox__arrow {
    position: absolute; top: 50%; z-index: 2;
    translate: 0 -50%;
    display: grid; place-items: center;
    width: 3rem; height: 3rem;
    border: 1.5px solid var(--c-line-dark);
    border-radius: 50%;
    background: rgb(36 29 25 / 0.6);
    color: var(--c-on-dark);
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .lightbox__arrow:hover:not(:disabled) { background: var(--c-plaster); color: var(--c-bottle); border-color: var(--c-plaster); }
  .lightbox__arrow:disabled { opacity: 0.3; cursor: default; }
  .lightbox__arrow svg { width: 1.25rem; height: 1.25rem; }
  /* --img-x = odstup fotky od kraje okna (nastavuje JS), šipka sedí 1 rem od fotky */
  .lightbox__arrow--prev { left: max(var(--s-3), calc(var(--img-x, 6rem) - 3rem - var(--s-4))); }
  .lightbox__arrow--next { right: max(var(--s-3), calc(var(--img-x, 6rem) - 3rem - var(--s-4))); }
  .lightbox__arrow { transition-property: background-color, color, border-color, opacity, left, right; }
  /* křížek stejně: u pravého horního rohu fotky, v jedné řadě s pravou šipkou */
  .lightbox__close {
    top: max(var(--s-4), var(--img-top, 1rem));
    right: max(var(--s-3), calc(var(--img-x, 6rem) - 3rem - var(--s-4)));
    transition-property: background-color, color, border-color, top, right;
  }
}

/* Otevírací doba */
.hours {
  display: grid;
  gap: var(--s-8);
  align-items: center;
}
.hours__now { margin: var(--s-5) 0 var(--s-6); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 500; color: var(--c-bottle); line-height: 1.35; max-width: 28rem; }
.hours__now .status { align-items: flex-start; font-size: inherit; font-weight: inherit; gap: 0.75rem; }
.hours__now .status__dot { width: 0.875rem; height: 0.875rem; margin-top: 0.45em; }
.hours__now .status[data-state="open"] .status__dot { background: #2e8a47; }
.hours__now .status[data-state="closed"] .status__dot { background: var(--c-rust); }

/* Týden jako pruhy (z varianty C); čas je vždy i textem */
.week { display: grid; max-width: 30rem; border-top: 1px solid var(--c-line); font-variant-numeric: tabular-nums; }
.day { display: grid; grid-template-columns: 5.25rem 1fr 3.75rem; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--c-line); }
.day__name { font-family: var(--f-label); font-weight: 600; font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-soft); }
.day__time { text-align: right; font-size: 1.125rem; color: var(--c-ink-soft); }
.day__time--closed { font-size: var(--fs-small); }
.day__bar { position: relative; height: 0.75rem; border-radius: var(--r-pill); background: var(--c-line); }
.day__bar i { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); border-radius: var(--r-pill); background: var(--c-bottle); opacity: 0.55; }
.day.is-today .day__name, .day.is-today .day__time { color: var(--c-bottle); font-weight: 600; }
.day.is-today .day__bar i { opacity: 1; }
.day__now { position: absolute; top: -0.35rem; bottom: -0.35rem; width: 3px; margin-left: -1.5px; background: var(--c-rust); border-radius: 2px; }
.hours__side { display: grid; gap: var(--s-5); justify-items: start; }
.hours__side p { color: var(--c-ink-soft); }
.hours__photo { width: 100%; }
.hours__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; border-radius: var(--r-photo); }

@media (min-width: 56rem) {
  .hours { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .hours__side { padding-top: var(--s-2); }
}

/* Recenze */
.reviews__head { margin-bottom: var(--s-7); }
.rating { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.rating__num { font-family: var(--f-label); font-weight: 400; font-size: clamp(4rem, 3rem + 5vw, 7rem); line-height: 0.9; color: var(--c-on-dark); }
.stars { display: flex; gap: 0.3rem; color: var(--c-copper); }
.stars svg { width: 1.5rem; height: 1.5rem; }
.rating__meta { display: grid; gap: var(--s-2); }
.rating__meta p { color: var(--c-on-dark-soft); }
.review-list { display: grid; gap: var(--s-4); }
@media (min-width: 56rem) { .review-list { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.review {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding: var(--s-5);
  border-radius: var(--r-photo);
  background: var(--c-plaster);
  color: var(--c-ink);
}
.review__stars { display: flex; gap: 0.2rem; color: var(--c-rust); }
.review__stars svg { width: 1.125rem; height: 1.125rem; }
.review__text { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.4; color: var(--c-bottle); }
.review__who { font-size: var(--fs-small); color: var(--c-ink-soft); }
.reviews__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-7); }

/* Kontakt: nadpis a popisek, mapa s tlačítky, pak údaje */
.contact { display: grid; gap: var(--s-6); }
.contact__head { max-width: 40rem; }
.contact__where { margin-top: var(--s-4); color: var(--c-ink-soft); }
.map {
  position: relative;
  border-radius: var(--r-photo);
  overflow: hidden;
  min-height: 20rem;
  background: var(--c-plaster-deep);
  border: 1px solid var(--c-line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 56rem) { .map { min-height: 26rem; } }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.map__link { font-size: var(--fs-small); color: var(--c-ink-soft); }
.contact__list { display: grid; gap: var(--s-5); margin-top: var(--s-4); }
.contact__list div { display: grid; gap: 0.15rem; padding-bottom: var(--s-4); border-bottom: 1px solid var(--c-line); align-content: start; }
.contact__list dt { font-family: var(--f-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 600; color: var(--c-rust); }
.contact__list dd { font-size: 1.1875rem; }
.contact__list a { text-decoration-color: var(--c-copper); text-decoration-thickness: 2px; }
.contact__list a:hover { text-decoration-color: var(--c-pumpkin); }
@media (min-width: 48rem) { .contact__list { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-6); } }
@media (min-width: 64rem) { .contact__list { grid-template-columns: repeat(4, 1fr); } }

/* Patička */
.site-footer { background: var(--c-bottle-deep); color: var(--c-on-dark); padding: var(--s-8) 0 var(--s-6); }
.footer__grid { display: grid; gap: var(--s-7); }
.footer__brand { display: grid; gap: var(--s-4); justify-items: start; }
.footer__brand img { height: 5rem; width: auto; }
.footer__name { font-family: var(--f-label); font-weight: 600; letter-spacing: 0.22em; font-size: 1.25rem; }
.footer__claim { font-family: var(--f-label); letter-spacing: 0.36em; font-size: 0.75rem; color: var(--c-copper-light); font-weight: 600; }
.footer__col h2 { font-family: var(--f-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 600; color: var(--c-copper-light); margin-bottom: var(--s-4); line-height: 1.2; }
.footer__col li, .footer__col p { color: var(--c-on-dark-soft); font-size: var(--fs-small); line-height: 1.9; }
.footer__col a { display: inline-block; padding-block: 0.4rem; text-decoration-color: var(--c-line-dark); }
.footer__col a:hover { text-decoration-color: var(--c-pumpkin); }
.footer__hours { display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s-5); font-variant-numeric: tabular-nums; font-size: var(--fs-small); color: var(--c-on-dark-soft); line-height: 1.9; }
.footer__hours dd { margin: 0; }
.footer__hours dt { white-space: nowrap; }
.footer__demo { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--c-line-dark); font-size: 0.8125rem; color: var(--c-on-dark-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
@media (min-width: 30rem) and (max-width: 47.99rem) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Plovoucí zkratka: telefon vlevo, stav uprostřed, mapa vpravo ---------- */
.dock {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: var(--s-2);
  transform: translate(-50%, 160%);
  transition: transform 500ms var(--ease);
}
.dock.is-on { transform: translate(-50%, 0); }
.dock__status {
  justify-content: center;
  min-width: 10.5rem;
  min-height: 2.875rem;
  padding: 0 1.1rem;
  border-radius: var(--r-pill);
  background: var(--c-bottle);
  color: var(--c-plaster);
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.dock__status:hover { background: var(--c-pumpkin); color: var(--c-ink); }
.dock__btn {
  display: grid; place-items: center;
  flex: none;
  width: 2.875rem; height: 2.875rem;
  border-radius: 50%;
  background: var(--c-plaster);
  color: var(--c-bottle);
  border: 1.5px solid var(--c-bottle);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.dock__btn:hover { background: var(--c-bottle); color: var(--c-plaster); }
.dock__btn svg { width: 1.25rem; height: 1.25rem; }
/* Kroužek viditelný na světlém i tmavém pozadí stránky */
.dock a:focus-visible { outline: 3px solid var(--c-plaster); outline-offset: 2px; box-shadow: 0 0 0 2px var(--c-ink); }
html:not(.js) .dock { display: none; }
@media (max-width: 26rem) {
  .dock__status { min-width: 9.5rem; padding: 0 0.9rem; font-size: 0.8125rem; }
}
/* patička nesmí zůstat pod lištou */
.site-footer { padding-bottom: 5.5rem; }

/* ---------- Pohyb a přístupnost ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover, .gallery a:hover img, .offer__item:hover .offer__bg img, .compare:hover .compare__grip { transform: none; }
  .dock, .hero__slide { transition: none; }
}

.gallery__wide img { object-position: 50% 72%; }

.section--rust :focus-visible { outline-color: var(--c-plaster); }
