:root {
  --yellow: #ffc400;
  --yellow-2: #ffdc58;
  --ink: #0c0e0f;
  --ink-soft: #171a1c;
  --text: #17191b;
  --muted: #656c73;
  --paper: #f7f6f1;
  --white: #fff;
  --line: #deddd7;
  --container: 1240px;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(15,18,20,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Manrope, Arial, sans-serif; color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
svg { display: block; }
.container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; background: var(--yellow); padding: 12px 18px; font-weight: 800; border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }

.eyebrow { margin: 0 0 16px; color: var(--yellow); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.dark { color: #b58500; }
h1, h2, h3 { margin: 0; font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; line-height: .98; letter-spacing: -.02em; }
h2 { font-size: clamp(3.2rem, 5.3vw, 5.4rem); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; color: #fff; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.site-header.is-scrolled { background: rgba(9,11,12,.92); backdrop-filter: blur(16px); box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.header-inner { height: 96px; display: flex; align-items: center; gap: 34px; }
.brand { width: 72px; height: 72px; flex: 0 0 auto; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.main-nav a { position: relative; padding: 10px 0; font-size: .91rem; font-weight: 700; color: rgba(255,255,255,.78); transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; background: var(--yellow); transition: right .2s ease; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-phone { margin-left: 20px; display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 10px; background: var(--yellow); color: #0a0b0c; border-radius: 16px; font-family: "Barlow Condensed", Arial, sans-serif; font-size: 1.27rem; font-weight: 800; line-height: 1.05; box-shadow: 0 10px 28px rgba(255,196,0,.22); }
.header-phone small { display: block; margin-bottom: 3px; font-family: Manrope, Arial, sans-serif; font-size: .56rem; letter-spacing: .11em; text-transform: uppercase; }
.phone-circle { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(0,0,0,.08); border-radius: 12px; }
.phone-circle svg { width: 20px; fill: currentColor; }
.menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 7px auto; background: #fff; }

.hero { position: relative; min-height: 820px; display: grid; align-items: stretch; overflow: hidden; background: #090b0c; color: #fff; }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(6,8,9,.97) 0%, rgba(6,8,9,.87) 34%, rgba(6,8,9,.33) 68%, rgba(6,8,9,.12) 100%), linear-gradient(0deg, rgba(6,8,9,.65), transparent 45%), url("assets/hero_v2.jpg"); background-size: cover; background-position: center; transform: scale(1.015); animation: heroZoom 14s ease-out both; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 92px 92px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; padding-top: 110px; padding-bottom: 105px; }
.hero-copy { max-width: 650px; }
.hero h1 { max-width: 760px; font-size: clamp(4.8rem, 7.2vw, 7.6rem); }
.hero-lead { max-width: 600px; margin: 26px 0 0; color: rgba(255,255,255,.76); font-size: 1.08rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease; }
.button svg { width: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.4; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: #0a0b0c; box-shadow: 0 13px 34px rgba(255,196,0,.2); }
.button-primary:hover { background: var(--yellow-2); box-shadow: 0 18px 42px rgba(255,196,0,.27); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.035); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.hero-points { display: flex; flex-wrap: wrap; gap: 0; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-points span { position: relative; padding: 0 31px 0 18px; color: rgba(255,255,255,.88); font-size: .83rem; font-weight: 700; }
.hero-points span:first-child { padding-left: 18px; }
.hero-points span::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); transform: translateY(-50%); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; display: grid; justify-items: center; gap: 8px; color: rgba(255,255,255,.55); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue span { width: 25px; height: 39px; border: 1px solid rgba(255,255,255,.32); border-radius: 18px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--yellow); transform: translateX(-50%); animation: scrollDot 1.7s infinite; }

.services { background: #fff; }
.section-heading.centered { max-width: 820px; margin: 0 auto 58px; text-align: center; }
.section-heading.centered h2 { color: var(--ink); }
.section-heading.centered > p:last-child { max-width: 700px; margin: 24px auto 0; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 330px; position: relative; display: flex; flex-direction: column; align-items: center; padding: 28px 20px 26px; overflow: hidden; background: #fff; border: 1px solid #ecebe6; border-radius: 18px; text-align: center; box-shadow: 0 14px 34px rgba(18,20,22,.07); transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease; }
.service-card::before { content: ""; position: absolute; inset: auto -35% -52% 35%; height: 220px; background: radial-gradient(circle, rgba(255,196,0,.16), transparent 66%); pointer-events: none; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(255,196,0,.65); box-shadow: 0 23px 50px rgba(18,20,22,.12); }
.service-illustration { height: 115px; width: 100%; display: grid; place-items: center; margin-bottom: 15px; }
.service-illustration img { width: 158px; height: 108px; object-fit: contain; transition: transform .26s ease; }
.service-card:hover .service-illustration img { transform: translateY(-4px) scale(1.035); }
.service-card h3 { min-height: 50px; display: flex; align-items: center; justify-content: center; font-size: 1.38rem; line-height: 1.04; }
.service-card p { margin: 15px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.68; }
.service-line { width: 34px; height: 3px; margin-top: auto; background: var(--yellow); border-radius: 3px; }

.machinery { position: relative; background: #0d0f10; color: #fff; overflow: hidden; }
.machinery::before { content: ""; position: absolute; width: 480px; height: 480px; left: -180px; top: -180px; border-radius: 50%; background: rgba(255,196,0,.09); filter: blur(70px); }
.machinery-head { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; margin-bottom: 45px; }
.machinery-head h2 { max-width: 650px; }
.machinery-head > p { margin: 0 0 8px; color: rgba(255,255,255,.65); line-height: 1.8; }
.machine-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.machine-card { min-height: 500px; position: relative; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.machine-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.25,1); }
.machine-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4,5,6,.18) 50%, rgba(4,5,6,.94) 100%); }
.machine-card:hover img { transform: scale(1.045); }
.machine-overlay { position: absolute; z-index: 2; inset: auto 0 0; padding: 34px; }
.machine-tag { display: inline-flex; padding: 7px 11px; margin-bottom: 15px; background: rgba(255,196,0,.18); color: var(--yellow); border: 1px solid rgba(255,196,0,.35); border-radius: 999px; font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.machine-card h3 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
.machine-card p { max-width: 520px; margin: 12px 0 0; color: rgba(255,255,255,.72); }

.about { background: #f4f2eb; }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: center; }
.about-photo { position: relative; min-height: 530px; }
.about-photo::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; left: -7%; top: 50%; border-radius: 50%; background: var(--yellow); transform: translateY(-50%); opacity: .96; }
.about-photo img { position: absolute; inset: 6% 0 6% 7%; width: 93%; height: 88%; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.about-badge { position: absolute; left: 0; bottom: 38px; padding: 13px 18px; background: var(--ink); color: var(--yellow); border-radius: 0 12px 12px 0; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.about-copy h2 { max-width: 690px; }
.about-copy > p:not(.eyebrow) { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.value { min-height: 150px; padding: 21px 18px; background: rgba(255,255,255,.72); border: 1px solid rgba(22,25,27,.09); border-radius: 16px; }
.value-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 16px; color: #0e1011; background: var(--yellow); border-radius: 13px; }
.value-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value strong { display: block; font-size: .91rem; }
.value small { display: block; margin-top: 6px; color: var(--muted); line-height: 1.5; }

.projects { background: #fff; overflow: hidden; }
.project-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.slider-controls { display: flex; gap: 10px; }
.slider-controls button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #deded9; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.18rem; transition: background .2s ease, color .2s ease, transform .2s ease; }
.slider-controls button:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.project-viewport { overflow: hidden; }
.project-track { display: flex; gap: 24px; transition: transform .55s cubic-bezier(.22,.76,.28,1); will-change: transform; }
.project-card { flex: 0 0 calc((100% - 48px) / 3); overflow: hidden; background: #fff; border: 1px solid #e8e7e2; border-radius: 19px; box-shadow: 0 16px 38px rgba(20,22,24,.075); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(20,22,24,.12); }
.project-card img { width: 100%; height: 235px; object-fit: cover; }
.project-copy { min-height: 245px; display: flex; flex-direction: column; padding: 24px 24px 26px; }
.project-copy > span { color: #b78600; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-copy h3 { margin-top: 10px; font-size: 1.75rem; line-height: 1.05; }
.project-copy p { margin: 15px 0 0; color: var(--muted); font-size: .9rem; }
.project-copy b { margin-top: auto; padding-top: 20px; font-size: .82rem; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #d3d1ca; transition: width .2s ease, background .2s ease; }
.slider-dots button.active { width: 28px; border-radius: 8px; background: var(--yellow); }

.contact { background: #f1efe8; }
.contact-grid { display: grid; grid-template-columns: .84fr 1.24fr .72fr; gap: 22px; align-items: stretch; }
.call-card, .form-card, .details-card { border-radius: 24px; }
.call-card { min-height: 675px; position: relative; overflow: hidden; padding: 48px 42px; background: #0d0f10; color: #fff; }
.call-card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -170px; bottom: -150px; background: rgba(255,196,0,.25); border-radius: 50%; filter: blur(56px); }
.call-card > * { position: relative; z-index: 1; }
.call-card h2 { max-width: 340px; font-size: clamp(4rem, 5vw, 5.5rem); line-height: .96; }
.call-number { display: inline-block; margin-top: 34px; color: var(--yellow); font-family: "Barlow Condensed", Arial, sans-serif; font-size: clamp(2rem, 1.7vw, 3rem); font-weight: 800; line-height: 1.05; }
.call-card > p:not(.eyebrow) { max-width: 355px; margin: 26px 0 0; color: rgba(255,255,255,.7); line-height: 1.8; }
.call-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.call-chips span { padding: 9px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.8); font-size: .74rem; }
.form-card { padding: 48px 42px; background: #fff; box-shadow: 0 18px 44px rgba(19,22,24,.07); }
.form-card h2 { font-size: 3.4rem; }
.form-intro { margin: 14px 0 28px; color: var(--muted); }
form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-size: .79rem; font-weight: 800; }
label small { color: var(--muted); font-weight: 500; }
input, textarea { width: 100%; border: 1px solid #d9d9d5; border-radius: 12px; background: #fafaf8; color: var(--text); outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
input { height: 52px; padding: 0 14px; }
textarea { min-height: 135px; padding: 14px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--yellow); background: #fff; box-shadow: 0 0 0 4px rgba(255,196,0,.13); }
.file-field input { height: auto; padding: 11px; }
.form-submit { width: fit-content; margin-top: 2px; border: 0; }
.form-status { min-height: 24px; margin: 0; font-size: .82rem; }
.details-card { padding: 42px 30px; background: rgba(255,255,255,.58); border: 1px solid rgba(16,18,20,.12); }
.details-card > a, .details-card > div { display: flex; align-items: flex-start; gap: 13px; padding: 20px 0; border-bottom: 1px solid #d8d7d1; }
.details-card > :last-child { border-bottom: 0; }
.detail-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 11px; font-weight: 900; }
.detail-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.detail-icon svg.detail-icon-facebook { fill: currentColor; stroke: none; }
.details-card small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.details-card strong { display: block; font-size: .9rem; line-height: 1.45; }

.site-footer { padding: 34px 0; background: #0b0d0e; color: rgba(255,255,255,.64); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner > div { display: flex; align-items: center; gap: 15px; }
.footer-inner img { width: 54px; height: 54px; object-fit: contain; }
.footer-inner p { margin: 0; font-size: .77rem; }

.project-modal { width: min(920px, calc(100% - 32px)); padding: 0; overflow: hidden; border: 0; border-radius: 24px; box-shadow: 0 30px 90px rgba(0,0,0,.34); }
.project-modal::backdrop { background: rgba(6,8,9,.78); backdrop-filter: blur(5px); }
.project-modal > img { width: 100%; max-height: 500px; object-fit: cover; }
.modal-copy { padding: 30px; }
.modal-copy > span { color: #b78600; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.modal-copy h2 { margin-top: 8px; font-size: 3.2rem; }
.modal-copy p { color: var(--muted); }
.modal-close { position: absolute; z-index: 2; right: 16px; top: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(11,13,14,.88); color: #fff; font-size: 1.8rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1.015); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,13px); } }

@media (max-width: 1120px) {
  .main-nav { gap: 22px; }
  .header-phone small { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { min-height: 315px; }
  .contact-grid { grid-template-columns: 1fr 1.3fr; }
  .details-card { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .details-card > .eyebrow { grid-column: 1 / -1; }
  .details-card > a, .details-card > div { border-bottom: 0; padding: 12px 0; }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 90px 0; }
  .header-inner { height: 78px; }
  .brand { width: 60px; height: 60px; }
  .menu-toggle { display: block; }
  .header-phone { display: none; }
  .main-nav { position: fixed; top: 78px; left: 15px; right: 15px; display: grid; gap: 3px; margin: 0; padding: 14px; background: rgba(12,14,15,.97); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; transform: translateY(-16px); opacity: 0; visibility: hidden; transition: .24s ease; box-shadow: 0 22px 55px rgba(0,0,0,.35); }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.06); color: var(--yellow); }
  .hero { min-height: 760px; }
  .hero-bg {
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 8, 9, .92) 0%,
      rgba(6, 8, 9, .72) 52%,
      rgba(6, 8, 9, .28) 100%
    ),
    linear-gradient(
      0deg,
      rgba(6, 8, 9, .72) 0%,
      transparent 55%
    ),
    url("assets/hero_v2-mobile.jpg");

  background-size: cover;
  background-position: 64% center;
  background-repeat: no-repeat;

  /* Na mobilu zrušíme další zvětšování fotografie */
  transform: none;
  animation: none;
}
.hero-bg::after {
  display: none;
}
  .hero-inner { padding-top: 105px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(4.8rem, 15vw, 7rem); }
  .hero-points { gap: 12px 0; }
  .hero-points span { width: 50%; padding-right: 12px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .machinery-head { grid-template-columns: 1fr; gap: 22px; }
  .machine-grid { grid-template-columns: 1fr; }
  .machine-card { min-height: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 55px; }
  .about-photo { min-height: 420px; }
  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; display: flex; gap: 15px; align-items: center; }
  .value-icon { margin: 0; flex: 0 0 auto; }
  .project-card { flex-basis: calc((100% - 24px) / 2); }
  .contact-grid { grid-template-columns: 1fr; }
  .call-card { min-height: 530px; }
  .details-card { grid-column: auto; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .section { padding: 76px 0; }
  h2 { font-size: 3.35rem; }
  .hero { min-height: 790px; }
  .hero h1 { font-size: 4.7rem; }
  .hero-actions { display: grid; }
  .hero-bg {background-position: 67% center;}
  .button { width: 100%; }
  .hero-points span { width: 100%; }
  .scroll-cue { display: none; }
  .section-heading.centered { margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .service-illustration img { width: 170px; height: 112px; }
  .machine-card { min-height: 420px; }
  .machine-overlay { padding: 25px; }
  .about-photo { min-height: 330px; }
  .about-photo img { inset: 5% 0 5% 5%; width: 95%; height: 90%; }
  .project-heading { align-items: flex-end; }
  .project-heading h2 { font-size: 3.2rem; }
  .slider-controls button { width: 46px; height: 46px; }
  .project-card { flex-basis: 100%; }
  .project-card img { height: 225px; }
  .call-card, .form-card, .details-card { padding: 32px 24px; border-radius: 20px; }
  .call-card h2 { font-size: 4.25rem; }
  .call-number {  font-size: clamp(2rem, 9.5vw, 2.55rem); white-space: nowrap;}
  .form-row, .details-card { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner > div { flex-direction: column; }
}

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

/* ===== Final visual refinements ===== */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Larger, better balanced header */
.header-inner { height: 126px; gap: 38px; }
.brand { width: 104px; height: 104px; }
.main-nav { gap: 36px; }
.main-nav a { font-size: .94rem; }
.header-phone { margin-left: 22px; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 18px; font-size: 1.43rem; }
.header-phone small { font-size: .6rem; }
.phone-circle { width: 44px; height: 44px; border-radius: 13px; }
.phone-circle svg { width: 22px; }

/* Hero trust bar: location + exactly three benefits */
.hero { min-height: 940px; }
.hero-inner { padding-top: 145px; padding-bottom: 235px; }
.hero-trustbar {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 46px;
  display: grid;
  grid-template-columns: 1.18fr repeat(3, 1fr);
  align-items: stretch;
  padding: 19px 22px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 21px;
  background: rgba(11,13,14,.80);
  box-shadow: 0 22px 58px rgba(0,0,0,.27);
  backdrop-filter: blur(15px);
  transform: translateX(-50%);
}
.hero-location,
.hero-benefit { min-width: 0; display: flex; align-items: center; gap: 15px; padding: 5px 22px; }
.hero-location { padding-left: 7px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-benefit + .hero-benefit { border-left: 1px solid rgba(255,255,255,.13); }
.trust-icon { width: 47px; height: 47px; flex: 0 0 auto; display: grid; place-items: center; color: var(--yellow); }
.trust-icon-large { width: 56px; height: 56px; }
.trust-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-location strong,
.hero-benefit strong { display: block; color: #fff; font-family: "Barlow Condensed", Arial, sans-serif; font-size: 1.23rem; line-height: 1.08; }
.hero-location strong { font-size: 1.48rem; text-transform: uppercase; }
.hero-location small,
.hero-benefit small { display: block; margin-top: 5px; color: rgba(255,255,255,.62); font-size: .73rem; line-height: 1.45; }
.scroll-cue { bottom: 5px; }

/* Final approved service artwork and titles */
.service-illustration { height: 128px; margin-bottom: 12px; }
.service-illustration img { width: 190px; height: 124px; }
.service-card h3 { min-height: 54px; }

/* More resolved machinery heading */
.machinery-head { grid-template-columns: minmax(0,1.25fr) minmax(300px,.7fr); align-items: center; gap: 72px; margin-bottom: 48px; }
.machinery-intro { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.045); }
.machinery-intro::before { content: ""; width: 3px; align-self: stretch; flex: 0 0 auto; border-radius: 3px; background: var(--yellow); }
.machinery-intro-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; color: var(--yellow); border-radius: 13px; background: rgba(255,196,0,.11); }
.machinery-intro-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.machinery-head .machinery-intro p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.75; }

/* Reuse exactly the same benefit icon language in About */
.value-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Carousel arrows belong to the carousel itself */
.project-heading { display: block; margin-bottom: 46px; }
.project-carousel { position: relative; }
.slider-arrow { position: absolute; z-index: 5; top: 50%; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #deded9; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--ink); font-size: 1.2rem; box-shadow: 0 12px 28px rgba(20,22,24,.11); transform: translateY(-50%); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.slider-arrow:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-50%) scale(1.04); }
.slider-arrow-prev { left: -27px; }
.slider-arrow-next { right: -27px; }
.project-card { display: block; color: inherit; }

/* Better fitting call-to-action copy */
.call-card { padding: 50px 42px; }
.call-card h2 { max-width: 315px; font-size: clamp(3.65rem, 4.35vw, 4.75rem); line-height: .94; text-wrap: balance; }
.call-card h2 span { display: block; }

/* Realization detail template */
.detail-page { background: #fff; }
.detail-page .site-header { background: rgba(9,11,12,.96); backdrop-filter: blur(16px); box-shadow: 0 10px 36px rgba(0,0,0,.18); }
.detail-main { padding-top: 112px; }
.detail-hero { position: relative; overflow: hidden; padding: 82px 0 70px; background: #0d0f10; color: #fff; }
.detail-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -190px; top: -230px; border-radius: 50%; background: rgba(255,196,0,.13); filter: blur(70px); }
.detail-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; color: rgba(255,255,255,.6); font-size: .76rem; font-weight: 700; }
.detail-breadcrumb a:hover { color: var(--yellow); }
.detail-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 70px; }
.detail-hero h1 { max-width: 650px; font-size: clamp(4.4rem, 7vw, 7rem); }
.detail-lead { max-width: 650px; margin: 25px 0 0; color: rgba(255,255,255,.7); font-size: 1.04rem; line-height: 1.8; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.04); font-size: .78rem; font-weight: 700; }
.detail-cover { min-height: 510px; overflow: hidden; border-radius: 24px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-content { padding: 105px 0; background: #f7f6f1; }
.detail-content-grid { display: grid; grid-template-columns: 1fr .74fr; gap: 80px; align-items: start; }
.detail-content h2 { color: var(--ink); }
.detail-content-copy > p { max-width: 740px; margin: 25px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.9; }
.work-list { display: grid; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.work-list li { position: relative; padding: 15px 18px 15px 48px; border: 1px solid #e2e0d9; border-radius: 14px; background: #fff; font-weight: 700; }
.work-list li::before { content: "âś“"; position: absolute; left: 17px; top: 50%; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--yellow); color: var(--ink); font-size: .75rem; transform: translateY(-50%); }
.detail-fact-card { padding: 30px; border-radius: 22px; background: #fff; border: 1px solid #e3e1da; box-shadow: 0 20px 48px rgba(20,22,24,.07); }
.detail-fact-card h3 { font-size: 2rem; }
.detail-fact { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid #e5e3dc; }
.detail-fact:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-fact small { color: var(--muted); }
.detail-fact strong { text-align: right; }
.gallery-section { padding: 105px 0; background: #fff; }
.gallery-heading { max-width: 760px; margin-bottom: 45px; }
.gallery-heading p:last-child { margin: 20px 0 0; color: var(--muted); }
.realization-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery-item { position: relative; min-height: 270px; overflow: hidden; border: 0; border-radius: 19px; background: #eceae3; padding: 0; cursor: zoom-in; }
.gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 7; }
.gallery-item:nth-child(2), .gallery-item:nth-child(3) { grid-column: span 5; }
.gallery-item:nth-child(n+5) { grid-column: span 6; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.75,.25,1); }
.gallery-item::after { content: "+"; position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(11,13,14,.84); color: #fff; font-size: 1.35rem; opacity: 0; transform: translateY(5px); transition: .25s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.detail-cta { padding: 90px 0; background: #0d0f10; color: #fff; }
.detail-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.detail-cta h2 { max-width: 720px; }
.detail-cta p { margin: 20px 0 0; color: rgba(255,255,255,.66); }
.detail-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; border: 0; background: rgba(5,7,8,.96); }
.lightbox::backdrop { background: rgba(5,7,8,.96); }
.lightbox-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 90px; }
.lightbox-image { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox-close, .lightbox-nav { position: fixed; z-index: 2; border: 1px solid rgba(255,255,255,.22); background: rgba(20,22,24,.72); color: #fff; border-radius: 50%; backdrop-filter: blur(10px); }
.lightbox-close { right: 24px; top: 24px; width: 50px; height: 50px; font-size: 1.8rem; }
.lightbox-nav { top: 50%; width: 54px; height: 54px; font-size: 1.4rem; transform: translateY(-50%); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter { position: fixed; left: 50%; bottom: 24px; color: rgba(255,255,255,.72); font-size: .82rem; transform: translateX(-50%); }

@media (max-width: 1320px) {
  .slider-arrow-prev { left: 10px; }
  .slider-arrow-next { right: 10px; }
}

@media (max-width: 1120px) {
  .header-inner { height: 102px; }
  .brand { width: 80px; height: 80px; }
  .header-phone { padding-right: 18px; font-size: 1.3rem; }
  .hero { min-height: 1010px; }
  .hero-inner { padding-bottom: 330px; }
  .hero-trustbar { grid-template-columns: 1fr 1fr; }
  .hero-location { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .hero-benefit:nth-child(2) { border-left: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
  .hero-benefit:nth-child(3) { border-left: 0; }
  .machinery-head { gap: 40px; }
  .detail-hero-grid { gap: 45px; }
  .detail-cover { min-height: 440px; }
}

@media (max-width: 860px) {
  .header-inner { height: 84px; }
  .brand { width: 66px; height: 66px; }
  .main-nav { top: 84px; }
  .hero { min-height: 0; display: block; }
  .hero-inner { min-height: 760px; padding-top: 118px; padding-bottom: 180px; }
  .hero-trustbar { position: relative; left: auto; bottom: auto; width: min(calc(100% - 30px), var(--container)); margin: -120px auto 55px; padding: 16px; transform: none; }
  .scroll-cue { display: none; }
  .machinery-head { grid-template-columns: 1fr; gap: 25px; }
  .machinery-intro { max-width: 620px; }
  .slider-arrow { width: 48px; height: 48px; }
  .detail-main { padding-top: 84px; }
  .detail-hero { padding: 65px 0; }
  .detail-hero-grid, .detail-content-grid { grid-template-columns: 1fr; }
  .detail-cover { min-height: 420px; order: -1; }
  .detail-content-grid { gap: 45px; }
  .detail-cta-inner { align-items: flex-start; flex-direction: column; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: span 6; min-height: 235px; }
}

@media (max-width: 580px) {
  .hero-inner { min-height: 730px; padding-bottom: 155px; }
  .hero-trustbar { grid-template-columns: 1fr; margin-top: -105px; }
  .hero-location, .hero-benefit {
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 20px 14px;
    border: 0 !important;
    text-align: center;
  }
  .hero-location > div, .hero-benefit > div { width: 100%; text-align: center; }
  .hero-benefit { border-top: 1px solid rgba(255,255,255,.12) !important; }
  .trust-icon, .trust-icon-large { margin-inline: auto; }
  .trust-icon-large { width: 49px; height: 49px; }
  .service-illustration { height: 120px; }
  .service-illustration img { width: 185px; height: 118px; }
  .machinery-intro { align-items: flex-start; padding: 18px; }
  .slider-arrow { top: 47%; width: 44px; height: 44px; }
  .slider-arrow-prev { left: 7px; }
  .slider-arrow-next { right: 7px; }
  .call-card h2 { font-size: 3.8rem; }
  .detail-hero h1 { font-size: 4rem; }
  .detail-cover { min-height: 290px; border-radius: 18px; }
  .detail-content, .gallery-section { padding: 76px 0; }
  .realization-gallery { gap: 12px; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: 1 / -1; min-height: 235px; }
  .detail-cta { padding: 72px 0; }
  .detail-cta-actions { width: 100%; }
  .lightbox-stage { padding: 75px 15px; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { right: 12px; top: 12px; }
}
.hero-trustbar { width: min(calc(100% - 44px), var(--container)); }
.call-card h2 { max-width: none; font-size: clamp(3.15rem, 3.65vw, 4rem); }
.call-card h2 span { display: block; white-space: nowrap; }
@media (max-width: 580px) {
  .call-card h2 { font-size: 3.35rem; }
  .call-card h2 span { white-space: normal; }
}
.call-card h2 { font-size: clamp(2.85rem, 3.15vw, 3.45rem); letter-spacing: -.025em; }
@media (max-width: 580px) { .call-card h2 { font-size: 3.15rem; } }

@media (max-width: 580px) {
  .hero-inner {
    min-height: 750px;
    padding-top: 138px;
    padding-bottom: 160px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 4.35rem;
    line-height: .95;
  }

  .hero-lead {
    max-width: 360px;
    margin-top: 22px;
    font-size: .96rem;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 30px;
  }

  .hero-bg {
    background-position: 72% center;
    transform: none;
    animation: none;
  }

  .hero-bg::after {
    display: none;
  }

  .hero-trustbar {
    width: calc(100% - 30px);
    margin-top: -95px;
    margin-inline: auto;
  }
  
    .machine-grid {
    gap: 18px;
  }

  .machine-card {
    min-height: 0;
    height: 340px;
    border-radius: 18px;
  }

  .machine-overlay {
    padding: 21px;
  }

  .machine-tag {
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: .62rem;
  }

  .machine-card h3 {
    font-size: 2.35rem;
  }

  .machine-card p {
    margin-top: 8px;
    font-size: .84rem;
    line-height: 1.5;
  }
}

.hero-brand-name {
  margin: 0 0 24px;
  color: var(--yellow);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 580px) {
  .hero-brand-name {
    margin-bottom: 18px;
    font-size: 1.3rem;
  }
}

.form-privacy {
  margin-top: 22px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #666;
}

.form-privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Oznámení o soukromí ===== */

.privacy-notice {
  position: fixed;
  z-index: 3000;
  left: 22px;
  right: 22px;
  bottom: 22px;
  pointer-events: none;
}

.privacy-notice[hidden] {
  display: none;
}

.privacy-notice__content {
  width: min(100%, 720px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(13, 15, 16, .96);
  color: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.privacy-notice strong {
  display: block;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.privacy-notice p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: .79rem;
  line-height: 1.55;
}

.privacy-notice a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-notice button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.privacy-notice button:hover {
  background: var(--yellow-2);
  transform: translateY(-1px);
}

@media (max-width: 580px) {
  .privacy-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .privacy-notice__content {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    padding: 19px;
    border-radius: 16px;
  }

  .privacy-notice button {
    width: 100%;
  }
}

.form-card#poptavka {
  scroll-margin-top: 120px;
}

.form-status {
  display: none;
  margin: 0 0 20px;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-error {
  color: #9d1421;
  background: #fff0f1;
  border: 1px solid #efc5c9;
}

.form-status.is-success {
  color: #315f00;
  background: #f0f8e8;
  border: 1px solid #cde2b7;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}