/* ============ SECTIONS — Liquid Lab layouty ============ */

/* ---------- 01 · HERO ---------- */
.s-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--gutter) + 64px) var(--gutter) var(--gutter);
}

.s-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.s-hero__h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.025em;
  margin: 8px 0 28px;
}
.s-hero__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.s-hero__line > span { display: inline-block; }
/* gradient na animowanym spanie (nie na rodzicu) — background-clip:text
   gubi tekst, gdy transformowany jest potomek */
.s-hero__line--accent > span {
  background: var(--grad-ribbon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.s-hero__sub {
  font-size: var(--fs-lead);
  color: var(--cream-soft);
  max-width: 46ch;
}

.s-hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 36px;
  color: var(--cream-mute);
}
.s-hero__stats b {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.s-hero__statdiv { width: 1px; height: 26px; background: rgba(255, 247, 230, .2); }

.s-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.s-hero__trust { margin-top: 30px; opacity: .55; }

.s-hero__stage {
  position: relative;
  min-height: clamp(360px, 60vh, 720px);
}
.s-hero__stage .bottle-anchor {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
}

.s-hero__cue {
  position: absolute;
  bottom: 28px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: .55;
}
.s-hero__cueline {
  width: 64px; height: 1px;
  background: var(--cream);
  transform-origin: left;
  animation: cuePulse 2.2s var(--ease-out-expo) infinite;
}
@keyframes cuePulse {
  0% { transform: scaleX(0); opacity: 0; }
  35% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1) translateX(24px); opacity: 0; }
}

/* ---------- 02 · MANIFESTO ---------- */
.s-manifesto {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 72px);
  letter-spacing: -.01em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 247, 230, .35);
  user-select: none;
}
.marquee__track { display: inline-block; will-change: transform; }
.marquee__track span { display: inline-block; padding-right: .35em; }

.s-manifesto__core {
  max-width: 1100px;
  margin: clamp(64px, 9vw, 140px) auto;
  padding: 0 var(--gutter);
  text-align: center;
  position: relative;
  z-index: 2;
}
.s-manifesto__line {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 54px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
}
.s-manifesto__line .w { opacity: .16; display: inline-block; }

/* ---------- 03 · JAK DZIAŁA ---------- */
.s-how { position: relative; }

.s-how__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--gutter) + 48px) var(--gutter);
  max-width: 1500px;
  margin: 0 auto;
}

.s-how__head { margin-bottom: clamp(32px, 4vw, 64px); }

.s-how__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
}

.s-how__steps { position: relative; min-height: clamp(280px, 38vh, 420px); }

.s-how__step {
  max-width: 52ch;
}
html[data-tier="full"] .s-how__step {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}
html[data-tier="full"] .s-how__step:first-child { opacity: 1; visibility: visible; }

.s-how__num {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yellow);
  margin-bottom: 18px;
}
.s-how__step h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  margin-bottom: 14px;
}
.s-how__step p:not(.s-how__num) {
  color: var(--cream-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.s-how__step strong { color: var(--yellow); font-weight: 600; }

.s-how__stage { position: relative; min-height: clamp(320px, 55vh, 640px); }
.s-how__stage .bottle-anchor {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
}

.s-how__rail {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: min(50%, 280px);
  background: rgba(255, 247, 230, .15);
  border-radius: 2px;
  overflow: hidden;
}
.s-how__railfill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--grad-ribbon);
  transform: scaleY(0);
  transform-origin: top;
}

/* ---------- 04 · SKŁADNIKI ---------- */
.s-ing { position: relative; }

.s-ing__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--gutter) + 48px) 0 var(--gutter);
  overflow: hidden;
}

.s-ing__head {
  padding: 0 var(--gutter);
  max-width: 1500px;
  margin: 0 auto clamp(28px, 3.5vw, 56px);
  width: 100%;
}
.s-ing__head .h2 em { color: var(--navy-night); -webkit-text-stroke: 0; }
.s-ing__lead { color: var(--cream-soft); margin-top: 14px; font-size: var(--fs-lead); }

.s-ing__stage {
  position: absolute;
  left: clamp(-40px, 1vw, 60px);
  bottom: 16vh;
  width: min(30vw, 420px);
  aspect-ratio: 4 / 5;
  pointer-events: none;
}
.s-ing__stage .bottle-anchor { position: absolute; inset: 0; }

.s-ing__viewport { width: 100%; }
.s-ing__track {
  display: flex;
  gap: clamp(18px, 2vw, 32px);
  padding: 0 var(--gutter) 0 clamp(28vw, 34vw, 520px);
  width: max-content;
  will-change: transform;
}

.ing-card {
  width: clamp(300px, 26vw, 400px);
  flex-shrink: 0;
  padding: clamp(24px, 2.4vw, 40px);
  border-radius: 28px;
  background: rgba(13, 8, 38, .55);
  border: 1px solid rgba(255, 247, 230, .14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .5s var(--ease-out-expo), border-color .5s ease;
}
.ing-card:hover { transform: translateY(-10px) rotate(-.6deg); border-color: rgba(255, 201, 60, .5); }

.ing-card--hot {
  background: linear-gradient(150deg, rgba(255, 31, 143, .32), rgba(13, 8, 38, .6) 65%);
  border-color: rgba(255, 31, 143, .45);
}

.ing-card__tag { color: var(--yellow); opacity: .9; margin-bottom: 26px; }

.ing-card__dose {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .9;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.ing-card__dose b {
  font-size: clamp(56px, 5.6vw, 92px);
  font-variant-numeric: tabular-nums;
  background: var(--grad-ribbon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ing-card__dose i {
  font-style: normal;
  font-size: clamp(18px, 1.8vw, 26px);
  color: var(--cream-mute);
}

.ing-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}
.ing-card h3 span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-mute);
  margin-top: 8px;
}
.ing-card__body { color: var(--cream-soft); font-size: 15px; line-height: 1.55; }
.ing-card--last .btn { margin-top: 22px; }

/* ---------- 05 · KIEDY ---------- */
.s-when {
  position: relative;
  padding: var(--section-pad) var(--gutter);
  max-width: 1500px;
  margin: 0 auto;
}
.s-when__head { text-align: center; margin-bottom: clamp(40px, 5vw, 80px); }

.s-when__panels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: stretch;
}

.s-when__panel {
  padding: clamp(28px, 3vw, 52px);
  border-radius: 32px;
  border: 1px solid rgba(255, 247, 230, .14);
  background: rgba(13, 8, 38, .45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.s-when__panel--dawn {
  background: rgba(255, 247, 230, .07);
  border-color: rgba(255, 201, 60, .3);
}

.s-when__time {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--cream-mute);
  margin-bottom: 26px;
}
.s-when__panel--dawn .s-when__time { color: var(--yellow); }

.s-when__panel h3 {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
}
.s-when__panel h3 span {
  display: block;
  font-size: .42em;
  font-weight: 700;
  color: var(--cream-mute);
  margin-top: 6px;
  letter-spacing: .02em;
}
.s-when__panel p { color: var(--cream-soft); font-size: var(--fs-lead); line-height: 1.55; max-width: 38ch; }
.s-when__panel strong { color: var(--yellow); }

.s-when__divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 5vw, 80px);
}
.s-when__line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1.5px;
  margin-left: -0.75px;
  background: linear-gradient(180deg, var(--navy), var(--yellow));
  transform: scaleY(0);
  transform-origin: top;
}
.s-when__sun {
  position: relative;
  width: clamp(40px, 4vw, 64px);
  height: clamp(40px, 4vw, 64px);
  color: var(--yellow);
  background: var(--navy-night);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 8px;
  box-shadow: 0 0 0 1px rgba(255, 201, 60, .4), 0 0 48px rgba(255, 201, 60, .25);
}
.s-when__sun svg { width: 100%; height: 100%; }

.s-when__note {
  text-align: center;
  margin-top: clamp(32px, 4vw, 56px);
  opacity: .55;
}
.s-when .bottle-anchor--ghost { top: 42%; }

/* ---------- 06 · OPINIE ---------- */
.s-rev {
  position: relative;
  padding: var(--section-pad) var(--gutter);
  max-width: 1500px;
  margin: 0 auto;
}
.s-rev__head { margin-bottom: clamp(36px, 4.5vw, 72px); }

.s-rev__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
}

.rev-card {
  padding: clamp(26px, 2.6vw, 44px);
  border-radius: 28px;
  background: rgba(255, 247, 230, .06);
  border: 1px solid rgba(255, 247, 230, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  transition: transform .5s var(--ease-out-expo), border-color .5s ease;
}
.rev-card:hover { transform: translateY(-8px); border-color: rgba(255, 179, 71, .45); }
.rev-card:nth-child(2) { transform: translateY(28px); }
.rev-card:nth-child(2):hover { transform: translateY(20px); }

.rev-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.35;
}
.rev-card figcaption { color: var(--cream-mute); }
.rev-card--cta { border-style: dashed; opacity: .85; }

/* ---------- 07 · KUP ---------- */
.s-cta {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-pad) var(--gutter);
  overflow: hidden;
}

.s-cta__stagewrap {
  position: relative;
  width: min(34vw, 320px);
  aspect-ratio: 4 / 5;
  margin-bottom: clamp(-36px, -2.4vw, -16px);
}
.s-cta__stagewrap .bottle-anchor { position: absolute; inset: 0; }

.s-cta__h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.02em;
  position: relative;
  z-index: 2;
}
.s-cta__h2 em { color: var(--navy-night); }
.s-cta__h2 [data-split-cta] { display: inline-block; }

.s-cta__sub {
  margin: 22px 0 38px;
  font-size: var(--fs-lead);
  color: var(--cream-soft);
  position: relative;
  z-index: 2;
}

/* ---------- Pakiety (mini-sklep) ---------- */
.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  align-items: stretch;
  width: min(100%, 980px);
  margin-top: 8px;
  position: relative;
  z-index: 2;
}

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: clamp(22px, 2.4vw, 36px) clamp(18px, 2vw, 28px);
  border-radius: 26px;
  background: rgba(13, 8, 38, .38);
  border: 1px solid rgba(255, 247, 230, .16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .45s var(--ease-out-expo), border-color .45s ease, background-color .45s ease;
}
.pack:hover { transform: translateY(-8px); border-color: rgba(255, 201, 60, .55); }

.pack--hot {
  background: linear-gradient(165deg, rgba(13, 8, 38, .72), rgba(233, 30, 99, .38));
  border-color: rgba(255, 31, 143, .55);
  transform: scale(1.05);
  box-shadow: 0 28px 64px rgba(13, 8, 38, .35);
}
.pack--hot:hover { transform: scale(1.05) translateY(-8px); }

.pack__flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--navy-night);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
}

.pack__tag { color: var(--cream-mute); }

.pack__qty {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: 1;
  margin-top: 8px;
}
.pack__qty span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--cream-mute);
  letter-spacing: .04em;
  margin-top: 6px;
}

.pack__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 26px);
  margin-top: 12px;
}
.pack__unit { color: var(--cream-mute); font-size: 11px; }

.pack__btn { margin-top: 18px; width: 100%; }
.pack--hot .pack__btn { box-shadow: 0 16px 40px rgba(13, 8, 38, .4); }

.s-cta__badges {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-top: 44px;
  opacity: .7;
}
.s-cta__badges li { display: flex; align-items: center; gap: 8px; }
.s-cta__badges li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}
.s-cta__micro { margin-top: 22px; opacity: .45; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-night);
  padding: clamp(48px, 6vw, 96px) var(--gutter) 32px;
  border-top: 1px solid rgba(255, 247, 230, .1);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 64px);
  max-width: 1500px;
  margin: 0 auto clamp(40px, 5vw, 72px);
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
}
.footer__logo span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  background: var(--grad-ribbon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 6px;
}
.footer__tag { margin-top: 16px; color: var(--cream-mute); font-size: var(--fs-small); }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col > .mono { opacity: .45; margin-bottom: 6px; }
.footer__col a {
  color: var(--cream-soft);
  font-size: var(--fs-small);
  width: fit-content;
  transition: color var(--dur-base) ease;
}
.footer__col a:hover { color: var(--yellow); }
.footer__addr { color: var(--cream-mute); font-size: 13px; line-height: 1.6; }

.footer__disclaimer {
  max-width: 1500px;
  margin: 0 auto 18px;
  font-size: 12px;
  color: rgba(255, 247, 230, .4);
  border-top: 1px solid rgba(255, 247, 230, .08);
  padding-top: 24px;
}
.footer__copy { max-width: 1500px; margin: 0 auto; opacity: .35; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .s-ing__stage { display: none; }
  .s-ing__track { padding-left: var(--gutter); }
}

@media (max-width: 899px) {
  .nav__links { display: none; }

  .s-hero__inner { grid-template-columns: 1fr; }
  .s-hero__stage { order: -1; min-height: 300px; }

  .s-how__grid { grid-template-columns: 1fr; }
  .s-how__stage { min-height: 240px; order: -1; }
  .s-how__rail { display: none; }

  .s-ing__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .s-ing__viewport::-webkit-scrollbar { display: none; }
  .s-ing__track { padding: 0 var(--gutter); }
  .ing-card { scroll-snap-align: center; width: min(82vw, 340px); }

  .s-when__panels { grid-template-columns: 1fr; }
  .s-when__divider { width: 100%; height: 64px; }
  .s-when__line {
    top: 50%; bottom: auto; left: 0; right: 0;
    width: auto; height: 1.5px; margin: 0;
    background: linear-gradient(90deg, var(--navy), var(--yellow));
    transform-origin: left;
  }

  .s-rev__grid { grid-template-columns: 1fr; }
  .rev-card:nth-child(2), .rev-card:nth-child(2):hover { transform: none; }

  .s-cta__stagewrap { width: min(70vw, 320px); }
  .s-cta__badges { flex-direction: column; gap: 12px; align-items: center; }
  .packs { grid-template-columns: 1fr; gap: 22px; }
  .pack--hot { transform: none; order: -1; }
  .pack--hot:hover { transform: translateY(-8px); }

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