/* Komponenty. Len tokeny; každý interaktívny prvok má hover, focus-visible a active.
   Pravidlá proti chaosu (03-design-direction.md §6): na stránke max. 1 bronzová plocha (.price-slab),
   1 fotka s poznámkami (.annotated), 1 pootočená fotka (.photo-grid__item--tilted, len úvod), 1 video mimo /realizacie/. */

/* ---------- Tlačidlá ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-height: var(--tap-min);
  padding: var(--space-2xs) var(--space-m);
  border: var(--border-width-strong) solid transparent;
  border-radius: var(--radius-m);
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.button svg { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }
.button--primary { background: var(--color-action); color: var(--color-on-action); }
.button--primary:hover { background: var(--color-action-hover); color: var(--color-on-action); }
.button--secondary { background: var(--color-surface); color: var(--color-action-secondary); border-color: var(--color-action-secondary); }
.button--secondary:hover { background: var(--color-surface-alt); color: var(--color-action-secondary); }
.button--light { background: var(--color-surface); color: var(--color-text); }
.button--light:hover { background: var(--color-surface-alt); color: var(--color-text); }
.button--outline-light { background: transparent; color: var(--color-on-brand); border-color: var(--color-on-brand); }  /* druhé tlačidlo na bronzovej ploche */
.button--outline-light:hover { background: var(--color-surface); color: var(--color-text); }
.button:active { transform: translateY(1px); }
.button[disabled], .button[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
@media (max-width: 29.99rem) {
  .cta-group .button { width: 100%; }
}
.cta-group { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-m); }

/* Textový odkaz so šípkou (šípka v CSS, Archivo nemá znak →) */
.link-arrow { font-weight: var(--font-weight-medium); }
/* Nadpis sekcie ako odkaz (úvod: „Kúpeľne, ktoré sme obložili“) */
.h-link { color: inherit; font-weight: inherit; text-decoration: none; }
.h-link:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.link-arrow::after {
  content: "";
  display: inline-block;
  width: 0.5em; height: 0.5em;
  margin-inline-start: 0.4em;
  border-top: var(--border-width-strong) solid currentColor;
  border-right: var(--border-width-strong) solid currentColor;
  transform: rotate(45deg) translateY(-0.1em);
}

/* ---------- Štítok sekcie so značkou ■■■ z loga (kreslená v CSS) ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.75em;
  margin-bottom: var(--space-xs);
  font-size: var(--step--1);
  font-weight: var(--font-weight-medium);
  font-stretch: var(--font-stretch-label);
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.kicker::before {
  content: "";
  flex: none;
  width: 2.3em;
  height: 0.6em;
  background: linear-gradient(90deg,
    var(--color-action) 0 26%, transparent 26% 37%,
    var(--color-action) 37% 63%, transparent 63% 74%,
    var(--color-action) 74% 100%);
}

/* ---------- Navigácia ---------- */
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-m);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 80rem) {
  .site-nav__list { flex-wrap: nowrap; gap: 0 var(--space-s); }
  .site-nav__list a { white-space: nowrap; }
}
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
}
.site-nav__list a:hover { color: var(--color-action); text-decoration: underline; }
.site-nav__list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--color-action); text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.site-nav__extra { display: none; }
.button.site-header__call { display: none; }
@media (min-width: 64rem) { .button.site-header__call { display: inline-flex; } }

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--space-2xs);
  min-height: var(--tap-min);
  padding: var(--space-2xs) var(--space-s);
  background: transparent;
  border: var(--border-width-strong) solid var(--color-action-secondary);
  border-radius: var(--radius-m);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after {
  display: block;
  width: 1.1em; height: var(--border-width-strong);
  background: currentColor;
  transition: transform var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { transform: translateY(-0.35em); }
.nav-toggle__icon::after { transform: translateY(0.35em); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: rotate(-45deg); }

@media (max-width: 79.99rem) {
  .site-nav {
    flex-basis: 100%;
    order: 3;
    max-height: calc(100vh - var(--header-height) - var(--space-m));  /* záloha */
    max-height: calc(100dvh - var(--header-height) - var(--space-m)); /* dynamický panel prehliadača na mobile */
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .js .site-nav:not([data-open]) { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav__list { flex-direction: column; padding-block: var(--space-2xs); }
  .site-nav__list li + li { border-top: var(--border-width) solid var(--color-border); }
  .site-nav__extra { display: grid; gap: var(--space-xs); padding-block: var(--space-s) var(--space-m); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: var(--space-s); }
.breadcrumbs ol {
  display: flex; flex-wrap: nowrap; align-items: baseline; gap: var(--space-2xs);  /* text a „›“ v jednej rovine */
  margin: 0; padding: 0; list-style: none;
  font-size: var(--step--1); color: var(--color-text-muted);
  white-space: nowrap; overflow: hidden;
}
.breadcrumbs li:last-child { overflow: hidden; text-overflow: ellipsis; }
.breadcrumbs a { display: inline-block; padding-block: var(--space-3xs); } /* cieľ ≥ 24 px */
.breadcrumbs li + li::before { content: "›"; margin-inline-end: var(--space-2xs); }

/* ---------- Hero ---------- */
.hero__text > * + * { margin-top: var(--space-s); }
.hero__note { margin-top: var(--space-xs); }
.hero__media { width: 100%; max-width: var(--photo-max); justify-self: end; }
.hero__logo { max-width: calc(var(--photo-max) * 1.44); justify-self: center; width: 100%; }  /* logo na úvode 2× o 20 % väčšie (2026-11-13) */
@media (min-width: 48rem) { .hero-grid.hero-grid--logo { grid-template-columns: 1fr 1fr; } }
@media (min-width: 75rem) { .hero-grid.hero-grid--logo { grid-template-columns: 1fr calc(var(--photo-max) * 1.44); } }
.hero__logo img { display: block; width: 100%; height: auto; }

/* ---------- Pás údajov ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--border-width);
  margin: var(--space-l) 0 0;
  padding: 0;
  background: var(--color-border);
  border: var(--border-width) solid var(--color-border);
  list-style: none;
}
.facts li { max-width: none; background: var(--color-surface-alt); padding: var(--space-xs) var(--space-s); font-size: var(--step--1); color: var(--color-text-muted); }
.facts strong {
  display: block;
  font-size: var(--step-1);
  font-weight: var(--font-weight-bold);
  font-stretch: var(--font-stretch-heading);
  line-height: 1.25;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 29.99rem) {
  .facts li { padding-inline: var(--space-xs); }
  .facts strong { font-size: var(--step-0); font-stretch: 100%; }
}
.facts li:last-child:nth-child(odd) { grid-column: 1 / -1; } /* nepárny počet na mobile: posledná cez celú šírku */
@media (min-width: 48rem) {
  .facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .facts li:last-child:nth-child(odd) { grid-column: auto; }
}
.facts--stack { grid-template-columns: 1fr; margin-top: 0; }
@media (min-width: 48rem) { .facts--stack { grid-template-columns: 1fr; grid-auto-flow: row; } }
.facts--on-alt li { background: var(--color-surface); }
@media (max-width: 47.99rem) { .facts--wide { grid-template-columns: 1fr; } } /* dlhšie popisy (Cena: obhliadka) */

/* ---------- Fotky ---------- */
.photo { margin: 0; }
.photo picture, .photo img { width: 100%; }
.photo img { aspect-ratio: var(--photo-ratio); object-fit: cover; height: auto; }
.photo--natural img { aspect-ratio: auto; }
.photo figcaption { margin-top: var(--space-2xs); font-size: var(--step--1); color: var(--color-text-muted); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--joint);
  padding: var(--joint);
  background: var(--color-joint);
  margin: 0;
  list-style: none;
}
.photo-grid > li { max-width: none; }
/* Nepárny počet v 2 stĺpcoch: posledná položka cez celú šírku (bez osamotenej bunky; audit 2026-11-20, B-26) */
.photo-grid > li:last-child:nth-child(odd), .anchors > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 48rem) {
  .photo-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .photo-grid--3 > li:last-child:nth-child(odd), .anchors > li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 64rem) {
  .photo-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .photo-grid--4 > li:last-child:nth-child(odd) { grid-column: auto; }
}
.photo-grid--captions { gap: var(--space-m) var(--joint); padding: 0; background: none; }
.photo-grid--hero { max-width: var(--photo-max); justify-self: end; width: 100%; }
.photo-grid--hero .photo img { display: block; }
.photo-grid__item--tilted { transform: rotate(var(--tile-rotate)) scale(var(--tile-scale)); }

/* ---------- Fotka s poznámkami ---------- */
.annotated { max-width: var(--photo-max); width: 100%; margin: 0; }
.annotated figcaption { margin-top: var(--space-2xs); font-size: var(--step--1); color: var(--color-text-muted); }
.places { list-style: none; padding: 0; display: grid; gap: var(--joint); grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.places li { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-s) var(--space-m); background: var(--color-surface-alt); font-weight: var(--font-weight-medium); }
.places li::before { content: ""; flex: none; width: 0.5em; height: 0.5em; background: var(--color-action); }
.annotated__frame { position: relative; border: var(--joint) solid var(--color-joint); }
/* Poznámky: <span class="note-pt" style="--x: 18%; --y: 36%">1</span> – pozície v %; pri výmene fotky zmazať. */
.note-pt {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: var(--radius-round);
  border: var(--border-width-strong) solid var(--color-on-brand);
  background: var(--color-note);
  color: var(--color-on-brand);
  font-size: var(--step--1);
  font-weight: var(--font-weight-bold);
}
.notes { list-style: none; padding: 0; display: grid; gap: var(--space-2xs); margin-top: var(--space-s); }
.notes li { display: flex; gap: var(--space-xs); align-items: baseline; }
.notes__n {
  flex: none; display: grid; place-items: center;
  width: 1.6rem; height: 1.6rem;
  border-radius: var(--radius-round);
  background: var(--color-note); color: var(--color-on-brand);
  font-size: var(--step--1); font-weight: var(--font-weight-bold);
}

/* ---------- Dlaždice (služby, Ďalšie práce, Čo obložíme, Komu) – nadpis sekcie vždy nad nimi ---------- */
.tiles {
  list-style: none;
  padding: 0;
  margin: var(--space-l) 0 0;
  display: grid;
  gap: var(--joint);
  grid-template-columns: 1fr;
}
@media (min-width: 36rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tiles > li { max-width: none; display: flex; }
.tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-m);
  background: var(--color-surface-alt);
  border-top: var(--border-width-strong) solid var(--color-border-strong); /* bronz len pri dlaždiciach-odkazoch */
  color: var(--color-text);
}
.section--alt .tile { background: var(--color-surface); }
.tile__title { font-size: var(--step-1); }
.tile p { color: var(--color-text-muted); }
.tile .tile__meta {
  margin-top: auto;
  padding-top: var(--space-xs);
  border-top: var(--border-width) solid var(--color-border);
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
  font-variant-numeric: tabular-nums;
}
.tile--link { border-top-color: var(--color-action); text-decoration: none; transition: background-color var(--duration-fast) var(--ease-out); }
.tile--link .tile__title { color: var(--color-link); }
.tile--link .tile__title::after {
  content: "";
  display: inline-block;
  width: 0.45em; height: 0.45em;
  margin-inline-start: 0.4em;
  border-top: var(--border-width-strong) solid currentColor;
  border-right: var(--border-width-strong) solid currentColor;
  transform: rotate(45deg) translateY(-0.1em);
}
.tile--link:hover .tile__title { text-decoration: underline; color: var(--color-action-hover); }
.tile--link:hover { background: var(--color-surface); box-shadow: inset 0 0 0 var(--border-width) var(--color-border-strong); }
.section--alt .tile--link:hover { background: var(--color-surface-alt); }

/* ---------- Dve vedľa seba: robíme my / zoženieme (Rozvody) ---------- */
.duo { display: grid; gap: var(--joint); margin-top: var(--space-l); }
@media (min-width: 48rem) { .duo { grid-template-columns: 1fr 1fr; } }
.duo__item { padding: var(--space-m); background: var(--color-surface-alt); border-top: var(--border-width-strong) solid var(--color-border-strong); }
.duo__item:first-child { border-top-color: var(--color-action); }
.duo__label {
  font-size: var(--step--1);
  font-weight: var(--font-weight-medium);
  font-stretch: var(--font-stretch-label);
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.duo__title { margin-block: var(--space-3xs) var(--space-2xs); font-size: var(--step-1); font-weight: var(--font-weight-bold); font-stretch: var(--font-stretch-heading); line-height: var(--line-height-heading); }
.duo__item p:last-child { color: var(--color-text-muted); }

/* ---------- Zoznam s tučným začiatkom (Ďalšie práce, Ako pracujeme) ---------- */
.list { padding-left: 1.1em; display: grid; gap: var(--space-xs); }
.list li::marker { color: var(--color-action); }
.list--spaced { gap: var(--space-s); }

/* ---------- Ľudia ---------- */
.people { list-style: none; padding: 0; margin-top: var(--space-m); max-width: 36rem; border-top: var(--border-width) solid var(--color-border); }
.people li {
  max-width: none;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2xs) var(--space-m);
  padding: var(--space-xs) 0;
  border-bottom: var(--border-width) solid var(--color-border);
}
.people__name { font-weight: var(--font-weight-medium); }
.people__role { color: var(--color-text-muted); font-size: var(--step--1); }
.people a { font-weight: var(--font-weight-medium); font-variant-numeric: tabular-nums; }
.placeholder { color: var(--color-error); font-weight: var(--font-weight-medium); }

/* ---------- Postup 01–04 ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: var(--space-m); margin-top: var(--space-l); counter-reset: step; }
.steps li { max-width: none; border-top: var(--border-width-strong) solid var(--color-border); padding-top: var(--space-s); counter-increment: step; }
.steps li::before {   /* číslo kroku v bronzovej dlaždici ako štvorček z loga (nie „01“ – nula vyzerala ako písmeno O) */
  content: counter(step);
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  margin-bottom: var(--space-s);
  background: var(--color-action);
  color: var(--color-on-action);
  font-size: var(--step-0);
  font-weight: var(--font-weight-bold);
  line-height: 1;
}
.steps h3 { font-size: var(--step-1); font-stretch: 100%; margin-bottom: var(--space-3xs); }
.steps p { color: var(--color-text); font-size: var(--step-0); }   /* kroky sú obsah, nie popisky (audit 2026-11-20) */
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Bronzová plocha (len /cena/: úvod „Čo je v cene práce a čo nie“) ---------- */
.price-slab { background: var(--color-surface-brand); color: var(--color-on-brand); padding-block: var(--space-xl); }
.price-slab h2 { color: var(--color-on-brand); }
.price-slab .table th, .price-slab .table td { border-color: var(--color-border-on-brand); color: var(--color-on-brand); }
.price-slab h1 {
  font-size: var(--step-4);
  font-weight: var(--font-weight-bold);
  font-stretch: var(--font-stretch-heading);
  line-height: 1.1;
  color: var(--color-on-brand);
}
.price-slab p { max-width: 40ch; }
.price-slab a:not(.button) { color: var(--color-on-brand); }
.price-slab :focus-visible { outline-color: var(--color-focus-inverse); }
.price-slab .cta-group { margin-top: var(--space-s); }
.price-slab__cta-text { margin-top: var(--space-l); font-weight: var(--font-weight-medium); }
/* Cena ako ohnisko bronzovej plochy (vzor 7) */
.price-slab .price-slab__price { display: grid; gap: var(--space-3xs); margin-block: var(--space-s) var(--space-m); max-width: none; }
.price-slab__price strong { font-size: var(--step-5); font-weight: var(--font-weight-bold); font-stretch: var(--font-stretch-heading); line-height: 1; }
.price-slab__price span { font-size: var(--step-1); }


/* ---------- Tabuľka ---------- */
.table { width: 100%; max-width: 44rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; vertical-align: top; padding: var(--space-xs) var(--space-s) var(--space-xs) 0; border-top: var(--border-width) solid var(--color-border); }
.table tr:last-child th, .table tr:last-child td { border-bottom: var(--border-width) solid var(--color-border); }
.table th { font-weight: var(--font-weight-regular); }
.table td { font-weight: var(--font-weight-medium); }
.table thead th { font-size: var(--step--1); color: var(--color-text-muted); font-weight: var(--font-weight-medium); }
@media (max-width: 29.99rem) {
  .table--stack th, .table--stack td { display: block; padding-right: 0; }
  .table--stack td { border-top: 0; padding-top: 0; }
  .table--stack thead { display: none; }
}

/* ---------- Mestá: dlaždice, Košice (základňa) zvýraznené ---------- */
.cities {
  list-style: none;
  padding: 0;
  margin: var(--space-l) 0 0;
  display: grid;
  gap: var(--joint);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-weight: var(--font-weight-medium);
}
@media (min-width: 48rem) { .cities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cities li {
  max-width: none;
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: var(--tap-min);
  padding: var(--space-xs) var(--space-s);
  background: var(--color-surface-alt);
  line-height: 1.3;
}
.section--alt .cities li { background: var(--color-surface); }
.cities li::before { content: ""; flex: none; width: 0.5em; height: 0.5em; background: var(--color-action); }
.cities .cities__base, .section--alt .cities .cities__base {  /* tmavá dlaždica aj na béžovom pozadí */
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: var(--space-3xs) var(--space-xs);
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
}
@media (min-width: 48rem) { .cities .cities__base, .section--alt .cities .cities__base { grid-column: span 2; } }
.cities__base strong { font-size: var(--step-1); font-weight: var(--font-weight-bold); font-stretch: var(--font-stretch-heading); }
.cities__base span { font-size: var(--step--1); font-weight: var(--font-weight-regular); }
.cities .cities__base::before { background: var(--color-on-dark); }

/* ---------- FAQ ---------- */
.faq { border-top: var(--border-width) solid var(--color-border); margin-top: var(--space-m); }
.faq details { border-bottom: var(--border-width) solid var(--color-border); }
.faq summary {
  display: flex; justify-content: space-between; gap: var(--space-s); align-items: center;
  min-height: var(--tap-min);
  padding-block: var(--space-xs);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--step-2); line-height: 1; color: var(--color-action); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: var(--space-s); }

/* ---------- Video na kliknutie ---------- */
.video { max-width: var(--photo-max); width: 100%; margin: 0; }
.video__link { position: relative; display: block; color: var(--color-on-brand); }
.video__link img, .video video { width: 100%; aspect-ratio: var(--photo-ratio); object-fit: cover; }
.video video { object-fit: contain; background: var(--color-surface-dark); }   /* spustené video celé (9:16), náhľad ostáva vo výreze 3:4 */
.video__play {
  white-space: nowrap;   /* „Prehrať video“ v jednom riadku aj na mobile */
  position: absolute; left: var(--space-s); bottom: var(--space-s);
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  min-height: var(--tap-min);
  padding: var(--space-2xs) var(--space-s);
  background: var(--color-action); color: var(--color-on-action);
  font-weight: var(--font-weight-medium);
}
.video__link:hover .video__play { background: var(--color-action-hover); }
.video__play svg { width: 1em; height: 1em; fill: currentColor; }
.video figcaption { margin-top: var(--space-2xs); font-size: var(--step--1); color: var(--color-text-muted); }

/* ---------- Kotvy (Realizácie) ---------- */
.anchors { list-style: none; padding: 0; display: grid; gap: var(--joint); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-m); max-width: 64rem; }
@media (min-width: 48rem) { .anchors { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.anchors li { display: flex; }   /* rovnaká výška dlaždíc v rade */
.anchors a {
  flex: 1; align-content: start;
  display: grid; gap: var(--space-3xs); min-height: var(--tap-min);
  padding: var(--space-s) var(--space-m);
  background: var(--color-surface-alt); border-top: var(--border-width-strong) solid var(--color-action);
  color: var(--color-text); font-weight: var(--font-weight-bold); text-decoration: none;
}
.anchors a::after {   /* šípka nadol – odkaz vedie nižšie na stránke */
  content: ""; width: 0.5em; height: 0.5em; margin-top: var(--space-3xs);
  border-right: var(--border-width-strong) solid var(--color-action); border-bottom: var(--border-width-strong) solid var(--color-action);
  transform: rotate(45deg);
}
.anchors a span { font-size: var(--step--1); font-weight: var(--font-weight-regular); color: var(--color-text-muted); }
.anchors a:hover { background: var(--color-action); color: var(--color-on-action); }
.anchors a:hover span { color: var(--color-on-action); }
.anchors a:hover::after { border-color: var(--color-on-action); }

/* ---------- Formulár ---------- */
.form { display: grid; gap: var(--space-m); margin-top: var(--space-m); }
.field { display: grid; gap: var(--space-3xs); }
.field label, .field legend { font-weight: var(--font-weight-medium); }
.field__optional { font-weight: var(--font-weight-regular); color: var(--color-text-muted); }
.field input, .field textarea {
  width: 100%;
  min-height: var(--tap-min);
  padding: var(--space-2xs) var(--space-xs);
  border: var(--border-width) solid var(--color-border-strong);
  border-radius: var(--radius-s);
  background: var(--color-surface);
}
.field textarea { min-height: 8rem; resize: vertical; }
/* Pole na fotky: tlačidlo výberu v štýle sekundárneho tlačidla (ostré rohy, 2 px antracit, 48 px) */
.field input[type="file"] { padding: var(--space-3xs); cursor: pointer; }
.field input[type="file"]::file-selector-button {
  min-height: calc(var(--tap-min) - 2 * var(--space-3xs) - 2 * var(--border-width));
  margin-inline-end: var(--space-s);
  padding: var(--space-3xs) var(--space-m);
  border: var(--border-width-strong) solid var(--color-action-secondary);
  border-radius: 0;
  background: var(--color-surface);
  color: var(--color-action-secondary);
  font: inherit; font-weight: var(--font-weight-medium);
  cursor: pointer;
}
.field input[type="file"]:hover::file-selector-button { background: var(--color-surface-alt); }
.file-list { list-style: none; padding: 0; margin: 0; font-size: var(--step--1); color: var(--color-text); }
.file-list:empty { display: none; }
.file-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-s); border-bottom: var(--border-width) solid var(--color-border); }
.file-list li::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; background: var(--color-action); }
.file-list li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
/* „Odstrániť“ – textové tlačidlo, cieľ ≥ 24 px (WCAG 2.5.8) */
.file-list__remove {
  min-height: 2.75rem; padding: 0 var(--space-2xs);
  border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--color-link); text-decoration: underline; text-underline-offset: 0.15em;
}
.file-list__remove:hover { color: var(--color-action-hover); }
.field__hint { font-size: var(--step--1); color: var(--color-text-muted); }
.field__error { font-size: var(--step--1); color: var(--color-error); font-weight: var(--font-weight-medium); }
.field__error:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--color-error); border-width: var(--border-width-strong); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: grid; gap: var(--space-2xs); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); grid-auto-rows: 1fr; margin-top: var(--space-2xs); }
.choice { position: relative; display: flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  flex: 1;
  display: flex; align-items: center;
  min-height: var(--tap-min);
  padding: var(--space-2xs) var(--space-s);
  border: var(--border-width) solid var(--color-border-strong);
  background: var(--color-surface);
  cursor: pointer;
}
.choice input:checked + label { border: var(--border-width-strong) solid var(--color-action); background: var(--color-surface-alt); font-weight: var(--font-weight-medium); }
.choice input:focus-visible + label { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.form__submit { display: grid; gap: var(--space-xs); justify-items: start; }
.form-status { font-weight: var(--font-weight-medium); }
.form-status:empty { display: none; }
.form-status[data-state="success"] { color: var(--color-success); }
.form-status[data-state="error"] { color: var(--color-error); }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Kontakt ---------- */
.h-small { font-size: var(--step-1); margin-top: var(--space-l); }
.h-small:first-of-type { margin-top: var(--space-m); }
.contact-aside { padding: var(--space-l); }
.contact-aside h2 { font-size: var(--step-2); }

/* ---------- Hero mriežka: mobil text → pás údajov → fotky; desktop text | fotky, pod tým pás ---------- */
.hero-grid { display: grid; gap: var(--space-l); grid-template-areas: "text" "facts"; }
.hero-grid > .hero__text { grid-area: text; }
.hero-grid > .facts { grid-area: facts; margin-top: 0; }
/* Na mobile sú fotky v úvode skryté – rovnaké fotky sú nižšie na stránke (používateľ 2026-11-12).
   Obrázky majú loading="lazy", takže skryté sa na mobile nesťahujú. */
.hero-grid > .hero__media, .hero-grid > .photo-grid--hero { grid-area: media; display: none; }
@media (min-width: 48rem) {
  .hero-grid > .hero__media { display: block; }
  .hero-grid > .photo-grid--hero { display: grid; }
  .hero-grid { grid-template-columns: 7fr 5fr; grid-template-areas: "text media" "facts facts"; align-items: center; }
}
