/* Kewell, Dizajn 5. Primitíva (tokeny, typografia, tlačidlá, štítky, polia) a sekcie.
   Každá stránka používa len tieto triedy. Nová vec najprv sem a do ui-kit.html. */

:root {
  /* farby z loga */
  --ink: #0B0F14;          /* text, tmavé plochy */
  --ink-2: #4A5563;        /* sekundárny text, 7,6 : 1 na bielej */
  --muted: #7A8594;        /* sivá časť dvojfarebnej vety, len veľké písmo */
  --line: #E3E7ED;
  --bg: #FFFFFF;
  --bg-2: #F4F6F9;         /* svetlé karty a plochy */
  --blue: #2A83FF;         /* modrá z loga: čiary, ikony, pás výzvy (čierny text 5,3 : 1) */
  --blue-act: #1666D9;     /* tlačidlá a odkazy, biely text 5,3 : 1 */
  --blue-act-h: #0F55BC;
  --on-dark: #FFFFFF;
  --on-dark-2: #9AA4B2;    /* 7,6 : 1 na --ink */
  --dark-line: rgba(255,255,255,.14);
  --grid: rgba(122,133,148,.1);    /* čiary stĺpcov, jemné na bielej aj na tmavej */
  --cols: 4;                        /* stĺpce mriežky: všetky sekcie sa zarovnávajú na ne */

  /* písmo */
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --fs-display: clamp(2.5rem, 1.6rem + 4.4vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.6vw, 3.25rem);
  --fs-h3: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --fs-statement: clamp(1.5rem, 1.15rem + 1.7vw, 2.375rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .8125rem;

  /* rozostupy */
  --sp-section: clamp(4rem, 2.6rem + 6vw, 7.5rem);
  --sp-tight: clamp(3rem, 2.2rem + 3.5vw, 5rem);
  --sp-head: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  --gap: clamp(.75rem, .5rem + 1vw, 1.25rem);
  --gutter: clamp(1rem, .4rem + 2.6vw, 2.5rem);
  --max: 1240px;

  /* rohy: technická firma, 4 px (z uhla loga) */
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
/* stĺpce technického výkresu pod celým webom: čiara na začiatku každého stĺpca mriežky (rovnako ako .grid),
   nad pozadím sekcií, pod obsahom. Šírka pozadia o jednu medzeru väčšia, aby čiary sedeli na začiatky stĺpcov. */
body { position: relative; }
body::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: 1; width: min(var(--max), calc(100% - 2 * var(--gutter))); transform: translateX(-50%); border-right: 1px solid var(--grid); background: repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px calc(100% / var(--cols))) 0 0 / calc(100% + var(--gap)) 100% no-repeat; pointer-events: none; }
/* mriežka: rovnaké stĺpce a medzera ako čiary */
.grid, .head, header.top, .hero-photos, .svc-grid, .about, .about-photos, .row, .steps, .work, .faq, .foot-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); }
.wrap { position: relative; z-index: 2; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible, .is-focus { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: var(--r); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typografia ---------- */
.display { font-size: var(--fs-display); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.h2 { font-size: var(--fs-h2); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.statement { font-size: var(--fs-statement); font-weight: 400; line-height: 1.22; letter-spacing: -.02em; }
.statement .muted { color: var(--muted); }
.small { font-size: var(--fs-small); color: var(--ink-2); }

/* popisok nad nadpisom: modrá čiara z loga + mono */
.kicker { display: inline-flex; align-items: center; gap: .625rem; font: 500 var(--fs-label)/1 var(--mono); letter-spacing: .02em; color: var(--ink-2); }
.kicker::before { content: ""; width: 1.5rem; height: 2px; background: var(--blue); }
.on-dark .kicker { color: var(--on-dark-2); }

/* ---------- tlačidlá ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 48px; padding: 0 1.25rem; border: 1px solid transparent; border-radius: var(--r); font: 500 .9375rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active, .btn.is-active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-primary { background: var(--blue-act); color: #fff; }
.btn-primary:hover, .btn-primary.is-hover { background: var(--blue-act-h); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover, .btn-ghost.is-hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover, .btn-dark.is-hover { background: #222A35; }
.on-dark .btn-ghost { border-color: var(--dark-line); color: #fff; }
.on-dark .btn-ghost:hover { border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 1rem; font-size: .875rem; }

/* odkaz so šípkou */
.link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 500; font-size: .9375rem; text-decoration: none; color: var(--blue-act); }
.link svg { width: 16px; height: 16px; transition: transform .2s; }
.link:hover svg { transform: translate(2px, -2px); }

/* štítok */
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 .5rem; border-radius: var(--r); background: var(--bg-2); font: 500 .75rem/1 var(--mono); color: var(--ink-2); }
.on-dark .tag, .tag-dark { background: rgba(11,15,20,.72); color: #fff; }

/* číslo kroku */
.num { font: 500 var(--fs-label)/1 var(--mono); color: var(--blue-act); }

/* polia */
.field { display: grid; gap: .375rem; }
.field label { font-size: var(--fs-small); font-weight: 500; }
.input { width: 100%; min-height: 48px; padding: .75rem .875rem; border: 1px solid #CDD3DB; border-radius: var(--r); background: #fff; font: 400 1rem/1.4 var(--font); color: var(--ink); }
.input:hover, .input.is-hover { border-color: #9AA4B2; }
.input:focus, .input.is-focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
textarea.input { min-height: 104px; resize: vertical; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230B0F14' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .875rem center; padding-right: 2.5rem; }

/* fotka */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .tag { position: absolute; left: .625rem; bottom: .625rem; }

/* ---------- sekcie ---------- */
.section { padding: var(--sp-section) 0; }
.section-tight { padding: var(--sp-tight) 0; }
.bg-2 { background: var(--bg-2); }
.head { row-gap: 1.25rem; align-items: end; margin-bottom: var(--sp-head); }
.head > div { grid-column: 1 / 3; }
.head > p { grid-column: 3 / 5; max-width: 26rem; }

/* hlavička a úvod (tmavá plocha s technickým výkresom) */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-bottom: var(--sp-tight); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  url("../img/vykres.svg?v=3") center 40px / min(1080px, 90%) auto no-repeat; opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 40%, transparent 85%); mask-image: linear-gradient(#000 40%, transparent 85%); }
.hero > * { position: relative; }
header.top { align-items: center; min-height: 84px; }
header.top .logo { grid-column: 1; grid-row: 1; justify-self: start; }
header.top .logo img { height: 40px; width: auto; }
header.top nav { grid-column: 2 / 3; grid-row: 1; white-space: nowrap; display: flex; gap: .25rem; margin-left: -.875rem; }
header.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .875rem; font-size: .9375rem; color: var(--on-dark-2); text-decoration: none; transition: color .2s; }
header.top nav a:hover { color: #fff; }
header.top .actions { grid-column: 3 / 5; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: .5rem; }
header.top .tel { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .75rem; font: 500 .9375rem/1 var(--mono); color: #fff; text-decoration: none; }
header.top .tel svg { width: 16px; height: 16px; color: var(--blue); }
.hero-text { text-align: center; max-width: 60rem; margin: clamp(3rem, 2rem + 4vw, 6rem) auto 0; }
.hero-text .kicker { margin-bottom: 1.75rem; }
.hero-text .lead { color: var(--on-dark-2); max-width: 38rem; margin: 1.75rem auto 0; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-photos { row-gap: var(--gap); margin-top: clamp(3rem, 2rem + 4vw, 5rem); }
.hero-photos .photo { aspect-ratio: 3 / 4; }

/* služby: mozaika fotka + karta (štyri stĺpce) */
.svc-grid { row-gap: var(--gap); }
.svc-grid .photo { aspect-ratio: 1 / 1; }
.svc-card { display: flex; flex-direction: column; gap: .625rem; padding: 1.5rem; border-radius: var(--r); background: var(--bg-2); text-decoration: none; transition: background-color .2s; }
.svc-card:hover { background: #EAEEF3; }
.svc-card .num { margin-bottom: .5rem; }
.svc-card p { font-size: var(--fs-small); color: var(--ink-2); }
.svc-card .link { margin-top: auto; }

/* o firme: dvojfarebná veta, body, dve fotky */
.about { row-gap: 2.5rem; }
.about-side { grid-column: 1 / 2; }
.about-main { grid-column: 2 / 5; }
.about-side { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.about-intro { max-width: 20rem; margin-top: 1.25rem; font-size: var(--fs-body); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; width: 100%; max-width: 18rem; }
.points li { display: flex; align-items: center; gap: .875rem; min-height: 48px; padding: 0 1rem 0 .375rem; border-radius: var(--r); background: var(--bg-2); font-size: .9375rem; font-weight: 500; }
.points li span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r); background: var(--blue); color: var(--ink); font: 500 .8125rem/1 var(--mono); }
.about-main .small { max-width: 36rem; margin-top: 1.5rem; font-size: var(--fs-body); }
.about-photos { --cols: 3; row-gap: var(--gap); margin-top: 2.5rem; }
.about-photos .photo { aspect-ratio: auto; }
.about-photos .photo:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }

/* situácie zákazníka: riadky */
.rows { border-top: 1px solid var(--line); }
.row { row-gap: .5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.row .h3 { grid-column: 1 / 3; padding-right: 2rem; }
.row p { grid-column: 3 / 4; }
.row .h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); font-weight: 400; letter-spacing: -.02em; }
.row p { color: var(--ink-2); }
.row .btn { grid-column: 4 / 5; justify-self: end; }

/* postup: štyri kroky s fotkou, schodovito */
.steps { row-gap: 2.5rem; align-items: start; }
.step { display: grid; gap: .75rem; }
.step:nth-child(even) { margin-top: 4rem; }
.step .num { font-size: 1.75rem; color: var(--muted); font-family: var(--font); font-weight: 400; letter-spacing: -.02em; }
.step p { font-size: var(--fs-small); color: var(--ink-2); max-width: 17rem; }
.step .photo { aspect-ratio: 4 / 5; margin-top: .75rem; }

/* realizácie: tri karty s popisom na fotke */
.work { row-gap: var(--gap); }
.work-card:first-child { grid-column: span 2; aspect-ratio: auto; }
.work-card { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; color: #fff; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(11,15,20,.82)); }
.work-card .tag { position: absolute; top: .875rem; left: .875rem; z-index: 1; }
.work-card div { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 1; }
.work-card p { font-size: var(--fs-small); color: rgba(255,255,255,.82); margin-top: .375rem; }
.work-more { display: flex; justify-content: flex-end; margin-top: 1.5rem; }

/* časté otázky */
.faq { row-gap: 2.5rem; }
.faq-side { grid-column: 1 / 2; }
.qa { grid-column: 2 / 5; }
.faq-side p { margin-top: 1.25rem; max-width: 22rem; }
.faq-side a { color: var(--blue-act); font-weight: 500; text-decoration: none; white-space: nowrap; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 64px; padding: 1rem 0; cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 3rem 1.5rem 0; color: var(--ink-2); }

/* výzva: tmavý panel s výkresom, formulár, modrý pás */
.cta { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink); color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background: url("../img/vykres.svg?v=3") right -120px top -40px / 900px auto no-repeat; opacity: .45; pointer-events: none; }
.cta-in { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 27rem); gap: 2.5rem 4rem; padding: clamp(1.5rem, .8rem + 3vw, 3.5rem); }
.cta-in .lead { color: var(--on-dark-2); margin-top: 1.25rem; max-width: 28rem; }
.cta-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .5rem; font-size: var(--fs-small); color: var(--on-dark-2); }
.cta-list li { display: flex; gap: .625rem; align-items: center; }
.cta-list svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.form { display: grid; gap: 1rem; padding: 1.5rem; border-radius: var(--r); background: #fff; color: var(--ink); }
.form .btn { width: 100%; }
.form .small { text-align: center; }
.form-contact { align-content: start; align-self: start; }
.form-contact .small { text-align: left; }
.cta-bar { position: relative; display: block; overflow: hidden; container-type: inline-size; margin: 0 clamp(.75rem, .4rem + 1.5vw, 1.5rem) clamp(.75rem, .4rem + 1.5vw, 1.5rem); padding: clamp(1rem, .7rem + 1.2vw, 1.5rem) clamp(1rem, .7rem + 1.2vw, 1.5rem) 0; border-radius: var(--r); background: var(--blue); color: var(--ink); text-decoration: none; }
.cta-bar p { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); font-weight: 500; }
.cta-bar p svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
/* veľké číslo cez celú šírku pásu, spodok orezaný hranou pásu ako maskou */
.cta-num { display: block; margin: .15em 0 -.16em; font-size: 17.45cqw; font-weight: 500; line-height: .9; letter-spacing: -.045em; white-space: nowrap; transition: color .25s; }
.cta-bar:hover .cta-num { color: #fff; }
.cta-bar:hover p svg { transform: translate(2px, -2px); }

/* pätička: malé logo, popis, stĺpce, spodný riadok, modrá čiara z loga */
.foot { background: var(--bg-2); color: var(--ink-2); padding-top: var(--sp-tight); border-bottom: 4px solid var(--blue); }
.foot-grid { row-gap: 2.5rem; padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p { max-width: 21rem; margin-top: .75rem; font-size: var(--fs-small); }
.foot-brand .foot-claim { margin-top: 1.25rem; color: var(--ink); font-size: 1rem; font-weight: 500; }
.foot h2 { font: 500 var(--fs-label)/1 var(--mono); color: var(--ink); margin-bottom: 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .125rem; }
.foot a { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--fs-small); text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--blue-act); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--line); font-size: .8125rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.foot-bottom a { font-size: .8125rem; }

/* ---------- pohyb: web sa kreslí ako výkres ----------
   Hlavný moment: pri načítaní sa čiary stĺpcov nakreslia zhora nadol, nadpis vyjde z masky po riadkoch,
   fotky v úvode sa odkryjú stieraním zhora. V sekciách rovnaké stieranie fotiek a dokreslenie modrej čiarky.
   Bez JavaScriptu (bez triedy .js) je všetko viditeľné. */
:root { --ease: cubic-bezier(.16, 1, .3, 1); }
::selection { background: var(--blue); color: var(--ink); }

@keyframes draw-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes line-x { from { transform: scaleX(0); } to { transform: none; } }

body::after { animation: draw-down 1.6s var(--ease) both; }
.hero::before { animation: fade 1.2s ease-out .2s both; }
.hero-text .kicker { animation: fade .6s ease-out .15s both; }
.hero-text .kicker::before { transform-origin: left; animation: line-x .7s var(--ease) .25s both; }
.display .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.display .ln > span { display: inline-block; animation: rise .9s var(--ease) both; }
.display .ln:nth-child(1) > span { animation-delay: .2s; }
.display .ln:nth-child(2) > span { animation-delay: .32s; }
.hero-text .lead, .hero-cta { animation: fade .8s ease-out .55s both; }
.hero-photos .photo { animation: draw-down 1s var(--ease) both; }
.hero-photos .photo:nth-child(1) { animation-delay: .6s; }
.hero-photos .photo:nth-child(2) { animation-delay: .68s; }
.hero-photos .photo:nth-child(3) { animation-delay: .76s; }
.hero-photos .photo:nth-child(4) { animation-delay: .84s; }

/* odhalenie pri skrolovaní: text sa zjaví, fotky sa odkryjú stieraním, zoznamy s malým oneskorením */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease-out, transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .photo.reveal, .js .work-card.reveal { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .photo.reveal.in, .js .work-card.reveal.in { clip-path: inset(0 0 0 0); }
.js .reveal .kicker::before { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .15s; }
.js .reveal.in .kicker::before { transform: none; }

/* odozva na myš: fotky zjasnia (bez zväčšovania), karty a riadky jemne zmenia plochu */
/* fotky: jemné priblíženie a zjasnenie; fotka a karta služby reagujú spolu */
.photo img, .work-card img { transition: transform .7s var(--ease), filter .5s ease-out; }
.photo:hover img, .work-card:hover img,
.svc-grid .photo:has(+ .svc-card:hover) img { transform: scale(1.04); filter: brightness(1.05) contrast(1.03); }
.svc-grid .photo:hover + .svc-card { background: #EAEEF3; }
.svc-grid .photo:hover + .svc-card .num { color: var(--ink); }
.work-card::after { transition: opacity .3s ease-out; }
.work-card:hover::after { opacity: .85; }
.work-card div { transition: transform .4s var(--ease); }
.work-card:hover div { transform: translateY(-4px); }
.svc-card .num, .row .h3 { transition: color .2s; }
.svc-card:hover .num { color: var(--ink); }
.row { transition: background-color .25s; }
.row:hover { background: linear-gradient(90deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.row:hover .btn-ghost { border-color: var(--ink); }

/* otázky: plynulé otvorenie (kde to prehliadač vie) */
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .qa details[open]::details-content { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .photo.reveal, .js .work-card.reveal { transform: none; clip-path: none; transition: opacity .4s ease-out; }
  .js .reveal .kicker::before { transform: none; }
  .work-card:hover div, .photo:hover img, .work-card:hover img, .svc-grid .photo:has(+ .svc-card:hover) img { transform: none; }
  .qa details::details-content { transition: none; }
}

/* hláška pre ešte nenavrhnuté stránky */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 10; transform: translate(-50%, 20px); opacity: 0; padding: .875rem 1.25rem; border-radius: var(--r); background: var(--ink); color: #fff; font-size: var(--fs-small); transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- tablet a mobil ---------- */
@media (max-width: 1000px) {
  header.top nav { display: none; }
  .svc-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-side, .about-main, .faq-side, .qa { grid-column: 1 / -1; }
  .cta-in { grid-template-columns: 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --cols: 2; }
  header.top { min-height: 68px; }
  header.top .logo img { height: 32px; }
  header.top .tel span { display: none; }
  header.top .actions .btn { display: none; }
  .head > div, .head > p { grid-column: 1 / -1; }
  header.top .actions { grid-column: 2; }
  .hero-photos .photo:nth-child(n+3) { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .row { padding: 1.25rem 0; }
  .row .h3, .row p, .row .btn { grid-column: 1 / -1; padding-right: 0; }
  .row .btn { justify-self: start; margin-top: .5rem; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { margin-top: 0; }
  .step { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: var(--gap); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid .photo { aspect-ratio: 16 / 9; }
  .svc-grid .svc-card { margin-bottom: 1rem; }
  .step .photo { grid-row: 1 / span 3; grid-column: 2; margin-top: 0; }
  .work-card, .work-card:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .about-photos .photo:first-child { grid-column: 1 / -1; }
  .about-photos .photo:last-child { display: none; }
  .qa details p { padding-right: 0; }
  .foot-grid > div:nth-child(2) { grid-column: 1 / -1; }
}

/* resety prvkov použitých v sekciách */
figure { margin: 0; }
ol.steps { list-style: none; margin: 0; padding: 0; }
.kicker + .h2 { margin-top: 1.25rem; }
