@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900; /* zakres dla variable font */
  font-style: normal;
}

@font-face {
  font-family: "Sofia Sans Condensed";
  src: url("./fonts/SofiaSansCondensed-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── RESET & BASE ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #e5007d;
  --pink-dark: #b8005f;
  --pink-glow: rgba(229, 0, 125, 0.18);
  --dark: #0d0d0d;
  --dark2: #212329;
  --dark3: #1f1f1f;
  --dark-primary: #262b32;
  --mid: #2a2a2a;
  --grey: #ebebeb;
  --light: #f4f4f4;
  --white: #ffffff;
  --text-muted: #a0a0a0;
  --border: rgba(255, 255, 255, 0.07);
  --border2: #dadada;
  --radius: 6px;
  --ff-head: "Sofia Sans Condensed", sans-serif;
  --ff-body: "Inter", sans-serif;
  --transition: 0.33s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ─── HEADER ─────────────────────────────────────────────────────── */
.sticky-header {
  position: fixed;
  z-index: 100;
  width: 100vw;
  max-width: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.07);
}

.inner-header {
  width: 1200px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

nav {
  display: flex;
  gap: 24px;
}

.nav-item {
  color: var(--dark);
  font-weight: 500;
  transition: 0.33s;
}

.nav-item:hover {
  color: var(--pink);
}

.nav-btn {
  display: none;
}

/* ─── UTILS ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
}

.section-title {
  font-family: var(--ff-head);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.pink-text {
  color: var(--pink);
}

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 0;
}

/* Video background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(#262b32, 0) 0%,
    rgba(#262b32, 0.05) 25%,
    rgba(#262b32, 0.125) 50%,
    rgba(#262b32, 0.05) 75%,
    rgba(#262b32, 0) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 840px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 180px;
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 24px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 32px rgba(229, 0, 125, 0.35);
}

.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(229, 0, 125, 0.45);
}

/* scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  font-family: var(--ff-head);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  animation: scrollBar 1.6s ease-in-out infinite;
}

@keyframes scrollBar {
  0% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ─── BRAND INTRO ───────────────────────────────────────────────── */
.intro {
  background: var(--dark-primary);
  background: linear-gradient(var(--dark-primary) 50%, var(--dark3) 100%);
  background-attachment: fixed;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-text .section-label {
  margin-bottom: 12px;
}
.intro-text .section-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin-bottom: 20px;
}
.intro-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.intro-text p strong {
  color: var(--white);
}

.intro-image {
  height: 300px;
  display: flex;
  justify-content: flex-end;
}

.intro-image img {
  height: 600px;
}

.pictograms {
  max-width: 480px;
  margin-top: 32px;
}

/* ─── PROFESSIONAL PROTECTION ──────────────────────────────────── */
.products {
  padding: 96px 0;
  background: var(--white);
  background-image: url(assets/blacha-semi-transp.png);
  background-repeat: repeat;
  background-position: center;
}

.products-header {
  text-align: center;
  margin-bottom: 56px;
}

.products-header .section-label {
  margin-bottom: 10px;
}
.products-header .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--mid);
}
.products-header .tm {
  font-size: 0.55em;
  vertical-align: super;
  font-weight: 400;
}
.products-header p {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 1rem;
}

/* pink divider line */
.pink-line {
  width: 60px;
  height: 3px;
  background: var(--pink);
  margin: 16px auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 16px 22px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  cursor: default;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
}
.product-card:hover::before {
  opacity: 1;
}

.product-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: rgba(229, 0, 125, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--pink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-name {
  font-family: var(--ff-head);
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--mid);
  margin-bottom: 6px;
}

.product-name .hero-suffix {
  font-weight: 500;
}

.product-use {
  font-size: 0.8125rem;
  color: var(--pink);
  font-weight: 600;
  font-family: var(--ff-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* second row everyday */
.everyday {
  padding: 0 0 96px;
  background-image: linear-gradient(165deg, var(--white), var(--grey));
  background-repeat: repeat;
  background-position: center;
}

.everyday-inner {
  border-radius: 16px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: flex-end;
}

.everyday-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.everyday .section-title {
  color: var(--mid);
}

.everyday .product-card {
  background-color: var(--white);
}

.everyday-desc {
  color: var(--mid);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

/* ─── HOW WE WORK ──────────────────────────────────────────────── */
.how-section {
  padding: 96px 0;
  background: var(--dark-primary);
  background-image:
    linear-gradient(45deg, #262b32ff 50%, #262b32d3 100%),
    url(assets/blacha-semi-transp.png);
  position: relative;
  overflow: hidden;
}

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

.how-text .section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}
.how-text p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}
.how-text p strong {
  color: var(--white);
}

.how-steps {
  margin-top: 40px;
}

/* ─── PROCESS STEPS ─────────────────────────────────────────────── */
.process-title {
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 12px 16px;
  text-align: center;
  position: relative;
  margin-bottom: 12px;
}

.step-number {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -12px;
  background-color: var(--dark2);
  border-radius: 6px;
}

.step-card svg {
  width: 48px;
  height: 48px;
  color: var(--pink);
}

.step-name {
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.steps-grid-2 {
  margin-top: 12px;
}

/* ─── RESPONSIBILITY ────────────────────────────────────────────── */
.responsibility {
  padding: 96px 0;
  background: var(--light);
  color: var(--mid);
}

.responsibility p {
  color: var(--mid);
}

.responsibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.csr-image {
  height: 480px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
}

.csr-image img {
  object-fit: contain;
}

.responsibility-right .section-label {
  margin-bottom: 12px;
}
.responsibility-right .section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
}

.csr-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.csr-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 18px;
}

.csr-pillar-title {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}

.csr-pillar p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── SMARTTRACE ────────────────────────────────────────────────── */
.smarttrace {
  padding: 96px 0;
  background: var(--grey);
  position: relative;
  overflow: hidden;
  color: var(--mid);
}

.smarttrace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.smarttrace-left .section-label {
  margin-bottom: 10px;
}
.smarttrace-left .section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 8px;
}
.smarttrace-left .subtitle-sm {
  font-family: var(--ff-head);
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.rfid-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.rfid-features {
  margin-top: 24px;
}

.rfid-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.rfid-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(229, 0, 125, 0.6);
}

.rfid-badge {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  border-radius: 4px;
  margin-top: 4px;
}

.smarttrace-image {
  height: 460px;
  border-radius: 14px;
}

/* ─── CUSTOM DESIGN PROCESS ────────────────────────────────────── */
.custom-process {
  padding: 96px 0;
  background: var(--dark-primary);
  background-image:
    linear-gradient(-35deg, #262b32ff 50%, #262b32d3 100%),
    url(assets/blacha-semi-transp.png);
}

.custom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.process-cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cycle-step {
  border: 1px solid var(--border);
  background-color: var(--dark2);
  border-radius: 10px;
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}

.cycle-step:hover {
  border-color: var(--pink-dark);
}

.cycle-step-num {
  font-family: var(--ff-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  right: 14px;
  top: 6px;
  line-height: 1;
}

.cycle-step-title {
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 6px;
}

.cycle-step p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.custom-right .section-label {
  margin-bottom: 12px;
}
.custom-right .section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 14px;
}
.custom-right p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ─── CTA BANNER ────────────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    var(--light) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-section .section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 18px;
  color: var(--mid);
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 40px 20px 44px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: none;
  padding-top: 0;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom img {
  margin-bottom: 24px;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-bottom .pink-text {
  color: var(--pink);
}

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .intro-grid,
  .everyday-inner,
  .how-grid,
  .responsibility-grid,
  .smarttrace-grid,
  .custom-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-image,
  .everyday-image,
  .csr-image,
  .smarttrace-image {
    height: 280px;
  }

  .intro {
    z-index: 1;
  }

  .intro-image {
    order: -1;
    position: absolute;
    right: 0;
    height: 140px;
    margin-bottom: -280px;
    z-index: -1;
  }

  .intro-image img {
    height: 440px;
    opacity: 0.25;
  }

  .everyday {
    padding-bottom: 24px;
  }

  .everyday-image {
    display: flex;
    justify-content: center;
  }

  .responsibility {
    overflow: hidden;
    padding-bottom: 200px;
  }

  .responsibility-grid {
    position: relative;
    z-index: 1;
  }

  .csr-image {
    position: absolute;
    right: 0;
    height: 140px;
    margin-bottom: -520px;
    z-index: -1;
  }

  .csr-image img {
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-btn {
    width: 30px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 101;
  }
  .nav-btn-line {
    height: 3px;
    width: 100%;
    background: var(--pink);
    transition: var(--transition);
    border-radius: 12px;
  }
  .nav-btn.active .nav-btn-line:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
  }
  .nav-btn.active .nav-btn-line:nth-child(2) {
    transform: rotate(-45deg) translate(4px, -5px);
  }
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 200px;
    height: 100vh;
    background: var(--dark2);
    display: flex;
    flex-direction: column;
    padding: 80px 20px;
    gap: 20px;
    transition: var(--transition);
  }
  nav.active {
    right: 0;
  }
  .nav-item {
    color: var(--white);
    text-decoration: none;
    font-family: var(--ff-body);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .everyday-product-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .csr-pillars {
    grid-template-columns: 1fr;
  }
  .process-cycle {
    grid-template-columns: 1fr;
  }
  .custom-right {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .everyday-inner {
    padding: 32px 24px;
  }
  .pictograms {
    max-width: 300px;
  }
  .intro-image img {
    opacity: 0.1;
  }
  .everyday-image img,
  .csr-image img {
    object-fit: contain;
  }
  .responsibility-right {
    order: -1;
  }
  .csr-image {
    object-fit: contain;
    position: initial;
    margin-bottom: 40px;
  }
}

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