/* ==========================================================================
   DECORAL s.r.o. – hlavný štýl webu
   Dizajnový smer: „Lamela a svetlo“
   - antracit = plot, biela = priestor okolo domu, oranžová = svetlo (jediný akcent)
   - mobile-first, bez frameworku; sekcie sa striedajú tmavá / svetlá ako lamely
   Obsah:
     1. Premenné a reset        6. Konfigurátor plotu
     2. Typografia               7. Sekcie úvodnej stránky
     3. Rozloženie a tlačidlá    8. Formulár
     4. Hlavička a navigácia     9. Pätička + mobilná lišta
     5. Hero (otvárajúca brána) 10. Pomocné triedy, reduced motion
   ========================================================================== */

/* 1. Premenné a reset ---------------------------------------------------- */
:root {
  --antracit: #383E42;       /* RAL 7016 – hlavná tmavá farba */
  --antracit-deep: #212629;  /* najtmavšie plochy */
  --oranzova: #F26B1F;       /* akcent – max ~10 % plochy */
  --oranzova-dark: #D2560F;  /* hover */
  --biela: #FFFFFF;
  --snow: #F3F4F4;           /* svetlé sekcie */
  --steel: #8B949A;          /* sekundárny text – iba na --antracit-deep */
  --steel-light: #C3C9CC;    /* sekundárny text na --antracit (kontrast AA) */
  --line: #DADDDF;           /* tenké linky na svetlom */
  --text: #212629;
  --text-soft: #545B60;      /* sekundárny text na svetlom (kontrast AA) */

  --f-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: var(--f-head);
  --f-mono: var(--f-head);

  --wrap: 1280px;
  --gutter: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --focus: var(--antracit-deep);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--biela);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.is-dark { --focus: var(--oranzova); }

/* 2. Typografia ----------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 800;
  font-stretch: 118%;                 /* šírka profilu (os wdth) */
  font-variation-settings: "wdth" 118;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 7.4vw, 5rem); font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 125; font-stretch: 125%; }
h2 { font-size: clamp(1.7rem, 4.4vw, 3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 750; font-variation-settings: "wdth" 112; font-stretch: 112%; line-height: 1.15; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; max-width: 38em; }
.mono, .tech { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }
.accent { color: var(--oranzova); }

/* nadpisový štítok nad H2 (mono, s oranžovou čiarkou = „svetlo“) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 1.1rem;
  color: var(--text-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--oranzova); flex: none; }
.is-dark .eyebrow { color: var(--steel-light); }

/* zástupný text pre chýbajúce údaje – úmyselne viditeľný */
.doplnit {
  font-family: var(--f-mono); font-size: .85em; font-weight: 500;
  background: repeating-linear-gradient(-45deg, #FFF3EA 0 6px, #FFE6D4 6px 12px);
  color: #8A3300; border: 1px dashed var(--oranzova-dark);
  padding: .05em .4em; border-radius: 2px; white-space: normal;
}
.is-dark .doplnit { background: #3B2A1F; color: #FFC9A6; border-color: var(--oranzova); }

/* 3. Rozloženie a tlačidlá ------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.section--snow { background: var(--snow); }
.section--dark { background: var(--antracit); color: var(--biela); }
.section--deep { background: var(--antracit-deep); color: var(--biela); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--text-soft); }
.is-dark .section-head p { color: var(--steel-light); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.5em;
  font-family: var(--f-head); font-weight: 800; font-size: .95rem;
  font-variation-settings: "wdth" 112; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
/* text na oranžovej je antracitový – biela nemá dostatočný kontrast */
.btn--primary { background: var(--oranzova); color: var(--antracit-deep); }
/* hover: tmavšia oranžová ako spodná hrana – antracitový text si drží kontrast AA */
.btn--primary:hover { background: #FF7A30; box-shadow: inset 0 -4px 0 var(--oranzova-dark); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--biela); color: var(--antracit-deep); border-color: var(--biela); }
.btn--dark { background: var(--antracit-deep); color: var(--biela); }
.btn--dark:hover { background: var(--antracit); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* textový odkaz s kľúčovým slovom + šípka */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--oranzova); padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Lamelový oddeľovač: pruhy hrubnú smerom k tmavej sekcii, v jednej medzere svieti oranžová linka */
.lamela-divider { display: grid; gap: 5px; padding-block: 0; background: var(--biela); }
.lamela-divider i { display: block; height: var(--h); background: var(--antracit); }
.lamela-divider i:nth-child(1) { --h: 2px; }
.lamela-divider i:nth-child(2) { --h: 4px; }
.lamela-divider i:nth-child(3) { --h: 7px; position: relative; }
.lamela-divider i:nth-child(3)::after { /* „svetlo“ v medzere */
  content: ""; position: absolute; left: 8%; width: 22%; height: 2px; top: -4px;
  background: var(--oranzova);
}
.lamela-divider i:nth-child(4) { --h: 10px; }
.lamela-divider i:nth-child(5) { --h: 14px; }
.lamela-divider--snow { background: var(--snow); }
.lamela-divider--up { transform: scaleY(-1); }

/* Fotka v lamelovej maske */
.lamela-mask { position: relative; }
.lamela-mask img {
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 30px, transparent 30px 36px);
          mask-image: repeating-linear-gradient(to bottom, #000 0 30px, transparent 30px 36px);
}
.lamela-mask::after { /* oranžová linka v jednej medzere */
  content: ""; position: absolute; left: -6%; width: 46%; height: 2px;
  top: calc(36px * 5 + 32px); background: var(--oranzova);
}

/* 4. Hlavička a navigácia ------------------------------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--oranzova); color: var(--antracit-deep); padding: .6em 1em; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(33, 38, 41, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--biela);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 36px; height: 36px; }
.brand span {
  font-family: var(--f-head); font-weight: 900; font-size: 1.3rem; letter-spacing: .06em;
  font-variation-settings: "wdth" 125; font-stretch: 125%;
}
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: .5em .7em; text-decoration: none; font-weight: 500; font-size: .98rem;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: .7em; right: .7em; bottom: .2em; height: 2px;
  background: var(--oranzova); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-phone { display: none; font-family: var(--f-mono); font-weight: 500; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--oranzova); }
.header-cta { display: none; min-height: 44px; padding: .55em 1.1em; font-size: .85rem; }

.nav-toggle {
  width: 48px; height: 48px; display: grid; place-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer; color: var(--biela);
}
.nav-toggle i { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.nav-toggle i:nth-child(2) { width: 18px; justify-self: end; background: var(--oranzova); }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobilné menu */
.nav.is-open {
  display: block; position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--antracit-deep); padding: 24px var(--gutter) 120px; overflow-y: auto;
}
.nav.is-open ul { flex-direction: column; gap: 0; }
.nav.is-open a {
  font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; text-transform: uppercase;
  font-variation-settings: "wdth" 118; font-stretch: 118%;
  padding: .55em 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav.is-open a::after { display: none; }

@media (min-width: 1100px) {
  .nav, .nav.is-open { display: block; position: static; background: none; padding: 0; }
  .nav.is-open ul { flex-direction: row; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1240px) { .header-phone { display: inline; } }

/* 5. Hero – otvárajúca sa posuvná brána -------------------------------------- */
.hero {
  position: relative; isolation: isolate; color: var(--biela); background: var(--antracit-deep);
  min-height: calc(100svh - 58px);   /* na mobile nechá miesto pre spodnú lištu */
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.hero__media::after { /* stmavenie pre čitateľnosť textu */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(33,38,41,.97) 0%, rgba(33,38,41,.75) 40%, rgba(33,38,41,.25) 75%, rgba(33,38,41,.45) 100%);
}
@media (min-width: 900px) { .hero { min-height: min(100svh, 920px); } }
@media (min-width: 900px) {
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(33,38,41,.9) 0%, rgba(33,38,41,.62) 34%, rgba(33,38,41,.1) 62%, rgba(33,38,41,0) 80%),
      linear-gradient(to top, rgba(33,38,41,.75) 0%, rgba(33,38,41,0) 32%);
  }
}

/* Posuvná brána z lamiel: pri načítaní odíde doľava (0,7 s) a odhalí fotku.
   Je čisto dekoratívna, text aj fotka sa načítavajú hneď pod ňou. */
.hero__gate {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(100% - 22px), var(--antracit-deep) calc(100% - 22px)),   /* nosný rám brány */
    repeating-linear-gradient(to bottom, var(--antracit) 0 46px, #15191B 46px 54px);                    /* lamely + medzery */
  animation: gate-open .75s var(--ease) .12s forwards;
  will-change: transform;
}
.hero__gate::before { /* oranžové svetlo v jednej medzere */
  content: ""; position: absolute; left: 0; right: 22px; top: calc(54px * 4 + 49px); height: 2px;
  background: linear-gradient(90deg, transparent, var(--oranzova) 30%, var(--oranzova));
}
.hero__gate::after { /* rukoväť */
  content: ""; position: absolute; right: 40px; top: 50%; width: 6px; height: 64px; margin-top: -32px;
  background: var(--steel); border-radius: 3px;
}
@keyframes gate-open { to { transform: translateX(-102%); } }

.hero__content { padding-bottom: clamp(28px, 5vw, 56px); }
.hero__kicker {
  font-family: var(--f-mono); font-size: clamp(.7rem, 1.6vw, .82rem); letter-spacing: .16em; font-weight: 500;
  display: flex; align-items: center; gap: .8em; margin: 0 0 1.2rem; color: var(--biela);
}
.hero__kicker::before { content: ""; width: 36px; height: 2px; background: var(--oranzova); flex: none; }
@media (max-width: 479px) { .hero__kicker { letter-spacing: .06em; font-size: .68rem; gap: .6em; } .hero__kicker::before { width: 20px; } }
.hero h1 { max-width: 13ch; margin-bottom: .35em; }
.hero h1 .accent { display: block; }
.hero__sub { font-size: clamp(1.05rem, 1.9vw, 1.3rem); max-width: 34em; color: #E7EAEB; margin-bottom: 1.8rem; }
.hero__tagline { margin-bottom: .25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 220px; }
@media (min-width: 600px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__actions .btn--ghost .mono { font-family: var(--f-mono); letter-spacing: .02em; font-weight: 500; text-transform: none; }

/* Lišta dôvery – spodný okraj hero */
.trustbar { border-top: 1px solid rgba(255,255,255,.14); background: rgba(21, 25, 27, .72); }
.trustbar ul {
  list-style: none; margin: 0 auto; padding-block: 0;
  display: grid; grid-template-columns: 1fr 1fr;
}
.trustbar li {
  padding: 14px 12px 14px 0; font-size: .9rem; font-weight: 500; line-height: 1.3;
  display: flex; align-items: center; gap: .6em; border-bottom: 1px solid rgba(255,255,255,.08);
}
.trustbar li strong { font-family: var(--f-mono); color: var(--oranzova); font-weight: 500; white-space: nowrap; }
.trustbar svg { width: 18px; height: 18px; flex: none; color: var(--oranzova); }
@media (min-width: 900px) {
  .trustbar ul { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .trustbar li { border-bottom: 0; padding: 18px 0; font-size: .98rem; }
}

/* 6. Konfigurátor plotu -------------------------------------------------------- */
.configurator { display: grid; gap: 28px; }
@media (min-width: 1000px) { .configurator { grid-template-columns: minmax(320px, 5fr) 7fr; gap: 56px; align-items: start; } }
.cfg-group { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.cfg-group legend {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-light); margin-bottom: 10px; padding: 0;
}
.cfg-options { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-option { position: relative; }
.cfg-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cfg-option span {
  display: flex; align-items: center; gap: .6em; min-height: 46px; padding: .55em .95em;
  border: 1px solid rgba(255,255,255,.28); border-radius: 2px; cursor: pointer;
  font-weight: 500; font-size: .95rem; transition: border-color .2s, background-color .2s;
}
.cfg-option span small { font-family: var(--f-mono); font-size: .75rem; color: var(--steel-light); }
.cfg-option input:hover + span { border-color: var(--biela); }
.cfg-option input:checked + span { border-color: var(--oranzova); background: rgba(242,107,31,.12); box-shadow: inset 0 -3px 0 var(--oranzova); }
.cfg-option input:focus-visible + span { outline: 3px solid var(--oranzova); outline-offset: 2px; }
.cfg-swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); flex: none; }
.cfg-colors .cfg-option span { padding-left: .6em; }
.cfg-custom-color { display: flex; align-items: center; gap: 8px; }
.cfg-custom-color input[type="color"] { width: 52px; height: 46px; padding: 4px; border: 1px solid rgba(255,255,255,.28); border-radius: 2px; background: transparent; cursor: pointer; }
.cfg-custom-color input[type="color"]:focus-visible { outline: 3px solid var(--oranzova); outline-offset: 2px; }
.cfg-preview { background: var(--snow); color: var(--text); position: relative; }
.cfg-preview svg { width: 100%; height: auto; }
.cfg-preview__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px clamp(16px, 3vw, 24px); background: var(--biela); border-top: 1px solid var(--line);
}
.cfg-summary { font-family: var(--f-mono); font-size: .9rem; font-weight: 500; letter-spacing: .02em; }
.cfg-summary span { color: var(--text-soft); }
.cfg-note { font-size: .9rem; color: var(--steel-light); margin-top: 10px; }

/* 7. Sekcie úvodnej stránky --------------------------------------------------- */

/* Čo pre vás vyrobíme */
.products { display: grid; gap: 40px; }
@media (min-width: 900px) { .products { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.product { position: relative; display: flex; flex-direction: column; }
.product__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--snow); margin-bottom: 20px; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__img img { transform: scale(1.04); }
.product__num { font-family: var(--f-mono); font-size: .8rem; color: var(--text-soft); display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.product__num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.product h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); text-transform: uppercase; font-variation-settings: "wdth" 118; font-stretch: 118%; }
.product h3 a { text-decoration: none; }
.product h3 a::before { content: ""; position: absolute; inset: 0; } /* celá karta klikateľná */
.product p { color: var(--text-soft); }
.product .link-arrow { margin-top: auto; align-self: flex-start; }

/* Prečo hliník pod Tatrami */
.why { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .why { grid-template-columns: 6fr 5fr; gap: 72px; } }
.why__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.why__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.why__list li { padding: 18px 0 18px 44px; border-top: 1px solid var(--line); position: relative; }
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__list li::before {
  content: ""; position: absolute; left: 0; top: 27px; width: 24px; height: 8px;
  background: linear-gradient(var(--antracit) 0 3px, transparent 3px 5px, var(--oranzova) 5px 6px, transparent 6px);
}
.why__list strong { display: block; font-family: var(--f-head); font-variation-settings: "wdth" 112; font-stretch: 112%; font-weight: 800; font-size: 1.1rem; }
.why__list span { color: var(--text-soft); }

/* Päť rád */
.series { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
@media (min-width: 600px) { .series { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .series { grid-template-columns: repeat(5, 1fr); } }
.serie { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.16);
  display: grid; grid-template-columns: 112px 1fr; gap: 0 18px; align-content: start; }
.serie svg { grid-row: 1 / span 3; }
@media (min-width: 600px) { .serie { display: block; padding: 24px 20px 28px 0; } }
@media (min-width: 1100px) { .serie { padding: 28px 24px 8px 0; border-bottom: 0; } .serie + .serie { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); } }
.serie svg { width: 100%; max-width: 210px; height: auto; margin-bottom: 0; }
@media (min-width: 600px) { .serie svg { margin-bottom: 20px; } }
.serie h3 { font-size: 1.35rem; letter-spacing: .04em; font-variation-settings: "wdth" 125; font-stretch: 125%; font-weight: 900; margin-bottom: .3em; }
.serie p { color: var(--steel-light); margin: 0; font-size: 1rem; }
.serie__code { font-family: var(--f-mono); font-size: .75rem; color: var(--oranzova); letter-spacing: .12em; display: block; margin-bottom: 6px; }

/* Ako to prebieha – číslované kroky */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: krok; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding: 0 0 32px 64px; counter-increment: krok; }
.step::before { /* číslo kroku */
  content: counter(krok, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  font-family: var(--f-mono); font-weight: 500; font-size: .95rem;
  width: 44px; height: 44px; display: grid; place-content: center;
  border: 1px solid var(--antracit); background: var(--biela);
}
.step::after { /* spojnica – ako kóta na výkrese */
  content: ""; position: absolute; left: 22px; top: 44px; bottom: 0; width: 1px; background: var(--line);
}
.step:last-child::after { display: none; }
.step:first-child::before { background: var(--oranzova); border-color: var(--oranzova); color: var(--antracit-deep); }
.step h3 { font-size: 1.2rem; margin-bottom: .35em; }
.step p { color: var(--text-soft); margin: 0; font-size: 1rem; }
@media (min-width: 1000px) {
  .step { padding: 68px 24px 0 0; }
  .step::after { left: 44px; right: 0; top: 22px; bottom: auto; width: auto; height: 1px; }
  .step:last-child::after { display: none; }
}

/* Realizácie – galéria */
.gallery { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--antracit-deep); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s var(--ease), opacity .3s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .03em; line-height: 1.35;
  background: linear-gradient(to top, rgba(21,25,27,.92), rgba(21,25,27,0));
  color: var(--biela);
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; }
  .gallery img { aspect-ratio: auto; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery figure:nth-child(2) { grid-column: span 2; }
  .gallery figure:nth-child(5) { grid-column: span 2; }
  .gallery figure:nth-child(6) { grid-column: span 2; }
  .gallery figcaption { font-size: .8rem; padding: 36px 16px 14px; }
}
.gallery-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* Recenzie */
.reviews { display: grid; gap: 0; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 28px 0; border-top: 2px solid var(--antracit); display: flex; flex-direction: column; }
@media (min-width: 900px) { .review { padding: 28px 32px 8px 0; } .review + .review { padding-left: 32px; border-left: 1px solid var(--line); } }
.stars { display: flex; gap: 3px; color: var(--oranzova); margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 18px; font-size: 1.1rem; line-height: 1.55; }
.review figcaption { margin-top: auto; font-weight: 600; }
.review figcaption span { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .78rem; color: var(--text-soft); }
.reviews-foot { margin-top: 32px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .reviews-foot { grid-template-columns: auto 1fr; gap: 48px; } }
.bonus {
  display: flex; gap: 20px; align-items: center; padding: 20px 24px;
  background: var(--antracit-deep); color: var(--biela);
}
.bonus__plate {
  flex: none; width: 76px; height: 56px; display: grid; place-content: center;
  border: 2px solid var(--oranzova); font-family: var(--f-head); font-weight: 900; font-size: 1.5rem;
  font-variation-settings: "wdth" 125; font-stretch: 125%;
}
.bonus p { margin: 0; font-weight: 500; }
.bonus p strong { color: var(--oranzova); }

/* Kde montujeme */
.area { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .area { grid-template-columns: 5fr 6fr; gap: 72px; } }
.area__map { background: var(--antracit-deep); padding: clamp(12px, 3vw, 28px); }
.area__map svg { width: 100%; height: auto; }
.area__towns { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area__towns li { font-family: var(--f-mono); font-size: .85rem; padding: .45em .8em; border: 1px solid rgba(255,255,255,.25); }
.area__towns li:first-child { border-color: var(--oranzova); }

/* FAQ */
.faq { max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--f-head); font-weight: 750; font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-variation-settings: "wdth" 112; font-stretch: 112%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { /* plus / mínus z dvoch lamiel */
  content: ""; position: absolute; right: 4px; top: 50%; width: 20px; height: 2px; background: var(--antracit);
  box-shadow: none; transition: transform .25s;
}
.faq summary::before {
  content: ""; position: absolute; right: 13px; top: calc(50% - 9px); width: 2px; height: 20px; background: var(--oranzova);
  transition: transform .25s;
}
.faq details[open] summary::before { transform: scaleY(0); }
.faq details > div { padding: 0 0 24px; color: var(--text-soft); max-width: 46em; }
.faq details > div p:last-child { margin: 0; }
.faq-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* Záverečná výzva + formulár */
.cta { display: grid; gap: 40px; }
@media (min-width: 1000px) { .cta { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }
.cta h2 { font-size: clamp(1.8rem, 4.2vw, 3.1rem); }
.cta__contacts { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.cta__contacts li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); display: grid; gap: 2px; }
.cta__contacts small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-light); }
.cta__contacts a { text-decoration: none; font-size: 1.15rem; font-weight: 600; }
.cta__contacts a:hover { color: var(--oranzova); }
.cta__phone a { font-family: var(--f-mono); font-size: clamp(1.4rem, 3vw, 1.9rem) !important; font-weight: 500 !important; }

/* 8. Formulár --------------------------------------------------------------------- */
.form { background: var(--biela); color: var(--text); padding: clamp(20px, 4vw, 40px); --focus: var(--antracit-deep); }
.form h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 1.1rem; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field label .req { color: var(--oranzova-dark); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"],
.field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7em .85em;
  background: var(--snow); border: 1px solid #B9BEC1; border-bottom: 2px solid var(--antracit); border-radius: 0;
  font-size: 1rem; transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--biela); border-bottom-color: var(--oranzova); outline: 3px solid var(--antracit-deep); outline-offset: 1px; }
.field input[type="file"] { width: 100%; font-size: .92rem; padding: .6em; border: 1px dashed #9AA1A6; background: var(--snow); }
.field .hint { font-size: .82rem; color: var(--text-soft); margin-top: 4px; }
.privacy-note { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--text-soft); }
.privacy-note a { color: var(--text); text-underline-offset: 3px; }
.form .btn { width: 100%; margin-top: 8px; }
.form-thanks { display: none; padding: 24px; border-left: 4px solid var(--oranzova); background: var(--snow); font-size: 1.1rem; font-weight: 500; }
.form.is-sent .form-grid, .form.is-sent .btn { display: none; }
.form.is-sent .form-thanks { display: block; }
.form-error { color: #A02A00; font-weight: 600; margin-top: 10px; }

/* 9. Pätička + mobilná lišta -------------------------------------------------------- */
.site-footer { background: var(--antracit-deep); color: var(--biela); padding: 64px 0 120px; font-size: .95rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 40px; } }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; } }
.site-footer h2 { font-size: .78rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .14em; color: var(--steel); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--oranzova); text-decoration: underline; }
.footer-company address { font-style: normal; color: #D5DADC; line-height: 1.75; }
.footer-company .mono { color: var(--steel); font-size: .85rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 44px; height: 44px; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.25);
}
.footer-social a:hover { border-color: var(--oranzova); }
.footer-social svg { width: 20px; height: 20px; }
.footer-locations { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: var(--steel); font-size: .88rem; }
.footer-locations a { color: #D5DADC; }
.footer-bottom { margin-top: 14px; color: var(--steel); font-size: .82rem; }

/* pevná spodná lišta na mobile: Zavolať | Cenová ponuka */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.25fr;
  background: var(--antracit-deep); border-top: 1px solid rgba(255,255,255,.12);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 58px;
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: .92rem; letter-spacing: .04em;
  font-variation-settings: "wdth" 112; font-stretch: 112%; text-decoration: none; color: var(--biela);
}
.mobile-bar a + a { background: var(--oranzova); color: var(--antracit-deep); }
.mobile-bar svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* 10. Pomocné triedy, reduced motion --------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__gate { display: none; }            /* bez animácie brány */
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ==========================================================================
   11. Podstránky
   ========================================================================== */

/* Úvod podstránky: omrvinky, H1, úvodný text, fotka */
.page-hero { background: var(--antracit-deep); color: var(--biela); padding: calc(var(--header-h) + 28px) 0 0; position: relative; overflow: hidden; }
.page-hero__grid { display: grid; gap: 32px; padding-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 6fr 5fr; gap: 64px; align-items: end; } }
.page-hero h1 { font-size: clamp(2rem, 5.4vw, 4rem); max-width: 14ch; }
.page-hero .lead { color: #E1E5E7; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__img { position: relative; }
.page-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero__img::before { /* lamely nad fotkou – „svetlo“ */
  content: ""; position: absolute; left: -24px; right: 40%; top: 18px; height: 2px; background: var(--oranzova); z-index: 1;
}
.page-hero--text .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--text h1 { max-width: 18ch; }

.breadcrumb { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; margin-bottom: 28px; color: var(--steel); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--steel); }
.breadcrumb a { color: var(--steel-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--oranzova); }
.breadcrumb [aria-current] { color: var(--biela); }

/* Rýchla navigácia po sekciách stránky */
.subnav { background: var(--antracit); border-top: 1px solid rgba(255,255,255,.08); }
.subnav ul { list-style: none; margin: 0; padding-block: 0; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; padding: 16px 18px 15px 0; margin-right: 18px; text-decoration: none; color: #E1E5E7;
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--biela); border-bottom-color: var(--oranzova); }

/* Blok text + fotka (striedavo vľavo/vpravo) */
.split { display: grid; gap: 28px; align-items: center; }
.split + .split { margin-top: clamp(56px, 8vw, 104px); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--flip .split__media { order: 2; }
}
.split__media { margin: 0; }
.split__media img, .split__media svg { width: 100%; }
.split__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--portrait img { aspect-ratio: 3 / 4; }
.split__media figcaption { font-family: var(--f-mono); font-size: .75rem; color: var(--text-soft); margin-top: 8px; }
.is-dark .split__media figcaption { color: var(--steel-light); }
.split__body h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
.split__body p { color: var(--text-soft); }
.split--text-only { grid-template-columns: minmax(0, 1fr); background: var(--snow); border-left: 4px solid var(--oranzova); padding: clamp(24px, 4vw, 48px); }
.split--text-only .split__body { max-width: 760px; }
.is-dark .split__body p { color: var(--steel-light); }
.split__body .tech-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; padding: 0; list-style: none; }
.tech-row li { font-family: var(--f-mono); font-size: .8rem; padding: .35em .7em; border: 1px solid var(--line); background: var(--biela); }
.is-dark .tech-row li { border-color: rgba(255,255,255,.22); background: transparent; }
.split__media--drawing { background: var(--snow); border: 1px solid var(--line); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-pair img { aspect-ratio: 3 / 4; }

/* Paleta farieb RAL */
.ral-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.ral-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.ral-list i { width: 34px; height: 34px; flex: none; border: 1px solid rgba(0,0,0,.15); }
.ral-list span { display: block; font-family: var(--f-mono); font-size: .75rem; color: var(--text-soft); }

/* Zoznam faktorov ceny */
.factors { list-style: none; margin: 0; padding: 0; counter-reset: f; display: grid; gap: 0; }
@media (min-width: 800px) { .factors { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.factors li { counter-increment: f; padding: 18px 0 18px 56px; border-top: 1px solid var(--line); position: relative; }
.factors li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--f-mono); color: var(--text-soft); }
.factors strong { display: block; font-weight: 600; }
.factors span { color: var(--text-soft); font-size: .98rem; }

/* Porovnávacia tabuľka */
.compare { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare caption { text-align: left; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); padding-bottom: 12px; }
.compare th, .compare td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-head); font-variation-settings: "wdth" 112; font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: .95rem; border-bottom: 2px solid var(--antracit); }
.compare thead th:last-child { color: var(--antracit-deep); box-shadow: inset 0 -4px 0 var(--oranzova); }
.compare tbody th { font-weight: 600; width: 26%; }
.compare td:last-child { font-weight: 500; }
@media (max-width: 699px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare td { border: 0; padding: 4px 0; }
  .compare td::before { content: attr(data-label) ": "; font-family: var(--f-mono); font-size: .78rem; color: var(--text-soft); display: block; }
}

/* Info pruh (napr. cena podľa ponuky) */
.note-box { border-left: 4px solid var(--oranzova); background: var(--biela); padding: 22px 24px; margin: 24px 0; }
.section--snow .note-box { background: var(--biela); }
.note-box p:last-child { margin: 0; }

/* Katalóg rád (obrázky) */
.catalog { display: grid; gap: 16px; }
@media (min-width: 900px) { .catalog { grid-template-columns: 1fr 1fr; } }
.catalog figure { margin: 0; background: var(--biela); }
.catalog img { width: 100%; height: auto; }
.catalog figcaption { font-family: var(--f-mono); font-size: .78rem; padding: 10px 0 0; color: var(--steel-light); }

/* Bonus s fotkou */
.bonus-photo { display: grid; gap: 0; background: var(--antracit-deep); color: var(--biela); }
@media (min-width: 800px) { .bonus-photo { grid-template-columns: 1fr 1.2fr; } }
.bonus-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.bonus-photo div { padding: clamp(24px, 4vw, 44px); align-self: center; }
.bonus-photo h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.bonus-photo p { color: var(--steel-light); margin: 0; }

/* Materiály */
.materials { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .materials { grid-template-columns: repeat(4, 1fr); } }
.materials li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .materials li + li { padding-left: 24px; border-left: 1px solid var(--line); } }
.materials strong { display: block; font-family: var(--f-head); font-variation-settings: "wdth" 118; font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 1.15rem; margin-bottom: 6px; }
.materials span { color: var(--text-soft); }

/* Realizácie: filter + mriežka + lightbox */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button {
  min-height: 44px; padding: .5em 1em; border: 1px solid #B9BEC1; background: var(--biela); cursor: pointer;
  font-family: var(--f-mono); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
}
.filter button[aria-pressed="true"] { background: var(--antracit-deep); color: var(--biela); border-color: var(--antracit-deep); box-shadow: inset 0 -3px 0 var(--oranzova); }
.works { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .works { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .works { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.works li[hidden] { display: none; }
.works button { all: unset; display: block; cursor: zoom-in; width: 100%; position: relative; background: var(--antracit-deep); }
.works button:focus-visible { outline: 3px solid var(--antracit-deep); outline-offset: 3px; }
.works img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: opacity .25s; }
.works button:hover img { opacity: .85; }
.works p { font-family: var(--f-mono); font-size: .72rem; line-height: 1.4; margin: 8px 0 14px; color: var(--text-soft); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; color: var(--biela); }
.lightbox::backdrop { background: rgba(21,25,27,.94); }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox p { font-family: var(--f-mono); font-size: .85rem; margin: 12px 0 0; text-align: center; }
.lightbox__bar { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.lightbox__bar button { min-width: 48px; min-height: 48px; background: var(--antracit); color: var(--biela); border: 1px solid rgba(255,255,255,.25); cursor: pointer; font-size: 1.1rem; }
.lightbox__bar button:hover { border-color: var(--oranzova); }

/* Kontakt */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.contact-list small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.contact-list a { font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--oranzova); }
.contact-list .big { font-family: var(--f-mono); font-weight: 500; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.contact-grid .form { border: 1px solid var(--line); }

/* Textová stránka (zásady ochrany osobných údajov) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-top: 2em; text-transform: none; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* =======================================================================
   Architektonický redizajn — spoločná vizuálna vrstva pre všetky stránky.
   Pôvodné selektory a funkčné stavy zostávajú kompatibilné so skriptmi.
   ======================================================================= */
:root {
  --antracit: #212629;
  --steel: #B9C0C3;
  --snow: #F5F6F5;
  --line: #E0E4E2;
  --gutter: 22px;
  --header-h: 72px;
  --ease: ease-out;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(33,38,41,.06);
}
html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
body { font-size: 17px; line-height: 1.6; }
h1, h2, h3, .btn, .brand span, .product h3, .serie h3,
.why__list strong, .materials strong, .faq summary, .nav.is-open a {
  font-stretch: normal; font-variation-settings: normal; text-transform: none;
}
h1, h2 { font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.accent { color: inherit; }
.lead { font-size: 18px; line-height: 1.6; }
.mono, .tech { letter-spacing: 0; }
.eyebrow, .hero__kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.6;
}
.eyebrow::before, .hero__kicker::before, .lamela-mask::after,
.page-hero__img::before, .nav a::after { display: none; }
.section { padding-block: 64px; }
.section-head { margin-bottom: 36px; max-width: 760px; }
.section-head p:last-child { margin-bottom: 0; }
.lamela-divider, .hero__gate, .product__num, .serie__code { display: none; }
.lamela-mask img { mask-image: none; -webkit-mask-image: none; }
.wrap > *, .configurator > *, .why > *, .cta > *, .split > *, .contact-grid > * { min-width: 0; }
.btn {
  min-height: 52px; border-width: 1px; border-radius: 8px; padding: 14px 22px;
  font-size: 14px; font-weight: 700; letter-spacing: 0;
  transition: background-color 200ms, color 200ms, border-color 200ms;
}
.btn--primary:hover { background: var(--oranzova); box-shadow: none; filter: brightness(1.08); }
.btn--ghost { border-color: #90999E; }
.btn--ghost:hover { background: var(--biela); border-color: var(--biela); }
.link-arrow { border: 0; padding: 8px 0; gap: 16px; font-size: 15px; }
.link-arrow::after { font-size: 22px; }
a:hover { text-underline-offset: 4px; }
:focus-visible { outline-width: 3px; outline-offset: 5px; }
.is-dark { --focus: #FFFFFF; }
.site-header {
  position: sticky; background: #212629; border: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header .wrap { gap: 18px; }
.brand { gap: 9px; }
.brand span { font-size: 21px; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 30px; height: 30px; }
.nav a { font-size: 13px; padding: 12px 8px; min-height: 48px; display: flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: #FFFFFF; text-decoration: underline; text-underline-offset: 6px; }
.header-phone { font-size: 13px; font-weight: 600; }
.header-cta { min-height: 48px; padding: 12px 16px; font-size: 13px; }
.nav-toggle i:nth-child(2) { background: currentColor; width: 26px; }
.nav.is-open { background: #212629; }
.nav.is-open a { font-size: 22px; font-weight: 500; padding-block: 18px; }
.hero {
  min-height: 0; padding-top: 0; justify-content: center; overflow: hidden;
}
.hero__content { padding-block: 60px 64px; }
.hero__media img { object-position: 62% center; }
.hero__media::after {
  background: linear-gradient(180deg, rgba(33,38,41,.78), rgba(33,38,41,.76) 40%, rgba(33,38,41,.7) 65%, rgba(33,38,41,.34));
}
.hero .hero__kicker { margin-bottom: 24px; }
.hero__kicker { max-width: 520px; margin-bottom: 28px; color: #E2E6E7; }
.hero h1 { max-width: 15ch; margin-bottom: 24px; }
.hero h1 .accent { display: inline; }
.hero__sub { font-size: 17px; line-height: 1.6; max-width: 510px; margin-bottom: 30px; color: #F0F2F3; }
.hero__tagline { margin-bottom: 10px; }
.hero__tagline strong { font-weight: 600; }
.hero__actions { gap: 12px; }
.hero__actions .btn { flex-basis: 100%; }
.hero__actions svg { display: none; }
.hero__actions .btn--ghost { background: rgba(33,38,41,.45); border-color: #B9C0C3; }
.hero__actions .btn--ghost:hover { color: #212629; background: #FFFFFF; }
.trustbar { background: var(--snow); color: #212629; border: 0; }
.trustbar ul { gap: 24px; padding-block: 28px; align-items: stretch; }
.trustbar li { padding: 0; border: 0; font-size: 15px; font-weight: 500; line-height: 1.5; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.trustbar__value { display: block; flex: 1; font-size: 18px; font-weight: 650; letter-spacing: -.025em; line-height: 1.3; }
.trustbar__value--rating { font-size: 24px; }
.trustbar__detail { display: block; font-size: 14px; line-height: 1.5; color: var(--text-soft); }
.trustbar li strong { color: #212629; font-weight: 700; }
.trustbar svg { display: none; }
.products { gap: 36px 24px; }
.product__img { border-radius: var(--radius); aspect-ratio: 4 / 3; margin-bottom: 24px; box-shadow: var(--shadow); }
.product__img img { transition: transform 300ms ease-out; }
.product h3 { font-size: 25px; font-weight: 600; margin-bottom: 12px; }
.product p { font-size: 17px; }
.product .link-arrow { margin-top: auto; font-size: 14px; }
.product:focus-within .product__img { outline: 3px solid #212629; outline-offset: 5px; }
.configurator { gap: 32px; align-items: center; }
.cfg-group { margin-bottom: 26px; }
.cfg-group legend { color: var(--text); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: 12px; }
.cfg-options { gap: 10px; }
.cfg-option span {
  min-height: 48px; border: 1px solid #B0B8BC; border-radius: 8px;
  background: #FFFFFF; color: #212629; padding: 10px 14px; font-size: 14px;
}
.cfg-option span small { font-size: 11px; color: #545B60; }
.cfg-option input:hover + span { border-color: #212629; }
.cfg-option input:checked + span { border-color: #212629; background: #212629; color: #FFFFFF; box-shadow: none; }
.cfg-option input:checked + span small { color: #E0E4E2; }
.cfg-option input:focus-visible + span { outline-color: #212629; outline-offset: 4px; }
.cfg-swatch { border-color: #A7AFB3; width: 20px; height: 20px; }
.cfg-custom-color { gap: 10px; }
.cfg-custom-color input[type="color"] { height: 48px; width: 48px; border-color: #B0B8BC; border-radius: 8px; background: #FFFFFF; }
.cfg-custom-color input[type="color"]:focus-visible { outline-color: #212629; }
.cfg-note { color: #545B60; font-size: 14px; line-height: 1.6; max-width: 480px; }
.cfg-preview { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cfg-preview svg text, .area__map svg text, .split__media svg text { font-family: var(--f-body); }
.cfg-preview__bar { padding: 20px 24px; border-top: 0; }
.cfg-summary { margin: 0; font-size: 12px; line-height: 1.6; letter-spacing: .02em; }
/* Dekoratívne prvky výkresu sa skryjú bez zásahu do rendereru. */
.cfg-preview [fill="url(#cfggrid)"], .cfg-preview [fill="url(#cfgglow)"] { display: none; }
.why { gap: 40px; }
.why__img img { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow); }
.why__list { grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: 32px; }
.why__list li, .why__list li:last-child { padding: 0; border: 0; }
.why__list li::before { display: none; }
.why__list strong { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.why__list span { display: block; font-size: 15px; line-height: 1.6; }
.series {
  display: grid; grid-template-columns: repeat(5, minmax(238px, 1fr)); gap: 16px;
  border: 0; overflow-x: auto; padding: 4px 4px 20px; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: #90999E #212629;
}
.serie, .serie + .serie {
  display: block; padding: 24px 20px; border: 0; border-radius: 12px;
  background: #2C3236; scroll-snap-align: start;
}
.serie svg { margin: 0 auto 28px; max-width: 210px; }
.serie h3 { font-size: 21px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 12px; }
.serie p { font-size: 15px; line-height: 1.6; }
.steps { gap: 0; }
.step { padding: 0 0 32px 32px; }
.step::before, .step:first-child::before {
  content: ""; width: 10px; height: 10px; top: 8px; left: 0;
  border: 0; border-radius: 50%; background: #212629;
}
.step::after { left: 4px; top: 24px; background: #D0D6D3; }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { font-size: 15px; line-height: 1.6; }
.note-box { background: var(--snow); border: 0; border-radius: var(--radius); padding: 28px; margin-block: 40px 0; font-size: 16px; }
.offer-note summary { cursor: pointer; min-height: 48px; padding-right: 28px; position: relative; font-weight: 700; list-style: none; }
.offer-note summary::-webkit-details-marker { display: none; }
.offer-note summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 24px; font-weight: 400; }
.offer-note[open] summary::after { content: "−"; }
.offer-note > div { padding-top: 16px; max-width: 900px; color: var(--text-soft); }
.gallery { gap: 16px; }
.gallery figure { border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery img { transition: transform 300ms ease-out; }
.gallery figcaption { padding: 48px 18px 18px; font-size: 12px; line-height: 1.5; }
.gallery-foot .btn--ghost { border-color: #90999E; }
.gallery-foot .btn--ghost:hover { background: #212629; color: #FFFFFF; border-color: #212629; }
.reviews { gap: 20px; }
.review, .review + .review { padding: 28px; border: 0; border-radius: var(--radius); background: var(--snow); box-shadow: var(--shadow); }
.review blockquote { font-size: 17px; line-height: 1.7; margin-bottom: 28px; }
.review figcaption { font-size: 14px; }
.review figcaption span { font-size: 12px; }
.stars { color: #212629; gap: 5px; margin-bottom: 24px; }
.stars svg { width: 23px; height: 23px; }
.bonus { border-radius: 12px; padding: 24px; }
.bonus__plate { border: 1px solid #90999E; border-radius: 8px; font-size: 22px; }
.bonus p strong { color: #FFFFFF; }
.area { gap: 32px; }
.area__map { border-radius: var(--radius); background: #2C3236; padding: 16px; }
.area__towns { gap: 8px 16px; }
.area__towns li, .area__towns li:first-child { padding: 0; border: 0; font-size: 14px; color: #E0E4E2; }
.section:has(.area) { padding-block: 64px; }
.faq { max-width: none; }
.faq summary { font-size: 17px; font-weight: 600; padding-block: 24px; line-height: 1.5; }
.faq summary::before { background: #212629; }
.faq details > div { font-size: 17px; padding-right: 32px; }
.faq-foot { gap: 12px 24px; }
.cta { gap: 40px; }
.cta h2 { font-size: clamp(2.2rem, 3.7vw, 3.4rem); }
.cta__contacts { border: 0; margin-top: 40px; }
.cta__contacts li { border: 0; padding-block: 12px; gap: 4px; }
.cta__contacts small { font-size: 12px; letter-spacing: .06em; text-transform: none; }
.cta__phone a { letter-spacing: -.04em; }
.form { border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.form h3 { font-size: 23px; text-transform: none; font-weight: 600; margin-bottom: 28px; }
.form-grid { gap: 22px 16px; }
.field label { font-size: 14px; margin-bottom: 8px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field select, .field textarea {
  min-height: 54px; border: 1px solid #9EA8AD; border-radius: 8px; background: #F7F8F7; padding: 14px 16px; font-size: 16px;
}
.field textarea { min-height: 136px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #212629; outline-offset: 3px; }
.field textarea::placeholder { color: #61696E; opacity: 1; }
.field input[type="file"] { border: 1px solid #9EA8AD; border-radius: 8px; min-height: 54px; font-size: 13px; padding: 12px; }
.field input::file-selector-button { min-height: 48px; padding: 8px 12px; background: #212629; color: #FFFFFF; border: 0; border-radius: 4px; font: inherit; margin-right: 10px; cursor: pointer; }
.form .btn { margin-top: 24px; }
.site-footer { padding-block: 56px 110px; }
.footer-grid { gap: 32px; }
.site-footer .brand { margin-bottom: 24px; }
.site-footer h2 { color: #E0E4E2; font-weight: 600; letter-spacing: .07em; }
.footer-company address { font-size: 14px; }
.footer-company .mono, .footer-locations, .footer-bottom { color: #B9C0C3; }
.footer-social a { width: 48px; height: 48px; border: 0; border-radius: 8px; background: #2C3236; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; }
.site-footer li { margin: 0; }
.mobile-bar { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; background: #FFFFFF; border: 0; box-shadow: 0 -4px 24px rgba(33,38,41,.1); }
.mobile-bar a { min-height: 48px; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; border-radius: 8px; background: #212629; }
.reveal { transform: none; transition: opacity 280ms ease-out; }
.page-hero { padding-top: 40px; }
.page-hero__grid { padding-bottom: 64px; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4.4rem); max-width: 17ch; }
.page-hero__img img, .split__media img, .catalog img { border-radius: var(--radius); box-shadow: var(--shadow); }
.breadcrumb { font-size: 12px; letter-spacing: 0; margin-bottom: 36px; }
.subnav a { font-size: 13px; text-transform: none; letter-spacing: 0; }
.split__body h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.split--text-only { border: 0; border-radius: var(--radius); }
.tech-row li { border: 0; border-radius: 6px; padding: 8px 12px; }
.photo-pair { gap: 16px; }
.ral-list { gap: 16px; }
.ral-list i { border-radius: 50%; }
.factors { gap: 16px 32px; }
.factors li { padding: 24px; border: 0; background: #FFFFFF; border-radius: 12px; }
.factors li::before { display: none; }
.compare thead th { text-transform: none; font-weight: 700; }
.compare thead th:last-child { box-shadow: none; }
.bonus-photo { border-radius: var(--radius); overflow: hidden; }
.materials { border: 0; gap: 24px; }
.materials li, .materials li + li { border: 0; padding: 0; }
.materials strong { font-size: 18px; font-weight: 700; }
.filter button { min-height: 48px; border-radius: 8px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.filter button[aria-pressed="true"] { box-shadow: none; }
.works { gap: 20px; }
.works button { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.works img { transition: transform 300ms ease-out; }
.works button:hover img { opacity: 1; transform: scale(1.035); }
.works p { font-size: 13px; line-height: 1.6; }
.lightbox__bar button { border-radius: 8px; }
.contact-grid .form { border: 0; background: var(--snow); }
.contact-list small { text-transform: none; letter-spacing: 0; font-size: 13px; }
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__content { padding-block: 80px; }
  .form { padding: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 76px; }
  html { scroll-padding-bottom: 24px; }
  body { font-size: 18px; }
  .section { padding-block: 112px; }
  .section-head { margin-bottom: 48px; }
  .hero { min-height: 650px; }
  .hero__content { padding-block: 88px; }
  .hero__media::after { background: linear-gradient(90deg, rgba(33,38,41,.9), rgba(33,38,41,.75) 42%, rgba(33,38,41,.12) 80%); }
  .hero__sub { font-size: 18px; }
  .trustbar ul { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr); gap: 24px; padding-block: 28px; }
  .trustbar li { font-size: 16px; padding: 0; }
  .trustbar__value { font-size: 22px; min-height: 34px; }
  .trustbar__value--rating { font-size: 26px; }
  .trustbar__detail { font-size: 15px; }
  .configurator { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .why { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 20px; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .section:has(.faq) > .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0 64px; }
  .section:has(.faq) .faq-foot { grid-column: 2; }
  .section:has(.area) { padding-block: 96px; }
  .area { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .site-footer { padding-block: 72px 32px; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .step { padding: 40px 0 0; }
  .step::before { top: 0; }
  .step::after { top: 4px; left: 24px; right: -12px; width: auto; height: 1px; }
  .cta { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
}
@media (min-width: 1100px) {
  .nav.is-open a { font-size: 13px; font-weight: 500; padding: 12px 8px; border: 0; }
  .site-header .wrap { gap: 14px; }
}
@media (min-width: 1240px) {
  .series { grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .serie, .serie + .serie { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .product:hover img, .gallery figure:hover img, .works button:hover img { transform: none; }
}

/* Súkromie: súhlas s analytikou je oddelený od dopytového formulára. */
.field label.privacy-ack { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 0; font-size: 14px; line-height: 1.6; cursor: pointer; }
.field label.privacy-ack input[type="checkbox"] { display: block; flex: 0 0 22px; width: 22px; height: 22px; min-height: 22px; padding: 0; margin: 2px 0 0; accent-color: #212629; }
.privacy-ack a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-ack-note { margin: 10px 0 0; font-size: 13px; color: #545B60; }
.cookie-settings { background: none; border: 0; padding: 8px 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-banner[hidden], .cookie-settings[hidden] { display: none; }
.cookie-banner { position: fixed; z-index: 300; inset: auto 16px calc(90px + env(safe-area-inset-bottom)); max-width: 1248px; margin-inline: auto; padding: 24px; border: 1px solid #B9C0C3; border-radius: 16px; background: #FFFFFF; color: #212629; box-shadow: 0 8px 48px rgba(0,0,0,.22); max-height: calc(100dvh - 120px); overflow-y: auto; }
.cookie-banner h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 10px; }
.cookie-banner p { font-size: 14px; line-height: 1.6; margin: 0; }
.cookie-banner a, .cookie-dialog a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cookie-btn { flex: 1 1 180px; min-height: 48px; padding: 12px 16px; border: 1px solid #212629; border-radius: 8px; background: #212629; color: #FFFFFF; font-size: 14px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.cookie-btn:hover { background: #384146; }
.cookie-link { flex-basis: 100%; min-height: 44px; padding: 8px; border: 0; background: transparent; color: #212629; font-size: 14px; text-decoration: underline; cursor: pointer; }
.cookie-dialog { position: fixed; width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 32px 24px 24px; border: 0; border-radius: 16px; background: #FFFFFF; color: #212629; overflow-y: auto; box-shadow: 0 8px 48px rgba(0,0,0,.25); }
.cookie-dialog::backdrop { background: rgba(21,25,27,.7); }
.cookie-dialog h2 { padding-right: 34px; font-size: 28px; line-height: 1.2; margin: 0 0 16px; }
.cookie-dialog h3 { font-size: 17px; margin: 0 0 8px; }
.cookie-dialog p { font-size: 14px; line-height: 1.6; }
.cookie-dialog__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: #F5F6F5; color: #212629; font-size: 28px; cursor: pointer; }
.cookie-category { padding: 20px 0; border-block-start: 1px solid #E0E4E2; }
.cookie-category p:last-child { margin: 8px 0 0; }
.cookie-option { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; cursor: pointer; }
.cookie-option input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: #212629; }
.cookie-dialog__details { color: #545B60; }
.cookie-dialog :focus-visible, .cookie-banner :focus-visible { outline: 3px solid #212629; outline-offset: 4px; }
@media (min-width: 900px) {
  .cookie-banner { bottom: 24px; padding: 28px 32px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: center; gap: 32px; }
  .cookie-banner .cookie-actions { margin-top: 0; }
}
