/* ==========================================================================
   STAVAB – hlavné štýly. Prevzaté 1:1 z náhľadu stavab-nahlad.project-preview.sk
   (hero/stavab.css v18, home.css v5, mmenu.css v1) + doplnky projektu na konci.
   ========================================================================== */

/* ===== Písma – hosťované lokálne (public/fonts, variabilné woff2 z Google Fonts, licencia OFL).
   Externé fonty blokovali vykreslenie cez dve ďalšie domény. ===== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== Základ: tokeny, hlavička, tlačidlá, hero (stavab.css) ===== */
/* STAVAB – hero koncepty. Veľkosti podľa finálneho KAS+ (obsah 1280, okraj 48, hlavička 92). */
:root {
  --red: #D8001F; --red-d: #A90017; --ink: #14161A; --ink-2: #1E2126; --paper: #F8F7F4; --line: #DCD8D0; --muted: #5E6068;
  --line-dark: rgba(255,255,255,.16);
  --font: "Manrope", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --wrap: 1280px; --gutter: 48px; --nav-h: 92px; --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
/* clip, nie hidden – hidden robí z body scroll kontajner a vypne position: sticky. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, h1, h2, p, figure, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }

/* ---------- hlavička ---------- */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 20; height: var(--nav-h); color: #fff; background: rgba(14,16,20,.14); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font); font-weight: 800; font-size: 24px; letter-spacing: .02em; line-height: 1; }
.brand img { height: 46px; width: auto; }
.nav__menu { display: flex; gap: 34px; margin-left: 24px; white-space: nowrap; }
.nav__menu a { font-size: 16.5px; font-weight: 500; opacity: .82; padding: 8px 0; position: relative; transition: opacity .2s; }
.nav__menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__menu a:hover { opacity: 1; } .nav__menu a:hover::after { transform: scaleX(1); }
.nav__aside { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav__phone { font-family: var(--font); font-size: 18px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; }
.nav__phone svg { width: 18px; height: 18px; color: var(--red); }
.nav__phone { transition: color .2s var(--ease); }
.nav__phone:hover { color: var(--red); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 6px auto; }

/* ---------- tlačidlá ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 26px; font-family: var(--font); font-weight: 600; font-size: 15.5px; white-space: nowrap; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; } .btn--red:hover { background: var(--red-d); }
.btn--white { background: #fff; color: var(--ink); } .btn--white:hover { background: #e9e6e0; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.38); } .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--line { color: var(--ink); border-color: rgba(20,22,26,.3); } .btn--line:hover { border-color: var(--ink); }
.btn--sm { height: 46px; padding: 0 20px; font-size: 14.5px; }
.tlink { font-family: var(--font); font-weight: 600; font-size: 15.5px; display: inline-flex; align-items: center; height: 54px; border-bottom: 0; position: relative; }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 1px; background: currentColor; opacity: .5; transition: opacity .2s; }
.tlink:hover::after { opacity: 1; }

/* ---------- spoločné ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; opacity: .85; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: none; }
.title { font-family: var(--font); font-weight: 700; font-size: clamp(42px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.6; max-width: 540px; }
.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.facts { display: flex; }
.facts div { padding: 0 34px; border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 4px; }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts b { font-family: var(--font); font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.facts small { font-size: 13.5px; opacity: .7; white-space: nowrap; }
.r { opacity: 0; transform: translateY(18px); animation: up .9s var(--ease) forwards; }
.r:nth-child(2) { animation-delay: .08s; } .r:nth-child(3) { animation-delay: .16s; } .r:nth-child(4) { animation-delay: .24s; } .r:nth-child(5) { animation-delay: .32s; }
@keyframes up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .r { animation: none; opacity: 1; transform: none; } }

/* ===== A – MESTO: celoplošná fotka realizácie, text vľavo, fakty dole ===== */
.heroA { position: relative; color: #fff; background: var(--ink); height: 100vh; min-height: 720px; max-height: 980px; display: flex; flex-direction: column; overflow: hidden; }
.heroA__bg { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); transition: transform 9s linear; }
.slide.is-on img { transform: scale(1); }
/* Video realizácie cez fotku slidu – zobrazí sa, až keď hrá (app.js pridá .is-ready). */
.slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0; transition: opacity .8s var(--ease); }
.slide video.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .slide, .slide img { transition: none; } .slide img { transform: none; } }
.heroA__bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,16,20,.56) 0%, rgba(14,16,20,.3) 38%, rgba(14,16,20,0) 66%), linear-gradient(0deg, rgba(14,16,20,.7) 0%, rgba(14,16,20,.08) 28%, rgba(14,16,20,0) 55%, rgba(14,16,20,.2) 100%); }
.heroA__inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: var(--nav-h); }
.heroA__content { display: flex; flex-direction: column; gap: 26px; max-width: 680px; }
/* „Iba lešenie.“ – biele na červenom podklade (ako štítok „30 rokov“), aby bolo čitateľné na každej fotke. */
.heroA .title span { display: block; color: rgba(255,255,255,.58); }
.heroA .lead { color: rgba(255,255,255,.82); } .heroA .lead strong { font-weight: 600; color: #fff; }
.gbadge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.78); transition: color .2s; }
.gbadge:hover { color: #fff; }
.gbadge .g { width: 20px; height: 20px; }
.gbadge b { font-family: var(--font); font-weight: 700; font-size: 17px; color: #fff; }
.gbadge .stars { display: inline-flex; gap: 2px; } .gbadge .stars svg { width: 16px; height: 16px; fill: #FBBC05; }
.heroA__bottom { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); }
.heroA__bottom .wrap { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.refs { display: flex; align-items: center; gap: 26px; }
.cap { position: relative; min-width: 250px; height: 44px; font-size: 13.5px; color: rgba(255,255,255,.7); text-align: right; line-height: 1.45; }
.cap span { position: absolute; right: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.cap span.is-on { opacity: 1; transform: none; }
.cap b { display: block; color: #fff; font-weight: 500; font-size: 14.5px; }
.heroA__bottom::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: rgba(255,255,255,.75); transform: scaleX(0); transform-origin: left; }
.heroA__bottom.is-run::before { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .cap span { transition: none; } .heroA__bottom.is-run::before { animation: none; } }

.count { font-size: 13.5px; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; white-space: nowrap; height: 44px; padding-right: 26px; border-right: 1px solid var(--line-dark); display: flex; align-items: center; gap: 5px; }
.count b { font-family: var(--font); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: #fff; }
@media (min-width: 960px) { .cap { text-align: left; min-width: 215px; } .cap span { right: auto; left: 0; } }

/* ---------- menšie šírky ---------- */
@media (max-width: 1180px) {
  .nav__menu { gap: 24px; margin-left: 8px; } .nav__phone { display: none; }
  .facts div { padding: 0 22px; }
}
@media (max-width: 959px) {
  :root { --gutter: 20px; --nav-h: 72px; }
  body { font-size: 16.5px; }
  .nav__menu, .nav__aside .btn, .nav__phone { display: none; }
  .burger { display: block; margin-right: -10px; }
  .brand img { height: 43px; }
  .title { font-size: 38px; }
  .lead { font-size: 16.5px; }
  .actions { gap: 6px 20px; } .actions .btn { width: 100%; }

  .heroA { height: auto; min-height: min(100svh, 900px); max-height: none; }
  .slide img { object-position: 78% 50%; }
  .slide video { object-position: 50% 50%; }
  .heroA__bg::after { background: linear-gradient(0deg, rgba(14,16,20,.97) 0%, rgba(14,16,20,.9) 42%, rgba(14,16,20,.25) 68%, rgba(14,16,20,.35) 100%); }
  .heroA__inner { align-items: flex-end; padding: calc(var(--nav-h) + 200px) 0 24px; }
  .heroA__content { gap: 18px; }
  .heroA .title { font-size: 34px; }
  .gbadge { order: -1; margin: 0 0 -8px; font-size: 13.5px; }
  .heroA__bottom .wrap { height: auto; padding: 22px 0 24px; display: block; }
  /* Facts as a swipeable strip – each fact keeps one line, the next one peeks in from the right. */
  .facts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .facts::-webkit-scrollbar { display: none; }
  .facts div { flex: none; scroll-snap-align: start; padding: 0 22px; }
  .facts div:first-child { padding-left: 0; border-left: 0; }
  .facts div:last-child { padding-right: var(--gutter); }
  .facts b { font-size: 20px; }
  .facts small { font-size: 13px; }
  /* Na mobile bez popisku realizácie (názov projektu) – ostávajú len čísla. */
  .refs { display: none; }

}

/* ===== Celá stránka (home.css) ===== */
/* STAVAB – celá stránka v štýle hero A. Nadväzuje na stavab.css (tokeny, hero, tlačidlá). */

/* ---------- navigácia na celej stránke (fixná, mení sa po scrolle) ---------- */
.nav { position: fixed; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), height .35s var(--ease); }
.brand { position: relative; }
.brand img { transition: opacity .3s var(--ease); }
.brand .logo-dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.nav.is-solid { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); height: 74px; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(20,22,26,.4); }
.nav.is-solid .logo-white { opacity: 0; }
.nav.is-solid .logo-dark { opacity: 1; }
.nav.is-solid .nav__menu a { opacity: .72; }
.nav.is-solid .nav__menu a:hover { opacity: 1; }
.nav.is-solid .btn--white { background: var(--red); color: #fff; }
.nav.is-solid .btn--white:hover { background: var(--red-d); }

/* ---------- základ sekcií ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
/* Lešenia hneď pod hero – položky 01–05 majú byť vidno bez zbytočného rolovania (pripomienka klienta). */
.heroA + .section { padding-top: clamp(40px, 4.5vw, 64px); }
.section--ink { background: var(--ink); color: #fff; }
/* Biela sekcia (O nás) – oddelí ju od referencií, inak tam bola jedna dlhá prázdna plocha. */
.section--white { background: #fff; }
.section--white .about__facts div { background: #fff; }
.section--ink .lead { color: rgba(255,255,255,.76); }

.shead { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.shead__t { max-width: 720px; }
.shead .eyebrow { margin-bottom: 18px; }
.section--ink .eyebrow { opacity: 1; }
.shead h2 { font-family: var(--font); font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.07; letter-spacing: -.025em; text-wrap: balance; }
.shead h2 em { font-style: normal; color: var(--red); }
.section--ink .shead h2 em { color: #fff; opacity: .5; }
.shead .lead { margin-top: 18px; max-width: 560px; }
.shead__link { align-self: end; padding-bottom: 6px; white-space: nowrap; }

/* ---------- čo staviame: editoriálny zoznam ---------- */
.svc__row { display: grid; grid-template-columns: 76px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background-color .25s; }
.svc__row:last-child { border-bottom: 0; }
.svc__row:hover { background: rgba(216,0,31,.03); }
.svc__i { font-family: var(--font); font-weight: 700; font-size: 17px; color: var(--red); font-variant-numeric: tabular-nums; }
.svc__name { font-family: var(--font); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.12; }
.svc__name small { display: block; font-family: var(--body); font-weight: 500; font-size: 13.5px; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.svc__price { text-align: right; }
.svc__price b { display: block; font-family: var(--font); font-weight: 700; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.svc__price span { font-size: 12.5px; color: var(--muted); }

/* ---------- čísla ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.nums div { padding: 4px 34px; border-left: 1px solid var(--line-dark); }
.nums div:first-child { padding-left: 0; border-left: 0; }
.nums b { display: block; font-family: var(--font); font-weight: 700; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.03em; }
.nums small { display: block; min-height: 2.9em; margin-bottom: 14px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.72); line-height: 1.45; }
.nums em { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.45; }
.nums b .u { font-size: .5em; color: var(--red); font-weight: 700; margin-left: 2px; }

/* ---------- referencie – featured ---------- */
.rcard__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 10px; }
.rcard__tag::before { content: ""; width: 7px; height: 7px; background: var(--red); flex: none; }
.rcard__name { font-family: var(--font); font-weight: 700; font-size: clamp(19px, 1.8vw, 25px); letter-spacing: -.02em; line-height: 1.12; }
.rcard__date { margin-top: 7px; font-size: 13.5px; color: rgba(255,255,255,.66); }

/* ---------- cenník ---------- */
.price { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { text-align: left; padding: 15px 0; border-top: 1px solid var(--line); font-size: 15.5px; vertical-align: baseline; }
.ptable tr:first-child th, .ptable tr:first-child td { border-top: 0; }
.ptable td.v { text-align: right; padding-left: 24px; font-family: var(--font); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable td.v--vat { font-weight: 500; color: var(--muted); }
.ptable thead th.v { padding-left: 24px; white-space: nowrap; }
.ptable thead th { padding: 0 0 12px; border-top: 0; font-family: var(--font); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ptable thead th.v { text-align: right; }
.ptable tbody tr.ptable__group th { padding: 30px 0 10px; border-top: 0; border-bottom: 1px solid var(--line); font-family: var(--font); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.ptable tbody:first-of-type tr.ptable__group th { padding-top: 6px; }
.ptable tbody tr.ptable__group + tr td { border-top: 0; }
.ptable__note { margin-top: 18px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.patyp { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 40px; padding: 24px 26px; background: var(--paper); border-left: 3px solid var(--red); }
.patyp h2 { font-family: var(--font); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.patyp p { margin-top: 6px; max-width: 420px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.patyp .btn { white-space: normal; text-align: left; height: auto; min-height: 50px; padding-top: 10px; padding-bottom: 10px; }
.ptable .row-name small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 3px; }
.price__aside { background: var(--ink); color: #fff; border-radius: 4px; padding: clamp(28px, 3vw, 40px); position: sticky; top: 100px; }
.price__aside h3 { font-family: var(--font); font-weight: 700; font-size: 23px; letter-spacing: -.02em; line-height: 1.15; }
.price__aside p { margin-top: 14px; color: rgba(255,255,255,.72); font-size: 15.5px; }
.price__aside .btn { margin-top: 26px; width: 100%; }
.price__aside .note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- o nás ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 5 / 6; background: var(--ink); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media .badge { position: absolute; left: 20px; bottom: 20px; background: var(--red); color: #fff; padding: 14px 18px; border-radius: 3px; }
.about__media .badge b { display: block; font-family: var(--font); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -.02em; }
.about__media .badge small { display: block; font-size: 12.5px; opacity: .85; margin-top: 5px; }
.about p { color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.about p + p { margin-top: 16px; }
.about p strong { color: var(--ink); font-weight: 600; }
.about__facts { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.about__facts div { background: var(--paper); padding: 18px 20px; }
.about__facts dt { font-family: var(--font); font-weight: 600; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about__facts .nw { white-space: nowrap; }
.about__facts dd { margin: 6px 0 0; font-family: var(--font); font-weight: 700; font-size: 15px; line-height: 1.4; }
.about__facts dd small { display: block; margin-top: 2px; font-family: var(--body); font-weight: 400; font-size: 13.5px; color: var(--muted); }

/* ---------- kontakt ---------- */
.contact__actions { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- pätička ---------- */
.foot { background: #0C0E11; color: rgba(255,255,255,.6); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.foot__top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot__brand img { height: 64px; width: auto; }
.foot__call { text-align: right; }
.foot__phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font); font-weight: 700; font-size: 44px; letter-spacing: -.03em; line-height: 1; color: #fff; transition: color .2s; }
.foot__phone svg { width: 38px; height: 38px; color: var(--red); }
.foot__call p { margin-top: 12px; }
.foot__mail { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; }
.foot__mail svg { width: 20px; height: 20px; color: rgba(255,255,255,.45); transition: color .2s; }
.foot__mail:hover svg { color: var(--red); }
.foot__cols { display: grid; grid-template-columns: .8fr 1fr 1fr 1.4fr; gap: 28px 40px; padding: 32px 0; line-height: 1.65; }
.foot__cols h3 { margin-bottom: 8px; font-family: var(--font); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.foot__cols small { font-size: 12.5px; color: rgba(255,255,255,.55); }
.foot__nav { display: grid; gap: 2px; font-weight: 600; }
.foot__nav a { color: #fff; }
.foot a { transition: color .2s; }
.foot__nav a:hover, .foot__call a:hover, .foot__phone:hover { color: var(--red); }
.foot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.55); }
.foot__bot a { color: #fff; font-weight: 600; }
.foot__bot a:hover { color: var(--red); }

/* ---------- CTA pás ---------- */

/* ---------- hlavička podstránok (cenník, kontakt) ---------- */
.nav--page { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); height: 74px; box-shadow: 0 1px 0 var(--line); }
.nav--page .logo-white { opacity: 0; } .nav--page .logo-dark { opacity: 1; }
.nav--page .nav__menu a { opacity: .72; } .nav--page .nav__menu a:hover { opacity: 1; }
.nav--page .btn--white { background: var(--red); color: #fff; } .nav--page .btn--white:hover { background: var(--red-d); }
.phead { padding: calc(74px + clamp(36px, 4vw, 56px)) 0 clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.phead .eyebrow { margin-bottom: 16px; }
.phead h1 { font-family: var(--font); font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.07; letter-spacing: -.025em; text-wrap: balance; }
.phead .lead { margin-top: 16px; max-width: 560px; color: var(--muted); }

/* ---------- scroll reveal ---------- */
/* Skrýva sa len s JS (trieda .js na <html> z partials/head) – bez neho by obsah ostal neviditeľný. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ====================== detail referencie ====================== */

/* video z realizácie */
.rvideo__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--ink); cursor: pointer; }
.rvideo__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.rvideo__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,16,20,.55), rgba(14,16,20,.1)); }
.rvideo__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; width: 84px; height: 84px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .2s; }
.rvideo__frame:hover .rvideo__play { transform: translate(-50%,-50%) scale(1.08); background: var(--red-d); }
.rvideo__play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }

/* ====================== responzíva ====================== */
@media (max-width: 1100px) {
  .svc__row { grid-template-columns: 54px 1fr auto; }
}
@media (max-width: 860px) {
  .price, .about { grid-template-columns: 1fr; gap: 36px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .shead { grid-template-columns: 1fr; }
  .shead__link { justify-self: start; }
  .nums { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .nums div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .nums div:nth-child(even) { padding-left: 24px; }
  .price__aside { position: static; }
}
@media (max-width: 560px) {
  .svc__row { grid-template-columns: 40px 1fr; gap: 14px; }
  .svc__price { grid-column: 2; text-align: left; }
  .svc__price b { font-size: 16px; }
  .foot { padding-top: 48px; } .foot__brand img { height: 48px; } .foot__cols { gap: 26px 24px; } .foot__billing { grid-column: 1 / -1; } .foot__top { grid-template-columns: 1fr; align-items: start; gap: 26px; } .foot__call { text-align: left; } .foot__phone { font-size: 34px; } .foot__phone svg { width: 30px; height: 30px; }
}

/* ===================== Referencie – slider (variant A, vyteká z pravého okraja) ===================== */
.sld__arrows { display: flex; gap: 10px; align-self: end; }
.sarr { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.sarr:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sarr:disabled { opacity: .35; cursor: default; }
.sarr svg { width: 20px; height: 20px; }
.ov { position: relative; overflow: hidden; border-radius: 4px; background: var(--ink); color: #fff; display: block; }
.ov img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ov:hover img { transform: scale(1.05); }
.ov::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,16,20,.9) 0%, rgba(14,16,20,.3) 42%, rgba(14,16,20,0) 72%); }
.ov__in { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; }
.ov__in .rcard__tag { display: inline-block; margin-bottom: 10px; }
.ov__in .rcard__date { margin-top: 4px; }
/* track vyteká z pravého okraja obrazovky: ľavý okraj = okraj obsahu, vpravo full-bleed za viewport */
.sld__track { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 2px; margin-right: calc((min(1280px, 100vw - 2 * var(--gutter)) - 100vw) / 2); padding-right: var(--gutter); }
.sld__track::-webkit-scrollbar { display: none; }
/* V obsahu sú celé 3 karty (pod 960 px 2), zvyšok presahuje k pravému okraju. */
.scard { flex: none; width: calc((min(1280px, 100vw - 2 * var(--gutter)) - 2 * 18px) / 3); aspect-ratio: 1 / 1; }
.scard .rcard__name { font-size: 20px; }
.sld__bar { margin-top: 26px; height: 3px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.sld__bar i { position: absolute; top: 0; height: 100%; background: var(--red); border-radius: 2px; left: 0; width: 30%; transition: left .2s var(--ease), width .2s var(--ease); }
@media (max-width: 860px) { .sld__arrows { display: none; } }
@media (max-width: 960px) { .scard { width: calc((100vw - 2 * var(--gutter) - 18px) / 2); } }
@media (max-width: 520px) { .scard { width: 78vw; } }

/* ===== Mobilné menu (mmenu.css) ===== */
/* Mobilné menu STAVAB – celoobrazovkový panel */
.mm { position: fixed; inset: 0; z-index: 200; background: var(--ink); color: #fff; display: flex; flex-direction: column; padding: 0 22px calc(22px + env(safe-area-inset-bottom)); visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s; overflow-y: auto; }
.mm.is-open { visibility: visible; opacity: 1; }
.mm__top { display: flex; align-items: center; justify-content: space-between; height: 74px; flex: none; border-bottom: 1px solid rgba(255,255,255,.1); }
.mm__top img { height: 30px; width: auto; }
.mm__close { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.mm__close svg { width: 24px; height: 24px; }
.mm__nav { display: flex; flex-direction: column; padding: 18px 0 10px; }
.mm__nav a { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--font); font-weight: 700; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; transform: translateY(10px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease), color .2s; }
.mm__nav a span { font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .06em; color: var(--red); min-width: 22px; }
.mm__nav a[aria-current] { color: var(--red); }
.mm.is-open .mm__nav a { transform: none; opacity: 1; }
.mm.is-open .mm__nav a:nth-child(2) { transition-delay: .04s; } .mm.is-open .mm__nav a:nth-child(3) { transition-delay: .08s; }
.mm.is-open .mm__nav a:nth-child(4) { transition-delay: .12s; } .mm.is-open .mm__nav a:nth-child(5) { transition-delay: .16s; }
.mm__info { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
.mm__phone { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); }
.mm__phone small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.mm__phone b { font-family: var(--font); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.mm__phone i { width: 44px; height: 44px; display: grid; place-items: center; background: var(--red); flex: none; }
.mm__phone i svg { width: 20px; height: 20px; }
.mm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14px; color: rgba(255,255,255,.72); }
.mm__row a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: rgba(255,255,255,.05); }
.mm__row a b { color: #fff; font-weight: 600; font-size: 14.5px; }
.mm__cta { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; background: var(--red); color: #fff; font-weight: 600; font-size: 16px; }
.mm__cta svg { width: 18px; height: 18px; }
.mm__g { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); }
.mm__g b { color: #fff; } .mm__g em { font-style: normal; color: #FBBC04; letter-spacing: .1em; }
body.mm-open { overflow: hidden; }
@media (min-width: 1021px) { .mm { display: none; } }
@media (prefers-reduced-motion: reduce) { .mm, .mm__nav a { transition: none; } }

/* ===== Doplnky projektu (nie sú v náhľade) ===== */

/* Flash správy – pod fixnou hlavičkou, aby ich neprekryla */
.flash { position: fixed; z-index: 30; left: 50%; top: calc(var(--nav-h) + 16px); transform: translateX(-50%); width: min(560px, 100% - 2 * var(--gutter)); padding: 14px 18px; border-radius: 2px; font-size: 15px; font-weight: 500; box-shadow: 0 16px 40px -18px rgba(20,22,26,.45); }
.flash-status { background: var(--ink); color: #fff; }
.flash-error { background: var(--red); color: #fff; }

/* Potvrdzovací dialóg (public/js/confirm.js) */
.confirm { width: min(440px, 100% - 2 * var(--gutter)); margin: auto; padding: 32px; border: 0; border-radius: 4px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -30px rgba(20,22,26,.6); }
.confirm::backdrop { background: rgba(14,16,20,.6); }
.confirm h2 { font-family: var(--font); font-weight: 700; font-size: 23px; letter-spacing: -.02em; line-height: 1.15; }
.confirm p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.confirm-actions button { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; font-family: var(--font); font-weight: 600; font-size: 14.5px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.confirm [data-confirm-cancel] { background: none; color: var(--ink); border-color: rgba(20,22,26,.3); }
.confirm [data-confirm-cancel]:hover { border-color: var(--ink); }
.confirm [data-confirm-ok] { background: var(--ink); color: #fff; }
.confirm [data-confirm-ok]:hover { background: var(--ink-2); }
.confirm[data-tone="danger"] [data-confirm-ok] { background: var(--red); }
.confirm[data-tone="danger"] [data-confirm-ok]:hover { background: var(--red-d); }

/* Formátovaný text z editora v administrácii (rich) */
.about h2, .about h3 { font-family: var(--font); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; color: var(--ink); margin: 26px 0 12px; }
.about h2 { font-size: 24px; }
.about h3 { font-size: 19px; }
.about ul, .about ol { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 16px 0; padding-left: 22px; }
.about li + li { margin-top: 6px; }
.about p a, .about li a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- zoznam referencií (/referencie, „Ďalšie referencie“ na detaile) ---------- */
.refgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .refgrid { grid-template-columns: 1fr 1fr; } }
.refgrid .scard { width: auto; }
.refall { margin-top: 18px; }
.dmore { padding: clamp(48px, 6vw, 80px) 0 0; }
.dmore .dblock__head .tlink { height: auto; }
.dmore .dblock__head .tlink::after { bottom: -2px; }

/* ---------- stránka Lešenia (/lesenia) ---------- */
.ltype { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); scroll-margin-top: 74px; }
.ltype:nth-of-type(odd) { background: #fff; }

/* ---------- filter referencií podľa typu lešenia ---------- */
.phead--tabs { padding-bottom: 0; }
.rfilter { display: flex; gap: 32px; margin-top: clamp(32px, 4vw, 48px); overflow-x: auto; scrollbar-width: none; }
.rfilter::-webkit-scrollbar { display: none; }
.rfilter a { flex: none; padding: 0 0 18px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-family: var(--font); font-weight: 600; font-size: 15.5px; color: var(--muted); white-space: nowrap; transition: color .2s, border-color .2s; }
.rfilter a span { margin-left: 4px; font-size: 13px; font-weight: 500; opacity: .7; }
.rfilter a:hover { color: var(--ink); }
.rfilter a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.rlist { padding-top: clamp(32px, 4vw, 48px); }
.phead + .ltype { border-top: 0; }
/* Na stránke Lešenia je tabuľka len doplnok k popisu – hustejšie riadky, sekcia nie je zbytočne vysoká. */
.ltype .ptable tbody th, .ltype .ptable tbody td { padding: 10px 0; font-size: 15px; }
.ltype .ptable tbody tr.ptable__group th { padding: 22px 0 8px; font-size: 16px; }
.ltype .ptable tbody:first-of-type tr.ptable__group th { padding-top: 4px; }
/* Prvá sekcia hneď pod hlavičkou podstránky – bez dvojitého odsadenia (hlavička + sekcia). */
.phead + .section, .phead + .ltype { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- výzva na konci stránky (partials/cta) ---------- */
.dnext { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0; }
.dnext__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.dnext h2 { font-family: var(--font); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.025em; max-width: 560px; line-height: 1.12; }
.dnext__act { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.dnext__link { font-weight: 600; font-size: 15.5px; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.dnext__link:hover { color: var(--red); }
@media (max-width: 860px) { .dnext__in { flex-direction: column; align-items: flex-start; } }

/* ---------- O nás (úvod aj stránka /o-nas) ---------- */
.about__eyebrow { margin-bottom: 18px; }
.about .about__title { margin: 0 0 22px; font-family: var(--font); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.025em; line-height: 1.1; }
.about__more { margin-top: 8px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.pillars > div, .pillars > li { padding-top: 24px; border-top: 1px solid var(--line); }
.pillars h3 { margin-top: 14px; font-family: var(--font); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.15; }
.pillars p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.ofacts { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.ofacts h2 { margin-top: 14px; font-family: var(--font); font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.07; letter-spacing: -.025em; }
.ofacts .about__facts { margin-top: 0; }
@media (max-width: 860px) { .pillars, .ofacts { grid-template-columns: 1fr; } }
/* „Prečo STAVAB“ ako nízky pás len s číslami (stránka O nás). */
.whyband { padding: clamp(28px, 3.8vw, 46px) 0 clamp(36px, 4.5vw, 56px); }
.whyband .nums { margin-top: 0; }
.whyband .nums small { margin-bottom: 10px; }
.whyband .nums b { font-size: clamp(30px, 3.2vw, 44px); }
/* Typ lešenia: vľavo názov, cena, popis a tlačidlo – ide s tebou pri scrollovaní; vpravo tabuľka cien. */
.ltype__body { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ltype__side { position: sticky; top: 100px; }
.ltype__side h2 { margin-top: 10px; font-family: var(--font); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.025em; }
.ltype__sub { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.ltype__price { margin-top: 16px; }
.ltype__price b { font-family: var(--font); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.ltype__price span { color: var(--muted); font-size: 13.5px; }
.ltype__desc { margin-top: 18px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.ltype__desc p + p { margin-top: 12px; }
.ltype__desc strong { color: var(--ink); font-weight: 600; }
.ltype__side .actions { margin-top: 24px; }
@media (max-width: 960px) {
  .ltype__body { grid-template-columns: 1fr; }
  .ltype__side { position: static; }
}

/* ===== Responzivita – doladenie pre mobily a tablety (2026-11-02) ===== */
/* Väčšia plocha na ťuknutie pri textových odkazoch a odznaku Google. */
.gbadge { min-height: 44px; }
.dnext__link { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.dmore .dblock__head .tlink, .lsec__head .tlink { min-height: 44px; display: inline-flex; align-items: center; }
.about__facts dt { font-size: 12px; }
@media (max-width: 560px) {
  /* Ďalšie referencie: nadpis a odkaz pod sebou, karty po dvoch (štyri plné karty boli 4 obrazovky). */
  .dmore .dblock__head { flex-direction: column; align-items: flex-start; gap: 0; }
  .refgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .refgrid .ov__in { padding: 14px; }
  .refgrid .rcard__name { font-size: 15px; }
  .refgrid .rcard__tag { font-size: 11px; margin-bottom: 6px; }
  .refgrid .rcard__date { font-size: 12px; }
}
@media (max-width: 480px) {
  .about__facts { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  /* Cenník na 320–400 px: cena sa smie zalomiť, inak tabuľka pretiekla. */
  .ptable td.v { white-space: normal; }
  .ptable th, .ptable td { font-size: 14.5px; }
}
@media (max-width: 359px) {
  .refgrid { grid-template-columns: 1fr; }
}
/* Cenník na úzkych mobiloch: stĺpec sa nesmie rozťahovať podľa obsahu, tabuľka má pevné šírky stĺpcov. */
@media (max-width: 860px) { .price { grid-template-columns: minmax(0, 1fr); } .price > * { min-width: 0; } }
@media (max-width: 400px) {
  .ptable { table-layout: fixed; }
  .ptable th.v, .ptable td.v { width: 30%; padding-left: 10px; }
}
/* Úzky mobil: hlavičky „Cena bez DPH“ / „Cena s DPH“ sa zalomia, inak splývajú. */
@media (max-width: 560px) {
  .ptable thead th.v { white-space: normal; padding-left: 12px; }
  .ptable th, .ptable td { overflow-wrap: anywhere; }
}
/* Hero 960–1180 px: na popisok fotky už nie je miesto – ostáva len počítadlo 01 / 03. */
@media (min-width: 960px) and (max-width: 1180px) { .cap { display: none; } }

/* ---------- „Ako to prebieha“ (Kontakt, Ďakujeme) ---------- */
.ksteps { border-top: 1px solid var(--line); }
.ksteps .shead h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.07; }
.pillars--4 { grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.pillars--4 p { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
@media (max-width: 900px) { .pillars--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars--4 { grid-template-columns: 1fr; } }

/* ---------- Ďakujeme a chybové stránky ---------- */
.done { padding: calc(74px + clamp(48px, 7vw, 104px)) 0 clamp(48px, 6vw, 80px); }
.done__ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 28px; border-radius: 50%; background: var(--red); color: #fff; }
.done__ico svg { width: 30px; height: 30px; }
.done__code { margin-bottom: 18px; font-family: var(--font); font-weight: 700; font-size: clamp(64px, 10vw, 128px); line-height: .9; letter-spacing: -.04em; color: var(--red); }
.done h1 { max-width: 760px; font-family: var(--font); font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.07; letter-spacing: -.025em; text-wrap: balance; }
.done .lead { margin-top: 18px; max-width: 620px; color: var(--muted); }
.done .actions { margin-top: 32px; }
/* Chybové stránky (404, 500, 503) a Ďakujeme – obsah v strede obrazovky. */
.done--center { min-height: 100svh; display: grid; align-content: center; text-align: center; }
.done--center h1, .done--center .lead { margin-left: auto; margin-right: auto; }
.done--center .actions { justify-content: center; }
.done--center .done__ico { margin-inline: auto; }

/* Ochrana osobných údajov – typografia textu z .about, jeden stĺpec na čítanie. */
.about.legal { display: block; max-width: 760px; }
.legal > :first-child { margin-top: 0; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal ul { list-style: disc; }

