:root {
  --esa-green: #306000;
  --esa-green-bright: #6aab22;
  --esa-green-deep: #244800;
  --ink: #3d3d3d;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --glass: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.32);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Barlow Condensed", var(--font);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --page-pad-x: clamp(2.25rem, 5.8vw, 5.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: #f3f3f1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a,
button,
summary {
  -webkit-tap-highlight-color: rgba(48, 96, 0, 0.18);
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.about,
.projects,
.services,
.stats,
.faq,
.footer {
  scroll-margin-top: 5rem;
}

.hero {
  --hero-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-bg-dur: 2.4s;
  --hero-in-dur: 1.05s;
  --hero-beat: 0.14s;
  --hero-pad-x: var(--page-pad-x);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: var(--white);
  /* Uložený stav: background: var(--esa-green); */
  background: #d6d6d2;
}

.hero__base,
.hero__base-veil,
.hero__fg,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__base {
  z-index: 0;
}

.hero__base-veil {
  z-index: 1;
  background: rgba(0, 0, 0, 0.48);
  pointer-events: none;
}

.hero__veil {
  z-index: 3;
  background: none;
  pointer-events: none;
}

.hero__fg {
  z-index: 5;
  pointer-events: none;
  inset: auto;
  top: 18%;
  left: 10%;
  right: -10%;
  bottom: -16%;
}

.hero__base img,
.hero__fg picture,
.hero__fg img {
  width: 100%;
  height: 100%;
}

.hero__fg picture {
  display: block;
}

.hero__base img,
.hero__fg img {
  object-fit: cover;
  object-position: center;
}

.hero__fg img {
  object-position: 52% 100%;
}

.hero__fg img {
  will-change: transform;
  transform: scale(1.34) translate(-6%, 12%);
  animation: bg-in var(--hero-bg-dur) var(--hero-ease) forwards;
}

.hero__frame {
  position: relative;
  z-index: 4;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding:
    0
    var(--hero-pad-x)
    clamp(1.15rem, 2.6vh, 2rem);
}

/* ——— Classic white navbar (ZSE-style) ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e4;
  opacity: 0;
  transform: translateY(-12px);
  animation: rise var(--hero-in-dur) var(--hero-ease) var(--hero-beat) forwards;
}

.topbar__inner {
  width: 100%;
  min-height: clamp(5.25rem, 10vh, 6.75rem);
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  padding: 0 0 0 var(--page-pad-x);
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  height: clamp(3.8rem, 8vh, 5.75rem);
  width: auto;
  max-width: min(440px, 46vw);
  object-fit: contain;
}

.topbar__divider {
  width: 1px;
  height: 2.35rem;
  background: #d4d4d0;
  flex-shrink: 0;
}

.lang {
  position: relative;
  flex-shrink: 0;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.lang__caret {
  width: 0.7rem;
  height: 0.45rem;
}

.lang__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 30;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  min-width: 4.5rem;
  background: #fff;
  border: 1px solid #e4e4e0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.lang__menu button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.65rem;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.lang__menu button:hover,
.lang__menu button[aria-selected="true"] {
  background: #f3f3f1;
  color: var(--esa-green);
}

.topbar__nav {
  display: flex;
  align-items: stretch;
  gap: clamp(1.1rem, 2vw, 1.85rem);
  margin-left: clamp(0.5rem, 2vw, 1.75rem);
  margin-right: auto;
}

.topbar__nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 0.1rem;
  font-size: clamp(0.72rem, 1.05vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.topbar__nav a:hover {
  color: var(--esa-green);
}

.topbar__nav a[aria-current="page"] {
  color: var(--esa-green);
}

.topbar__nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--esa-green);
}

.topbar__panel {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
  padding: 0 1.35rem 0 3.5rem;
  background: var(--esa-green);
  color: #fff;
  clip-path: polygon(2.35rem 0, 100% 0, 100% 100%, 0 100%);
}

.topbar__contact,
.topbar__admin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.topbar__contact svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.topbar__contact:hover,
.topbar__admin:hover {
  opacity: 0.88;
}

.topbar__call {
  display: none;
}

.topbar__search-toggle {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--esa-green);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.topbar__search-toggle:hover {
  transform: scale(1.05);
}

.topbar__search-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
}

.topbar__search {
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem clamp(1rem, 2.5vw, 2.25rem);
  background: #f7f7f5;
  border-top: 1px solid #e8e8e4;
}

.topbar__search[hidden] {
  display: none;
}

.topbar__search input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  border: 1px solid #d8d8d4;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.topbar__search input:focus {
  outline: 2px solid var(--esa-green);
  outline-offset: 1px;
}

.topbar__search button[type="submit"] {
  padding: 0.8rem 1.25rem;
  background: var(--esa-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-btn {
  display: none;
  align-self: center;
  flex-shrink: 0;
  width: 3.15rem;
  height: 3.15rem;
  margin-right: 1rem;
  place-content: center;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.menu-btn svg {
  width: 1.7rem;
  height: 1.7rem;
}

.menu-btn .menu-btn__open,
.menu-btn .menu-btn__close {
  display: none;
}

.menu-btn .menu-btn__open {
  display: block;
}

.menu-btn[aria-expanded="true"] .menu-btn__open {
  display: none;
}

.menu-btn[aria-expanded="true"] .menu-btn__close {
  display: block;
}

/* ——— Body: left copy + right cards ——— */
.hero__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: clamp(6rem, 16vh, 11rem);
  padding-bottom: 0.15rem;
}

.hero__main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding-bottom: 0.15rem;
}

.hero__copy {
  max-width: none;
}

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 7.8vw, 8.15rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0.012em;
  word-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translate(14px, 22px);
  animation: rise-diag var(--hero-in-dur) var(--hero-ease) forwards;
}

.hero__title-line:nth-child(1) {
  margin-top: -0.16em;
  animation-delay: calc(var(--hero-beat) * 3);
}

.hero__title-line:nth-child(2) {
  margin-top: 0.12em;
  animation-delay: calc(var(--hero-beat) * 4);
}

.hero__title-line--accent {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  margin-top: 1.05em;
  padding: 0.12em 0 0.14em;
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  z-index: 0;
  opacity: 1;
  transform: none;
  animation: none;
}

.hero__accent-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 0.85em 0 0.42em;
  opacity: 0;
  animation: stripe-copy 0.7s cubic-bezier(0.16, 1, 0.3, 1)
    calc(var(--hero-beat) * 5.4) forwards;
}

.hero__stripe {
  --stripe-skew: -17deg;
  --stripe-overhang: calc(tan(17deg) * 0.9em);
  position: absolute;
  left: calc(-1 * var(--hero-pad-x));
  width: calc(100% + var(--hero-pad-x) + 0.55em);
  top: 0;
  bottom: 0;
  z-index: 0;
  overflow: visible;
  clip-path: polygon(0 0, 400% 0, 400% 100%, 0 100%);
  pointer-events: none;
}

.hero__stripe-inner {
  display: block;
  height: 100%;
  width: calc(100% + var(--stripe-overhang));
  margin-left: calc(-1 * var(--stripe-overhang));
  transform: skewX(var(--stripe-skew));
  transform-origin: left center;
}

.hero__stripe-solid {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--esa-green);
  transform: scaleX(0);
  transform-origin: left center;
  animation: stripe-slam 0.82s cubic-bezier(0.16, 1, 0.3, 1)
    calc(var(--hero-beat) * 5) forwards;
}

.hero__lead {
  margin: auto 0 0;
  max-width: 28rem;
  font-size: clamp(0.88rem, 1.55vh, 0.98rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
  opacity: 0;
  transform: translate(12px, 18px);
  animation: rise-diag var(--hero-in-dur) var(--hero-ease)
    calc(var(--hero-beat) * 7) forwards;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.55rem;
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translate(12px, 18px);
  animation: rise-diag var(--hero-in-dur) var(--hero-ease)
    calc(var(--hero-beat) * 6) forwards;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero__cta-go {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--esa-green);
  color: #fff;
}

.hero__cta-go svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* ——— Mobile menu ——— */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(5.5rem + env(safe-area-inset-top)) var(--page-pad-x)
    max(1.75rem, env(safe-area-inset-bottom));
  overflow: auto;
  color: var(--ink);
  background: #eef1e6;
  overscroll-behavior: contain;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  max-width: 28rem;
  margin-top: auto;
  padding-bottom: 0.5rem;
}

.mobile-menu__kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--esa-green);
}

.mobile-menu__kicker::before {
  content: "";
  width: 2.25rem;
  height: 3px;
  background: var(--esa-green);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  border-top: 1px solid rgba(48, 96, 0, 0.16);
}

.mobile-menu__nav a {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  min-height: 3.55rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(48, 96, 0, 0.16);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu__nav a span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--esa-green);
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a:active {
  color: var(--esa-green-deep);
}

.mobile-menu:not([hidden]) .mobile-menu__kicker,
.mobile-menu:not([hidden]) .mobile-menu__nav a,
.mobile-menu:not([hidden]) .mobile-menu__cta,
.mobile-menu:not([hidden]) .mobile-menu__place,
.mobile-menu:not([hidden]) .mobile-menu__langs {
  opacity: 0;
  animation: about-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-menu:not([hidden]) .mobile-menu__nav a:nth-child(1) { animation-delay: 0.06s; }
.mobile-menu:not([hidden]) .mobile-menu__nav a:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu:not([hidden]) .mobile-menu__nav a:nth-child(3) { animation-delay: 0.14s; }
.mobile-menu:not([hidden]) .mobile-menu__nav a:nth-child(4) { animation-delay: 0.18s; }
.mobile-menu:not([hidden]) .mobile-menu__nav a:nth-child(5) { animation-delay: 0.22s; }
.mobile-menu:not([hidden]) .mobile-menu__nav a:nth-child(6) { animation-delay: 0.26s; }
.mobile-menu:not([hidden]) .mobile-menu__cta { animation-delay: 0.32s; }
.mobile-menu:not([hidden]) .mobile-menu__place { animation-delay: 0.38s; }
.mobile-menu:not([hidden]) .mobile-menu__langs { animation-delay: 0.42s; }

.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  border-radius: 999px;
  background: var(--esa-green);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.mobile-menu__cta-go {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #fff;
  color: var(--esa-green);
}

.mobile-menu__cta-go svg {
  width: 0.95rem;
  height: 0.95rem;
}

.mobile-menu__place {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a6d60;
}

.mobile-menu__langs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.mobile-menu__langs button {
  min-height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8d80;
}

.mobile-menu__langs button + button::before {
  content: "/";
  margin-right: 0.55rem;
  font-weight: 600;
  color: #b3b6aa;
}

.mobile-menu__langs button[aria-selected="true"] {
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

body.menu-open .topbar {
  z-index: 50;
}

body.menu-open .operator {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-diag {
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

@keyframes bg-in {
  to {
    transform: scale(1.24) translate(-6%, 10%);
  }
}

@keyframes figure-in {
  from {
    opacity: 0;
    transform: translate3d(28px, 16px, 0) scale(1.04);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stripe-slam {
  0% {
    transform: scaleX(0);
  }
  72% {
    transform: scaleX(1.03);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes stripe-copy {
  0% {
    opacity: 0;
    transform: translate3d(-1.35rem, 0, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .topbar__nav a {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .topbar__panel {
    gap: 0.75rem;
    padding-left: 2.75rem;
    padding-right: 1rem;
  }

  .hero__title {
    font-size: clamp(2.95rem, 6.78vw, 5.5rem);
    max-width: none;
  }

  .hero__title-line:nth-child(1),
  .hero__title-line:nth-child(2) {
    font-size: 0.88em;
  }

  .hero__copy {
    max-width: none;
  }

  .hero__lead {
    max-width: 420px;
  }
}

@media (max-width: 980px) {
  html,
  body {
    overflow: auto;
    height: auto;
  }

  /* Jeden ľavý odstup pre všetky sekcie na mobile. */
  :root {
    --page-pad-x: max(1.5rem, env(safe-area-inset-left));
  }

  .hero {
    height: auto;
    min-height: 100dvh;
    overflow: hidden;
    /* Uložený stav: background: var(--esa-green); */
    background: #d6d6d2;
  }

  /* Väčšia figúra, posunutá nižšie — spodok ostáva za okrajom sekcie. */
  .hero__fg {
    inset: auto;
    top: 28%;
    left: 10%;
    right: -18%;
    bottom: -16%;
    z-index: 5;
    pointer-events: none;
  }

  .hero__fg picture,
  .hero__fg img {
    width: 100%;
    height: 100%;
  }

  .hero__fg img {
    object-fit: cover;
    object-position: 78% 100%;
    transform: none;
    will-change: auto;
  }

  .hero__fg img {
    animation: figure-in 1.15s var(--hero-ease) 0.12s both;
  }

  .hero__veil {
    display: none;
  }

  .hero__frame {
    height: auto;
    min-height: 0;
    z-index: 4;
    padding: 0 var(--page-pad-x) 1.35rem;
  }

  .topbar {
    padding-top: env(safe-area-inset-top);
    background: #fff;
    border-bottom: 1px solid #e8e8e4;
  }

  .topbar__nav,
  .topbar__panel,
  .topbar__divider,
  .lang {
    display: none;
  }

  .topbar__inner {
    align-items: center;
    min-height: 6.5rem;
    gap: 0.7rem;
    padding: 0 var(--page-pad-x);
  }

  .topbar__left {
    min-width: 0;
    padding: 0.7rem 0;
    gap: 0;
  }

  .brand__logo {
    height: 4.45rem;
    max-width: min(320px, 58vw);
  }

  .topbar__call {
    display: grid;
    place-items: center;
    width: 2.95rem;
    height: 2.95rem;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: var(--esa-green);
    color: #fff;
  }

  .topbar__call svg {
    width: 1.32rem;
    height: 1.32rem;
  }

  .menu-btn {
    display: grid;
    width: 2.95rem;
    height: 2.95rem;
    margin: 0;
  }

  .menu-btn svg {
    width: 1.58rem;
    height: 1.58rem;
  }

  .hero__body {
    gap: 1.15rem;
    padding-top: 1.2rem;
    min-height: calc(100dvh - 7.75rem);
  }

  .hero__main {
    min-height: calc(100dvh - 7.75rem);
    justify-content: center;
    gap: 1.25rem;
    z-index: 2;
    padding-bottom: 22vh;
  }

  .hero__copy {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero__lead {
    display: none;
  }

  .hero__title {
    align-items: flex-start;
    font-size: clamp(2.35rem, 10.2vw, 3.75rem);
    max-width: 100%;
    line-height: 0.88;
    letter-spacing: 0.006em;
    text-align: left;
  }

  .hero__title-line {
    white-space: nowrap;
  }

  .hero__title-line:nth-child(1),
  .hero__title-line:nth-child(2) {
    font-size: 1em;
  }

  .hero__title-line--accent {
    align-self: flex-start;
    margin-top: 0.95em;
    font-size: 0.52em;
    white-space: nowrap;
  }

  .hero__cta {
    margin-top: 1.5rem;
    padding: 0.38rem 0.42rem 0.38rem 1.2rem;
    font-size: 0.96rem;
  }

  .hero__cta-go {
    width: 2.3rem;
    height: 2.3rem;
  }

  .hero__cta-go svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  .hero__cta,
  .about__cta,
  .projects__cta,
  .services__cta,
  .faq__cta,
  .project-panel__cta {
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad-x: max(1.35rem, env(safe-area-inset-left));
  }

  .hero {
    min-height: 100dvh;
  }

  .hero__fg {
    top: 24%;
    left: 0;
    right: -22%;
    bottom: -18%;
  }

  .hero__fg img {
    object-position: 82% 100%;
  }

  .hero__frame {
    padding: 0 var(--page-pad-x) 1.1rem;
  }

  .topbar__inner {
    min-height: 6rem;
  }

  .brand__logo {
    height: 3.9rem;
    max-width: min(280px, 56vw);
  }

  .topbar__call,
  .menu-btn {
    width: 2.75rem;
    height: 2.75rem;
  }

  .hero__body {
    min-height: calc(100dvh - 7.25rem);
    gap: 0.85rem;
    padding-top: 1rem;
  }

  .hero__main {
    min-height: calc(100dvh - 7.25rem);
    justify-content: center;
    padding-bottom: 24vh;
  }

  .hero__copy {
    max-width: none;
  }

  .hero__title {
    font-size: clamp(2.15rem, 10.6vw, 2.95rem);
    letter-spacing: 0.006em;
  }

  .hero__cta {
    margin-top: 1.4rem;
    font-size: 0.94rem;
  }
}

/* ——— About / Who we are ——— */
.about {
  --about-bg: #fdfdfd;
  --about-accent: #1e3a5f;
  --about-dark: #1a1f16;
  --about-pad-x: var(--page-pad-x);
  --about-inner-max: 1280px;
  --about-bleed-left: calc(
    var(--about-pad-x) +
      max(0px, (100vw - var(--about-inner-max) - 2 * var(--about-pad-x)) / 2)
  );
  background: var(--about-bg);
  color: var(--ink);
  padding: clamp(8rem, 16vh, 12rem) 0 0 var(--about-pad-x);
  overflow: hidden;
}

.about__inner {
  max-width: none;
  margin: 0;
  background: var(--about-bg);
  display: grid;
  grid-template-columns: minmax(18rem, 36rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.section-marks {
  --marks-h: clamp(2.4rem, 4vw, 3.4rem);
  --marks-gap: 0.34rem;
  --marks-skew: -17deg;
  --marks-overhang: calc(tan(17deg) * var(--marks-h));
  position: relative;
  z-index: 6;
  width: min(46rem, 72vw);
  height: var(--marks-h);
  margin-top: calc(var(--marks-h) * -0.22);
  margin-bottom: calc(var(--marks-h) * -0.78);
  margin-left: auto;
  transform: scaleX(-1);
  overflow: visible;
  clip-path: polygon(0 0, 400% 0, 400% 100%, 0 100%);
  pointer-events: none;
}

.section-marks__inner {
  display: flex;
  align-items: stretch;
  gap: var(--marks-gap);
  height: 100%;
  width: calc(100% + var(--marks-overhang) + 3.5rem);
  margin-left: calc(-1 * var(--marks-overhang));
  padding-right: 3.5rem;
  transform: skewX(var(--marks-skew));
  transform-origin: left center;
}

.section-marks__solid,
.section-marks__tail > span {
  display: block;
  height: 100%;
  background: color-mix(in srgb, var(--esa-green), #000 16%);
}

.section-marks__solid {
  flex: 1 1 auto;
  min-width: 0;
}

.section-marks__tail {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: var(--marks-gap);
}

.section-marks__tail > span:nth-child(1) { width: 1.85rem; }
.section-marks__tail > span:nth-child(2) { width: 1.55rem; }
.section-marks__tail > span:nth-child(3) { width: 1.28rem; }
.section-marks__tail > span:nth-child(4) { width: 1.05rem; }
.section-marks__tail > span:nth-child(5) { width: 0.86rem; }
.section-marks__tail > span:nth-child(6) { width: 0.7rem; }
.section-marks__tail > span:nth-child(7) { width: 0.56rem; }
.section-marks__tail > span:nth-child(8) { width: 0.44rem; }
.section-marks__tail > span:nth-child(9) { width: 0.34rem; }
.section-marks__tail > span:nth-child(10) { width: 0.26rem; }
.section-marks__tail > span:nth-child(11) { width: 0.2rem; }
.section-marks__tail > span:nth-child(n + 9) {
  display: none;
}

.about__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 0;
  max-width: 32rem;
  height: 0;
  min-height: 100%;
  padding: clamp(0.4rem, 1.4vh, 1rem) 0 clamp(1.25rem, 3vh, 2rem);
}

.about__intro {
  min-width: 0;
}

.about__kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--esa-green);
}

.about__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.about__lead {
  margin: 1rem 0 0;
  max-width: 34ch;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.5;
  color: #4a4a46;
}

.about__facts {
  list-style: none;
  margin: 0;
  padding: 1.15rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.1rem, 2.4vw, 2.25rem);
  width: 100%;
  border-top: 1px solid rgba(61, 61, 61, 0.12);
}

.about__facts span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f8f88;
}

.about__facts strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.about__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.about__cta:hover {
  color: var(--esa-green);
}

.about__cta-go {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--esa-green);
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease),
    box-shadow 0.25s ease;
}

.about__cta-go svg {
  width: 0.95rem;
  height: 0.95rem;
}

.about__cta:hover .about__cta-go {
  background: #fff;
  color: var(--esa-green);
  box-shadow: inset 0 0 0 1.5px var(--esa-green);
  transform: translateX(2px);
}

.about__intro,
.about__facts,
.about__cta {
  opacity: 0;
  transform: translate3d(0, 0.7rem, 0);
}

.about.is-in .about__intro {
  animation: about-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.about.is-in .about__facts {
  animation: about-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.26s forwards;
}

.about.is-in .about__cta {
  animation: about-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes about-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.about__photo {
  margin: 0;
  min-width: 0;
  width: 85%;
  justify-self: end;
  overflow: hidden;
  aspect-ratio: 1762 / 1020;
}

.about__video {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  border: 0;
  object-fit: cover;
  object-position: right top;
  background: var(--about-bg);
  pointer-events: none;
}

@media (max-width: 980px) {
  .about {
    padding: 7rem var(--page-pad-x) 0;
  }

  .about__title {
    font-size: clamp(2.15rem, 9vw, 3.1rem);
  }

  .about__cta {
    white-space: normal;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about__copy {
    max-width: none;
    height: auto;
    min-height: 0;
    gap: 1.5rem;
    padding: 0 0 0.25rem;
  }

  .about__lead {
    max-width: 46ch;
  }

  .about__photo {
    width: calc(100% + var(--page-pad-x));
    max-width: none;
    justify-self: end;
    margin-right: calc(-1 * var(--page-pad-x));
    aspect-ratio: 1762 / 1040;
  }

  .about__video {
    width: 100%;
    height: 100%;
    object-position: right top;
  }
}

@media (max-width: 560px) {
  .about__inner {
    gap: 1.1rem;
  }
}

/* ——— Reel / služby okolo fotky ——— */
.reel {
  --reel-pad-x: var(--page-pad-x);
  --reel-bg: #e7eadf;
  --reel-rule: rgba(48, 96, 0, 0.18);
  position: relative;
  height: auto;
  background: var(--reel-bg);
}

/* Svetlo v strede musí byť priamo na pozadí stage — fotka sa naň prelína
   cez multiply, takže akýkoľvek stacking context medzi nimi blend izoluje. */
.reel__stage {
  position: relative;
  min-height: 118vh;
  min-height: 118dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(0.6rem, 1.6vh, 1.1rem);
  padding: clamp(10.5rem, 20vh, 15rem) var(--reel-pad-x) clamp(14rem, 26vh, 20rem);
  color: var(--ink);
  background-color: var(--reel-bg);
  background-image: radial-gradient(
      ellipse 58% 62% at 50% 58%,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.55) 45%,
      rgba(255, 255, 255, 0) 78%
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(30, 45, 0, 0.06));
}

.reel__head {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 3rem);
  padding-bottom: clamp(0.9rem, 2vh, 1.5rem);
  border-bottom: 1px solid var(--reel-rule);
}

.reel__kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--esa-green);
}

.reel__kicker::before {
  content: "";
  width: 2.25rem;
  height: 3px;
  background: var(--esa-green);
}

.reel__title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.reel__note {
  margin: 0;
  max-width: 34ch;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  color: #5f6155;
}

.reel__note span {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.reel__scene {
  position: relative;
  min-height: 42rem;
  margin-top: 5.25rem;
}

.reel__photo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(96vw, 94vh);
  max-width: none;
  height: auto;
  margin: 0;
  transform: translate(-50%, -50%);
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.reel__orbit {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.reel__service {
  position: absolute;
  width: min(15.5rem, 24vw);
}

.reel__icon {
  position: relative;
  display: block;
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.95rem;
  color: var(--esa-green);
  transition: transform 0.35s var(--ease);
}

.reel__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Krátky zelený vlások pod ikonkou oddelí ikonu od názvu služby. */
.reel__icon::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.75rem;
  height: 2px;
  background: var(--esa-green);
  transition: width 0.35s var(--ease);
}

.reel__service--ne .reel__icon,
.reel__service--e .reel__icon,
.reel__service--se .reel__icon {
  margin-left: auto;
}

.reel__service--ne .reel__icon::before,
.reel__service--e .reel__icon::before,
.reel__service--se .reel__icon::before {
  left: auto;
  right: 0;
}

.reel__service strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.95vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}

.reel__service p {
  margin: 0.45rem 0 0;
  max-width: 22ch;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #5c5f52;
}

.reel__service:hover .reel__icon {
  transform: translateY(-3px);
}

.reel__service:hover .reel__icon::before {
  width: 3.35rem;
}

.reel__service--nw { top: 2%; left: 16%; }
.reel__service--ne { top: 2%; right: 16%; text-align: right; }
.reel__service--w { top: 36%; left: 6%; }
.reel__service--e { top: 36%; right: 6%; text-align: right; }
.reel__service--sw { bottom: 2%; left: 16%; }
.reel__service--se { bottom: 2%; right: 16%; text-align: right; }

.reel__service--ne p,
.reel__service--e p,
.reel__service--se p {
  margin-left: auto;
}

.reel__head,
.reel__service {
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
}

.reel.is-in .reel__head {
  animation: about-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.reel.is-in .reel__service--nw { animation: about-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.16s forwards; }
.reel.is-in .reel__service--ne { animation: about-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards; }
.reel.is-in .reel__service--w { animation: about-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards; }
.reel.is-in .reel__service--e { animation: about-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards; }
.reel.is-in .reel__service--sw { animation: about-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards; }
.reel.is-in .reel__service--se { animation: about-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.46s forwards; }

.reel__pager {
  display: none;
}

@media (max-width: 980px) {
  .reel__stage {
    min-height: 0;
    height: auto;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    padding-top: clamp(3.5rem, 8vh, 5rem);
    padding-bottom: clamp(3.5rem, 8vh, 5rem);
  }

  .reel__title {
    font-size: clamp(2.1rem, 8.6vw, 3.2rem);
    max-width: none;
  }

  .reel__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding-bottom: 1.15rem;
  }

  .reel__note {
    max-width: 44ch;
    text-align: left;
  }

  .reel__scene {
    position: relative;
    display: grid;
    gap: 1.35rem;
    min-height: 0;
    margin-top: 0;
  }

  .reel__photo {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 30rem);
    max-width: none;
    transform: none;
    margin: 0 auto;
  }

  /* Na mobile z orbitu robíme horizontálny karusel. */
  .reel__orbit {
    position: relative;
    inset: auto;
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-pad-x);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--page-pad-x));
    padding-inline: var(--page-pad-x);
  }

  .reel__orbit::-webkit-scrollbar {
    display: none;
  }

  .reel__service,
  .reel__service--nw,
  .reel__service--ne,
  .reel__service--w,
  .reel__service--e,
  .reel__service--sw,
  .reel__service--se {
    position: static;
    width: auto;
    transform: none;
    text-align: left;
  }

  .reel__service {
    flex: 0 0 min(78%, 19.5rem);
    display: grid;
    grid-template-columns: 2.9rem minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon text";
    column-gap: 0.95rem;
    row-gap: 0.3rem;
    align-items: start;
    min-height: 9.75rem;
    padding: 1.15rem 1.2rem 1.25rem;
    border: 1px solid rgba(48, 96, 0, 0.14);
    background: rgba(255, 255, 255, 0.68);
    scroll-snap-align: start;
  }

  .reel__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
  }

  .reel__dot {
    display: grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .reel__dot::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(48, 96, 0, 0.22);
    transition: width 0.25s var(--ease), background 0.25s var(--ease);
  }

  .reel__dot.is-active::after {
    width: 1.15rem;
    background: var(--esa-green);
  }

  .reel__service,
  .reel.is-in .reel__service--nw,
  .reel.is-in .reel__service--ne,
  .reel.is-in .reel__service--w,
  .reel.is-in .reel__service--e,
  .reel.is-in .reel__service--sw,
  .reel.is-in .reel__service--se {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .reel__service strong {
    grid-area: title;
    font-size: 1.18rem;
  }

  .reel__service p {
    grid-area: text;
    margin: 0;
    margin-left: 0;
    max-width: none;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .reel__icon {
    grid-area: icon;
    align-self: start;
    width: 2.9rem;
    height: 2.9rem;
    margin: 0;
    padding: 0;
  }

  .reel__icon svg {
    width: 2.35rem;
    height: 2.35rem;
  }

  .reel__icon::before,
  .reel__icon::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel__head,
  .reel__service {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ——— Stats / numbers ——— */
.stats {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: #fff;
  background: #0a0a0a;
  padding-block: clamp(6rem, 13vh, 9.5rem);
}

.stats__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stats__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.48);
  pointer-events: none;
}

.stats__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: start;
  padding: 0 var(--page-pad-x) 0;
  box-sizing: border-box;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: var(--reach, 50%);
  min-height: 0;
  margin: 0;
  padding-top: 0;
}

.stats__line {
  display: block;
  width: 1.5px;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.88);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.stats__fact {
  flex-shrink: 0;
  margin-top: 0.9rem;
  padding-bottom: 0.15rem;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stats__value {
  display: block;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.stats__value sup {
  font-size: 0.55em;
  top: -0.45em;
}

.stats__label {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

.stats__note {
  margin: 0.85rem 0 0;
  max-width: 22ch;
  font-size: clamp(0.72rem, 1.05vw, 0.84rem);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.stats.is-in .stats__item:nth-child(1) .stats__line {
  transform: scaleY(1);
  transition-delay: 0.04s;
}

.stats.is-in .stats__item:nth-child(1) .stats__fact {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.58s;
}

.stats.is-in .stats__item:nth-child(2) .stats__line {
  transform: scaleY(1);
  transition-delay: 0.32s;
}

.stats.is-in .stats__item:nth-child(2) .stats__fact {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.88s;
}

.stats.is-in .stats__item:nth-child(3) .stats__line {
  transform: scaleY(1);
  transition-delay: 0.6s;
}

.stats.is-in .stats__item:nth-child(3) .stats__fact {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.18s;
}

.stats.is-in .stats__item:nth-child(4) .stats__line {
  transform: scaleY(1);
  transition-delay: 0.88s;
}

.stats.is-in .stats__item:nth-child(4) .stats__fact {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.48s;
}

.stats__cta {
  position: absolute;
  top: auto;
  bottom: 11%;
  right: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1.45rem 2.15rem 1.45rem 3.35rem;
  background: var(--esa-green);
  color: #fff;
  font-size: clamp(0.95rem, 1.35vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(2.35rem 0, 100% 0, 100% 100%, 0 100%);
  transform: translateX(100%);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.55s,
    background 0.25s ease;
}

.stats.is-in .stats__cta {
  transform: translateX(0);
}

.stats__cta:hover {
  background: var(--esa-green-deep);
}

.stats__cta-arrow {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.stats__cta-arrow svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 900px) {
  .stats {
    display: flex;
    flex-direction: column;
    min-height: 118dvh;
    height: auto;
    padding: 7.25rem 0 1rem;
  }

  .stats__inner {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 0;
    padding: 0;
    align-items: stretch;
  }

  .stats__item,
  .stats__item:nth-child(1),
  .stats__item:nth-child(2),
  .stats__item:nth-child(3),
  .stats__item:nth-child(4) {
    height: auto;
    --reach: auto;
    width: min(74%, 17.5rem);
    flex-direction: row;
    align-items: flex-start;
  }

  .stats__item:nth-child(1) {
    align-self: flex-start;
    margin-top: 0;
    margin-bottom: 1.1rem;
  }

  .stats__item:nth-child(2) {
    align-self: flex-end;
    flex-direction: row-reverse;
    margin-top: 2.6rem;
    margin-bottom: 1.4rem;
  }

  .stats__item:nth-child(3) {
    align-self: flex-start;
    margin-top: 2.1rem;
    margin-bottom: 1.2rem;
  }

  .stats__item:nth-child(4) {
    align-self: flex-end;
    flex-direction: row-reverse;
    margin-top: 2.8rem;
    margin-bottom: 0;
  }

  .stats__line {
    flex: none;
    width: clamp(3.75rem, 22vw, 5.5rem);
    height: 1.5px;
    margin-top: 1.35rem;
    transform: scaleX(0);
    transform-origin: left center;
  }

  .stats__item:nth-child(even) .stats__line {
    transform-origin: right center;
  }

  .stats.is-in .stats__item:nth-child(1) .stats__line,
  .stats.is-in .stats__item:nth-child(2) .stats__line,
  .stats.is-in .stats__item:nth-child(3) .stats__line,
  .stats.is-in .stats__item:nth-child(4) .stats__line {
    transform: scaleX(1);
  }

  .stats__fact {
    min-width: 0;
    margin-top: 0;
    padding-inline: 0.95rem 0.4rem;
    transform: translateX(-12px);
  }

  .stats__item:nth-child(even) .stats__fact {
    padding-inline: 0.4rem 0.95rem;
    text-align: right;
    transform: translateX(12px);
  }

  .stats__value {
    font-size: clamp(2.55rem, 11vw, 3.35rem);
  }

  .stats__label {
    margin-top: 0.45rem;
    font-size: clamp(0.98rem, 3.4vw, 1.15rem);
  }

  .stats__note {
    display: none;
  }

  .stats.is-in .stats__item:nth-child(1) .stats__fact,
  .stats.is-in .stats__item:nth-child(2) .stats__fact,
  .stats.is-in .stats__item:nth-child(3) .stats__fact,
  .stats.is-in .stats__item:nth-child(4) .stats__fact {
    transform: none;
  }

  .stats__cta {
    position: relative;
    bottom: auto;
    right: auto;
    width: auto;
    max-width: calc(100% - 2 * var(--page-pad-x));
    margin: auto auto 3.75rem;
    padding: 0.48rem 0.85rem;
    clip-path: none;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    transform: translateY(18px);
    opacity: 0;
    transition:
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.55s,
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.55s,
      background 0.25s ease;
  }

  .stats.is-in .stats__cta {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .stats {
    min-height: 128dvh;
    padding: 7.75rem 0 0.75rem;
  }

  .stats__item:nth-child(1) {
    margin-bottom: 0.85rem;
  }

  .stats__item:nth-child(2) {
    margin-top: 3.1rem;
    margin-bottom: 1.15rem;
  }

  .stats__item:nth-child(3) {
    margin-top: 2.4rem;
    margin-bottom: 1rem;
  }

  .stats__item:nth-child(4) {
    margin-top: 3.35rem;
  }

  .stats__cta {
    margin-bottom: 4.5rem;
    padding: 0.42rem 0.75rem;
    font-size: 0.7rem;
  }

  .stats__cta-arrow {
    width: 1.15rem;
    height: 1.15rem;
  }

  .stats__cta-arrow svg {
    width: 0.82rem;
    height: 0.82rem;
  }

  .stats__value {
    font-size: clamp(2.7rem, 13vw, 3.5rem);
  }

  .stats__label {
    font-size: clamp(1.02rem, 3.8vw, 1.18rem);
  }

  .stats__line {
    width: clamp(4.15rem, 24vw, 5.9rem);
    margin-top: 1.45rem;
  }
}

/* ——— Services / inžinierska činnosť ——— */
.services {
  background: #eef1e6;
  color: var(--ink);
  padding: clamp(7.5rem, 16vh, 12rem) var(--page-pad-x)
    clamp(8rem, 17vh, 12.5rem);
}

.services__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(1.75rem, 3.5vh, 2.5rem);
  margin-bottom: clamp(2rem, 4vh, 3rem);
  border-bottom: 1px solid rgba(48, 96, 0, 0.16);
}

.services__kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--esa-green);
}

.services__kicker::before {
  content: "";
  width: 2.25rem;
  height: 3px;
  background: var(--esa-green);
}

.services__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.services__cta {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  border-radius: 999px;
  background: var(--esa-green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.services__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(36, 72, 0, 0.22);
}

.services__cta-go {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #fff;
  color: var(--esa-green);
}

.services__cta-go svg {
  width: 0.9rem;
  height: 0.9rem;
}

.services__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(48, 96, 0, 0.14);
  border-left: 1px solid rgba(48, 96, 0, 0.14);
}

.service-step {
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-right: 1px solid rgba(48, 96, 0, 0.14);
  border-bottom: 1px solid rgba(48, 96, 0, 0.14);
  background: rgba(255, 255, 255, 0.38);
}

.service-step__num {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--esa-green);
}

.service-step h3 {
  margin: 0 0 0.7rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 0.98;
  text-transform: uppercase;
}

.service-step p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5c5f52;
}

.services__pager {
  display: none;
}

@media (max-width: 980px) {
  .services {
    padding: 4.25rem var(--page-pad-x) 4.5rem;
  }

  .services__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 1.35rem;
    margin-bottom: 1.65rem;
  }

  .services__title {
    font-size: clamp(2.15rem, 8.6vw, 3.2rem);
  }

  .services__cta {
    margin-left: 0;
  }

  .services__steps {
    display: flex;
    align-items: stretch;
    grid-template-columns: none;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-pad-x);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--page-pad-x));
    padding-inline: var(--page-pad-x);
    border: 0;
  }

  .services__steps::-webkit-scrollbar {
    display: none;
  }

  .service-step {
    flex: 0 0 min(78%, 19.5rem);
    min-height: 17.5rem;
    padding: 1.2rem 1.2rem 1.3rem;
    border: 1px solid rgba(48, 96, 0, 0.14);
    background: rgba(255, 255, 255, 0.68);
    scroll-snap-align: start;
  }

  .services__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    margin-top: 0.85rem;
  }

  .services__dot {
    display: grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .services__dot::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(48, 96, 0, 0.22);
    transition: width 0.25s var(--ease), background 0.25s var(--ease);
  }

  .services__dot.is-active::after {
    width: 1.15rem;
    background: var(--esa-green);
  }

  .service-step__num {
    margin-bottom: 0.7rem;
  }

  .service-step h3 {
    max-width: none;
    font-size: 1.3rem;
  }

  .service-step p {
    max-width: none;
    font-size: 0.88rem;
  }
}

/* ——— Projects accordion ——— */
.projects {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: clamp(9.5rem, 20vh, 15rem) var(--page-pad-x)
    clamp(10rem, 21vh, 15.5rem);
  overflow: visible;
  background-color: var(--esa-green);
  background-image: url("../images/projekty.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.projects::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(36, 72, 0, 0.42) 0%,
    rgba(48, 96, 0, 0.48) 48%,
    rgba(28, 56, 0, 0.54) 100%
  );
  pointer-events: none;
}

.projects__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 56px rgba(8, 16, 0, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.projects__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(1.5rem, 3.2vh, 2.25rem);
}

.projects__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.projects__tag {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.projects__tag::before {
  content: "";
  width: 2.25rem;
  height: 3px;
  background: #fff;
}

.projects__title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.projects__title.is-reveal .projects__word {
  color: rgba(255, 255, 255, calc(0.2 + var(--p, 0) * 0.8));
}

.projects__cta,
.project-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.projects__cta:hover,
.project-panel__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.projects__cta-go,
.project-panel__cta-go {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--esa-green-bright);
  color: var(--ink);
}

.projects__cta-go svg,
.project-panel__cta-go svg {
  width: 0.9rem;
  height: 0.9rem;
}

.projects__rail {
  display: flex;
  gap: 0.75rem;
  height: clamp(420px, 58vh, 560px);
}

.project-panel {
  position: relative;
  flex: 0.7 1 0;
  min-width: 4.25rem;
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s var(--ease);
}

.project-panel:focus-visible {
  outline: 2px solid var(--esa-green-bright);
  outline-offset: 3px;
}

.project-panel.is-active {
  flex: 4.8 1 0;
  cursor: default;
  box-shadow: 0 26px 60px rgba(6, 14, 0, 0.32);
}

.project-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.project-panel.is-active .project-panel__img {
  transform: scale(1.04);
}

.project-panel__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 26%,
    rgba(0, 0, 0, 0.28) 52%,
    rgba(0, 0, 0, 0) 74%
  );
  transition: background 0.4s ease, opacity 0.4s ease;
}

.project-panel:not(.is-active) .project-panel__veil {
  background: rgba(0, 0, 0, 0.62);
}

.project-panel__index {
  position: absolute;
  top: 1.2rem;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  transition: color 0.35s ease;
}

.project-panel.is-active .project-panel__index {
  left: 1.5rem;
  right: auto;
  text-align: left;
  color: var(--esa-green-bright);
}

.project-panel__label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.35rem;
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.project-panel.is-active .project-panel__label {
  opacity: 0;
}

.project-panel__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.35rem 1.4rem 1.35rem;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-panel.is-active .project-panel__content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.12s;
}

.project-panel__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.project-panel__meta li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.project-panel__meta li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--esa-green-bright);
}

.project-panel__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 0.95;
  text-transform: uppercase;
}

.project-panel__text {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(0.88rem, 1.2vw, 0.98rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 980px) {
  .section-marks {
    --marks-h: 2rem;
    width: min(22rem, 88vw);
    margin-top: calc(var(--marks-h) * -0.22);
    margin-bottom: calc(var(--marks-h) * -0.78);
  }

  .section-marks__tail > span:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 900px) {
  .projects {
    padding: 4.5rem var(--page-pad-x) 5rem;
  }

  .projects__inner {
    padding: 1.15rem 1rem 1.2rem;
    border-radius: 20px;
  }

  .projects__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 1.35rem;
  }

  .projects__title {
    max-width: none;
    font-size: clamp(2.1rem, 8.4vw, 3rem);
  }

  .project-panel__index {
    top: 50%;
    left: auto;
    right: 1.15rem;
    text-align: right;
    transform: translateY(-50%);
  }

  .project-panel.is-active .project-panel__index {
    top: 1rem;
    left: 1.15rem;
    right: auto;
    transform: none;
  }

  .project-panel__meta {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .projects__rail {
    flex-direction: column;
    height: auto;
    gap: 0.65rem;
  }

  .project-panel,
  .project-panel.is-active {
    flex: none;
    min-width: 0;
  }

  .project-panel {
    min-height: 4.25rem;
    border-radius: 16px;
  }

  .project-panel.is-active {
    min-height: 21.5rem;
  }

  .project-panel__label {
    writing-mode: horizontal-tb;
    transform: none;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.1rem;
    font-size: 0.95rem;
  }

  .project-panel.is-active .project-panel__label {
    opacity: 0;
  }

  .project-panel:not(.is-active) .project-panel__content {
    display: none;
  }

  .project-panel__content {
    padding: 1.1rem 1.15rem 1.15rem;
  }

  .project-panel__text {
    max-width: none;
  }
}

/* ——— FAQ / Q&A ——— */
.faq {
  background: #f3f4ee;
  color: var(--ink);
  padding: clamp(7.5rem, 16vh, 12rem) var(--page-pad-x)
    clamp(8rem, 17vh, 12.5rem);
}

.faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: clamp(1.25rem, 4vh, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.faq__kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--esa-green);
}

.faq__kicker::before {
  content: "";
  width: 2.25rem;
  height: 3px;
  background: var(--esa-green);
}

.faq__title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.faq__lead {
  margin: 0;
  max-width: 32ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #5c5f52;
}

.faq__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.25rem;
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  border-radius: 999px;
  background: var(--esa-green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(36, 72, 0, 0.22);
}

.faq__cta-go {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #fff;
  color: var(--esa-green);
}

.faq__cta-go svg {
  width: 0.9rem;
  height: 0.9rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  counter-reset: faq;
  border-top: 1px solid rgba(48, 96, 0, 0.16);
}

.faq__item {
  border-bottom: 1px solid rgba(48, 96, 0, 0.16);
}

.faq__question {
  list-style: none;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.15rem;
  padding: 1.45rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s ease;
}

.faq__question::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--esa-green);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: "";
}

.faq__question:hover {
  color: var(--esa-green-deep);
}

.faq__icon {
  position: relative;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(48, 96, 0, 0.22);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--esa-green);
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
}

.faq__icon::before {
  width: 0.8rem;
  height: 1.5px;
}

.faq__icon::after {
  width: 1.5px;
  height: 0.8rem;
}

.faq__item[open] .faq__icon {
  background: var(--esa-green);
  border-color: var(--esa-green);
}

.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after {
  background: #fff;
}

.faq__item[open] .faq__icon::after {
  opacity: 0;
}

.faq__item[open] .faq__question {
  color: var(--esa-green-deep);
}

.faq__answer {
  padding: 0 0 1.45rem 3.55rem;
  max-width: 52ch;
}

.faq__answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5c5f52;
}

@media (max-width: 900px) {
  .faq {
    padding: 4.5rem var(--page-pad-x) 5rem;
  }

  .faq__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq__intro {
    position: relative;
    top: auto;
  }

  .faq__title {
    max-width: none;
    font-size: clamp(2.15rem, 8.6vw, 3.2rem);
  }

  .faq__lead {
    max-width: none;
  }

  .faq__question {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.7rem 0.85rem;
    padding: 1.2rem 0;
    font-size: clamp(1.08rem, 4.4vw, 1.28rem);
  }

  .faq__icon {
    width: 2rem;
    height: 2rem;
  }

  .faq__answer {
    padding: 0 0 1.2rem 2.85rem;
    max-width: none;
  }
}

/* ——— Footer ——— */
.footer {
  position: relative;
  background: #0e100c;
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(4.5rem, 10vh, 7rem) var(--page-pad-x)
    clamp(1.75rem, 4vh, 2.5rem);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--esa-green);
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 0.85fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__logo {
  display: inline-block;
}

.footer__logo img {
  display: block;
  height: clamp(2.6rem, 5vh, 3.25rem);
  width: auto;
  background: #fff;
  padding: 0.45rem 0.65rem;
}

.footer__claim {
  margin: 1.15rem 0 0;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.footer__heading {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.footer__links,
.footer__details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a,
.footer__details a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.footer__links a:hover,
.footer__details a:hover,
.footer__credit a:hover {
  color: var(--esa-green-bright);
}

.footer__details li {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
}

.footer__copy,
.footer__credit {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 980px) {
  .footer {
    padding: 3.25rem var(--page-pad-x)
      calc(6.75rem + env(safe-area-inset-bottom, 0px));
  }

  .footer__top {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .footer__brand,
  .footer__nav {
    display: none;
  }

  .footer__contact {
    padding: 0 0 0.35rem;
    border-top: 0;
    text-align: center;
  }

  .footer__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0 0 1.05rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--esa-green-bright);
  }

  .footer__heading::before,
  .footer__heading::after {
    content: "";
    width: 1.5rem;
    height: 1px;
    background: var(--esa-green);
  }

  .footer__details {
    align-items: center;
    gap: 0.55rem;
  }

  .footer__phone a,
  .footer__details a[href^="tel"] {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 7vw, 2.15rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #fff;
  }

  .footer__mail a,
  .footer__details a[href^="mailto"] {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: underline;
    text-underline-offset: 0.22em;
    text-decoration-color: rgba(255, 255, 255, 0.28);
  }

  .footer__place,
  .footer__details li:not(:has(a)) {
    margin-top: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.58);
  }

  .footer__ids {
    margin-top: 0.15rem;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.34);
  }

  .footer__nav {
    padding-top: 1.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer__nav + .footer__nav {
    padding-top: 1.45rem;
  }

  .footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 1rem;
  }

  .footer__links a {
    display: block;
    padding: 0.42rem 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.72);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1.6rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .footer__copy,
  .footer__credit {
    font-size: 0.7rem;
  }
}

/* ——— Fixed operator ——— */
.operator {
  --op-bg: var(--esa-green);
  --op-fg: #fff;
  --op-muted: rgba(255, 255, 255, 0.78);
  --op-icon-bg: rgba(255, 255, 255, 0.16);
  --op-ring: rgba(18, 20, 16, 0.14);
  position: fixed;
  left: clamp(0.85rem, 2vw, 1.35rem);
  right: auto;
  bottom: clamp(1rem, 3.5vh, 1.75rem);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  border-radius: 999px;
  background: var(--op-bg);
  color: var(--op-fg);
  box-shadow:
    0 0 0 1px var(--op-ring),
    0 14px 32px rgba(10, 12, 8, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-1.35rem, 0.85rem, 0) scale(0.94);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    visibility 0.7s;
}

.operator.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.operator.is-visible:hover {
  transform: translate3d(0, -2px, 0) scale(1.02);
}

.operator[data-theme="light"] {
  --op-bg: var(--esa-green);
  --op-fg: #fff;
  --op-muted: rgba(255, 255, 255, 0.8);
  --op-icon-bg: rgba(255, 255, 255, 0.16);
  --op-ring: rgba(48, 96, 0, 0.18);
}

.operator[data-theme="dark"],
.operator[data-theme="green"] {
  --op-bg: #fff;
  --op-fg: var(--esa-green);
  --op-muted: rgba(61, 61, 61, 0.72);
  --op-icon-bg: rgba(48, 96, 0, 0.1);
  --op-ring: rgba(255, 255, 255, 0.55);
}

.operator[data-theme="dark"] {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 14px 32px rgba(0, 0, 0, 0.35);
}

.operator[data-theme="green"] {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 14px 32px rgba(0, 0, 0, 0.22);
}

.operator__dot {
  position: absolute;
  top: 0.55rem;
  left: 2.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #6aab22;
  box-shadow: 0 0 0 2px var(--op-bg);
  animation: operator-pulse 1.8s ease infinite;
}

.operator__icon {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: var(--op-icon-bg);
  color: var(--op-fg);
  flex-shrink: 0;
}

.operator__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.operator__copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding-right: 0.35rem;
  min-width: 0;
}

.operator__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--op-muted);
  line-height: 1;
}

.operator__phone {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

@keyframes operator-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}

@media (max-width: 640px) {
  .operator {
    left: max(0.85rem, env(safe-area-inset-left));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    padding: 0.55rem;
  }

  .operator__copy {
    display: none;
  }

  .operator__dot {
    left: auto;
    right: 0.35rem;
    top: 0.35rem;
  }
}

@media (hover: none) {
  .projects__cta:hover,
  .project-panel__cta:hover {
    transform: none;
    box-shadow: none;
  }

  .topbar__search-toggle:hover,
  .operator.is-visible:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .menu-btn span {
    transition: none;
  }

  .operator,
  .operator.is-visible,
  .operator.is-visible:hover {
    transition: none;
    transform: none;
  }

  .operator__dot {
    animation: none;
  }

  .about__kicker,
  .about__title,
  .about__lead,
  .about__facts,
  .about__cta {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero__fg img,
  .topbar,
  .hero__title-line,
  .hero__lead,
  .hero__cta,
  .hero__accent-text,
  .hero__stripe-solid {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .stats__line,
  .stats__fact {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .stats__line {
    transform: scaleY(1);
  }

  .stats__cta {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .projects__title.is-reveal .projects__word {
    color: #fff;
  }
}

/* ——— Case study pages ——— */
.case-page {
  background: #f3f4ee;
}

.case-page .topbar {
  position: sticky;
  top: 0;
  opacity: 1;
  transform: none;
  animation: none;
}

.case {
  color: var(--ink);
}

.case__hero {
  position: relative;
  min-height: min(78vh, 44rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #121410;
}

.case__hero-img {
  position: absolute;
  inset: 0;
}

.case__hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case__hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 12, 6, 0.88) 0%,
    rgba(8, 12, 6, 0.42) 46%,
    rgba(8, 12, 6, 0.22) 100%
  );
}

.case__hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(4.5rem, 10vh, 7rem) var(--page-pad-x) clamp(2.4rem, 5vh, 3.4rem);
}

.case__kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.case__kicker::before {
  content: "";
  width: 2.25rem;
  height: 3px;
  background: #fff;
}

.case__title {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.case__address {
  margin: 0;
  max-width: 36ch;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
}

.case__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.35rem var(--page-pad-x) 0;
}

.case__bar span {
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(48, 96, 0, 0.2);
  background: rgba(255, 255, 255, 0.62);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--esa-green-deep);
}

.case__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  max-width: 1280px;
  margin: 1.5rem auto 0;
  padding: 0 var(--page-pad-x);
}

.case__hit {
  padding: 1.35rem 1.3rem 1.4rem;
  background: var(--esa-green);
  color: #fff;
}

.case__hit strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.88;
  text-transform: uppercase;
}

.case__hit span {
  display: block;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.case__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2.4rem, 6vh, 4rem) var(--page-pad-x) clamp(3rem, 7vh, 5rem);
}

.case__story h2,
.case__aside h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.case__story p,
.case__aside p {
  margin: 0 0 1.15rem;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #5c5f52;
}

.case__story p:last-child {
  margin-bottom: 0;
}

.case__block + .case__block {
  margin-top: 2.4rem;
}

.case__aside {
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid rgba(48, 96, 0, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.case__facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case__facts li + li {
  margin-top: 1.05rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(48, 96, 0, 0.12);
}

.case__facts span {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--esa-green);
}

.case__facts strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

.case__gallery {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--page-pad-x) clamp(3.5rem, 8vh, 5.5rem);
}

.case__gallery h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.case__shots {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  min-height: min(62vh, 36rem);
}

.case__shots figure {
  margin: 0;
  overflow: hidden;
  background: #d8d8d2;
}

.case__shots figure:first-child {
  grid-row: 1 / span 2;
}

.case__shots img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case__more {
  background: #eef1e6;
  padding: clamp(3.5rem, 8vh, 5.5rem) var(--page-pad-x);
}

.case__more-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.case__more h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.case__more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.case__card {
  display: block;
  overflow: hidden;
  background: #121410;
  color: #fff;
}

.case__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.case__card:hover img {
  transform: scale(1.05);
}

.case__card strong {
  display: block;
  padding: 0.9rem 1rem 1.1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .case__hero {
    min-height: min(62vh, 30rem);
  }

  .case__hero-copy {
    padding: 3.5rem var(--page-pad-x) 2rem;
  }

  .case__title {
    max-width: none;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .case__address {
    font-size: 0.95rem;
  }

  .case__bar {
    gap: 0.4rem;
    padding: 1.15rem var(--page-pad-x) 0;
  }

  .case__bar span {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  /* Highlight na mobile: číslo vľavo, popis vpravo — nezaberie celú obrazovku. */
  .case__highlights {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 1.15rem;
  }

  .case__hit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
    padding: 0.95rem 1.15rem;
  }

  .case__hit strong {
    margin-bottom: 0;
    font-size: 2.35rem;
  }

  .case__hit span {
    max-width: none;
    font-size: 0.85rem;
  }

  .case__layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem var(--page-pad-x) 2.75rem;
  }

  .case__story p,
  .case__aside p {
    font-size: 0.95rem;
  }

  .case__block + .case__block {
    margin-top: 1.85rem;
  }

  .case__aside {
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .case__gallery {
    padding: 0 var(--page-pad-x) 3.25rem;
  }

  .case__shots {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0.5rem;
    min-height: 0;
  }

  .case__shots figure:first-child {
    grid-row: auto;
  }

  .case__shots img {
    min-height: 13rem;
  }

  .case__more {
    padding: 3.25rem var(--page-pad-x);
  }

  .case__more-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .case__card strong {
    padding: 0.7rem 0.85rem 0.9rem;
    font-size: 1rem;
  }
}

