/* ==================================================================
   RK-WOOD s.r.o. — dizajnový systém v6
   Biely papier · uhľová čierna · značková žltá ako konštrukčný prvok.
   Typografia pílového výkazu: displej + text + technický monospace.
================================================================== */

/* ---------------- 1. TOKENY ---------------- */
:root {
  /* Papier a atrament */
  --paper:      #ffffff;
  --paper-2:    #f7f5f0;   /* teplá plocha sekcií */
  --paper-3:    #efebe2;   /* vložené bloky */
  --ink:        #14120e;   /* takmer čierna, teplá */
  --ink-2:      #565044;   /* sekundárny text */
  --ink-3:      #8b8477;   /* popisky */
  --line:       #e3ded3;   /* vlasová linka */
  --line-2:     #cfc7b8;

  /* Značka */
  --yellow:      #ffd400;
  --yellow-deep: #e5bd00;
  --yellow-soft: #fff8d6;
  --bark:        #7a4b22;
  --moss:        #2f5d3a;

  /* Typografia */
  --font-display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Rytmus */
  --gutter:  clamp(1.25rem, 4vw, 3.5rem);
  --maxw:    1320px;
  --section: clamp(4.5rem, 9vw, 8.5rem);

  /* Zaoblenia — mäkký, nerámčekový vzhľad */
  --radius-s: 8px;
  --radius:   12px;
  --radius-l: 18px;

  /* Vrstvené tiene namiesto obrysov */
  --shadow-0: 0 1px 2px rgba(20,18,14,.04), 0 2px 8px -4px rgba(20,18,14,.08);

  /* Karty: jemný prstenec + tieň, aby sa oddelili od bieleho pozadia */
  --shadow-card: 0 0 0 1px rgba(20,18,14,.07),
                 0 1px 2px rgba(20,18,14,.05),
                 0 6px 16px -6px rgba(20,18,14,.14),
                 0 18px 36px -18px rgba(20,18,14,.18);
  --shadow-card-h: 0 0 0 1px rgba(20,18,14,.06),
                   0 10px 22px -8px rgba(20,18,14,.18),
                   0 32px 60px -24px rgba(20,18,14,.32);
  --shadow-1: 0 1px 2px rgba(20,18,14,.05), 0 6px 16px -6px rgba(20,18,14,.12), 0 12px 40px -20px rgba(20,18,14,.16);
  --shadow-2: 0 2px 4px rgba(20,18,14,.06), 0 14px 32px -10px rgba(20,18,14,.16), 0 32px 72px -28px rgba(20,18,14,.26);
  --shadow-y: 0 8px 24px -8px rgba(229,189,0,.45);

  /* Jednotná výška ovládacích prvkov v hlavičke */
  --ctl: 46px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------- 2. RESET ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1,h2,h3,h4,h5 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  line-height: 1.02; letter-spacing: -.025em;
  overflow-wrap: break-word;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* Grid a flex položky sa musia vedieť zmenšiť pod svoj min-content,
   inak ich obsah (najmä obrázky s aspect-ratio v Safari) roztiahne track. */
.katalog > *, .sortiment > *, .gallery > *, .steps > *, .split > *,
.grid-2 > *, .contact-grid > *, .detail-grid > *, .faq-grid > *,
.hero__grid > *, .foot-grid > *, .feature > *, .card, .card__body { min-width: 0; }

/* ---------------- 3. LAYOUT ---------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--paper-2); }
.section--ink  { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow__text { color: var(--yellow); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper); padding: .8rem 1.2rem; font-weight: 700;
}
.skip:focus { left: .5rem; top: .5rem; }

/* ---------------- 4. TYPOGRAFICKÉ PRVKY ---------------- */

/* Technický popisok — monospace, prestrkané, so žltou linkou */
.eyebrow {
  display: flex; align-items: flex-start; gap: .8rem;
  margin-bottom: 1.6rem;
}
.eyebrow__bar { width: 28px; height: 5px; border-radius: 999px; background: var(--yellow); flex: none; margin-top: .55em; }
.eyebrow__text {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}

.h-xl { font-size: clamp(2.6rem, 1.1rem + 6.4vw, 6.5rem); }
.h-l  { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); }
.h-m  { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.h-s  { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }

.lede { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--ink-2); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Žltý zvýrazňovač za slovom — kľúčový značkový prvok */
.mark {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% .42em;
  background-position: 0 78%;
  padding-inline: .1em;
}
.mark--block {
  background: var(--yellow); padding: 0 .2em .04em; display: inline-block;
  border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------------- 5. LETOKRUHY (značkový motív) ---------------- */
.rings { position: absolute; pointer-events: none; z-index: 0; opacity: .5; }
.rings ellipse { fill: none; stroke: var(--yellow); stroke-width: 2.2; }
.rings--faint ellipse { stroke: var(--line-2); }

/* ---------------- 6. TLAČIDLÁ ---------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem; min-height: 50px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; border-radius: var(--radius-s);
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-0);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); background: #2a251c; }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-0); }

.btn--yellow { --btn-bg: var(--yellow); --btn-fg: var(--ink); box-shadow: var(--shadow-y); }
.btn--yellow:hover { background: var(--yellow-deep); box-shadow: 0 12px 30px -10px rgba(229,189,0,.6); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover { background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow-0); }

/* Priehľadné tlačidlo na tmavom podklade */
.btn--dark {
  --btn-bg: transparent; --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32);
}
.btn--dark:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }

.btn--lg { padding: 1.05rem 1.9rem; min-height: 58px; font-size: 1.02rem; }
.btn__icon { flex: none; transition: transform .3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

/* Textový odkaz so šípkou */
.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; text-decoration: none; font-size: .95rem;
  border-bottom: 2px solid var(--yellow); padding-bottom: 2px;
  transition: gap .25s var(--ease), border-color .25s;
}
.arrow-link:hover { gap: .85rem; border-color: var(--ink); }

/* ---------------- 7. HLAVIČKA ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, border-color .3s;
}
.site-head.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(20,18,14,.5); }
.site-head__in {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; margin-right: auto; }
/* Logo je štvorcová čierna značka orezaná do kruhu — rovnako ako na starom webe */
.brand img {
  width: var(--ctl); height: var(--ctl); object-fit: cover;
  border-radius: 50%; padding: 0; flex: none; background: var(--ink);
}
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; line-height: 1; }
.brand__claim {
  display: block; font-family: var(--font-mono); font-size: .58rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: .1rem; }
.nav a {
  position: relative; padding: .55rem .8rem; text-decoration: none;
  font-weight: 600; font-size: .9rem; border-radius: 999px; white-space: nowrap;
  transition: color .2s, background-color .22s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 50%; bottom: .1rem; translate: -50% 0;
  width: 5px; height: 5px; border-radius: 50%; background: var(--yellow);
  transform: scale(0); transition: transform .28s var(--ease);
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"]::after { transform: scale(1); }
/* Časté otázky sú v hlavnom menu len na mobile — na desktope by ho preplnili. */
.nav__mob { display: none; }

/* Všetky prvky vpravo majú rovnakú výšku --ctl a rovnaké zaoblenie. */
.head-cta { display: flex; align-items: center; gap: .5rem; flex: none; }
.head-soc { display: inline-flex; align-items: center; gap: .15rem; margin-right: .3rem; }
.head-soc a {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--ctl); height: var(--ctl); border-radius: 999px;
  color: var(--ink-2); text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.head-soc a:hover { background: var(--paper-2); color: var(--ink); }
.head-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: var(--ctl); padding: 0 1.15rem; box-sizing: border-box;
  font-family: var(--font-mono); font-weight: 700; font-size: .88rem; letter-spacing: -.01em;
  text-decoration: none; border: 0; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  box-shadow: var(--shadow-y);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.head-phone:hover { transform: translateY(-2px); background: var(--yellow-deep); box-shadow: 0 12px 28px -10px rgba(229,189,0,.6); }

.head-cta .btn {
  height: var(--ctl); min-height: 0; padding: 0 1.3rem; border-radius: 999px; font-size: .9rem;
}

.burger {
  display: none; width: var(--ctl); height: var(--ctl); border: 0;
  background: var(--paper-2); border-radius: 50%; cursor: pointer;
  align-items: center; justify-content: center; flex: none; padding: 0;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background-color .2s, box-shadow .2s;
}
.burger:hover { background: var(--paper-3); box-shadow: inset 0 0 0 1.5px var(--ink); }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1250px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 84px .6rem auto .6rem;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--paper); border-radius: var(--radius-l);
    padding: .7rem;
    transform: translateY(-14px) scale(.98); opacity: 0; visibility: hidden;
    transform-origin: top center;
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
    max-height: calc(100dvh - 100px); overflow-y: auto;
    box-shadow: var(--shadow-2);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__mob { display: block; }
  .head-soc { display: none; }   /* v hlavičke by sa nezmestili, sú v pätičke */
  .nav a { padding: .9rem 1rem; font-size: 1.02rem; border-radius: var(--radius-s); }
  .nav a::after { left: 1rem; translate: 0 0; bottom: 50%; margin-bottom: -2.5px; }
  .nav a[aria-current="page"] { background: var(--yellow-soft); padding-left: 1.6rem; }
  .head-cta .btn { display: none; }
}
@media (max-width: 560px) {
  .eyebrow__text { letter-spacing: .14em; }
  .brand__claim { display: none; }
  /* Ikonový režim — rovnaký kruh ako hamburger aj logo */
  .head-phone span { display: none; }
  .head-phone { width: var(--ctl); padding: 0; gap: 0; }
  .head-phone svg { width: 17px; height: 17px; }
}

/* ---------------- 8. HERO ---------------- */
.hero { position: relative; overflow: clip; border-bottom: 1px solid var(--line); }
/* Mriežka je na celú šírku okna; ľavý stĺpec sa zarovná s kontajnerom
   cez padding — bez záporných marginov, takže nič nepretečie. */
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
  gap: 0; position: relative; z-index: 2;
}
.hero__copy {
  padding-left: max(var(--gutter), calc(50vw - var(--maxw) / 2));
  padding-right: clamp(1.5rem, 3.5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__title { font-size: clamp(2.5rem, 1.1rem + 4.6vw, 4.8rem); letter-spacing: -.042em; }
.hero__title > span { display: block; }
.hero__lede { margin-top: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

.hero__media {
  position: relative; min-height: 480px; background: var(--paper-3);
  border-radius: 28px 0 0 28px; overflow: hidden;
  /* Odsadenie od čiary pod menu — inak sa fotka o ňu opiera */
  margin-top: clamp(1.25rem, 2.4vw, 2.25rem);
}
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(96deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.18) 20%, rgba(255,255,255,0) 38%);
}

/* Cenová karta prekrývajúca rozhranie stĺpcov */
.hero__price {
  position: relative; z-index: 4; margin-top: 2.2rem; width: fit-content;
  background: var(--paper); border: 0; border-radius: var(--radius-l);
  padding: 1.15rem 1.5rem 1.15rem 1.7rem; box-shadow: var(--shadow-2);
  display: flex; align-items: center; gap: 1.2rem;
}
.hero__price::before {
  content: ''; position: absolute; left: .7rem; top: 1.15rem; bottom: 1.15rem;
  width: 5px; border-radius: 999px; background: var(--yellow);
}
.hero__price-num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.04em;
}
.hero__price-lbl { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero__price-desc { font-size: .88rem; font-weight: 600; line-height: 1.35; }

@media (min-width: 861px) {
  .hero__price {
    position: absolute; right: 0; bottom: clamp(1.5rem, 4vw, 3rem);
    transform: translateX(42%); margin-top: 0;
  }
}

/* Štatistické čipy */
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.2rem, 4.5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.stat { flex: 1 1 160px; padding: 1.9rem 1.6rem 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 1.8rem; }   /* odstup textu od deliacej čiary */
.stat:last-child { border-right: 0; padding-right: 0; }
.stat__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.6rem); line-height: 1; letter-spacing: -.04em; }
.stat__n em { font-style: normal; color: var(--yellow-deep); }
.stat__l { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: .5rem; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding: clamp(2.5rem, 8vw, 3.5rem) var(--gutter) 2.5rem; order: 2; }
  .hero__media { order: 1; min-height: 220px; height: 32vh; border-radius: 0 0 24px 24px; margin-top: 0; }
  .hero__media::after { background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 45%); }
  /* Dva na riadok — prvý v riadku lícuje s okrajom, druhý má odstup od čiary */
  .stat { flex-basis: 45%; padding-bottom: 1.2rem; }
  .stat:nth-child(2n+1) { padding-left: 0; }
  .stat:nth-child(2n)   { border-right: 0; padding-left: 1.4rem; padding-right: 0; }
}

/* ---------------- 9. BEŽIACI PÁS ---------------- */
.ticker {
  background: var(--yellow); border: 0;
  overflow: hidden; padding: .85rem 0;
}
.ticker__track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex: none; }
.ticker span {
  font-family: var(--font-mono); font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; padding-inline: 1.6rem;
  display: inline-flex; align-items: center; gap: 1.6rem; white-space: nowrap;
}
.ticker span::after { content: '✳'; color: var(--ink); opacity: .45; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------- 10. SORTIMENT (rozbitá mriežka) ---------------- */
.sortiment { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 0; border-radius: var(--radius-l);
  text-decoration: none; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-h); }
.card--a { grid-column: span 7; }
.card--b { grid-column: span 5; }
.card--c { grid-column: span 5; }
.card--d { grid-column: span 7; }
@media (max-width: 900px) { .card { grid-column: span 12 !important; } }

.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-3); }
.card--b .card__media, .card--c .card__media { aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
/* Panel s technickou kresbou namiesto fotografie */
.card__media--draw {
  background: radial-gradient(circle at 30% 20%, #fffdf0 0%, var(--yellow-soft) 55%, #f6efd4 100%);
  background-image: radial-gradient(var(--line-2) 1.1px, transparent 1.1px),
                    radial-gradient(circle at 30% 20%, #fffdf0 0%, var(--yellow-soft) 55%, #f6efd4 100%);
  background-size: 22px 22px, cover;
  display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.2rem);
}
.card__media--draw svg { transition: transform .6s var(--ease); }
.card:hover .card__media--draw svg { transform: scale(1.04); }
.card:hover .card__media img { transform: scale(1.055); }
.card__num {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: var(--yellow); border: 0; border-radius: 999px;
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem; letter-spacing: .08em;
  padding: .38rem .8rem; box-shadow: 0 2px 10px -2px rgba(20,18,14,.3);
}
.card__body { padding: 1.5rem clamp(1.2rem, 2vw, 1.8rem) 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); }
.card__text { margin-top: .7rem; color: var(--ink-2); font-size: .97rem; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.card__price { font-family: var(--font-mono); font-weight: 700; font-size: .88rem; }
.card__price b { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.03em; }
.card__go {
  width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2);
  display: grid; place-items: center; flex: none;
  transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s;
}
.card:hover .card__go { background: var(--yellow); transform: rotate(-45deg); box-shadow: var(--shadow-y); }

/* Odznaky */
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .32rem .7rem; border: 0; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2);
}
.tag--yellow { background: var(--yellow); color: var(--ink); }
.tag--stock  { background: rgba(47,93,58,.1); color: var(--moss); }
.tag--stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }

/* ---------------- 11. CENNÍK (výkaz) ---------------- */
.sheet {
  background: var(--paper); border: 0; border-radius: var(--radius-l);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.sheet__head {
  display: grid; grid-template-columns: 1.7fr 1.1fr .8fr auto;
  gap: 1rem; padding: .95rem 1.5rem; background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
}
.sheet__row {
  display: grid; grid-template-columns: 1.7fr 1.1fr .8fr auto;
  gap: 1rem; padding: 1.3rem 1.5rem; align-items: center;
  border-top: 1px solid var(--line); position: relative;
  transition: background-color .25s;
}
.sheet__row:first-of-type { border-top: 0; }
.sheet__row::before {
  content: ''; position: absolute; left: .55rem; top: 1rem; bottom: 1rem; width: 4px;
  border-radius: 999px; background: var(--yellow);
  transform: scaleY(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
.sheet__row:hover { background: var(--paper-2); }
.sheet__row:hover::before { transform: scaleY(1); }
/* Najžiadanejšia položka sa označuje štítkom, nie trvalým podfarbením —
   inak to vyzerá ako zaseknutý výber. */

.sheet__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.sheet__kod { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; color: var(--ink-3); display: block; margin-bottom: .25rem; }
.sheet__cell { font-size: .92rem; color: var(--ink-2); }
.sheet__cell strong { color: var(--ink); font-weight: 600; }
.sheet__price { text-align: right; white-space: nowrap; }
.sheet__price b { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -.04em; }
.sheet__price small { display: block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.sheet__pozn { grid-column: 1 / -1; font-size: .84rem; color: var(--ink-3); padding-top: .3rem; }
.sheet__pozn::before { content: '↳ '; color: var(--yellow-deep); font-weight: 700; }

@media (max-width: 780px) {
  .sheet__head { display: none; }
  .sheet__row { grid-template-columns: 1fr auto; gap: .5rem 1rem; padding: 1.3rem 1.2rem 1.3rem 1.5rem; }
  .sheet__name { grid-column: 1; }
  .sheet__price { grid-column: 2; grid-row: 1; }
  .sheet__cell { grid-column: 1 / -1; font-size: .88rem; }
}

/* ---------------- 12. KATALÓG DOMČEKOV ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .7rem 1.2rem; border: 0; background: var(--paper-2); color: var(--ink-2);
  border-radius: 999px; cursor: pointer;
  transition: background-color .22s var(--ease), color .22s, box-shadow .22s, transform .22s var(--ease);
}
.filter:hover { background: var(--paper-3); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-0); }

/* Pevné breakpointy namiesto auto-fill: `minmax()` s percentom sa pri
   intrinsic sizing vyhodnotí na 0 a mriežka potom preteká za okraj. */
.katalog { display: grid; grid-template-columns: 1fr; gap: clamp(1.1rem, 2vw, 1.8rem); }
@media (min-width: 660px)  { .katalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .katalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.katalog .card__media { aspect-ratio: 4 / 3; }
.item[hidden] { display: none; }

/* Špecifikačný riadok pod názvom */
.specrow { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .85rem; }
.specrow li {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em;
  color: var(--ink-3); text-transform: uppercase;
}
.specrow li b { color: var(--ink); font-weight: 600; }

/* Tabuľka parametrov na detaile */
.spectable { border-top: 1px solid var(--line-2); }
.spectable div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.spectable dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.spectable dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------------- 13. GALÉRIA + LIGHTBOX ---------------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
@media (min-width: 620px)  { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 940px)  { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gallery button {
  padding: 0; border: 0; border-radius: var(--radius); background: var(--paper-3); cursor: zoom-in;
  overflow: hidden; aspect-ratio: 4 / 3; position: relative;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery button:hover { transform: translateY(-4px) scale(1.015); box-shadow: var(--shadow-card-h); z-index: 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery button::after {
  content: '⤢'; position: absolute; right: .5rem; bottom: .5rem;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--yellow); border-radius: 50%;
  font-size: .8rem; font-weight: 700;
  opacity: 0; transform: scale(.7); transition: opacity .25s, transform .28s var(--ease);
}
.gallery button:hover::after { opacity: 1; transform: none; }

.lb {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(20,18,14,.94); padding: clamp(1rem, 4vw, 3rem);
  place-items: center;
}
.lb[open], .lb.is-open { display: grid; }
.lb__img { max-width: min(1200px, 100%); max-height: 82vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.lb__bar {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem clamp(1rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--paper);
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em;
}
.lb__btn {
  width: 52px; height: 52px; border: 0; background: rgba(255,255,255,.12); color: var(--yellow);
  cursor: pointer; display: grid; place-items: center; font-size: 1.4rem; border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.lb__btn:hover { transform: scale(1.08); }
.lb__btn:hover { background: var(--yellow); color: var(--ink); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lb__nav--next { right: clamp(.5rem, 2vw, 1.5rem); }
.lb__close { position: absolute; top: clamp(.5rem, 2vw, 1.5rem); right: clamp(.5rem, 2vw, 1.5rem); }

/* ---------------- 13b. AKORDEÓN OTÁZOK ---------------- */
.faq-item {
  background: var(--paper); border-radius: var(--radius); margin-bottom: .6rem;
  box-shadow: var(--shadow-card); transition: box-shadow .25s var(--ease);
}
.faq-item:hover, .faq-item[open] { box-shadow: var(--shadow-card-h); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.3rem;
  display: flex; justify-content: space-between; gap: 1.2rem; align-items: center;
  font-weight: 700; font-size: 1.02rem; border-radius: var(--radius);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--yellow-deep); }
.faq-item summary span {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); font-size: 1.05rem; line-height: 1;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary span { transform: rotate(135deg); }
/* Odpoveď má odstup od otázky aj vlastnú deliacu vlásočnicu — inak text lepí na čiaru */
.faq-item[open] summary { padding-bottom: .55rem; }
.faq-item p {
  margin: 0 1.3rem 1.85rem;
  padding: 1.05rem 2.2rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: .98rem; max-width: 72ch;
}
@media (max-width: 560px) { .faq-item p { padding-right: .4rem; } }

/* ---------------- 14. POSTUP ---------------- */
/* Deliace čiary sedia v medzere medzi stĺpcami, nie na okraji textu. */
.steps {
  --steps-gap: clamp(1.6rem, 3.2vw, 3.2rem);
  display: grid; grid-template-columns: 1fr;
  column-gap: var(--steps-gap); border-top: 1px solid var(--line-2);
}
.step { padding: 2rem 0 2.2rem; position: relative; }
.step::after {
  content: ''; position: absolute; top: 1.9rem; bottom: 2rem;
  right: calc(var(--steps-gap) / -2); width: 1px; background: var(--line);
  display: none;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: block; }
  .step:nth-child(2n)::after { display: none; }
}
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step:nth-child(2n)::after { display: block; }
  .step:last-child::after { display: none; }
}
.step::before {
  content: ''; position: absolute; top: -2px; left: 0; width: 0; height: 4px;
  background: var(--yellow); border-radius: 999px;
  transition: width .7s var(--ease);
}
.step.is-in::before { width: 100%; }
.step__n { font-family: var(--font-mono); font-size: .8rem; font-weight: 700; letter-spacing: .18em; color: var(--yellow-deep); }
.step__t { font-size: 1.3rem; margin-top: .7rem; }
.step__x { margin-top: .6rem; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 700px) {
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .step:last-child { border-bottom: 0; }
}

/* ---------------- 15. SPLIT BLOK (text + obraz) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border: 0; border-radius: var(--radius-l);
  aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-1);
}
/* Mäkká žltá aura namiesto posunutého rámu */
.split__media::before {
  content: ''; position: absolute; inset: 8% -6% -8% 6%;
  background: var(--yellow); border-radius: 50%; filter: blur(60px); opacity: .35; z-index: -1;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
}

/* Zoznam s odškrtnutím */
.checks li {
  position: relative; padding-left: 2rem; margin-bottom: .8rem; color: var(--ink-2);
}
.checks li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.6L4 7.5 10 1' stroke='%2314120e' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px 9px no-repeat;
}

/* ---------------- 16. KONTAKT / FORMULÁR ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.infolist div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.infolist div:first-child { border-top: 1px solid var(--line); }
.infolist dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .35rem; }
.infolist dd { margin: 0; font-weight: 600; }
.infolist a { text-decoration: none; border-bottom: 2px solid var(--yellow); }
.infolist a:hover { border-color: var(--ink); }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field--2 { grid-template-columns: 1fr 1fr; gap: 1.1rem; display: grid; }
@media (max-width: 560px) { .field--2 { grid-template-columns: 1fr; } }
.label { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.label span { color: var(--yellow-deep); }
.input, .select, .textarea {
  width: 100%; padding: .9rem 1.1rem; font: inherit; font-size: .98rem;
  background: var(--paper-2); color: var(--ink);
  border: 0; border-radius: var(--radius-s);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: box-shadow .2s, background-color .2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px var(--yellow-soft);
}
.textarea { min-height: 140px; resize: vertical; border-radius: var(--radius); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2314120e' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.hp { position: absolute; left: -9999px; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }

.note {
  position: relative; padding: 1.1rem 1.3rem 1.1rem 1.6rem;
  background: var(--paper-2); border: 0; border-radius: var(--radius);
  font-size: .92rem; color: var(--ink-2);
}
.note::before {
  content: ''; position: absolute; left: .6rem; top: 1rem; bottom: 1rem;
  width: 4px; border-radius: 999px; background: var(--yellow);
}
.note--ok::before  { background: var(--moss); }
.note--err::before { background: #c0392b; }

/* Mapa s vlastnou značkou — Google pri holých súradniciach pin nevykresľuje. */
.map-wrap {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow-card); line-height: 0;
}
.map {
  border: 0; border-radius: 0; aspect-ratio: 16/10; width: 100%; display: block;
  filter: grayscale(1) contrast(1.05); transition: filter .4s;
}
.map-wrap:hover .map { filter: none; }
/* Na dotykových zariadeniach hover neexistuje — mapu ukáž rovno farebne */
@media (hover: none) { .map { filter: none; } }
.map-pin {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  filter: drop-shadow(0 5px 8px rgba(20,18,14,.45));
}

/* ---------------- 17. CTA PÁS ---------------- */
.cta-band { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta-band__in { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); }
.cta-band .lede { color: rgba(255,255,255,.72); }
@media (max-width: 800px) { .cta-band__in { grid-template-columns: 1fr; } }

/* ---------------- 18. PÄTA ---------------- */
.site-foot { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(3rem, 6vw, 5rem); }
.site-foot a { color: var(--paper); text-decoration: none; }
.site-foot a:hover { color: var(--yellow); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-h { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.1rem; }
.foot-list li { margin-bottom: .55rem; font-size: .94rem; }
/* Tri stĺpce, aby autorstvo sedelo v strede bez ohľadu na dĺžku okrajov */
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.5rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  font-size: .82rem; font-family: var(--font-mono); letter-spacing: .06em;
}
.foot-autor { text-align: center; opacity: .6; }
.foot-pravne { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) {
  .foot-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .9rem; }
  .foot-pravne { justify-content: center; }
}
.foot-brand img { width: 168px; height: auto; margin-bottom: 1.4rem; }
.foot-soc { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.3rem; }
.foot-soc a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem .5rem .75rem; border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff; text-decoration: none;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.foot-soc a:hover { background: var(--yellow); color: var(--ink); }

/* ---------------- 19. DROBEČKY ---------------- */
.crumbs { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-block: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: .5; margin-inline: .5rem; }

/* Hlavička podstránky */
/* Hlavička podstránky sedí tesne pod menu — drobečky si nesú vlastný odstup. */
.pagehead {
  border-bottom: 1px solid var(--line);
  padding-top: clamp(.5rem, 1.2vw, 1.1rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
  position: relative; overflow: clip;
}
.pagehead__in { position: relative; z-index: 2; }

/* ---------------- 20. ANIMÁCIE PRÍCHODU ----------------
   Skryté stavy platia LEN keď beží JS (trieda .js na <html>).
   Bez JS zostane všetko normálne viditeľné.                        */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }
.rise-d1 { transition-delay: .08s; }
.rise-d2 { transition-delay: .16s; }
.rise-d3 { transition-delay: .24s; }
.rise-d4 { transition-delay: .32s; }
.rise-d5 { transition-delay: .40s; }

/* Úvodné odhalenie hero (bez čakania na scroll) */
.js .boot { opacity: 0; transform: translateY(26px); animation: boot .85s var(--ease) forwards; }
.boot-1 { animation-delay: .05s; } .boot-2 { animation-delay: .15s; }
.boot-3 { animation-delay: .25s; } .boot-4 { animation-delay: .35s; }
.boot-5 { animation-delay: .45s; }
@keyframes boot { to { opacity: 1; transform: none; } }

/* ---------------- 21. DROBNOSTI ---------------- */
.hr-y { height: 5px; border-radius: 999px; background: var(--yellow); border: 0; width: 60px; margin: 0 0 1.6rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 1.2rem; }
.center { text-align: center; }
.mt-l { margin-top: clamp(2.5rem, 5vw, 4rem); }
.mt-m { margin-top: 2rem; }
.mt-s { margin-top: 1.2rem; }

.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: .8rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8rem; margin-bottom: .5rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--ink); }

/* Print */
@media print {
  .site-head, .site-foot, .ticker, .btn, .lb { display: none !important; }
  body { color: #000; }
}
