* {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hover-line {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.hover-line:hover { border-bottom-color: currentColor; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
  background: #0A0A0A;
  color: white;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.btn-primary:hover { background: #2A2A2A; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  border: 1px solid #0A0A0A;
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(0,0,0,0.04); }

/* === HERO === */
.hero-section {
  padding-top: calc(56px + 32px);
  padding-bottom: 64px;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

/* BADGE — stała wysokość 96px.
   Wrapper ma padding-top = 96px (pełna wysokość badge).
   Badge siedzi na górze wrappera z margin-top: -48px
   (ujemny = połowa własnej wysokości) = górna linia ramki
   przecina badge dokładnie w połowie. Niezależne od rozdzielczości. */
.hero-wrapper {
  position: relative;
  padding-top: 96px;
}

.hero-badge-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.hero-badge {
  border: 0.5px solid #D4D4D4;
  background: white;
  padding: 0 56px;
  text-align: center;
  white-space: nowrap;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
}

/* Wewnętrzny blok: OBA + kreska + nazwa — spójna całość */
.badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.badge-oba {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #0A0A0A;
  line-height: 1;
  margin-bottom: 7px;
}

.badge-line {
  width: 100%;
  height: 0.5px;
  background: #D4D4D4;
  margin-bottom: 6px;
}

.badge-name {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: #A0A0A0;
  line-height: 1;
}

/* Ramka hero */
.hero-frame {
  border: 0.5px solid #D4D4D4;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

/* Zdjęcie pełne tło — cover bez pasków */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

/* Gradient: lewa strona biała, prawa 100% przezroczysta */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1.00)  0%,
    rgba(255,255,255,0.97) 25%,
    rgba(255,255,255,0.80) 42%,
    rgba(255,255,255,0.20) 55%,
    rgba(255,255,255,0.00) 65%
  );
  z-index: 1;
}

/* Tekst */
.hero-text {
  position: relative;
  z-index: 2;
  padding: 72px 64px 48px;
  max-width: 58%;
}

/* Headline — zmniejszony żeby pasował do hero */
.hero-headline {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: #0A0A0A;
  margin-bottom: 32px;
}

/* Stopka */
.hero-footer {
  position: relative;
  z-index: 2;
  border-top: 0.5px solid rgba(0,0,0,0.08);
  margin: 0 64px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-bottom-gap { margin-top: 48px; }

/* === ETYKIETY === */
.label-wrap { border: 0.5px solid #0A0A0A; display: flex; flex-direction: column; width: 88px; }
.label-tall { width: 56px; min-height: 110px; }
.label-header { border-bottom: 0.5px solid #0A0A0A; padding: 5px 10px; text-align: center; }
.label-footer { border-top: 0.5px solid #0A0A0A; padding: 5px 10px; text-align: center; }
.label-body { padding: 10px 10px 8px; flex: 1; }
.label-oba { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: #0A0A0A; }
.label-sub { font-size: 7px; letter-spacing: 0.15em; color: #A0A0A0; margin-top: 2px; }
.label-cat { font-size: 7px; letter-spacing: 0.12em; color: #A0A0A0; text-transform: uppercase; margin-bottom: 5px; }
.label-name { font-size: 10px; font-weight: 500; color: #0A0A0A; line-height: 1.3; }
.label-ml { font-size: 7px; letter-spacing: 0.1em; color: #A0A0A0; }

/* =====================
   TABLET — max 1024px
   ===================== */
@media (max-width: 1024px) {
  .hero-frame { min-height: 520px; }
  .hero-text { padding: 72px 48px 40px; max-width: 65%; }
  .hero-footer { margin: 0 48px; }
  .hero-bg-img { object-position: 75% center; }
  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(255,255,255,1.00)  0%,
      rgba(255,255,255,0.97) 30%,
      rgba(255,255,255,0.70) 50%,
      rgba(255,255,255,0.00) 70%
    );
  }
}

/* =====================
   MOBILE — max 768px
   ===================== */
@media (max-width: 768px) {
  .hero-section {
    padding-top: calc(56px + 32px);
    padding-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-wrapper { padding-top: 80px; }
  .hero-badge {
    height: 80px;
    padding: 14px 28px 12px;
    margin-top: 40px;
  }
  .hero-frame { min-height: 480px; }
  .hero-text { padding: 56px 28px 32px; max-width: 80%; }
  .hero-footer { margin: 0 28px; flex-direction: column; align-items: flex-start; }
  .hero-bg-img { object-position: 85% center; }
  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(255,255,255,1.00)  0%,
      rgba(255,255,255,0.98) 45%,
      rgba(255,255,255,0.50) 70%,
      rgba(255,255,255,0.00) 100%
    );
  }
  .hero-bottom-gap { margin-top: 32px; }
}

/* =====================
   SMALL MOBILE — max 480px
   ===================== */
@media (max-width: 480px) {
  .hero-text { max-width: 100%; }
  .hero-overlay { background: rgba(255,255,255,0.88); }
}
