.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1061;
  max-height: 100vh;
  overflow: hidden;
  color: var(--c-white);
  background: #000;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 45.625%;
  height: 98.11%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.hero__brand,
.hero__title,
.hero__ctas,
.hero__desc,
.hero__sig,
.hero__copy,
.hero__menu {
  position: absolute;
}

.hero__brand {
  left: 8.333%;
  top: 6.6%;
  font-size: clamp(16px, 1.354vw, 26px);
  line-height: 0.92;
  font-weight: 400;
}

.hero__title {
  left: 8.333%;
  top: 15.65%;
  width: 48.28%;
  font-size: clamp(24px, 2.292vw, 44px);
  line-height: 1.07;
  font-weight: 400;
  white-space: pre-line;
}

.hero__ctas {
  left: 8.333%;
  top: 31.85%;
  display: flex;
  gap: 16px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px;
  height: clamp(38px, 2.5vw, 48px);
  border-radius: 40px;
  font-size: clamp(12px, 0.78vw, 15px);
  font-weight: 400;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero__btn--primary {
  background: var(--c-white);
  color: var(--c-dark);
  min-width: clamp(140px, 9.32vw, 179px);
}

.hero__btn--secondary {
  background: var(--c-gray-3);
  color: var(--c-text-muted);
  min-width: clamp(135px, 9.01vw, 173px);
}

.hero__btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.hero__btn svg {
  width: 12px;
  height: 9px;
  flex-shrink: 0;
}

.hero__desc {
  left: 8.333%;
  top: 74.08%;
  width: 27.24%;
  font-size: clamp(14px, 1.198vw, 23px);
  line-height: 1.17;
  font-weight: 400;
}

.hero__sig {
  left: 8.333%;
  top: 88.03%;
  font-size: clamp(14px, 1.198vw, 23px);
  line-height: 1.17;
  font-weight: 400;
}

.hero__copy {
  right: 8.333%;
  top: 85.39%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.hero__copy::before {
  content: "";
  display: block;
  width: clamp(22px, 1.667vw, 32px);
  height: 1px;
  background: var(--c-white);
}

.hero__copy span {
  font-size: clamp(14px, 1.198vw, 23px);
  line-height: 1.17;
  font-weight: 400;
}

/* Menu bar top-right: 3 dark blue elements in a row */
.hero__menu {
  right: 8.333%;
  top: 5.28%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: clamp(38px, 2.5vw, 48px);
}

.hero__menu-icon {
  width: clamp(37px, 2.448vw, 47px);
  height: 100%;
  border-radius: 999px;
  background: var(--c-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  position: relative;
  flex-shrink: 0;
}

.hero__menu-icon svg {
  width: clamp(16px, 1.04vw, 20px);
  height: auto;
  color: var(--c-accent);
  fill: currentColor;
}

.hero__menu-icon--cart svg {
  width: clamp(18px, 1.146vw, 22px);
}

.hero__menu-icon--cart::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 18%;
  width: 20%;
  aspect-ratio: 1;
  background: var(--c-orange);
  border-radius: 50%;
}

.hero__menu-pill {
  height: 100%;
  min-width: clamp(94px, 6.25vw, 120px);
  padding: 0 clamp(14px, 0.94vw, 18px);
  border-radius: 999px;
  background: var(--c-dark);
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: clamp(16px, 1.146vw, 22px);
  line-height: 1;
  font-weight: 400;
}

.hero__menu-pill-lines {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
  color: var(--c-accent);
}

.hero__menu-pill-lines svg {
  display: block;
}

/* ============== MOBILE (≤900px): flow column zamiast absolute ============== */
@media (max-width: 900px) {
  .hero {
    aspect-ratio: auto;
    max-height: none;
    min-height: 100vh;
    padding: 0 24px 90px;     /* dół = 90px = bezpiecznie nad paskiem iPhone */
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .hero__bg {
    z-index: 0;
  }

  .hero__overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.20) 30%,
      rgba(0, 0, 0, 0.20) 65%,
      rgba(0, 0, 0, 0.85) 100%);
  }

  /* Brand ABSOLUTE top-left — sklejony do górnego pasa, nie kradnie miejsca */
  .hero__brand {
    position: absolute !important;
    top: 18px;
    left: 24px;
    right: auto;
    width: auto;
    font-size: 16px;
    margin: 0;
    z-index: 4;
  }

  /* Frame to flex column, padding-top: 60px = strefa bezpieczeństwa pod brand+menu */
  .hero__frame {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    gap: 0;
  }

  .hero__title,
  .hero__ctas,
  .hero__desc,
  .hero__sig,
  .hero__copy {
    position: static;
    left: auto;
    top: auto;
    right: auto;
    width: 100%;
  }

  /* TYTUŁ — top frame (przy 60px) */
  .hero__title {
    font-size: 26px;
    line-height: 1.18;
    margin: 0;
  }

  /* CTAs — schodzą o 22vh w dół: górna granica buttonów ≈ pod brodą (~50%) */
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22vh;
  }

  .hero__btn {
    width: 100%;
    height: 46px;
    justify-content: center;
    font-size: 14px;
  }

  .hero__btn--primary,
  .hero__btn--secondary {
    min-width: 0;
  }

  /* OPIS + SOCIALS — wciśnięte do dołu (margin-top: auto consumes wolne miejsce) */
  .hero__desc {
    font-size: 15px;
    line-height: 1.4;
    margin-top: auto;
    padding-top: 24px;
  }

  /* /Paweł Krzywania duplikat brandu → ukryty */
  .hero__sig {
    display: none;
  }

  /* Socials WYŚRODKOWANE — mały gap od opisu */
  .hero__copy {
    align-items: center !important;
    margin-top: 14px;
    gap: 8px;
    text-align: center;
  }

  .hero__copy::before {
    display: none;
  }

  .hero__copy .hero-socials {
    gap: 24px;
    justify-content: center;
  }

  .hero__copy span {
    font-size: 13px;
    line-height: 1.35;
  }

  /* Menu pill — top-right (zostaje jak jest) */
  .hero__menu {
    top: 14px;
    right: 18px;
    height: 40px;
    z-index: 10;
    gap: 6px;
  }

  .hero__menu-icon {
    width: 40px;
  }

  .hero__menu-pill {
    min-width: 80px;
    padding: 0 14px;
    font-size: 14px;
  }
}

/* ============== VERY SMALL (≤380px) — extra tighten ============== */
@media (max-width: 380px) {
  .hero {
    padding: 0 18px 80px;
  }
  .hero__brand {
    font-size: 15px;
    top: 16px;
    left: 18px;
  }
  .hero__title {
    font-size: 22px;
  }
  .hero__ctas {
    margin-top: 24vh;
  }
  .hero__menu-pill {
    min-width: 0;
    padding: 0 10px;
    font-size: 13px;
  }
}
