/* MIK, s.r.o. – štýly webu
   Smer „Moderná mäsová výroba“: úzke verzálkové nadpisy (Oswald), čisté písmo textu (IBM Plex Sans),
   tmavé bordové pásy striedané s bielymi a ružovkastými sekciami, ostré karty s tenkým červeným okrajom.
   Farby značky ostávajú. Mobil od 375 px, väčšie obrazovky cez min-width. */

/* ---------- Písma (lokálne, zúžené na latinku so slovenčinou) ---------- */
@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Premenné ---------- */
:root {
  /* Farby značky */
  --red: #a40e26;
  --red-dark: #860000;
  --red-deep: #5e0a17;
  --pink: #ffebe9;
  --pink-2: #ffcecb;
  --tint: #fff6f5;
  --white: #fff;
  --text: #2b1a1c;
  --muted: #6b5154;
  /* Tmavšie a svetlejšie odtiene tých istých farieb */
  --ink: #1b0a0d;             /* bordovočierna – horná lišta, tmavé pásy */
  --ink-2: #16080b;
  --line: #ecdedc;            /* jemné linky a okraje kariet (teplá sivá) */
  --on-dark: #f6e7e5;         /* text na tmavom */
  --on-dark-muted: #d9b9b5;   /* vedľajší text na tmavom (kontrast 10:1) */
  --border-strong: #957a7d;   /* orámovanie polí formulára (kontrast aspoň 3:1) */
  --footer-text: #f6dedb;     /* text v bordovej pätičke */

  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Oswald", "Bahnschrift Condensed", "Arial Narrow", sans-serif;

  --radius: 2px;
  --shadow: 0 1px 2px rgb(43 26 28 / 0.05), 0 14px 34px -18px rgb(94 10 23 / 0.32);
  --shadow-lg: 0 28px 60px -28px rgb(0 0 0 / 0.7);
  --container: 76rem;
  --gutter: 1rem;
  --section: clamp(3.25rem, 2.2rem + 4.5vw, 6.25rem);

  color-scheme: light;
}
@media (min-width: 48em) {
  :root { --gutter: 1.5rem; }
}
@media (min-width: 64em) {
  :root { --gutter: 2rem; }
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote, address { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15; /* dĺžne a mäkčene na verzálkach (Á, É, Ť…) siahajú 1,07 em nad účiar */
  color: var(--red-deep);
  text-wrap: balance;
}
h1, h2 { letter-spacing: 0.005em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); font-weight: 500; line-height: 1.25; }
h4 { font-size: 1.125rem; font-weight: 500; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.05em; }

address { font-style: normal; }
strong, b { font-weight: 600; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

[hidden] { display: none !important; }

a { color: var(--red); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--pink-2); color: var(--text); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--white);
  color: var(--red);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 0.5rem; }

/* Nadpisový štítok nad nadpisom (len texty, ktoré už na webe sú) */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
}
.kicker::before {
  content: "";
  flex: none;
  width: 2.25rem;
  height: 2px;
  background: currentColor;
}
.kicker--light { color: var(--pink-2); }
.kicker--light::before { height: 3px; background: var(--red); }

/* ---------- Rozloženie ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }

/* Rovnomerné medzery medzi prvkami. Medzeru určuje rodič (.flow, .flow--lg, .card) priamo v selektore –
   vnorený .flow tak nezmení odstup, ktorý mu dal jeho rodič. */
.flow > * + * { margin-top: 1em; }
.flow--lg > * + * { margin-top: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.flow > .kicker + * { margin-top: 0.9rem; }

.section-head { max-width: 48rem; }

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 3.5vw, 4.5rem);
  align-items: center;
}
.split--top { align-items: start; }
@media (min-width: 56em) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tmavý pás: fotka (len dekorácia) pod bordovočiernym prechodom */
.section--dark,
.section--brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
}
.section--dark { background: var(--ink); }
.section--brand { background: var(--red); color: var(--white); }
.section__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section--dark::before,
.section--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.section--dark::before {
  background: linear-gradient(100deg, rgb(22 8 11 / 0.96) 0%, rgb(27 10 13 / 0.86) 45%, rgb(94 10 23 / 0.66) 100%);
}
.section--brand .section__bg { mix-blend-mode: multiply; opacity: 0.5; }
.section--brand::before {
  background: linear-gradient(90deg, rgb(134 0 0 / 0.78) 0%, rgb(164 14 38 / 0.5) 55%, rgb(164 14 38 / 0.15) 100%);
}
.section--dark h2, .section--brand h2 { color: var(--white); }
.section--dark :focus-visible, .section--brand :focus-visible { outline-color: var(--white); }

/* ---------- Tlačidlá ---------- */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 3rem;
  padding: 0.7em 1.35em;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn .icon { width: 1.25em; height: 1.25em; transition: transform 0.2s; }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn strong { font-weight: inherit; }

.btn--lg { min-height: 3.5rem; padding: 0.85em 1.5em; font-size: 1.0625rem; }
.btn--small { min-height: 2.75rem; padding: 0.5em 1em; font-size: 0.9375rem; letter-spacing: 0.05em; }
.btn--small .icon { width: 1.15em; height: 1.15em; }
.btn--outline { background: transparent; color: var(--red); }
.btn--outline:hover { background: var(--red); border-color: var(--red); }
.btn--dark { background: var(--red-deep); border-color: var(--red-deep); }
.btn--dark:hover { background: var(--ink); border-color: var(--ink); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--red); }
.btn--light:hover { background: var(--pink); border-color: var(--pink); color: var(--red-dark); }
.btn--ghost { background: transparent; border-color: rgb(255 255 255 / 0.6); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--red); }

button.btn { margin: 0; cursor: pointer; }
.btn:disabled { opacity: 0.6; cursor: progress; }

@media (max-width: 29.99em) {
  .buttons .btn { width: 100%; }
}

/* ---------- Hlavička ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

/* Horná lišta: na mobile dva telefóny na jedno ťuknutie, od tabletu aj adresa a čísla */
.topbar {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 2rem;
}
.topbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  padding: 0;
  list-style: none;
}
.topbar__item { display: flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; }
.topbar .icon { width: 1rem; height: 1rem; color: var(--pink-2); }
.topbar a {
  display: inline-block;
  padding-block: 0.65rem;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar a { display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar__label { font-weight: 400; color: var(--on-dark-muted); }
@media (max-width: 47.99em) {
  .topbar__address { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__list { width: 100%; justify-content: space-around; }
  .topbar__label { font-weight: 600; color: var(--white); }
  .topbar__number {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
}
.topbar :focus-visible { outline-color: var(--white); outline-offset: 0; }

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--red);
  text-decoration: none;
}
.brand:hover { color: var(--red-dark); }
.brand__logo { width: 3.25rem; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand__tagline {
  margin-top: 0.3rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--red-deep);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle:hover { background: var(--red); }
.menu-toggle svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
html:not(.js) .menu-toggle { display: none; }

@media (max-width: 23.99em) {
  .menu-toggle__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .menu-toggle { justify-content: center; padding-inline: 0.6rem; }
}

.menu { flex-basis: 100%; }
.nav-main ul, .nav-ext ul { margin: 0; padding: 0; list-style: none; }

/* Mobilné menu */
@media (max-width: 69.99em) {
  .js .menu:not(.is-open) { display: none; }
  .menu { padding-bottom: 1rem; }
  .nav-main { margin-top: 0.25rem; }
  .nav-main li { border-top: 1px solid var(--line); }
  .nav-main a {
    display: flex;
    align-items: center;
    min-height: 3.1rem;
    padding: 0.65rem 0.25rem;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .nav-main a:hover { color: var(--red); }
  .nav-main a[aria-current="page"] {
    padding-left: 0.9rem;
    color: var(--red);
    background: var(--tint);
    box-shadow: inset 3px 0 0 var(--red);
  }
  .nav-ext ul {
    display: grid;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .nav-ext .btn { width: 100%; min-height: 3.25rem; font-size: 1rem; }
}
@media (min-width: 40em) and (max-width: 69.99em) {
  .nav-ext ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Desktopové menu: 1. riadok logo + objednávkové systémy, 2. riadok stránky */
@media (min-width: 70em) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand ext" "main main";
    column-gap: 2rem;
    row-gap: 0;
    padding-block: 0.9rem 0;
  }
  .brand { grid-area: brand; gap: 0.95rem; }
  .brand__logo { width: 4rem; }
  .brand__name { font-size: 1.5rem; }
  .brand__tagline { font-size: 0.8125rem; }
  .menu-toggle { display: none; }
  .menu { display: contents; }
  .nav-ext { grid-area: ext; justify-self: end; }
  .nav-ext ul { display: flex; gap: 0.6rem; }
  .nav-main { grid-area: main; margin-top: 0.9rem; border-top: 1px solid var(--line); }
  .nav-main ul { display: flex; flex-wrap: wrap; justify-content: flex-start; column-gap: 2.5rem; }
  /* Viac položiek (zverejnené novinky, ponuka práce, nové stránky): menšie medzery, riadky zarovnané doľava */
  .nav-main--viac ul { justify-content: flex-start; column-gap: 1.6rem; }
  .nav-main--viac a { letter-spacing: 0.035em; }
  .nav-main a {
    display: block;
    padding: 0.95rem 0 0.8rem;
    border-bottom: 3px solid transparent;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }
  .nav-main a:hover { color: var(--red); border-bottom-color: var(--pink-2); }
  .nav-main a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
}

/* ---------- Záhlavie podstránky ---------- */
.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.75rem, 1.6rem + 4.5vw, 5.75rem);
  background: var(--ink);
  border-bottom: 4px solid var(--red);
}
.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--vyrez, 70% 35%); /* fotka_vyrez v hlavičke stránky */
}
/* Na mobile je pás voči šírke vyšší a z fotky ukáže iný pruh – stránka preň môže mať vlastný fotka_vyrez_mobil
   a fotku priblížiť okolo výrezu (fotka_priblizenie_mobil), napr. aby nebolo vidno nápis na fotke. */
@media (max-width: 47.99em) {
  .page-header__bg {
    object-position: var(--vyrez-mobil, var(--vyrez, 70% 35%));
    transform: scale(var(--priblizenie-mobil, 1));
    transform-origin: var(--vyrez-mobil, var(--vyrez, 70% 35%));
  }
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(22 8 11 / 0.97) 0%, rgb(27 10 13 / 0.9) 45%, rgb(80 9 21 / 0.62) 80%, rgb(94 10 23 / 0.45) 100%);
}
.page-header__inner::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-bottom: 1.25rem;
  background: var(--red);
}
.page-header h1 { max-width: 52rem; color: var(--white); }

/* ---------- Pečať: logo MIK v kruhu s nápisom „Už od roku 1994“ (partials/seal.html) ---------- */
.seal {
  --size: 8rem;
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal__ring circle { fill: none; stroke: currentColor; stroke-width: 1; }
.seal__ring circle:first-of-type { stroke-width: 2.5; }
.seal__ring text {
  fill: currentColor;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.seal__dots { fill: currentColor; }
.seal__logo { width: 58%; height: auto; }

/* ---------- Úvod (hero) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: min(80vh, 42rem);
  padding-block: clamp(1.75rem, 1rem + 2.5vw, 3.25rem);
  background: var(--ink);
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(27 10 13 / 0.3) 0%, rgb(27 10 13 / 0.62) 30%, rgb(27 10 13 / 0.88) 55%, rgb(22 8 11 / 0.95) 100%);
}
.hero__inner {
  display: grid;
  gap: clamp(2.25rem, 1.6rem + 2vw, 3rem);
}
/* Prihlásenia pod sebou rovnako široké, od 56em vedľa seba */
.hero__login {
  display: grid;
  grid-template-columns: minmax(0, 28rem);
  gap: 0.75rem;
}
.hero__login .btn {
  justify-content: flex-start;
  text-align: left;
  box-shadow: 0 16px 34px -14px rgb(0 0 0 / 0.75), inset 0 0 0 1px rgb(255 255 255 / 0.12);
}
.hero__box { max-width: 46rem; }
.hero__box > * + * { margin-top: 1.25rem; }
.hero__box > .kicker + h1 { margin-top: 1rem; }
.hero__seal {
  --size: 6.5rem;
  box-shadow: 0 0 0 5px rgb(255 255 255 / 0.16), 0 18px 34px -16px rgb(0 0 0 / 0.8);
}
.hero__box > .hero__seal + .kicker { margin-top: 1.5rem; }
/* Na mobile pečať v úvode nie je – karty nákupu sú tak hneď pod nadpisom (pečať je aj v pätičke) */
@media (max-width: 47.99em) {
  .hero__seal { display: none; }
}
/* Na veľkej obrazovke je pečať vpravo na fotke mäsa – ako pečiatka */
@media (min-width: 72em) {
  .hero__inner { position: relative; }
  .hero__seal {
    --size: clamp(10rem, 4rem + 7vw, 12.5rem);
    position: absolute;
    top: 0;
    right: 2rem;
    rotate: -8deg;
  }
  .hero__box > .hero__seal + .kicker { margin-top: 0; }
}
.hero h1 {
  color: var(--white);
  text-transform: uppercase; /* hlavný nadpis úvodu ostáva vo verzálkach – je krátky */
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: 0.005em;
}
.hero__lead {
  max-width: 41rem;
  color: rgb(255 255 255 / 0.86);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}
.hero__lead strong { color: var(--white); }
.hero__box > .hero__more { margin-top: 1.75rem; }
.hero__inner > .hero__more { margin-top: -0.5rem; }
.hero :focus-visible { outline-color: var(--white); }

@media (min-width: 56em) {
  .hero__login { display: flex; flex-wrap: wrap; }
  .hero::before {
    background:
      linear-gradient(90deg, rgb(22 8 11 / 0.97) 0%, rgb(27 10 13 / 0.9) 36%, rgb(70 9 20 / 0.5) 66%, rgb(94 10 23 / 0.12) 100%),
      linear-gradient(0deg, rgb(22 8 11 / 0.6) 0%, transparent 38%);
  }
}


/* Dve cesty nákupu hneď pod nadpisom úvodu: domácnosti a firmy (na mobile pod sebou) */
.buy { display: grid; gap: 1rem; }
@media (min-width: 48em) {
  .buy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
.buy__card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--white);
  color: var(--text);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-lg);
}
.buy__card h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem); color: var(--red-deep); }
.buy__list { display: grid; gap: 0.35rem; padding: 0; list-style: none; }
.buy__list li { position: relative; padding-left: 1.5rem; line-height: 1.45; }
.buy__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.5em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--red);
}
.buy__card .buttons { margin-top: auto; padding-top: 0.35rem; }
.hero .buy :focus-visible { outline-color: var(--red); }

/* Rámček „Podmienky v skratke“ (Pre domácnosti) a „Podmienky spolupráce“ (Pre firmy) */
.terms {
  padding: clamp(1.4rem, 1.05rem + 1.2vw, 2.1rem);
  background: var(--tint);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
}
.terms__title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); }
.terms__list { display: grid; margin: 1rem 0 0; }
@media (min-width: 48em) {
  .terms__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}
.terms__list > div {
  display: grid;
  grid-template-columns: minmax(8.5rem, 40%) minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.terms__list dt { font-weight: 600; color: var(--red-deep); }
.terms__list dd { margin: 0; }
.terms .buttons { margin-top: 1.25rem; }

/* Fotka s popisom pod ňou */
.figure { margin: 0; }
.figure figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Pás s faktami ---------- */
.facts {
  background: var(--red);
  color: var(--white);
}
.facts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1rem 1.5rem 0;
}
.fact:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgb(255 255 255 / 0.22); }
.fact:nth-child(n + 3) { border-top: 1px solid rgb(255 255 255 / 0.22); }
.fact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border: 2px solid rgb(255 255 255 / 0.4);
  border-radius: 50%;
}
.fact__icon .icon { width: 1.6rem; height: 1.6rem; }
.fact__label {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-2);
}
.fact__value {
  margin-top: 0.3rem;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 0.31rem + 1.32vw, 1.5rem); /* „100 % slovenský pôvod“ sa zmestí do stĺpca */
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@media (min-width: 40em) and (max-width: 63.99em) {
  .fact { flex-direction: row; align-items: center; gap: 1rem; }
}
/* Desktop: štyri rovnaké stĺpce, ikona nad textom – deliace čiary v pravidelnom rastri */
@media (min-width: 64em) {
  .facts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact:nth-child(n) {
    padding: 1.75rem 0.75rem 1.9rem 1.25rem;
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 0.22);
  }
  .fact:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Úvod: o nás a galéria ---------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 56em) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  align-items: start;
}
.gallery > :first-child { margin-top: clamp(1.5rem, 0.75rem + 3vw, 3.5rem); }

/* ---------- Médiá ---------- */
.media { width: 100%; box-shadow: var(--shadow); }
.media--portrait { aspect-ratio: 3 / 4; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }

/* Starší banner s logom (obsah) – menší, v bielom ráme */
.banner {
  max-width: 36rem;
  padding: 0.5rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.banner__img { width: 100%; }
.banner--light { border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- Úvod: tmavý pás s kartami ---------- */
.features__grid {
  display: grid;
  gap: clamp(2rem, 1.2rem + 3vw, 3.5rem);
}
.features__head p { color: var(--on-dark); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem); }
@media (min-width: 56em) {
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; column-gap: clamp(2.5rem, 1rem + 4vw, 5rem); }
  .features__cards { grid-column: 1 / -1; }
}
.features .card { border-color: transparent; border-top-color: var(--red); }
@media (min-width: 56em) {
  .features .banner { justify-self: end; }
}

/* ---------- Karty ---------- */
.cards {
  display: grid;
  gap: clamp(1rem, 0.75rem + 0.9vw, 1.5rem);
  padding: 0;
  list-style: none;
}
@media (min-width: 40em) {
  .cards--2, .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  position: relative;
  padding: clamp(1.4rem, 1.05rem + 1.2vw, 2.1rem);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}
.card > * + * { margin-top: 0.8em; }
.card h3 { color: var(--red-deep); }
.card__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--tint);
  color: var(--red);
}
.card__icon .icon { width: 1.8rem; height: 1.8rem; }
.card > .card__icon + h3 { margin-top: 1.1rem; }

.card--panel { padding: clamp(1.5rem, 1rem + 2.2vw, 3rem); }

/* ---------- Kroky ---------- */
.step { padding-top: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); }
.step__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--red);
  color: var(--white);
}
.step__icon .icon { width: 2rem; height: 2rem; }
.step > .step__icon + h3 { margin-top: 1.25rem; }
.step .btn { justify-content: flex-start; text-align: left; }

/* Online objednávky: poradové číslo 01/02/03 doplní CSS (dekorácia, čítačky ho vynechajú) */
.steps--counter { counter-reset: krok; }
.steps--counter > .step { counter-increment: krok; }
.steps--counter > .step::after {
  content: counter(krok, decimal-leading-zero);
  content: counter(krok, decimal-leading-zero) / "";
  position: absolute;
  top: clamp(1.2rem, 1rem + 0.8vw, 1.8rem);
  right: clamp(1.3rem, 1rem + 1vw, 2.1rem);
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--pink-2);
  pointer-events: none;
}

/* Návod: veľké číslo kroku (0 pred číslicou pridá CSS) s linkou */
.steps--num .step__num {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--red);
}
.steps--num .step__num::before { content: "0"; }
.steps--num .step__num::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 1rem;
  background: var(--line);
}
.steps--num > .step > .step__num + h3 { margin-top: 1.1rem; }

/* ---------- Texty (VOP, reklamačný poriadok, návod) ---------- */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1em; }
.prose > :first-child { margin-top: 0; }
.prose > h2 + *, .prose > h3 + *, .prose > h4 + * { margin-top: 0.6em; }
.prose > h3 { margin-top: 2em; }
.prose > h4 { margin-top: 1.75em; }
.prose ol, .prose ul, .prose-list { padding-left: 1.35em; }
.prose li + li, .prose-list li + li { margin-top: 0.55em; }
.prose li::marker { color: var(--red); font-weight: 600; }

/* Právne texty: pečať vľavo, text ako dokument */
.legal {
  display: grid;
  gap: 1.75rem;
}
.legal__icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  background: var(--red-deep);
  color: var(--white);
}
.legal__icon .icon { width: 2.6rem; height: 2.6rem; }
/* Podnadpis hneď pod úvodným nadpisom právneho textu (napr. „Reklamácie a vrátenie tovaru“) */
.legal__body > h2:first-child + p {
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.legal__body > h3 {
  margin-top: 2.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 56em) {
  .legal { grid-template-columns: 4.5rem minmax(0, 48rem); column-gap: clamp(2rem, 1rem + 3vw, 4rem); }
  .legal__icon { position: sticky; top: 1.5rem; }
}

/* Návod v online objednávkach – nadpis vľavo (na desktope), postup vpravo */
.guide {
  max-width: none;
  padding: clamp(1.5rem, 0.9rem + 2.6vw, 3.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}
.guide > h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; line-height: 1.15; }
.guide__body > * + * { margin-top: 1em; }
.guide__body > h4 { margin-top: 1.75em; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--red); }
.guide__body > h4 + * { margin-top: 0.6em; }
.guide__body > h4:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.guide__body ul { padding-left: 1.35em; }
.guide__body li + li { margin-top: 0.55em; }
.guide__body li::marker { color: var(--red); font-weight: 600; }
@media (min-width: 64em) {
  .guide {
    display: grid;
    grid-template-columns: minmax(0, 17rem) minmax(0, 46rem);
    column-gap: clamp(2rem, 1rem + 3vw, 4.5rem);
    align-items: start;
  }
  .guide > h3 { position: sticky; top: 1.5rem; }
  .guide > h3 + .guide__body { margin-top: 0; }
}

.checklist { padding-left: 0; list-style: none; }
.checklist li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.75rem; /* odkazy v zozname sú dosť veľké na dotyk */
  padding-left: 2.15rem;
}
.checklist a { display: inline-block; padding-block: 0.5rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 0.675rem);
  width: 1.35rem;
  height: 1.35rem;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
}

/* Výhody objednávok: štyri bloky s červenou linkou */
.card--panel .prose-list {
  display: grid;
  gap: 1.5rem 2.5rem;
  padding: 0;
  list-style: none;
}
.card--panel .prose-list li { margin: 0; padding-top: 1.1rem; border-top: 2px solid var(--red); }
.card--panel .prose-list li > strong:first-child {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--red-deep);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
}
@media (min-width: 48em) {
  .card--panel .prose-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Výdaj tovaru */
.pickup__block--accent {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--tint);
  border-left: 3px solid var(--red);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; max-width: 56rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.1rem 4.25rem 1.05rem 1.35rem;
  color: var(--red-deep);
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' stroke-width='2.5' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.faq details[open] > summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' stroke-width='2.5' stroke-linecap='round' d='M5 12h14'/%3E%3C/svg%3E");
}
.faq details > p { max-width: 46rem; padding: 0 1.35rem 1.3rem; }

/* ---------- Výzva (CTA) ---------- */
.cta {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.cta p { color: rgb(255 255 255 / 0.9); }
@media (min-width: 56em) {
  .cta { grid-template-columns: minmax(0, 1fr) auto; gap: 3.5rem; }
}

/* ---------- Kolekcie: novinky, ponuka práce (content/kolekcie.toml) ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card > * + * { margin-top: 0; }
.post-card__media { display: block; }
.post-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.3s ease; }
.post-card:hover .post-card__img { transform: scale(1.03); }
.post-card__body { padding: clamp(1.4rem, 1.05rem + 1.2vw, 2.1rem); }
.post-card__body > * + * { margin-top: 0.7em; }
.post-card__date {
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--red); text-decoration: underline; }
/* celá karta je klikateľná cez odkaz v nadpise */
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:focus-visible { outline: none; }
.post-card:has(.post-card__title a:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
.posts__empty { max-width: 46rem; font-size: 1.125rem; color: var(--muted); }

.post { max-width: 48rem; }
.post__date {
  font-family: var(--font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.post__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post__fields {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 3px solid var(--red);
  background: var(--tint);
}
.post__fields > div {
  display: grid;
  gap: 0.15rem 1.5rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 40em) {
  .post__fields > div { grid-template-columns: 14rem minmax(0, 1fr); }
}
.post__fields dt { font-weight: 600; color: var(--red-deep); }
.post__fields dd { margin: 0; }
.post__body h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 1.6em; }
.post__body h3 { margin-top: 1.4em; }
.post__body ul, .post__body ol { padding-left: 1.35em; }
.post__body li + li { margin-top: 0.4em; }
.post__body li::marker { color: var(--red); }
.post__back { padding-top: 1rem; }

/* ---------- Naše výrobky ---------- */
.lead { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.35rem); line-height: 1.55; }
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-card > * + * { margin-top: 0; }
.product-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-card__noimg {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  color: var(--white);
}
.product-card__noimg span {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* výrez fotky (object-position) je pri každej karte v content/data/vyrobky.json */
.product-card__body { padding: clamp(1.4rem, 1.05rem + 1.2vw, 2.1rem); }
.product-card__body > * + * { margin-top: 0.8em; }
.tag {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.product-list { padding-left: 1.2em; }
.product-list li + li { margin-top: 0.35em; }
.product-list li::marker { color: var(--red); }
.product-note { color: var(--muted); }
.product-group__note { font-weight: 600; line-height: 1.4; color: var(--red-deep); } /* poznámka pod názvom skupiny výrobkov */

/* ---------- O nás ---------- */
.about-page__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: start;
}
.about-page__text > h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); }
.about-page__text > h2:not(:first-child) { margin-top: 2rem; }
.about-page__media { position: relative; width: 100%; max-width: 26rem; justify-self: center; }
.about-page__seal {
  --size: 7rem;
  position: absolute;
  left: -0.75rem;
  bottom: -1.5rem;
  box-shadow: 0 0 0 5px var(--white), var(--shadow);
}
@media (min-width: 56em) {
  .about-page__seal { --size: 8.5rem; left: -2.5rem; bottom: -2.25rem; }
}
@media (min-width: 56em) {
  .about-page__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .about-page__media { justify-self: end; }
}

/* ---------- Kontakty ---------- */
.contact__layout {
  display: grid;
  gap: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
}
@media (min-width: 56em) {
  .contact__layout--form {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "head form" "info form" "map map";
    column-gap: clamp(2.5rem, 1rem + 4vw, 5rem);
    align-items: start;
  }
  .contact__head { grid-area: head; }
  .contact__form { grid-area: form; }
  .contact__info { grid-area: info; }
  .contact__map { grid-area: map; }
}

.contact-list {
  display: grid;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.contact-list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--red);
  color: var(--white);
}
.contact-list a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.contact-list p { line-height: 1.4; }
.contact-list__dept { align-items: start; }
.contact-list__title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.contact-list__title span { font-weight: 400; color: var(--muted); }

/* Mapa sa načíta až po kliknutí – dovtedy tmavá „mapa“ z CSS (bez požiadaviek na Google) */
.map {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  aspect-ratio: 4 / 3;
  padding: 1.75rem 1.25rem;
  background: var(--ink);
  color: var(--on-dark-muted);
  text-align: center;
}
.map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 46%, rgb(164 14 38 / 0.42), transparent 58%),
    linear-gradient(118deg, transparent 0 44%, rgb(255 255 255 / 0.1) 44% 45.2%, transparent 45.2%),
    linear-gradient(16deg, transparent 0 61%, rgb(255 255 255 / 0.08) 61% 62.2%, transparent 62.2%),
    linear-gradient(72deg, transparent 0 22%, rgb(255 255 255 / 0.06) 22% 22.8%, transparent 22.8%),
    repeating-linear-gradient(118deg, transparent 0 42px, rgb(255 255 255 / 0.04) 42px 43px),
    repeating-linear-gradient(28deg, transparent 0 58px, rgb(255 255 255 / 0.04) 58px 59px);
}
.map__pin {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 0 0.6rem rgb(164 14 38 / 0.3);
}
.map__pin .icon { width: 1.75rem; height: 1.75rem; }
.map__note { font-size: 0.9rem; }
.map :focus-visible { outline-color: var(--white); }
@media (min-width: 40em) {
  .map { aspect-ratio: 16 / 9; }
}
.map.is-loaded { display: block; padding: 0; }
.map.is-loaded::before { content: none; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 56em) {
  .contact__map { aspect-ratio: 21 / 8; }
}

/* ---------- Kontaktný formulár ---------- */
.form {
  position: relative;
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.35rem, 0.9rem + 1.8vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow);
}
.form__field { display: grid; gap: 0.4rem; }
.form__label { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.form__req { color: var(--red); }
.form__input {
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.form__input { min-height: 9.5rem; resize: vertical; }
.form__input--kratke { max-width: 9rem; } /* odpoveď na kontrolnú otázku */
.form__input:hover { border-color: var(--muted); }
.form__input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 5px rgb(164 14 38 / 0.12);
}
.form .btn { justify-self: start; }
.form__note { font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 29.99em) {
  .form .btn { justify-self: stretch; }
}

/* Výsledok odoslania: PHP skript presmeruje na /kontakt/#odoslane, #chyba alebo #chyba-kontrola, box ukáže :target
   (aj bez JS); is-shown ukáže box hneď (upozornenie v <noscript>) */
.form-msg {
  display: none;
  position: relative;
  padding: 0.95rem 1.1rem 0.95rem 3.2rem;
  border-left: 4px solid;
  line-height: 1.5;
  scroll-margin-top: 1rem;
}
.form-msg::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: center / 0.9rem no-repeat;
}
.form-msg:target, .form-msg.is-shown { display: block; }
/* Bez JavaScriptu formulár neprejde (PHP skript vyžaduje čas vypĺňania z js/main.js) – ukáže sa len výzva
   z <noscript>, aby nikto nepísal správu, ktorá sa nedá odoslať */
html:not(.js) .contact__form > :not(noscript) { display: none; }
.form-msg:focus { outline: none; }
.form-msg--ok { background: var(--tint); border-color: var(--red-deep); color: var(--text); }
.form-msg--ok::before {
  background-color: var(--red-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
}
.form-msg--error { background: var(--pink); border-color: var(--red); color: var(--text); }
.form-msg--error::before {
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' stroke-width='3' stroke-linecap='round' d='M12 6v8M12 18.5v.01'/%3E%3C/svg%3E");
}

/* Pasca na roboty: pole je mimo obrazovky (nie display:none – to by roboty prezradilo) */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Stránka 404 ---------- */
.notfound__inner > * { max-width: 46rem; }
.notfound__seal { --size: 8rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.notfound .buttons { margin-top: 2rem; }

/* ---------- Pätička ---------- */
.site-footer {
  background: var(--red-deep);
  color: var(--footer-text);
  border-top: 4px solid var(--red);
}
.site-footer a { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--white); }
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.75rem, 2rem + 3vw, 4.75rem);
}
@media (min-width: 48em) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .site-footer__grid { grid-template-columns: 1.3fr 1.25fr 1fr; column-gap: 3rem; }
}
.site-footer__title {
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.flow > .site-footer__title--sub { margin-top: 2.25rem; }
.site-footer__title::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--pink-2);
}
.brand--footer, .brand--footer:hover { color: var(--white); }
.seal--footer { --size: 5.5rem; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.12); }
.brand--footer .brand__tagline { color: var(--pink-2); }

.footer-systems {
  display: grid;
  grid-template-columns: minmax(0, max-content); /* obe tlačidlá rovnako široké */
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}
.footer-systems .btn { width: 100%; justify-content: flex-start; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  font-weight: 600;
  text-decoration: none;
}
.social-link:hover { text-decoration: underline; }
.social-link .icon { width: 1.6rem; height: 1.6rem; }

.contact-mini { display: grid; gap: 0.2rem; }
.contact-mini p { display: flex; gap: 0.65rem; align-items: center; min-height: 2.75rem; line-height: 1.45; }
.contact-mini .icon { color: var(--pink-2); }
.contact-mini a { display: inline-flex; align-items: center; min-height: 2.75rem; }

.footer-links { display: grid; padding: 0; list-style: none; }
.footer-links a { display: flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.site-footer__bottom {
  padding-block: 1.1rem calc(1.1rem + var(--cookies-space, 0px)); /* koniec stránky sa dá odrolovať nad lištu cookies */
  background: var(--ink-2);
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}
.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
}

.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* Miesto v návrhu textu, ktoré musí doplniť majiteľ ([DOPLNIŤ …]) – build na ne upozorní */
mark.doplnit { padding: 0 0.2em; background: var(--pink-2); color: var(--red-deep); outline: 2px dashed var(--red); }

/* Tlačidlo, ktoré vyzerá ako odkaz (Nastavenia cookies) */
.link-button {
  min-height: 2.75rem;
  margin: 0;
  padding: 0.2em 0;
  border: 0;
  background: none;
  color: var(--red);
  font: inherit;
  text-align: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.link-button:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
.site-footer .link-button { color: var(--white); }

/* ---------- Lišta so súhlasom s cookies (Google Analytics) ---------- */
/* Zobrazí ju js/main.js; dole na obrazovke ako karta, na mobile cez celú šírku okrem okrajov. */
.cookies {
  position: fixed;
  z-index: 50;
  inset-inline: 0;
  bottom: var(--gutter);
  width: min(100% - 2 * var(--gutter), 46rem);
  max-height: calc(100% - 2 * var(--gutter));
  overflow-y: auto;
  margin-inline: auto;
  padding: clamp(1rem, 0.85rem + 0.75vw, 1.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: 0 24px 60px -16px rgb(27 10 13 / 0.55);
  font-size: 0.96875rem;
  line-height: 1.55;
}
.cookies .buttons { margin-top: 0.9rem; }
.cookies .btn { min-width: 9rem; } /* obe voľby rovnako výrazné */
@media (max-width: 29.99em) {
  .cookies .buttons .btn { flex: 1 1 0; width: auto; min-width: auto; padding-inline: 1em; }
}
@media (min-width: 48em) {
  .cookies { display: flex; align-items: center; gap: 1.75rem; }
  .cookies .buttons { flex: none; margin-top: 0; }
}

/* ---------- Menej pohybu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .btn:hover .icon { transform: none !important; }
}

/* ---------- Tlač (VOP, reklamačný poriadok) ---------- */
@media print {
  .topbar, .site-header .menu, .menu-toggle, .site-footer, .skip-link, .map, .buttons, .form, .cookies,
  .facts, .hero__login, .hero__bg, .section__bg, .page-header__bg, .legal__icon { display: none !important; }
  body { font-size: 11pt; }
  .page-header, .hero, .section--dark, .section--brand, .section--tint { background: none !important; color: #000; }
  .page-header::before, .hero::before, .section--dark::before, .section--brand::before,
  .page-header__inner::before { display: none !important; }
  .page-header { border-bottom: 2px solid #000; }
  .page-header h1, .hero h1, .section--dark h2, .section--brand h2 { color: #000; }
  .section, .page-header { padding-block: 1rem; }
  .legal { display: block; }
  .card, .guide, .media, .banner { box-shadow: none; }
  img[alt=""] { display: none !important; } /* dekoratívne fotky sa netlačia */
  h1, h2, h3, h4 { break-after: avoid; }
  .card, .faq details, .prose li { break-inside: avoid; }
  a { color: inherit; }
}
