/* ============================================================
   onepager.cz — style.css
   Verze: 1.1 | Přidáno: Navbar, Hero, Buttons, Dots canvas
   ============================================================ */


/* ─── 1. FONT-FACE ──────────────────────────────────────────── */

@font-face {
  font-family: 'Gabarito';
  src: url('assets/fonts/Gabarito/Gabarito-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('assets/fonts/Gabarito/static/Gabarito-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('assets/fonts/Gabarito/static/Gabarito-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('assets/fonts/Gabarito/static/Gabarito-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('assets/fonts/Gabarito/static/Gabarito-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('assets/fonts/Gabarito/static/Gabarito-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('assets/fonts/Gabarito/static/Gabarito-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ─── 2. DESIGN TOKENS ──────────────────────────────────────── */

:root {
  /* Barvy */
  --color-primary:         #daff00;
  --color-secondary:       #121213;
  --color-secondary-light: #242323;
  --color-bg:              #121213;
  --color-white:           #f4f4f4;
  --color-gray-100:        #f8f9fa;
  --color-gray-200:        #e9ecef;
  --color-gray-300:        #dee2e6;
  --color-gray-400:        #ced4da;
  --color-gray-500:        #adb5bd;
  --color-gray-600:        #6c757d;
  --color-gray-700:        #495057;
  --color-gray-800:        #343a40;
  --color-gray-900:        #212529;

  /* Typografie */
  --font-family-base:      'Gabarito', sans-serif;
  --font-size-xs:          12px;
  --font-size-sm:          14px;
  --font-size-base:        16px;
  --font-size-md:          17px;
  --font-size-lg:          22px;
  --font-size-xl:          26px;
  --font-size-2xl:         30px;
  --font-size-3xl:         43px;
  --font-size-4xl:         55px;
  --font-size-hero:        64px;
  --font-weight-regular:   400;
  --font-weight-medium:    500;
  --font-weight-semibold:  600;
  --font-weight-bold:      700;
  --font-weight-extrabold: 800;
  --font-weight-black:     900;
  --line-height-tight:     1.2;
  --line-height-heading:   1.25;
  --line-height-body:      1.3;
  --line-height-loose:     1.6;
  --letter-spacing-label:  0.08em;

  /* Prostory */
  --space-4:    4px;
  --space-8:    8px;
  --space-10:   10px;
  --space-12:   12px;
  --space-15:   15px;
  --space-16:   16px;
  --space-20:   20px;
  --space-24:   24px;
  --space-30:   30px;
  --space-40:   40px;
  --space-50:   50px;
  --space-60:   60px;
  --space-80:   80px;
  --space-100:  100px;
  --space-120:  120px;
  --space-140:  140px;
  --space-200:  200px;

  /* Layout */
  --container-width:   1320px;
  --container-px:      12px;
  --grid-gutter:       24px;
  --navbar-height:     70px;

  /* Zaoblení */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  /* Stíny */
  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-btn:   0 2px 16px rgba(218, 255, 0, 0.30);

  /* Přechody */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-indexy */
  --z-navbar:  100;
  --z-overlay: 200;
  --z-modal:   300;
}


/* ─── 3. CSS RESET ──────────────────────────────────────────── */

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

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

::selection {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

::-moz-selection {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

body {
  font-family:      var(--font-family-base);
  font-size:        var(--font-size-base);
  font-weight:      var(--font-weight-regular);
  line-height:      var(--line-height-body);
  color:            var(--color-white);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar          { width: 6px; }
::-webkit-scrollbar-track    { background: var(--color-secondary); }
::-webkit-scrollbar-thumb    { background: var(--color-gray-700); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

.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;
}


/* ─── 4. LAYOUT — KONTEJNER ─────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}


/* ─── 5. TLAČÍTKA ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-md);
  line-height: var(--line-height-loose);
  white-space: nowrap;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color            var(--transition-fast),
    border-color     var(--transition-fast),
    box-shadow       var(--transition-fast),
    transform        var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.97);
}

/* Primární */
.btn--primary {
  background-color: var(--color-primary);
  color:            var(--color-secondary);
  border-color:     var(--color-primary);
}

.btn--primary:hover {
  background-color: #c8ed00;
  border-color:     #c8ed00;
  box-shadow:       var(--shadow-btn);
  color:            var(--color-secondary);
}

/* Outline */
.btn--outline {
  background-color: var(--color-secondary);
  color:            var(--color-primary);
  border-color:     var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-secondary);
  box-shadow:       var(--shadow-btn);
}

/* Velikosti */
.btn--sm {
  font-size:     15px;
  padding:       var(--space-10) var(--space-20);
  border-radius: var(--radius-md);
}

.btn--lg {
  padding:   var(--space-15) var(--space-30);
  min-width: 190px;
}


/* ─── 6. NAVBAR ─────────────────────────────────────────────── */

.navbar {
  position:         fixed;
  top:              0;
  left:             0;
  right:            0;
  z-index:          var(--z-navbar);
  background-color: rgba(18, 17, 19, 0.80);
  backdrop-filter:  blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom:    1px solid var(--color-secondary-light);
  transition:
    background-color var(--transition-base),
    border-color     var(--transition-base),
    box-shadow       var(--transition-base);
}

.navbar--scrolled {
  background-color: rgba(18, 17, 19, 0.96);
  border-color:     rgba(36, 35, 35, 0.6);
  box-shadow:       0 2px 20px rgba(0, 0, 0, 0.4);
}

.navbar__inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  max-width:       var(--container-width);
  margin-inline:   auto;
  padding:         var(--space-10) var(--space-30);
  height:          var(--navbar-height);
}

/* Logo */
.navbar__logo {
  display:     flex;
  align-items: baseline;
  gap:         1px;
  font-size:   30px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: -0.01em;
  transition:  opacity var(--transition-fast);
}

.navbar__logo:hover {
  opacity: 0.85;
  color:   inherit;
}

.navbar__logo-o,
.navbar__logo-r {
  color: var(--color-primary);
}

.navbar__logo-text {
  color: var(--color-white);
}

/* Desktop menu */
.navbar__menu {
  display:     flex;
  align-items: center;
  gap:         var(--space-4);
}

.navbar__link {
  font-size:     15px;
  font-weight:   var(--font-weight-bold);
  color:         var(--color-gray-400);
  padding:       var(--space-10);
  border-radius: var(--radius-sm);
  transition:    color var(--transition-fast);
  white-space:   nowrap;
}

.navbar__link:hover {
  color: var(--color-white);
}

.navbar__cta {
  margin-left: var(--space-10);
}

/* Hamburger */
.navbar__hamburger {
  display:  none;
  position: relative;
  width:    40px;
  height:   40px;
  flex-shrink: 0;
}

.navbar__hamburger span {
  position:         absolute;
  left:             0;
  height:           3px;
  background-color: var(--color-primary);
  border-radius:    var(--radius-full);
  transition:
    transform        var(--transition-base),
    opacity          var(--transition-base),
    width            var(--transition-base);
  transform-origin: center;
}

.navbar__hamburger span:nth-child(1) { width: 37px; top: 8px; }
.navbar__hamburger span:nth-child(2) { width: 23px; top: 19px; left: auto; right: 0; }
.navbar__hamburger span:nth-child(3) { width: 37px; top: 30px; }

.navbar__hamburger.is-open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
  width: 37px;
  left: 0;
}
.navbar__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__hamburger.is-open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
  width: 37px;
}

/* Mobilní menu */
.navbar__mobile {
  display:          flex;
  flex-direction:   column;
  align-items:      center;
  gap:              var(--space-4);
  padding:          var(--space-8) 0 var(--space-30);
  border-top:       1px solid var(--color-secondary-light);
  background-color: rgba(18, 17, 19, 0.95);
  backdrop-filter:  blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.navbar__mobile[hidden] {
  display: none;
}

.navbar__mobile-link {
  font-size:   17px;
  font-weight: var(--font-weight-bold);
  color:       var(--color-gray-400);
  padding:     var(--space-10) var(--space-20);
  text-align:  center;
  transition:  color var(--transition-fast);
}

.navbar__mobile-link:hover {
  color: var(--color-white);
}

.navbar__mobile-cta {
  margin-top:      var(--space-16);
  justify-content: center;
}


/* ─── 7. HERO SEKCE ─────────────────────────────────────────── */

.hero {
  position:         relative;
  overflow:         hidden;
  background-color: var(--color-bg);
  padding-top:      calc(var(--navbar-height) + var(--space-120));
  padding-bottom:   var(--space-100);
  min-height:       600px;
  display:          flex;
  align-items:      center;
}

/* Canvas — absolutní přes celou hero */
.hero__dots {
  position:       absolute;
  inset:          0;
  width:          100%;
  height:         100%;
  display:        block;
  pointer-events: none;
}

.hero__container {
  position:       relative;
  z-index:        1;
  pointer-events: none;
}

.hero__content {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  text-align:     center;
  pointer-events: auto;
}

/* Nadpis */
.hero__title {
  display:        flex;
  flex-direction: column;
  font-size:      var(--font-size-hero);
  font-weight:    var(--font-weight-extrabold);
  line-height:    var(--line-height-tight);
  padding-bottom: var(--space-10);
}

.hero__title-accent {
  color: var(--color-primary);
}

.hero__title-white {
  color: var(--color-white);
}

/* Perex */
.hero__perex {
  font-size:      var(--font-size-2xl);
  font-weight:    var(--font-weight-regular);
  color:          var(--color-gray-100);
  line-height:    var(--line-height-body);
  max-width:      680px;
  padding-bottom: var(--space-40);
}

/* CTA tlačítka */
.hero__actions {
  display:         flex;
  gap:             var(--space-30);
  flex-wrap:       wrap;
  justify-content: center;
}


/* ─── 8. SEKCE — GLOBÁLNÍ RYTMUS ────────────────────────────── */

.section        { padding-block: var(--space-100); }
.section--sm    { padding-block: var(--space-60); }
.section--lg    { padding-block: var(--space-140); }

.section__label {
  display:        block;
  font-size:      var(--font-size-xl);
  font-weight:    var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
  color:          var(--color-primary);
  margin-bottom:  var(--space-8);
}

.section__title {
  font-size:   var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color:       var(--color-white);
}

.section__subtitle {
  font-size:   var(--font-size-2xl);
  font-weight: var(--font-weight-regular);
  color:       var(--color-gray-100);
  margin-top:  var(--space-16);
  max-width:   800px;
}


/* ─── 9. REFERENCE SEKCE ───────────────────────────────────── */

.reference {
  background-color: var(--color-bg);
  padding-block: var(--space-100);
  overflow: hidden;
}

.reference__track {
  display: flex;
  width: max-content;
  animation: reference-scroll 35s linear infinite;
}

@keyframes reference-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.reference__list {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-inline: 20px;
}

.reference__item {
  flex-shrink: 0;
  cursor: pointer;
}

.reference__img {
  display: block;
  border: 10px solid var(--color-secondary-light);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease;
  box-shadow: 0 0 40px 5px rgba(0, 0, 0, 0.5);
  max-width: none;
  height: auto;
}

.reference__item--1 { transform: rotate(-5.05deg); }
.reference__item--2 { transform: rotate(4.35deg);  }
.reference__item--3 { transform: rotate(-6.02deg); }

.reference__item {
  transition: transform 0.3s ease;
}

.reference__item:hover {
  transform: scale(1.04);
}

.reference__item--1:hover { transform: rotate(-5.05deg) scale(1.04); }
.reference__item--2:hover { transform: rotate(4.35deg)  scale(1.04); }
.reference__item--3:hover { transform: rotate(-6.02deg) scale(1.04); }

.reference__item:hover .reference__img {
  border-color: #242323;
}

.reference__item--1 .reference__img { width: 374px; }
.reference__item--2 .reference__img { width: 352px; }
.reference__item--3 .reference__img { width: 360px; }


/* ─── Lightbox ─────────────────────────────────────────────── */

.lightbox[hidden] { display: none !important; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-20);
  padding: var(--space-20);
  transition: background-color 0.3s ease;
}

.lightbox.is-visible {
  background-color: rgba(0, 0, 0, 0.92);
}

.lightbox__img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 200px);
  max-height: calc(100vh - 80px);
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  border-radius: var(--radius-md);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.is-visible .lightbox__img {
  opacity: 1;
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}

.lightbox__close img {
  width: 36px;
  height: 36px;
  display: block;
}

.lightbox__nav img {
  width: 12px;
  height: auto;
  display: block;
}

.lightbox__nav {
  background: none;
  border: 2px solid rgba(218, 255, 0, 0.3);
  color: var(--color-primary);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background-color 0.2s;
}

.lightbox__nav:hover {
  border-color: var(--color-primary);
  background-color: rgba(218, 255, 0, 0.08);
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-base);
}

@media (max-width: 575px) {
  .lightbox__img-wrap { max-width: calc(100vw - 120px); }
  .lightbox__nav { width: 40px; height: 40px; font-size: 16px; }
}


/* ─── 10. SERVICES SEKCE ────────────────────────────────────── */

.services {
  background-color: var(--color-bg);
  padding-top: var(--space-50);
  padding-bottom: var(--space-100);
}

.services__header {
  text-align: center;
  padding-bottom: var(--space-40);
}

.services__label {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-8);
}

.services__title {
  font-size: 46px;
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

.services__perex {
  text-align: center;
  padding-bottom: var(--space-100);
  padding-inline: var(--space-100);
}

.services__perex p {
  font-size: 24px;
  line-height: var(--line-height-body);
  color: var(--color-white);
}

.services__perex-accent {
  color: var(--color-primary);
}

.services__cards {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  position: relative;
}

.services__arrow {
  position: absolute;
  pointer-events: none;
  opacity: 0.7;
}

/* Arrow 1 (arrrow-1.svg): card 2 → card 3, upper right quadrant */
.services__arrow--1 {
  width: 297px;
  left: calc(50% + 269.5px);
  top: calc(50% - 160px);
  transform: translate(-50%, -50%);
}

/* Arrow 2 (arrow-2.svg): card 1 → card 2, lower left quadrant, rotated */
.services__arrow--2 {
  width: 300px;
  left: calc(50% - 391px);
  top: calc(50% + 159px);
  transform: translate(-50%, -50%);
}

.services__card-wrapper {
  flex: 1;
  min-width: 0;
}

.services__card-wrapper--2 { padding-top: 140px; }
.services__card-wrapper--3 { padding-top: 270px; }

.services__card {
  background-color: rgba(18, 17, 19, 0.9);
  border-radius: 20px;
  box-shadow: 0 0 40px 5px rgba(0, 0, 0, 0.8);
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.services__card:hover {
  border-color: var(--color-primary);
}

.services__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background-color: var(--color-secondary-light);
  border-radius: 5px;
  padding: 20px;
  margin-bottom: var(--space-20);
  flex-shrink: 0;
}

.services__card-icon img {
  width: 40px;
  height: 40px;
  display: block;
}

.services__card-heading {
  margin-bottom: var(--space-20);
}

.services__card-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
  margin-bottom: 0;
}

.services__card-subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: var(--line-height-loose);
}

.services__card-text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  line-height: var(--line-height-loose);
}


/* ─── 11. CENÍK SEKCE ───────────────────────────────────────── */

.cenik {
  background-color: var(--color-bg);
  padding-block: var(--space-100);
  position: relative;
  overflow: hidden;
}

.cenik__header {
  text-align: center;
  padding-bottom: var(--space-50);
}

.cenik__label {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-8);
}

.cenik__title {
  font-size: 46px;
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

/* Card row — staggered overlapping layout */
.cenik__cards {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 70px;
  margin-bottom: var(--space-50);
}

.cenik__card {
  background-color: rgba(18, 17, 19, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 0 40px 5px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  width: 400px;
  flex-shrink: 0;
  margin-right: -70px;
  padding: 50px 100px 50px 40px;
}

.cenik__card--featured {
  border: 2px solid var(--color-primary);
  padding-block: var(--space-100);
  position: relative;
  z-index: 1;
}

.cenik__card--top {
  padding-block: 150px;
  position: relative;
  z-index: 2;
}

.cenik__card-heading {
  margin-bottom: var(--space-20);
}

.cenik__card-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
  margin-bottom: 0;
}

.cenik__card-sub {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: var(--line-height-loose);
}

.cenik__card-desc {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  line-height: 1.8;
  margin-bottom: var(--space-20);
}

.cenik__bullets {
  list-style: none;
  margin-bottom: var(--space-20);
}

.cenik__bullet {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: var(--space-10);
  font-size: var(--font-size-sm);
  color: var(--color-white);
  line-height: 1.8;
}

.cenik__check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cenik__price-value {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

.cenik__price-note {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  line-height: var(--line-height-loose);
}

.cenik__footer {
  text-align: center;
  padding-inline: var(--space-100);
}

.cenik__footer p {
  font-size: 17px;
  color: var(--color-white);
  line-height: 1.8;
}

.cenik__rocket {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}


/* ─── 12. PROCES SPOLUPRÁCE ─────────────────────────────────── */

.proces {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle, rgba(218, 255, 0, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-bg) 0%, var(--color-bg) 100%);
  background-size: 16px 16px;
  padding-block: var(--space-100);
}

.proces__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.proces__header {
  margin-bottom: var(--space-40);
}

.proces__label {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-8);
}

.proces__title {
  font-size: 46px;
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

.proces__text {
  font-size: 17px;
  font-weight: var(--font-weight-regular);
  line-height: 1.8;
  color: var(--color-white);
  margin-bottom: var(--space-40);
}

.proces__text--bold {
  font-weight: var(--font-weight-bold);
}

.proces__actions {
  display: flex;
  align-items: center;
  gap: var(--space-40);
  margin-bottom: var(--space-40);
}

.proces__link {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.proces__link:hover {
  color: var(--color-primary);
}

/* Right column */
.proces__right {
  display: flex;
  gap: var(--space-40);
  align-items: flex-start;
}

.proces__steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proces__step {
  display: flex;
  gap: 5px;
  align-items: center;
  background-color: rgba(18, 17, 19, 0.9);
  border-radius: 20px;
  box-shadow: 0 0 40px 5px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: var(--space-20) var(--space-30);
}

.proces__step-meta {
  flex: 1;
  min-width: 0;
}

.proces__step-heading {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  white-space: nowrap;
  margin-bottom: 2px;
}

.proces__step-num {
  color: var(--color-primary);
}

.proces__step-title {
  color: var(--color-white);
}

.proces__step-sub {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: var(--line-height-loose);
}

.proces__step-desc {
  flex: 1;
  min-width: 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  line-height: 1.8;
}

.proces__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding-top: var(--space-20);
}

.proces__arrow img {
  width: 18px;
  height: 372px;
  object-fit: contain;
  transform: rotate(180deg);
  opacity: 0.7;
}


/* ─── 13. FAQ SEKCE ─────────────────────────────────────────── */

.faq {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle, rgba(218, 255, 0, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-bg) 0%, var(--color-bg) 100%);
  background-size: 16px 16px;
  padding-block: var(--space-100);
  position: relative;
  overflow: hidden;
}

/* Arrow-4 at top center */
.faq__arrow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  width: 18px;
  opacity: 0.6;
  pointer-events: none;
}

/* Rocket decoration — top right, clipped */
.faq__rocket {
  position: absolute;
  top: -20px;
  right: -60px;
  width: 288px;
  transform: rotate(-45deg);
  opacity: 0.15;
  pointer-events: none;
}

.faq__inner {
  padding-inline: var(--space-100);
}

.faq__header {
  padding-bottom: var(--space-40);
}

.faq__label {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-8);
}

.faq__title {
  font-size: 46px;
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-30);
}

/* Single FAQ item */
.faq__item {
  background-color: rgba(18, 17, 19, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 0 40px 5px rgba(0, 0, 0, 0.5);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition:
    border-color var(--transition-fast),
    box-shadow   var(--transition-fast);
}

.faq__item:hover {
  border-color: var(--color-primary);
}

.faq__item.is-open {
  border-color: var(--color-primary);
}

.faq__item-header {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: var(--space-20) var(--space-30);
}

.faq__item-question {
  flex: 1;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.faq__item:hover .faq__item-question {
  color: var(--color-primary);
}

.faq__item.is-open .faq__item-question {
  color: var(--color-white);
}

.faq__item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.faq__item-answer {
  display: none;
  padding: 0 var(--space-30) var(--space-20);
}

.faq__item.is-open .faq__item-answer {
  display: block;
}

.faq__item-answer p {
  font-size: 17px;
  font-weight: var(--font-weight-regular);
  line-height: 1.8;
  color: var(--color-primary);
}


/* ─── 14. KONTAKT SEKCE ─────────────────────────────────────── */

.kontakt {
  background-color: var(--color-bg);
  padding-top: var(--space-100);
  padding-bottom: var(--space-50);
}

.kontakt__header {
  text-align: center;
  padding-bottom: var(--space-80);
}

.kontakt__label {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-8);
}

.kontakt__title {
  font-size: 46px;
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

/* Arrow decoration */
.kontakt__wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.kontakt__arrow {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 151px;
  opacity: 0.6;
  pointer-events: none;
}

/* Form card */
.kontakt__form {
  background-color: rgba(18, 17, 19, 0.9);
  border: 2px solid var(--color-primary);
  border-radius: 20px;
  box-shadow: 0 0 60px 20px rgba(218, 255, 0, 0.10);
  padding: 40px;
  width: 100%;
  max-width: 1076px;
}

.kontakt__row {
  display: flex;
  gap: var(--space-30);
  margin-bottom: var(--space-30);
}

.kontakt__row--single { gap: 0; }

.kontakt__field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kontakt__field--full { flex: 1; }

.kontakt__label-text {
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  color: var(--color-gray-400);
  line-height: var(--line-height-loose);
}

.kontakt__input {
  background-color: var(--color-bg);
  border: 1px solid var(--color-gray-600);
  border-radius: 4px;
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-loose);
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--transition-fast);
  resize: none;
}

.kontakt__input::placeholder {
  color: var(--color-gray-600);
}

.kontakt__input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.kontakt__textarea {
  min-height: 120px;
}

.kontakt__submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-40);
  padding-bottom: var(--space-40);
}

.kontakt__btn {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.kontakt__gdpr {
  font-size: 17px;
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  line-height: var(--line-height-loose);
  text-align: center;
  white-space: nowrap;
}

.kontakt__gdpr-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}

.kontakt__gdpr-link:hover {
  color: var(--color-primary);
}


/* ─── 15. FOOTER ─────────────────────────────────────────────── */

.footer {
  background-color: var(--color-bg);
  padding-top: var(--space-20);
  padding-bottom: var(--space-40);
  border-top: 1px solid var(--color-secondary-light);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.footer__copy {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: var(--line-height-loose);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer__sep {
  font-size: var(--font-size-base);
  color: var(--color-white);
}

.footer__credits {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-white);
  line-height: var(--line-height-loose);
}

.footer__credits strong {
  font-weight: var(--font-weight-bold);
}


/* ─── 16. BREAKPOINTY ───────────────────────────────────────── */

@media (max-width: 991px) {
  .navbar__menu       { display: none; }
  .navbar__hamburger  { display: flex; }

  .hero {
    padding-top:    calc(var(--navbar-height) + var(--space-80));
    padding-bottom: var(--space-80);
    min-height:     auto;
  }

  .hero__title  { font-size: var(--font-size-4xl); }
  .hero__perex  { font-size: var(--font-size-lg); }
  .hero__actions { gap: var(--space-16); }
  .btn--lg      { min-width: 160px; }

  .reference__list { gap: 24px; padding-inline: 20px; }

  .reference__item--1 .reference__img { width: 280px; }
  .reference__item--2 .reference__img { width: 264px; }
  .reference__item--3 .reference__img { width: 270px; }

  .services__perex { padding-inline: var(--space-30); }
  .services__title { font-size: var(--font-size-3xl); }

  .cenik__rocket { display: none; }

  .cenik__cards {
    flex-direction: column;
    align-items: stretch;
    padding-right: 0;
  }
  .cenik__card {
    width: auto;
    margin-right: 0;
    padding: 40px;
  }
  .cenik__card--top { padding-block: 40px; }
  .cenik__card--featured { padding-block: 40px; }
  .cenik__footer { padding-inline: 0; }

  .proces__grid {
    grid-template-columns: 1fr;
    gap: var(--space-60);
  }
  .proces__title { font-size: var(--font-size-3xl); }
  .proces__arrow { display: none; }
  .proces__step { flex-direction: column; align-items: flex-start; gap: var(--space-8); }

  .services__cards {
    flex-direction: column;
    gap: var(--space-30);
  }

  .services__card-wrapper--2,
  .services__card-wrapper--3 { padding-top: 0; }

  .services__arrow { display: none; }

  .faq__inner { padding-inline: 0; }
  .faq__rocket { display: none; }

  .kontakt__row { flex-direction: column; gap: var(--space-16); }
  .kontakt__arrow { display: none; }
  .kontakt__gdpr { white-space: normal; text-align: center; }
  .kontakt__title { font-size: var(--font-size-3xl); }
}

/* ─── 17. 404 PAGE ──────────────────────────────────────── */

.page-404 {
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.e404 {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--navbar-height) + 80px);
  padding-bottom: var(--space-100);
  background-image: radial-gradient(circle, rgba(218,255,0,0.10) 1px, transparent 1px);
  background-size: 16px 16px;
}

.e404__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.e404__illustration {
  padding-bottom: 80px;
}

.e404__icon {
  width: 172px;
  height: auto;
  display: block;
}

.e404__heading {
  padding-bottom: var(--space-20);
}

.e404__title {
  font-size: 64px;
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  margin-bottom: 0;
}

.e404__title--accent { color: var(--color-primary); }
.e404__title--white  { color: var(--color-white); }

.e404__perex {
  font-size: 30px;
  font-weight: var(--font-weight-regular);
  color: var(--color-gray-100);
  line-height: 1.3;
  max-width: 680px;
  padding-bottom: var(--space-40);
}

.e404__actions {
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .e404__title  { font-size: 40px; }
  .e404__perex  { font-size: var(--font-size-lg); }
  .e404__icon   { width: 120px; }
  .e404__illustration { padding-bottom: var(--space-50); }
}

@media (max-width: 575px) {
  .e404__title  { font-size: 30px; }
  .e404__perex  { font-size: var(--font-size-base); }
}


/* ─── 18. LEGAL PAGES ───────────────────────────────────── */

.page-legal {
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal {
  flex: 1;
  padding-top: 160px;
  padding-bottom: var(--space-100);
  background-image: radial-gradient(circle, rgba(218, 255, 0, 0.10) 1px, transparent 1px);
  background-size: 16px 16px;
}

.legal__container {
  max-width: 860px;
}

.legal__title {
  font-size: 64px;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-40);
}

.legal__section-title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: 1.2;
  margin-top: var(--space-50);
  margin-bottom: var(--space-20);
}

.legal__text {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: #f8f9fa;
  line-height: 1.6;
  margin-bottom: var(--space-20);
}

.legal__text strong {
  font-weight: var(--font-weight-bold);
}

.legal__text a {
  color: inherit;
  text-decoration: underline;
}

.legal__text a:hover {
  color: var(--color-primary);
}

.legal__actions {
  margin-top: var(--space-50);
}

@media (max-width: 767px) {
  .legal { padding-top: 120px; }
  .legal__title { font-size: 40px; }
  .legal__section-title { font-size: 28px; }
}

@media (max-width: 575px) {
  .legal__title { font-size: 30px; }
  .legal__section-title { font-size: 22px; }
}

/* ─── 19. KDO JSME POPUP ────────────────────────────────── */

.kdojsme-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
  display: none;
}

.kdojsme-overlay.is-visible {
  background-color: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

/* Popup — full-height 2/3 panel from right, ease-out */
.kdojsme-popup {
  position: absolute;
  top: 0;
  right: 0;
  width: 66.667vw;
  height: 100vh;
  overflow-y: auto;
  background-color: var(--color-bg);
  border-radius: 20px 0 0 20px;
  padding: 80px 60px 60px;
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0, 0, 0.58, 1); /* ease-out */
  pointer-events: auto;
}

.kdojsme-popup.is-visible {
  transform: translateX(0);
}

/* Close */
.kdojsme-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.kdojsme-close:hover { opacity: 1; }
.kdojsme-close img { width: 30px; height: 30px; display: block; }

/* Header */
.kdojsme-header { text-align: center; }

.kdojsme-subtitle {
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.kdojsme-title {
  font-size: 36px;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0;
}

/* Cards */
.kdojsme-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.kdojsme-card {
  position: relative;
  background-color: rgba(18, 17, 19, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 0 40px 5px rgba(0, 0, 0, 0.5);
  padding: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-20);
  min-height: 130px;
}

.kdojsme-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
  z-index: 1;
}

.kdojsme-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-8);
}

.kdojsme-card-name {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: var(--line-height-tight);
  margin-bottom: 0;
  white-space: nowrap;
}

.kdojsme-card-role {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: var(--line-height-body);
}

.kdojsme-card-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transform: rotate(135deg);
  margin-top: 4px;
}

.kdojsme-card-contacts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kdojsme-card-link {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-decoration: underline;
  line-height: var(--line-height-body);
}
.kdojsme-card-link:hover { text-decoration: none; }

/* Profile photo — grayscale, clipped right */
.kdojsme-card-photo {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 160px;
  overflow: hidden;
  pointer-events: none;
}

.kdojsme-card-photo img {
  height: 140%;
  width: auto;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: -20%;
  right: -20px;
  filter: grayscale(100%);
  opacity: 0.9;
  mix-blend-mode: luminosity;
}

@media (max-width: 767px) {
  .kdojsme-popup {
    top: 20px;
    right: 20px;
    width: calc(100vw - 40px);
    height: auto;
    max-height: calc(100vh - 40px);
    border-radius: 20px;
    padding: 50px 24px 30px;
    justify-content: flex-start;
  }
  .kdojsme-title      { font-size: 26px; }
  .kdojsme-card-photo { width: 110px; }
}


/* ─── 19. COOKIES POPUP ─────────────────────────────────── */

/* Full-screen dimmed backdrop */
.cookies-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.cookies-overlay.is-visible {
  background-color: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

/* Popup — full-height 2/3 panel from right, ease-in-out */
.cookies-popup {
  position: absolute;
  top: 0;
  right: 0;
  width: 66.667vw;
  height: 100vh;
  background-color: var(--color-bg);
  border-radius: 20px 0 0 20px;
  padding: 80px 80px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.42, 0, 0.58, 1); /* ease-in-out */
  pointer-events: auto;
}

.cookies-popup.is-visible {
  transform: translateX(0);
}

/* Close button */
.cookies-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.cookies-close:hover { opacity: 1; }

.cookies-close img {
  width: 30px;
  height: 30px;
  display: block;
}

/* Illustration */
.cookies-illustration {
  padding-bottom: var(--space-30);
}

.cookies-img {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Text */
.cookies-text {
  padding-bottom: var(--space-30);
}

.cookies-subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  line-height: var(--line-height-body);
  margin-bottom: 4px;
}

.cookies-title {
  font-size: 22px;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 0;
}

/* Action buttons */
.cookies-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}

.cookies-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 767px) {
  .cookies-popup {
    top: 20px;
    right: 20px;
    width: calc(100vw - 40px);
    height: auto;
    border-radius: 20px;
    padding: 50px 24px 36px;
    justify-content: flex-start;
  }
}


@media (max-width: 575px) {
  .navbar__inner { padding-inline: var(--space-20); }

  .hero {
    padding-top:    calc(var(--navbar-height) + var(--space-60));
    padding-bottom: var(--space-60);
  }

  .hero__title  { font-size: 38px; }
  .hero__perex  { font-size: var(--font-size-base); }

  .hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .hero__actions .btn {
    flex: 1;
    justify-content: center;
  }

  .btn--lg {
    min-width: 0;
  }

  .services__perex { padding-inline: 0; }
  .services__perex p { font-size: var(--font-size-lg); }
}

@media (max-width: 480px) {
  .btn {
    display:         flex;
    padding:         15px 20px;
    justify-content: center;
    align-items:     center;
    font-size:       14px;
  }

  .btn--sm {
    padding: 10px 16px;
    font-size: 13px;
  }

  .navbar__mobile-cta {
    padding: 15px 20px;
  }
}
