/* =========================================================
   Stavby a reality s.r.o. – hlavný štýl
   Farby a typografia vychádzajú z dizajn manuálu (manual.html)
   ========================================================= */

:root {
  /* Farby značky */
  --c-antracit: #383E42;      /* RAL 7016 – primárna */
  --c-grafit: #24292D;        /* tmavé plochy */
  --c-noc: #1A1E21;           /* najtmavší odtieň, text na zlatej */
  --c-dub: #B8863B;           /* Zlatý dub – akcent */
  --c-dub-svetly: #E2C08A;    /* akcent na tmavom pozadí */
  --c-dub-tmavy: #8A6224;     /* akcent pre malý text na svetlom */
  --c-dub-tint: #F3EADB;
  --c-vapno: #F6F3EE;         /* teplé svetlé pozadie */
  --c-piesok: #E7E0D5;        /* linky, rámčeky */
  --c-biela: #FFFFFF;
  --c-sklo: #A9BEC5;
  --c-sklo-tmave: #3F6670;
  --c-olivova: #5E6B3F;

  --c-text: #2B3034;
  --c-muted: #646B71;
  --c-bg: var(--c-biela);

  /* Typografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Tvar a priestor */
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(26, 30, 33, .06), 0 2px 8px rgba(26, 30, 33, .05);
  --shadow: 0 2px 6px rgba(26, 30, 33, .06), 0 12px 32px rgba(26, 30, 33, .09);
  --shadow-lg: 0 24px 60px rgba(26, 30, 33, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; color: var(--c-antracit); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--c-dub); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--c-noc); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Typografické prvky ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-dub-tmavy);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light, .section--dark .eyebrow, .promo .eyebrow { color: var(--c-dub-svetly); }

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem);
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 96;
}
.section__lead { margin-top: 18px; font-size: 1.125rem; color: var(--c-muted); max-width: 62ch; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; color: var(--c-dub-tmavy); text-decoration: none;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .975rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.025rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--c-dub); color: var(--c-noc); }
.btn--accent:hover { background: #C9974A; box-shadow: 0 8px 22px rgba(184, 134, 59, .35); }
.btn--dark { background: var(--c-antracit); color: #fff; }
.btn--dark:hover { background: var(--c-grafit); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn--outline { border-color: var(--c-antracit); color: var(--c-antracit); background: transparent; }
.btn--outline:hover { background: var(--c-antracit); color: #fff; }

.chip {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--c-dub-tint); color: var(--c-dub-tmavy);
  font-size: .8rem; font-weight: 700;
}

/* ---------- Logo ----------
   Celé logo sa škáluje jednou premennou --logo-size (výška znaku).
   Pomery textu k znaku zodpovedajú súboru assets/logo/logo.svg. */
.brand {
  --logo-size: 44px;
  display: inline-flex; align-items: center; gap: calc(var(--logo-size) * .27);
  text-decoration: none; color: var(--c-antracit);
}
.brand__mark { width: var(--logo-size); height: var(--logo-size); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-weight: 800; font-size: calc(var(--logo-size) * .436); letter-spacing: .1em; }
.brand__text i {
  margin-top: calc(var(--logo-size) * .07);
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: calc(var(--logo-size) * .4);
  color: var(--c-dub);
}
.brand--light { color: #fff; }
.brand--light .brand__text i { color: #C99A52; }
.brand--mono { --logo-accent: currentColor; }
.brand--mono .brand__text i { color: inherit; }
.brand--stacked { flex-direction: column; text-align: center; gap: calc(var(--logo-size) * .2); }
.brand--stacked .brand__text { align-items: center; }

/* ---------- Hlavička ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--c-piesok); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--c-antracit);
  transition: background-color .2s, color .2s;
}
.nav__list a:hover { background: var(--c-vapno); color: var(--c-dub-tmavy); }
.nav__list .nav__ext { display: flex; align-items: center; gap: 6px; }
.nav__ext .icon { width: .95em; height: .95em; color: var(--c-dub); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--c-piesok);
  background: #fff; color: var(--c-antracit); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 780px);
  display: flex; align-items: center;
  padding: 96px 0 120px;
  color: #fff;
  background: var(--c-grafit);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(26, 30, 33, .9) 0%, rgba(26, 30, 33, .7) 45%, rgba(26, 30, 33, .25) 100%),
    linear-gradient(0deg, rgba(26, 30, 33, .55) 0%, rgba(26, 30, 33, 0) 40%);
}
.hero__inner { max-width: calc(var(--container) + 2 * var(--gutter)); }
.hero__title {
  max-width: 15ch;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.6rem);
  line-height: 1.04; letter-spacing: -.015em;
  color: #fff;
  font-variation-settings: "opsz" 144;
}
.hero__title em { font-style: italic; color: var(--c-dub-svetly); }
.hero__lead { max-width: 54ch; margin: 26px 0 34px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .icon { color: var(--c-dub-svetly); }

/* ---------- Čísla ---------- */
.stats { padding: clamp(48px, 7vw, 80px) 0 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--c-piesok); }
.stat { padding: 30px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--c-piesok); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; color: var(--c-antracit); }
.stat span { display: block; margin-top: 6px; font-size: .92rem; color: var(--c-muted); }

/* ---------- Sekcie ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--c-vapno); }
.section--dark { background: var(--c-grafit); color: rgba(255, 255, 255, .78); }
.section--dark .section__title, .section--dark h3 { color: #fff; }
.section--dark .section__lead { color: rgba(255, 255, 255, .7); }
.section__head { margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- Produkty ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-piesok); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-vapno); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; padding: 22px 24px 26px; }
.product__body h3 { font-size: 1.25rem; font-weight: 700; }
.product__body p { color: var(--c-muted); font-size: .97rem; flex: 1; margin: 0; }

.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 40px);
  background: var(--c-vapno); border-radius: var(--radius-lg);
}
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--c-antracit); color: var(--c-dub-svetly); }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.feature p { font-size: .92rem; color: var(--c-muted); }

/* ---------- Postup ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
}
.step__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: rgba(226, 192, 138, .28); }
.step__icon { width: 36px; height: 36px; color: var(--c-dub-svetly); margin-bottom: 22px; }
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: .95rem; }

/* Štítky (používa ich dizajn manuál) */
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge--sale { background: var(--c-antracit); color: #fff; }
.badge--rent { background: var(--c-sklo-tmave); color: #fff; }
.badge--plot { background: var(--c-olivova); color: #fff; }
.badge--new { background: var(--c-dub); color: var(--c-noc); }

/* ---------- Promo ---------- */
.promo { position: relative; isolation: isolate; padding: clamp(80px, 12vw, 150px) 0; background: var(--c-grafit); }
.promo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 30, 33, .82), rgba(26, 30, 33, .35)); }
.promo__card {
  max-width: 620px; padding: clamp(28px, 4vw, 48px);
  background: rgba(36, 41, 45, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, .82);
}
.promo__card h2 { margin-bottom: 18px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); color: #fff; }
.promo__card p { margin-bottom: 28px; }

/* ---------- O nás ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius-lg); }
.about__badge {
  position: absolute; right: -18px; bottom: 32px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--c-antracit);
}
.about__badge svg { width: 42px; height: 42px; }
.about__badge span { font-size: .9rem; color: var(--c-muted); line-height: 1.3; }
.about__badge strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--c-antracit); }
.about__text .section__title { margin-bottom: 22px; }
.about__text > p { color: var(--c-muted); }
.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist .icon { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-dub-tint); color: var(--c-dub-tmavy); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__info > p { color: var(--c-muted); margin-top: 18px; }
.contact__list { display: grid; gap: 22px; margin-top: 32px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list .icon { width: 44px; height: 44px; padding: 11px; flex: none; border-radius: 12px; background: var(--c-vapno); color: var(--c-dub-tmavy); }
.contact__list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.contact__list a { font-weight: 700; text-decoration: none; color: var(--c-antracit); }
.contact__list a:hover { color: var(--c-dub-tmavy); }

.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); background: var(--c-vapno); border-radius: var(--radius-lg); }
.form__title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .88rem; font-weight: 700; color: var(--c-antracit); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--c-piesok); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-dub); box-shadow: 0 0 0 3px rgba(184, 134, 59, .25); }
.field .is-invalid, .is-invalid { border-color: #B3412E !important; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--c-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--c-antracit); }
.check a { color: var(--c-dub-tmavy); font-weight: 700; text-underline-offset: 3px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .65; cursor: progress; transform: none; }
.form__status { margin: 0; font-weight: 700; font-size: .95rem; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #2F6B3A; }
.form__status.is-error { color: #B3412E; }

/* ---------- Päta ---------- */
.footer { padding: clamp(56px, 7vw, 80px) 0 0; background: var(--c-noc); color: rgba(255, 255, 255, .66); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin-top: 18px; max-width: 32ch; }
.footer__title { margin-bottom: 16px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer__links { display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--c-dub-svetly); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer--slim { padding-top: 0; }
.footer--slim .footer__bottom { padding-top: 28px; border-top: 0; }

/* ---------- Právne stránky (ochrana osobných údajov) ---------- */
.legal { max-width: 820px; padding-block: clamp(48px, 7vw, 88px); }
.legal h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); letter-spacing: -.01em; }
.legal__lead { margin: 18px 0 0; font-size: 1.125rem; color: var(--c-muted); }
.legal__meta { margin-top: 14px; font-size: .9rem; color: var(--c-muted); }
.legal h2 { margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--c-piesok); font-size: 1.35rem; font-weight: 700; }
.legal h3 { margin: 24px 0 8px; font-size: 1.05rem; font-weight: 700; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--c-dub); }
.legal a { color: var(--c-dub-tmavy); font-weight: 600; text-underline-offset: 3px; }
.legal__box { padding: 22px 24px; background: var(--c-vapno); border-radius: var(--radius); }
.legal__box p { margin-bottom: 4px; }
.legal__table { width: 100%; overflow-x: auto; margin: 8px 0 16px; border: 1px solid var(--c-piesok); border-radius: var(--radius); }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .93rem; }
.legal th, .legal td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-piesok); }
.legal th { background: var(--c-vapno); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-antracit); }
.legal tr:last-child td { border-bottom: 0; }
.todo { padding: 1px 6px; border-radius: 4px; background: #FFF1C2; color: #6B4E00; font-weight: 700; }

/* Jednoduchá hlavička podstránok */
.subpage-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-dub-tmavy); text-decoration: none; }
.subpage-back:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Animácie pri skrolovaní ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responzivita
   ========================================================= */
@media (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav__list a { padding: 8px 9px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  /* Mobilné menu */
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--c-piesok); box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 14px 4px; border-bottom: 1px solid var(--c-vapno); border-radius: 0; font-size: 1.05rem; }
  .nav__cta { min-height: 52px; }
}

@media (max-width: 960px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 16 / 10; }
  .about__badge { right: 16px; bottom: 16px; }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding: 72px 0 80px; }
  .hero::after { background: linear-gradient(0deg, rgba(26, 30, 33, .92) 0%, rgba(26, 30, 33, .72) 60%, rgba(26, 30, 33, .55) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--c-piesok); }
  .products, .features, .steps { grid-template-columns: 1fr; }

  /* Tabuľka v ochrane osobných údajov ako karty */
  .legal__table { overflow: visible; border: 0; }
  .legal table { min-width: 0; }
  .legal thead { display: none; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal tr { margin-bottom: 14px; padding: 6px 0; border: 1px solid var(--c-piesok); border-radius: var(--radius); }
  .legal td { padding: 10px 18px; border-bottom: 0; }
  .legal td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-dub-tmavy); }
  .legal td:first-child { font-weight: 700; color: var(--c-antracit); }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 420px) {
  .header .brand { --logo-size: 38px; }
  .stat { padding: 22px 10px; }
  .footer__grid { grid-template-columns: 1fr; }
}
