/* ==========================================================================
   Clean Force One – styly (mobile-first)
   ========================================================================== */

/* ---------- Fonty (hostované lokálně, žádné Google Fonts) ---------- */
@font-face { font-family: 'Roboto'; font-style: normal; font-display: swap; font-weight: 400;
  src: url('../fonts/roboto-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-display: swap; font-weight: 400;
  src: url('../fonts/roboto-latin-400-normal.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: 'Roboto'; font-style: normal; font-display: swap; font-weight: 500;
  src: url('../fonts/roboto-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-display: swap; font-weight: 500;
  src: url('../fonts/roboto-latin-500-normal.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: 'Roboto'; font-style: normal; font-display: swap; font-weight: 700;
  src: url('../fonts/roboto-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-display: swap; font-weight: 700;
  src: url('../fonts/roboto-latin-700-normal.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: 'Roboto'; font-style: normal; font-display: swap; font-weight: 900;
  src: url('../fonts/roboto-latin-ext-900-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-display: swap; font-weight: 900;
  src: url('../fonts/roboto-latin-900-normal.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; }

/* ---------- Proměnné ---------- */
:root {
  --cyan: rgb(0, 222, 252);       /* původní firemní tyrkysová */
  --cyan-dark: #00788a;           /* tyrkysová pro text na bílé (kontrast WCAG AA) */
  --black: #000;
  --ink: #151515;
  --text: #444;
  --muted: #767676;
  --line: #dcdcdc;
  --bg-alt: #f4f6f7;
  --white: #fff;
  --radius: 12px;
  --header-h: 64px;
  --container: 1240px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-dark); }
a:hover { color: var(--black); }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; }
strong { font-weight: 700; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex-shrink: 0; }
.accent { color: var(--cyan); }
.muted { color: var(--muted); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  padding: .75rem 1rem; background: var(--cyan); color: var(--black); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  border: 2px solid var(--cyan); border-radius: 10px;
  font: 500 1.05rem/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s;
}
.btn--primary { background: var(--cyan); color: var(--black); }
.btn--primary:hover { background: var(--white); color: var(--black); box-shadow: 0 0 14px rgba(0, 222, 252, .6); }
.btn--outline { background: transparent; color: var(--white); }
.btn--outline:hover { background: var(--cyan); color: var(--black); }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }
.btn--small { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }

/* ---------- Hlavička ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s;
}
.site-header.is-scrolled,
.site-header.is-open { background: #000; box-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.site-header__inner {
  height: 100%; display: flex; align-items: center; gap: 1rem;
  width: min(100% - 2.5rem, var(--container)); margin-inline: auto;
}
.site-header__logo img { width: auto; height: 40px; }
.site-header__call { display: none; }

.nav-toggle {
  margin-left: auto; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 10px;
  background: transparent; color: var(--white); cursor: pointer; font-size: 1.6rem;
}
.nav-toggle .icon--close,
.site-header.is-open .nav-toggle .icon--open { display: none; }
.site-header.is-open .nav-toggle .icon--close { display: block; }

.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: #000;
  max-height: 0; overflow: hidden; visibility: hidden;
  transition: max-height .35s ease, visibility 0s .35s;
}
.site-header.is-open .nav { max-height: 100vh; visibility: visible; transition: max-height .35s ease; }
.nav__links { padding: .5rem 1.25rem 1.5rem; }
.nav__links a {
  display: block; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: var(--white); text-decoration: none; font-size: 1.2rem;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--cyan); }

/* ---------- Úvod (hero) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  color: var(--white); text-align: center;
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .7)), url('../img/hero-960.webp') center / cover no-repeat;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero__logo { width: min(70%, 300px); }
.hero h1 { color: var(--white); font-size: clamp(1.6rem, 5.5vw, 2.8rem); font-weight: 700; max-width: 22ch; }
.hero__actions { display: flex; flex-direction: column; gap: .75rem; width: 100%; max-width: 360px; }
.hero__boxes {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; width: 100%; margin-top: 1rem;
}
.hero__boxes li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  min-height: 100px; padding: .8rem .5rem;
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 10px;
  font-weight: 700; font-size: .95rem; line-height: 1.25;
  background: rgba(0, 0, 0, .25);
  transition: border-color .3s, box-shadow .3s;
}
.hero__boxes li:last-child { grid-column: 1 / -1; }
.hero__boxes li:hover { border-color: var(--cyan); box-shadow: 0 0 15px rgba(255, 255, 255, .4); }
.hero__boxes .icon { color: var(--cyan); width: 2.2rem; height: 2.2rem; }

/* ---------- Sekce ---------- */
.section { padding: 3.5rem 0; }
.section--alt { background: var(--bg-alt); }

.section-title { margin-bottom: 1.5rem; }
.section-title__label {
  display: flex; align-items: center; gap: .75rem;
  font-size: 1rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}
.section-title__label::after { content: ''; width: 90px; height: 2px; background: var(--cyan); }
.section-title h2 {
  margin-top: .25rem; font-size: clamp(1.6rem, 5vw, 2.25rem); font-weight: 700;
  text-transform: uppercase; color: var(--ink); line-height: 1.15;
}

.lead { font-size: 1.15rem; max-width: 70ch; margin-bottom: 2rem; }
.lead--small { font-size: 1rem; color: var(--muted); }
.motto { color: var(--cyan-dark); }

.split { display: grid; gap: 2rem; align-items: center; }
.split__text h3 { margin: 1.75rem 0 .75rem; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; max-height: 520px; }

.list { display: grid; gap: .7rem; }
.list li { position: relative; padding-left: 1.75rem; }
.list li::before {
  content: ''; position: absolute; left: 0; top: .35em; width: 1.05em; height: 1.05em;
  background: var(--cyan-dark);
  --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.1716 12.0007L8.83594 5.66504L10.25 4.25083L18 12.0007L10.25 19.7506L8.83594 18.3364L15.1716 12.0007Z'/%3E%3C/svg%3E");
  -webkit-mask: var(--mask) center / contain no-repeat;
  mask: var(--mask) center / contain no-repeat;
}
.list--bulb li::before {
  --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.97308 18H11V13H13V18H14.0269C14.1589 16.7984 14.7721 15.8065 15.7676 14.7226C15.8797 14.6006 16.5988 13.8564 16.6841 13.7501C17.5318 12.6931 18 11.385 18 10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10C6 11.3843 6.46774 12.6917 7.31462 13.7484C7.40004 13.855 8.12081 14.6012 8.23154 14.7218C9.22766 15.8064 9.84103 16.7984 9.97308 18ZM10 20V21H14V20H10ZM5.75395 14.9992C4.65645 13.6297 4 11.8915 4 10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10C20 11.8925 19.3428 13.6315 18.2443 15.0014C17.624 15.7748 16 17 16 18.5V21C16 22.1046 15.1046 23 14 23H10C8.89543 23 8 22.1046 8 21V18.5C8 17 6.37458 15.7736 5.75395 14.9992Z'/%3E%3C/svg%3E");
}

/* ---------- Klienti (běžící pás log) ---------- */
.clients { padding: 2rem 0; border-block: 1px solid var(--line); background: var(--white); }
.scroller { overflow: hidden; }
.scroller__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; padding-inline: 1.25rem; }
.scroller__inner img { height: 56px; width: auto; }
.scroller[data-animated] {
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* Nekonečná smyčka: sada log se nakopíruje tolikrát, aby vždy pokryla celou šířku,
   a posouvá se přesně o šířku jedné sady (--set-w), takže navazuje bez mezery. */
.scroller[data-animated] .scroller__inner {
  flex-wrap: nowrap; gap: 0; width: max-content; padding-inline: 0;
  animation: scroll var(--duration, 40s) linear infinite;
}
.scroller[data-animated] .scroller__inner > li { padding-inline: 1.5rem; flex-shrink: 0; }
.scroller[data-animated]:hover .scroller__inner { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(calc(-1 * var(--set-w, 50%))); } }

/* ---------- Výzva k akci ---------- */
.cta { padding: 3rem 0; background: var(--black); color: var(--white); text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta h2 { color: var(--white); font-size: clamp(1.4rem, 4vw, 1.9rem); }
.cta h2.accent { color: var(--cyan); }
.cta p { max-width: 60ch; font-size: 1.1rem; }

/* ---------- Služby ---------- */
.cards { display: grid; gap: 1.5rem; counter-reset: step; }
.card {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 1.25rem 1.25rem 1.5rem; }
.card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.card h3::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0;
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--cyan); color: var(--black); font-size: 1rem; font-weight: 900;
}

/* ---------- Galerie před / po ---------- */
.gallery { display: grid; gap: 1.5rem; }
.ba figcaption { margin-top: .5rem; font-weight: 500; color: var(--ink); }
.ba__frame {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #222; touch-action: pan-y; user-select: none;
}
.ba__frame--wide { aspect-ratio: 16 / 9; }
.ba__frame--43 { aspect-ratio: 4 / 3; }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__frame::before, .ba__frame::after {
  position: absolute; top: .6rem; z-index: 2; padding: .15rem .55rem; border-radius: 6px;
  background: rgba(0, 0, 0, .65); color: var(--white); font-size: .8rem; font-weight: 700; pointer-events: none;
}
.ba__frame::before { content: 'Před'; left: .6rem; }
.ba__frame::after { content: 'Po'; right: .6rem; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 3px; margin-left: -1.5px;
  background: var(--cyan); pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cyan); color: var(--black); box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba__range:focus-visible + .ba__handle span { outline: 3px solid var(--white); outline-offset: 2px; }

/* ---------- Počty ---------- */
.counts { display: grid; gap: 1.25rem; }
.count {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .25rem 1rem;
  padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
}
.count .icon { color: var(--cyan-dark); width: 2.5rem; height: 2.5rem; }
.count__num { font-size: 2.75rem; font-weight: 900; color: var(--ink); line-height: 1; }
.count p { grid-column: 1 / -1; }

/* ---------- Tým ---------- */
.team { display: grid; gap: 1.5rem; max-width: 820px; }
.person {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.person img { width: 100%; aspect-ratio: 4 / 4; object-fit: cover; object-position: center 20%; background: var(--bg-alt); }
.person__body { padding: 1.25rem 1.5rem 1.5rem; }
.person__role { color: var(--muted); margin-bottom: 1rem; }

.contact-list { display: grid; gap: .6rem; }
.contact-list li { display: flex; align-items: center; gap: .65rem; overflow-wrap: anywhere; }
.contact-list .icon { color: var(--cyan-dark); }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.contact-list--big { gap: 1.25rem; margin-bottom: 2rem; }
.contact-list--big li { align-items: flex-start; }
.contact-list--big .icon { width: 1.6rem; height: 1.6rem; margin-top: .15rem; }
.contact-list--big .label { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.contact-list--big a { font-size: 1.1rem; }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 2.5rem; }
.map { border-radius: var(--radius); overflow: hidden; background: #e7ebed; min-height: 260px; display: grid; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }
.map__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.5rem; text-align: center; font-size: .92rem; }
.map__placeholder > .icon { width: 2.5rem; height: 2.5rem; color: var(--cyan-dark); }
.map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }

.form { display: grid; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); align-self: start; }
.form__row { display: grid; gap: 1rem; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 500; color: var(--ink); font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid #b9b9b9; border-radius: 8px;
  font: inherit; color: var(--ink); background: var(--white);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan-dark); }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: #c62828; }
.form .btn { justify-self: start; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__status:empty { display: none; }
.form__status { padding: .8rem 1rem; border-radius: 8px; font-weight: 500; }
.form__status.is-success { background: #e3f7e8; color: #1b5e20; }
.form__status.is-error { background: #fdecea; color: #b71c1c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Patička ---------- */
.site-footer { background: var(--black); color: #cfcfcf; padding-top: 3rem; font-size: .95rem; }
.site-footer a { color: #cfcfcf; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer h2 { color: var(--white); font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer__grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer__logo { width: 160px; margin-bottom: 1rem; }
.site-footer .muted { color: #9a9a9a; font-size: .85rem; }
.footer-links { display: grid; gap: .45rem; }
.footer-links li { position: relative; padding-left: 1.1rem; }
.footer-links li::before { content: '›'; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  padding-block: 1.25rem; border-top: 1px solid #2a2a2a; font-size: .85rem; color: #9a9a9a;
}


/* ---------- Podstránka (zásady ochrany osobních údajů) ---------- */
.page__main { padding-top: calc(var(--header-h) + 2.5rem); }
.page__back { margin-left: auto; }
.section-title h1 {
  margin-top: .25rem; font-size: clamp(1.6rem, 5vw, 2.25rem); font-weight: 700;
  text-transform: uppercase; color: var(--ink); line-height: 1.15;
}
.prose { max-width: 820px; }
.prose > h2 { margin: 2.25rem 0 .75rem; font-size: 1.3rem; }
.prose p, .prose address, .prose ul { margin-bottom: 1rem; }

/* Autor webu v patičce */
.site-footer__credit { width: 100%; text-align: right; line-height: 1.5; }
@media (max-width: 599px) { .site-footer__credit { text-align: left; } }

/* Plovoucí tlačítko „Zavolat“ – jen na mobilu */
.call-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 900;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--cyan); color: var(--black); box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  font-size: 1.5rem;
  opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .3s, transform .3s;
}
.call-fab.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ==========================================================================
   Větší obrazovky
   ========================================================================== */
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; justify-content: center; max-width: none; width: auto; }
  .hero__boxes { grid-template-columns: repeat(3, 1fr); }
  .hero__boxes li:last-child { grid-column: auto; }
  .hero__boxes li:nth-child(4) { grid-column: 1 / 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .counts { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .scroller__inner img { height: 64px; }
}

@media (min-width: 961px) {
  :root { --header-h: 84px; }
  .hero { background-image: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .7)), url('../img/hero-1920.webp'); background-attachment: fixed; }
  .site-header__logo img { height: 50px; }
  .nav-toggle { display: none; }
  .nav {
    position: static; max-height: none; overflow: visible; visibility: visible;
    background: none; margin-left: auto;
  }
  .nav__links { display: flex; gap: .25rem; padding: 0; }
  .nav__links a { border: 0; padding: .5rem .9rem; font-size: 1.1rem; }
  .nav__links a:hover { text-shadow: 0 0 10px var(--cyan); }
  .site-header__call { display: inline-flex; margin-left: 1rem; min-height: 44px; padding: .5rem 1rem; }

  .hero__boxes { grid-template-columns: repeat(5, 1fr); max-width: 1100px; }
  .hero__boxes li:nth-child(4) { grid-column: auto; }
  .hero__boxes li { min-height: 130px; font-size: 1.05rem; }

  .section { padding: 5rem 0; }
  .split { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; }
  .split--reverse .split__media { order: -1; }
  .split--reverse { grid-template-columns: 1fr 1.15fr; }
  #counts .split { grid-template-columns: 1fr 1fr; }

  .cards { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr 1.3fr; gap: 3rem; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; }
  .call-fab { display: none; }
}

/* Omezení animací pro uživatele, kteří o to požádali v systému */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .call-fab, .map, .form, .cta, .clients { display: none !important; }
  .hero { min-height: auto; background: none; color: var(--ink); }
  .hero h1 { color: var(--ink); }
}
