:root {
  --bg: #0b0c0f;
  --text: #eaeaea;
  --muted: rgba(234, 234, 234, 0.72);

  --max: 980px;
  --radius: 16px;
  --gap: 12px;
  --tile: 180px;
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  transition: background 0.3s ease, color 0.3s ease;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus,
button:focus {
  outline: 2px dashed rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* ===== KARBON POZADÍ ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 10px);
}

/* ===== TYPOGRAFIE ===== */
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  margin-bottom: 10px;
  font-size: 26px;
}
.muted {
  color: var(--muted);
  margin-bottom: 14px;
}

/* ===== HEADER ===== */
.top {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
}
.top__inner {
  display: flex;
  justify-content: center;
}
.logo-banner {
  width: 100%;
  max-width: 1200px;
  height: 200px;
  object-fit: contain;
}

/* ===== HERO ===== */
.hero {
  padding: 24px 0 12px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--gap);
}
.hero__text h1 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 44px);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.85);
}
.hero__text p {
  color: var(--muted);
  max-width: 62ch;
}
.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== KATALOG 2026 ===== */
.katalog-section {
  padding: 32px 0;
}

.katalog-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 40px 30px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.katalog-container h2 {
  font-size: 32px;
  margin-bottom: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.katalog-container p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  max-width: 400px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.cta-button:hover::before {
  left: 0;
}

.cta-button .arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

.cta-button:hover .arrow {
  transform: translateX(4px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 22px 0 30px;
}
.section--alt {
  padding-top: 10px;
}

/* ===== PRODUKTY ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.card {
  height: var(--tile);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--gap);
  transition: background 0.2s ease;
}
.card:hover {
  background: rgba(255, 255, 255, 0.09);
}
.card h3 {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card p {
  min-height: 2.4em;
  color: var(--muted);
}
.card__cta {
  opacity: 0.92;
}

/* ===== GALERIE ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: 14px;
}
.shot {
  height: var(--tile);
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  background: #000;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== OPERÁTOR ===== */
.operator-title {
  margin-bottom: 10px;
}
.operator {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.operator__logo {
  width: 160px;
  height: 60px;
  object-fit: contain;
}
.operator__text {
  font-size: 15px;
  line-height: 1.4;
}
.operator__links {
  display: flex;
  gap: 16px;
  white-space: nowrap;
  font-size: 14px;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 24px 0 32px;
  font-size: 13px;
  color: var(--muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .cards,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  :root {
    --tile: 220px;
    --max: 1100px;
  }
}

@media (max-width: 760px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .katalog-container {
    padding: 30px 20px;
  }

  .katalog-container h2 {
    font-size: 24px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  :root {
    --tile: 240px;
  }

  .top {
    padding: 10px 0;
  }

  .logo-banner {
    height: 110px;
    max-width: 240px;
    margin: 0 auto;
  }

  .cards,
  .gallery {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 10px;
    gap: 6px;
  }

  .card h3 {
    font-size: clamp(14px, 4vw, 16px);
    min-height: auto;
  }

  .card p {
    font-size: 14px;
    min-height: auto;
  }

  .card__cta {
    margin-top: 4px;
    font-size: 14px;
  }

  #produkty .card {
    height: auto;
    min-height: 0;
    padding: 14px 12px;
    gap: 8px;
    justify-content: flex-start;
  }

  #produkty .card h3,
  #produkty .card p {
    min-height: 0;
  }

  .katalog-container {
    padding: 20px 15px;
  }

  .katalog-container h2 {
    font-size: 20px;
  }

  .katalog-container p {
    font-size: 14px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 14px;
    gap: 8px;
  }

  .operator {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .operator__logo {
    margin: 0 auto;
  }

  .operator__links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    white-space: normal;
  }
}
