/* Stone Target – statický web (1:1 podle původního Elementoru). Písma Lora + Inter (SIL OFL) lokálně. */
@font-face { font-family: Lora; src: url(fonts/lora-700.woff2) format("woff2"); font-weight: 700; font-display: swap; 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: Lora; src: url(fonts/lora-700-ext.woff2) format("woff2"); font-weight: 700; font-display: swap; 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: Inter; src: url(fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; 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: Inter; src: url(fonts/inter-400-ext.woff2) format("woff2"); font-weight: 400; font-display: swap; 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: Inter; src: url(fonts/inter-500.woff2) format("woff2"); font-weight: 500; font-display: swap; 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: Inter; src: url(fonts/inter-500-ext.woff2) format("woff2"); font-weight: 500; font-display: swap; 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: Inter; src: url(fonts/inter-600.woff2) format("woff2"); font-weight: 600; font-display: swap; 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: Inter; src: url(fonts/inter-600-ext.woff2) format("woff2"); font-weight: 600; font-display: swap; 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: Inter; src: url(fonts/inter-700.woff2) format("woff2"); font-weight: 700; font-display: swap; 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: Inter; src: url(fonts/inter-700-ext.woff2) format("woff2"); font-weight: 700; font-display: swap; 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; }

:root {
  --bg: #0f0f0f; --fg: #fff; --accent: #e2c025;
  --serif: Lora, Georgia, serif;
  --sans: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hdr: 90px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img { max-width: 100%; height: auto; border: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: inherit; }
p { margin: 0 0 .9rem; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; background: #fff; color: #000; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rich > :last-child { margin-bottom: 0; }

/* ---------- typografie (globální styly z Elementoru) ---------- */
.t-hero { font-family: var(--serif); font-weight: 700; font-size: 78px; line-height: 74px; letter-spacing: -2.3px; }
.t-h2 { font-family: var(--serif); font-weight: 700; font-size: 58px; line-height: 56px; letter-spacing: -.3px; }
.t-kicker { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: 7.1px; text-transform: uppercase; }
.t-text { font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.5em; letter-spacing: -.8px; }
.t-tile { font-family: var(--sans); font-weight: 600; font-size: 28px; line-height: 1.6em; letter-spacing: -.7px; }
.t-sub { font-family: var(--sans); font-weight: 600; font-size: 20px; line-height: 24px; }

/* tlačítko (obrys, kulaté) */
.btn { display: inline-block; padding: 12px 24px; border: 2px solid #fff; border-radius: 60px; background: transparent; color: #fff; font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: -.2px; text-decoration: none; transition: all .3s; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: #fff; color: #000; }

/* ---------- záhlaví ---------- */
.hdr { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: var(--hdr); padding: 0 5%; background: var(--bg); }
.hdr__logo { display: block; flex: 0 0 auto; }
.hdr__logo img { display: block; width: 210px; height: 67px; object-fit: contain; }
.nav__list { display: flex; align-items: center; gap: 52px; }
.nav__list a { position: relative; display: block; padding: 3px 0; color: #fff; font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: -.2px; text-decoration: none; transition: color .3s; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); opacity: 0; transition: opacity .3s; }
.nav__list a:hover, .nav__list a:focus-visible, .nav__list a.is-active { color: var(--accent); }
.nav__list a:hover::after, .nav__list a:focus-visible::after, .nav__list a.is-active::after { opacity: 1; }
.nav__toggle { display: none; margin-left: auto; padding: .25em; border: 0; background: transparent; color: var(--accent); cursor: pointer; font-size: 22px; line-height: 0; }
.nav__toggle .ico { width: 1em; height: 1em; }
.nav__toggle .ico--close, .nav.is-open .nav__toggle .ico--menu { display: none; }
.nav.is-open .nav__toggle .ico--close { display: block; }
.hdr__btn { flex: 0 0 auto; }

/* ---------- úvod ---------- */
.hero { display: flex; flex-direction: column; gap: 80px; margin-top: 5%; padding: 0 5%; overflow: clip; }
.hero__txt { display: flex; flex-direction: column; gap: 40px; width: 100%; max-width: 1140px; margin: 0 auto; text-align: center; }
.hero__media { will-change: transform; transform: scale(var(--zoom, 1)); }
.fade { position: relative; overflow: hidden; }
.fade__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.fade__slide.is-on { opacity: 1; }
.fade__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* dvousloupec: fotka / text (O nás, Rádi se pochlubíme, záhlaví služeb) */
.split { display: flex; gap: 15%; padding: 0 8%; margin-top: 5%; }
.split__media { position: relative; flex: 0 0 45.772%; width: 45.772%; }
.split__txt { width: 55%; flex: 0 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 25px; }
.split__txt > p:not([class]) { margin: 0; }
.about { padding-top: 5%; padding-bottom: 5%; }
.about__img { min-height: 990px; }
.about__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.work { margin-top: 15%; }

/* služby: dlaždice 3 × 3 */
.services .split--head { margin-top: 5%; }
.tiles { display: flex; flex-wrap: wrap; justify-content: center; width: 95%; margin: 0 auto; padding-top: 5%; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; width: 30%; min-height: 400px; padding: 20px 42px; border: solid #fff; border-width: 2px 1px 1px 2px; text-align: center; }
.tile__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; opacity: .5; }
.tile h3 { margin-bottom: 14px; }
.tile p { margin: 0; }

/* před / po */
.ba { position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; --pos: 50%; }
.ba__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 3px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, .25); color: #fff; }
.ba__knob .ico { width: 22px; height: 22px; }
.ba__lbl { position: absolute; top: 50%; transform: translateY(-50%); padding: 6px 14px; background: rgba(255, 255, 255, .2); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; pointer-events: none; opacity: 0; transition: opacity .3s; }
.ba:hover .ba__lbl, .ba:focus-within .ba__lbl { opacity: 1; }
.ba__lbl--b { left: 10px; }
.ba__lbl--a { right: 10px; }
.ba__range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba__range:focus-visible + * , .ba:focus-within .ba__knob { box-shadow: 0 0 0 3px var(--accent); }

/* loga klientů */
.clients { display: flex; flex-direction: column; gap: 20px; margin-top: 6%; padding: 0 5%; text-align: center; }
.logos { position: relative; padding: 2%; }
.logos__view { overflow: hidden; }
.logos__track { display: flex; align-items: center; --n: 6; }
.logos__track li { flex: 0 0 calc(100% / var(--n)); display: flex; justify-content: center; padding: 0 30px; }
.logos__track img { display: block; max-width: 100%; height: auto; }
.logos__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 24px; height: 40px; margin-top: -20px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.logos__nav .ico { width: 20px; height: 20px; }
.logos__nav--prev { left: 0; }
.logos__nav--next { right: 0; }
.logos__nav:hover { color: var(--accent); }

/* ---------- Naše práce ---------- */
.whero { display: flex; flex-direction: column; gap: 80px; margin-top: 2%; padding: 0 5%; overflow: clip; }
.whero__img { will-change: transform; transform: scale(var(--zoom, 1)); }
.whero__img img { display: block; width: 100%; height: 50vh; object-fit: cover; }
.whero__txt { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 780px; margin: 0 auto; text-align: center; }
.whero__txt h1 { margin-bottom: 21px; }
.gallery { padding: 5%; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__grid a { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.gallery__grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery__ov { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color .8s; }
.gallery__grid a:hover .gallery__ov, .gallery__grid a:focus-visible .gallery__ov { background: rgba(0, 0, 0, .5); }
.gallery__grid a:hover img, .gallery__grid a:focus-visible img { transform: scale(1.1); }
.p-work .clients { margin-top: 3%; }

/* prohlížeč fotek */
.lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .9); color: #fff; touch-action: none; }
.lb img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; opacity: .8; }
.lb__btn:hover { opacity: 1; color: var(--accent); }
.lb__btn .ico { width: 28px; height: 28px; }
.lb__close { top: 10px; right: 10px; }
.lb__prev { left: 10px; top: 50%; margin-top: -24px; }
.lb__next { right: 10px; top: 50%; margin-top: -24px; }
.lb__count { position: absolute; top: 22px; left: 20px; font-size: 14px; opacity: .8; }

/* ---------- patička ---------- */
.cta { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 780px; margin: 15% auto 10%; text-align: center; }
.cta .t-text p { margin: 0; }
.cta__btn { margin: 2% 0 0; }
.ftr__cols { display: flex; padding: 5% 5% 0; border-top: 2px dotted #fff; }
.ftr__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 30%; padding-right: 5%; }
.ftr__brand img { display: block; width: 210px; height: 67px; object-fit: contain; }
.ftr__contact { display: flex; flex-direction: column; gap: 20px; width: 27%; }
.ftr__svc { display: flex; flex-direction: column; gap: 15px; width: 30%; }
.ilist li { display: flex; align-items: center; gap: 6px; }
.ilist .ico { flex: 0 0 auto; width: 14px; height: 14px; fill: #fff; }
.ilist a { color: #fff; text-decoration: none; }
.ilist a:hover { color: var(--accent); }
.ftr__bar { display: flex; justify-content: space-between; align-items: center; margin: 3% 0 2%; padding: 0 5%; }
.ftr__bar p { margin: 0; }
.social { display: flex; gap: 22px; }
.social a { display: block; color: #fff; }
.social a:hover { color: var(--accent); }
.social .ico { display: block; width: 22px; height: 22px; fill: currentColor; }

/* 404 */
.nf { display: flex; flex-direction: column; align-items: center; gap: 25px; max-width: 780px; margin: 10% auto 0; padding: 0 5%; text-align: center; }
.nf p:not([class]) { margin: 0; }

/* animace při najetí (fadeInUp jako v Elementoru) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-anim] { opacity: 0; }
  .js [data-anim].is-in { animation: fadeInUp 1.25s both; }
}
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
.js .tile[data-anim="down"].is-in { animation-name: fadeInDown; }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .t-hero { font-size: 58px; line-height: 1em; }
  .t-h2 { font-size: 38px; line-height: 1em; }
  .t-kicker { font-size: 14px; letter-spacing: 6px; }
  .t-text { font-size: 14px; }
  .t-tile { font-size: 22px; }
  .btn, .nav__list a { font-size: 14px; }
  .hero__txt { gap: 20px; }

  .nav { position: static; }
  .nav__toggle { display: block; }
  .nav__list { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid #fff; }
  .nav.is-open .nav__list { display: flex; }
  .nav__list li:not(:last-child) { border-bottom: 1px solid #fff; }
  .nav__list a { padding: 15px 5%; color: var(--accent); }
  .nav__list a::after { display: none; }

  .split { flex-direction: column-reverse; gap: 80px; padding: 0 5%; }
  .split__media, .split__txt { width: 100%; flex: 0 0 auto; }
  .split__txt { padding: 0 10%; text-align: center; }
  .about { padding-top: 0; padding-bottom: 0; }

  .logos { padding: 3%; }
  .logos__track { --n: 3; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  .cta { padding: 0 5%; }
  .ftr__cols { flex-wrap: wrap; }
  .ftr__brand { width: 100%; align-items: center; margin-bottom: 6%; padding: 0 15%; text-align: center; }
  .ftr__brand img { height: 28px; }
  .ftr__contact { width: 50%; }
  .ftr__svc { width: 100%; margin-top: 6%; text-align: center; }
  .ftr__bar { margin: 10% 0 5%; }
  .social .ico { width: 18px; height: 18px; }
}

/* ---------- mobil ---------- */
@media (max-width: 767px) {
  :root { --hdr: 70px; }
  .t-hero { font-size: 36px; letter-spacing: -2px; }
  .t-h2 { font-size: 28px; }
  .t-kicker { font-size: 12px; letter-spacing: 4px; }
  .t-tile, .t-sub { font-size: 18px; }
  .hdr { gap: 15px; }
  .nav { flex: 1 0 auto; display: flex; }
  .nav__toggle { font-size: 25px; }
  .nav__list a { padding-top: 12px; padding-bottom: 12px; }
  .hdr__btn { padding: 10px 18px; }
  .hdr__logo img { width: auto; max-width: 150px; height: 48px; }

  .hero { gap: 50px; margin-top: 10%; }
  .split { margin-top: 25%; }
  .split__txt { padding: 0; }
  .work { margin-top: 25%; }
  .split__txt .btn { padding: 10px 18px; }
  .tile { width: 100%; border-width: 2px 2px 1px 2px; }

  .clients { margin-top: 30%; }
  .logos__track { --n: 2; }
  .whero { gap: 50px; }
  .whero__img img { height: 30vh; }
  .gallery__grid { grid-template-columns: 1fr; }
  .p-work .clients { margin-top: 30%; }

  .cta { margin: 35% auto 20%; }
  .ftr__cols { padding: 12% 5% 0; }
  .ftr__brand { margin-bottom: 10%; padding: 0; }
  .ftr__brand img { width: 85px; }
  .ftr__contact { width: 50%; gap: 10px; }
  .ftr__svc { margin-top: 10%; }
  .ftr__bar { flex-direction: column; gap: 15px; margin: 12% 0 10%; text-align: center; }
}
