/* Eteran v35 — conversion-focused hero with product photography */
.hero {
  --hero-ink: #173f3d;
  --hero-brand: #15bea9;
  --hero-brand-dark: #0b9184;
  --hero-soft: #eaf9f6;
  --hero-line: rgba(21, 190, 169, .18);
}

.hero__main {
  min-height: auto !important;
  padding-bottom: 70px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 32%, rgba(21, 190, 169, .075), transparent 31%),
    linear-gradient(110deg, #f7fdfb 0%, #f3fcfa 50%, #fbfffe 100%);
}

/* Na stronie głównej nie rozmywamy przyklejonego nagłówka w każdej klatce
   przewijania. Prawie nieprzezroczyste tło zachowuje ten sam wygląd. */
.header {
  background: rgba(255, 255, 255, .985);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero__main > .container.hero__grid {
  width: min(calc(100% - 80px), 1740px) !important;
  max-width: 1740px !important;
  min-height: 700px;
  grid-template-columns: minmax(470px, .94fr) minmax(620px, 1.06fr) !important;
  gap: clamp(16px, 2.2vw, 42px) !important;
  align-items: center;
}

.hero__copy {
  z-index: 10;
  max-width: 680px;
  padding: 88px 0 92px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--hero-brand-dark);
  font-size: clamp(.73rem, .8vw, .9rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero__eyebrow span {
  color: var(--hero-brand);
  font-size: 1.15em;
  letter-spacing: 0;
}

.hero h1.hero__headline {
  max-width: 660px;
  margin: 0 0 20px;
  color: var(--hero-ink);
  font-size: clamp(3rem, 4vw, 4.7rem);
  font-weight: 900;
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero__headline-line {
  display: block;
  white-space: nowrap;
}

.hero__headline-line--accent {
  margin-top: 8px;
  color: var(--hero-brand);
}

.hero h1.hero__headline .hero__typing-line {
  position: relative;
  display: block;
  width: 100%;
  height: 2.14em;
  min-height: 2.14em;
  overflow: visible;
  white-space: normal;
}

.hero h1.hero__headline .hero__typing-row {
  position: absolute;
  left: 0;
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: baseline;
  line-height: 1;
  white-space: nowrap;
  transform: none;
}

.hero h1.hero__headline .hero__typing-row--first {
  top: 0;
  color: var(--hero-ink);
}

.hero h1.hero__headline .hero__typing-row--second {
  top: 1.08em;
  color: var(--hero-brand);
}

.hero h1.hero__headline .hero__typing-value {
  display: inline-block;
  min-height: 1em;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
}

.hero h1.hero__headline .hero__typing-cursor {
  display: none;
  flex: 0 0 auto;
  margin-left: .035em;
  color: currentColor;
  font-weight: 600;
  line-height: .9;
  animation: heroTypingCursorBlink .82s steps(1, end) infinite;
}

.hero h1.hero__headline .hero__typing-cursor.is-active {
  display: inline-block;
}

@keyframes heroTypingCursorBlink {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

.hero .hero__text--lead {
  max-width: 610px;
  margin: 0 0 24px;
  color: #305b57;
  font-size: clamp(.98rem, 1.05vw, 1.14rem);
  font-weight: 650;
  line-height: 1.55;
}

.hero .hero__text--lead strong {
  color: var(--hero-ink);
  font-weight: 900;
}

.hero__actions {
  display: grid;
  grid-template-columns: minmax(250px, 1.05fr) minmax(205px, .95fr);
  gap: 12px;
  max-width: 610px;
  margin: 0;
}

.hero__actions .button {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: .98rem;
  white-space: nowrap;
}

.hero__actions .button--primary {
  box-shadow: 0 16px 32px rgba(21, 190, 169, .22);
}

.hero__actions .button--primary:hover,
.hero__actions .button--primary:focus-visible {
  box-shadow: 0 20px 38px rgba(21, 190, 169, .29);
}

.hero__buy span {
  display: inline-block;
  margin: 0 4px;
  transition: transform .2s ease;
}

.hero__buy strong {
  padding-left: 12px;
  margin-left: 3px;
  border-left: 1px solid rgba(255, 255, 255, .34);
  font-weight: 950;
}

.hero__assurance {
  width: 100%;
  max-width: 610px;
  margin-top: 18px;
  padding: 15px 18px 13px;
  border: 1px solid rgba(21, 190, 169, .1);
  border-radius: 17px;
  background: linear-gradient(105deg, rgba(234, 250, 247, .9), rgba(255, 255, 255, .72));
  box-shadow: 0 16px 38px -32px rgba(20, 76, 72, .42);
}

.hero__assurance-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(23, 63, 61, .08);
}

.hero__buy:hover span,
.hero__buy:focus-visible span {
  transform: translateX(3px);
}

.hero__delivery {
  display: inline-flex;
  width: auto;
  max-width: none;
  min-height: 0;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #24514d;
  font-size: .76rem;
  font-weight: 850;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}

.hero__delivery:hover,
.hero__delivery:focus-visible {
  color: var(--hero-brand-dark);
  background: transparent;
  transform: none;
  outline: none;
}

.hero__delivery svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: #0a897d;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  align-items: center;
  gap: 0;
  margin: 0;
  color: #496b67;
  font-size: .76rem;
  font-weight: 750;
}

.hero__trust > span {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0 14px;
  text-align: center;
  white-space: nowrap;
}

.hero__trust > span:first-child {
  padding-left: 14px;
}

.hero__trust > span:last-child {
  padding-right: 14px;
}

.hero__trust > span + span::before {
  position: absolute;
  left: 0;
  width: 1px;
  height: 30px;
  background: rgba(23, 63, 61, .12);
  content: "";
}

.hero__trust i {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  flex: 0 0 31px;
  border: 1px solid rgba(21, 190, 169, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #0c9e8b;
  box-shadow: 0 8px 22px rgba(29, 93, 86, .06);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
}

.hero__trust-label {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: inherit;
  font: inherit;
  text-align: center;
}

.hero__proof {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0;
}

.hero__stars {
  color: #ffae1a;
  font-size: .82rem;
  letter-spacing: 1px;
}

.hero__proof a {
  color: #264e4b;
  font-size: .75rem;
  font-weight: 850;
  text-underline-offset: 5px;
}

.hero__visual.hero-gallery {
  position: relative;
  display: block;
  min-height: 620px;
  align-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  contain: layout style;
  transform: none;
}

.hero-gallery::before,
.hero-gallery::after {
  content: none !important;
}

.hero-gallery .hero__orb {
  position: absolute;
  z-index: -3;
  display: block;
  border-radius: 44% 56% 57% 43% / 52% 43% 57% 48%;
  filter: none;
  opacity: 1;
  pointer-events: none;
}

.hero-gallery .hero__orb--one {
  width: min(61vw, 710px);
  height: 430px;
  top: 92px;
  left: 50%;
  background: rgba(21, 190, 169, .45);
  transform: translateX(-50%) rotate(-5deg);
  animation: heroGalleryBlobOne 9s ease-in-out infinite alternate;
}

.hero-gallery .hero__orb--two {
  width: min(58vw, 690px);
  height: 470px;
  top: 70px;
  left: 50%;
  background: rgba(152, 232, 220, .61);
  transform: translateX(-50%) rotate(5deg);
  animation: heroGalleryBlobTwo 7.5s ease-in-out infinite alternate-reverse;
}

.hero-gallery .hero__orbit {
  position: absolute;
  z-index: -2;
  width: min(68vw, 790px);
  height: 510px;
  top: 55px;
  left: 50%;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  opacity: 1;
  transform: translateX(-50%) rotate(7deg);
  animation: heroGalleryOrbit 10s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Każda klatka zachowuje translateX(-50%), więc animacja nie zsuwa tła w prawo. */
@keyframes heroGalleryBlobOne {
  0% {
    transform: translate3d(-50%, 0, 0) rotate(-5deg) scale(1);
  }
  50% {
    transform: translate3d(calc(-50% + 10px), -8px, 0) rotate(-3deg) scale(1.02, .985);
  }
  100% {
    transform: translate3d(calc(-50% - 8px), 6px, 0) rotate(-7deg) scale(.99, 1.02);
  }
}

@keyframes heroGalleryBlobTwo {
  0% {
    transform: translate3d(-50%, 0, 0) rotate(5deg) scale(1);
  }
  50% {
    transform: translate3d(calc(-50% - 9px), 8px, 0) rotate(2deg) scale(1.025, .985);
  }
  100% {
    transform: translate3d(calc(-50% + 8px), -5px, 0) rotate(7deg) scale(.985, 1.02);
  }
}

@keyframes heroGalleryOrbit {
  0% { transform: translate3d(-50%, 0, 0) rotate(7deg) scale(1); }
  50% { transform: translate3d(calc(-50% - 5px), 5px, 0) rotate(5.7deg) scale(1.012); }
  100% { transform: translate3d(calc(-50% + 5px), -4px, 0) rotate(8.2deg) scale(.992); }
}

.hero-gallery > .spark {
  z-index: 5;
  color: #fff;
  filter: drop-shadow(0 3px 8px rgba(15, 125, 113, .13));
  pointer-events: none;
}

.hero-gallery > .spark--1 {
  top: 27%;
  right: 1%;
  font-size: 2.2rem;
}

.hero-gallery > .spark--2 {
  top: 23%;
  left: 2%;
  font-size: 1.65rem;
}

.hero-gallery > .spark--3 {
  top: 62%;
  right: 6%;
  font-size: 1.35rem;
}

.hero-gallery__stage {
  position: absolute;
  inset: 0 0 58px;
  touch-action: pan-y;
}

.hero-gallery__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(270px, 21vw, 390px);
  aspect-ratio: .76;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 27px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 48px -28px rgba(20, 76, 72, .3);
  cursor: pointer;
  opacity: .92;
  transform-origin: center;
  transition:
    transform .45s cubic-bezier(.22, .8, .2, 1),
    opacity .32s ease;
  will-change: auto;
  -webkit-tap-highlight-color: transparent;
}

.hero-gallery__slide img {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  filter: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  border-radius: 19px;
  transform: scale(1.01);
  transition: transform .42s cubic-bezier(.22, .8, .2, 1);
}

/* Brązowe ujęcie: pokazujemy pełniej opakowanie stojące przy prawej krawędzi. */
.hero-gallery__slide[data-hero-slide="1"] img {
  object-position: 70% center;
}

.hero-gallery__slide[data-position="center"] {
  z-index: 4;
  opacity: 1;
  filter: none;
  box-shadow: 0 28px 56px -27px rgba(15, 70, 66, .36);
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.hero-gallery__slide[data-position="left"] {
  z-index: 2;
  filter: none;
  transform: translate3d(calc(-50% - clamp(180px, 15vw, 270px)), -50%, 0) rotate(-6deg) scale(.8);
}

.hero-gallery__slide[data-position="right"] {
  z-index: 2;
  filter: none;
  transform: translate3d(calc(-50% + clamp(180px, 15vw, 270px)), -50%, 0) rotate(6deg) scale(.8);
}

.hero-gallery__slide[data-position="center"] img {
  transform: scale(1.04);
}

.hero-gallery__slide:hover img {
  transform: scale(1.055);
}

.hero-gallery.is-transitioning .hero-gallery__slide {
  will-change: transform, opacity;
}

/* Dekoracje nie konkurują z przewijaniem strony i nie pracują poza ekranem. */
.is-home-scrolling .hero-gallery .hero__orb,
.is-home-scrolling .hero-gallery .hero__orbit,
.is-home-scrolling .hero__divider-track,
.hero-gallery.is-offscreen .hero__orb,
.hero-gallery.is-offscreen .hero__orbit {
  animation-play-state: paused !important;
}

.hero-gallery__slide:focus-visible {
  outline: 4px solid rgba(21, 190, 169, .34);
  outline-offset: 5px;
}

.hero-gallery__dots {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-gallery__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(58, 143, 133, .21);
  cursor: pointer;
  transition: width .18s ease, background-color .18s ease, transform .18s ease;
}

.hero-gallery__dots button:hover,
.hero-gallery__dots button:focus-visible {
  background: rgba(21, 190, 169, .58);
  outline: 3px solid rgba(21, 190, 169, .14);
  outline-offset: 4px;
}

.hero-gallery__dots button.is-active {
  width: 25px;
  background: var(--hero-brand);
}

.hero-gallery .hero__visual-wave {
  display: none !important;
}

#produkt .product-image-shell {
  width: min(190px, 48%) !important;
  max-width: 190px !important;
}

@media (max-width: 1240px) {
  .hero__main > .container.hero__grid {
    width: min(calc(100% - 48px), 1180px) !important;
    max-width: 1180px !important;
    min-height: 650px;
    grid-template-columns: minmax(440px, .96fr) minmax(510px, 1.04fr) !important;
    gap: 10px !important;
  }

  .hero__copy {
    padding-block: 72px 84px;
  }

  .hero h1.hero__headline {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
  }

  .hero__actions {
    grid-template-columns: minmax(225px, 1fr) minmax(190px, .9fr);
  }

  .hero__actions .button {
    padding-inline: 16px;
    font-size: .88rem;
  }

  .hero__trust > span {
    padding-inline: 13px;
  }

  .hero__visual.hero-gallery {
    min-height: 560px;
  }

  .hero-gallery__slide {
    width: clamp(245px, 22.5vw, 330px);
  }
}

@media (max-width: 980px) {
  .hero__main {
    padding-bottom: 44px !important;
  }

  .hero__main > .container.hero__grid {
    width: min(calc(100% - 34px), 820px) !important;
    max-width: 820px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .hero__copy {
    max-width: 760px;
    justify-self: center;
    padding: 66px 0 20px;
    text-align: center;
  }

  .hero h1.hero__headline .hero__typing-row {
    left: 50% !important;
    justify-content: center !important;
    text-align: center !important;
    transform: translateX(-50%) !important;
  }

  .hero__eyebrow,
  .hero__actions,
  .hero__assurance,
  .hero__trust,
  .hero__proof {
    justify-content: center;
    margin-inline: auto;
  }

  .hero__eyebrow {
    width: max-content;
  }

  .hero .hero__text--lead {
    margin-inline: auto;
  }

  .hero__delivery {
    margin-inline: auto;
  }

  .hero__visual.hero-gallery {
    width: 100%;
    min-height: 570px;
    margin: 0 auto 42px;
  }

  .hero-gallery__slide {
    width: min(42vw, 340px);
  }

  .hero-gallery__slide[data-position="left"] {
    transform: translate3d(calc(-50% - clamp(155px, 24vw, 220px)), -50%, 0) rotate(-6deg) scale(.78);
  }

  .hero-gallery__slide[data-position="right"] {
    transform: translate3d(calc(-50% + clamp(155px, 24vw, 220px)), -50%, 0) rotate(6deg) scale(.78);
  }

  .hero-gallery .hero__orb--one,
  .hero-gallery .hero__orb--two {
    width: min(92vw, 670px);
  }

  .hero-gallery .hero__orbit {
    width: min(96vw, 730px);
  }
}

@media (max-width: 680px) {
  .hero__main > .container.hero__grid {
    width: min(calc(100% - 28px), 620px) !important;
    max-width: 620px !important;
  }

  .hero__copy {
    padding-top: 82px !important;
  }

  .hero__eyebrow {
    margin-bottom: 15px;
    font-size: .69rem;
    letter-spacing: .16em;
  }

  .hero h1.hero__headline {
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 8.6vw, 2.75rem) !important;
    line-height: 1.01;
  }

  .hero__headline-line {
    white-space: normal;
  }

  .hero__headline-line--accent {
    margin-top: 5px;
  }

  .hero .hero__text--lead {
    max-width: 520px;
    margin-bottom: 24px;
    font-size: .99rem;
    line-height: 1.55;
  }

  .hero__actions {
    width: 100%;
    max-width: 470px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 55px;
    font-size: .91rem;
  }

  .hero__assurance {
    width: 100%;
    max-width: 470px;
    margin-top: 16px;
    padding: 14px 12px 12px;
  }

  .hero__assurance .hero__trust {
    align-items: start;
    margin: 0;
  }

  .hero__assurance .hero__trust i {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .hero__assurance-foot {
    gap: 12px;
    margin-top: 11px;
    padding-top: 10px;
  }

  .hero__assurance .hero__delivery {
    width: auto;
    max-width: none;
    min-height: 0;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    font-size: .72rem;
  }

  .hero__trust {
    width: 100%;
    max-width: 500px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    margin-top: 0;
  }

  .hero__trust > span {
    width: 100%;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    justify-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    padding-inline: 4px;
    line-height: 1.25;
    white-space: normal;
  }

  .hero__trust-label {
    width: 100%;
    min-height: 1.3em;
    font-size: clamp(.62rem, 2.65vw, .7rem);
    letter-spacing: -.015em;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hero__trust > span:first-child {
    padding-left: 7px;
  }

  .hero__trust > span:last-child {
    padding-right: 7px;
  }

  .hero__trust > span + span::before {
    top: 3px;
    bottom: 3px;
    height: auto;
  }

  .hero__trust i {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  .hero__proof {
    margin-top: 0;
  }

  .hero__visual.hero-gallery {
    min-height: 510px;
    margin-bottom: 28px;
    overflow: hidden;
  }

  .hero-gallery__stage {
    inset: 22px 0 52px;
  }

  .hero-gallery__slide {
    width: min(76vw, 320px);
    padding: 6px;
    border-radius: 23px;
  }

  .hero-gallery__slide img {
    border-radius: 17px;
  }

  .hero-gallery__slide[data-position="left"] {
    opacity: .42;
    transform: translate3d(calc(-50% - 39vw), -50%, 0) rotate(-5deg) scale(.7);
  }

  .hero-gallery__slide[data-position="right"] {
    opacity: .42;
    transform: translate3d(calc(-50% + 39vw), -50%, 0) rotate(5deg) scale(.7);
  }

  .hero-gallery .hero__orb--one,
  .hero-gallery .hero__orb--two {
    width: 125vw;
    height: 330px;
    top: 74px;
  }

  .hero-gallery .hero__orbit {
    width: 132vw;
    height: 370px;
    top: 51px;
  }

  .hero-gallery > .spark--1 {
    right: 4%;
  }

  .hero-gallery > .spark--2 {
    left: 4%;
  }

  #produkt .product-image-shell {
    width: min(174px, 48%) !important;
    max-width: 174px !important;
  }
}

@media (max-width: 420px) {
  .hero__copy {
    padding-top: 76px !important;
  }

  .hero__eyebrow {
    letter-spacing: .12em;
  }

  .hero h1.hero__headline {
    font-size: clamp(1.78rem, 8.45vw, 2.35rem) !important;
  }

  .hero__delivery svg {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .hero__assurance-foot {
    flex-direction: column;
    gap: 9px;
  }

  .hero__assurance .hero__proof {
    flex-direction: row;
    gap: 7px;
  }

  .hero__visual.hero-gallery {
    min-height: 490px;
  }

  .hero-gallery__slide {
    width: min(78vw, 292px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gallery .hero__orb,
  .hero-gallery .hero__orbit,
  .hero-gallery__slide,
  .hero-gallery__slide img,
  .hero-gallery__dots button,
  .hero__buy span,
  .hero__delivery {
    transition: none !important;
  }

  .hero-gallery .hero__orb,
  .hero-gallery .hero__orbit {
    animation: none !important;
  }

  .hero h1.hero__headline .hero__typing-cursor {
    animation: none !important;
  }
}
