/* SEKCJE — crossfade */
#content-sections {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none; /* aktywne tylko gdy widoczne */
}

#section-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 260;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#section-dots.visible {
  opacity: 1;
  pointer-events: auto;
}
.section-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.55);
  background: rgba(25,22,16,0.45);
  color: rgba(254,254,252,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  padding: 0;
  appearance: none;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.section-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: scale(1.08);
}
#section-hint-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.content-section {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.content-section.active {
  opacity: 1;
  pointer-events: all;
}

#section-produkt {
  background:
    linear-gradient(rgba(25,22,16,0.72), rgba(25,22,16,0.72)),
    url('../gallery/Rega%C5%82_WINE_Premium_.jpg') center center / cover no-repeat;
}
.produkt-inner { text-align: center; max-width: 600px; }
.produkt-label {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px; display: block;
}
.produkt-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 8vw, 112px); font-weight: 300;
  line-height: 0.95; margin-bottom: 40px; letter-spacing: -0.01em;
}
.produkt-title em { font-style: italic; color: var(--accent); }
.produkt-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300; color: var(--text); margin-bottom: 6px;
}
.produkt-price-note {
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 48px; display: block;
}
.produkt-specs {
  display: flex; gap: 48px; margin-bottom: 56px;
  flex-wrap: wrap; justify-content: center;
}
.spec-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.spec-label { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.spec-value { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--text); }
.produkt-info-block {
  margin-top: -24px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.produkt-materials-line,
.produkt-capacity-line {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 300;
  text-align: center;
  margin: 0;
}
@media (max-width: 768px) {
  .produkt-info-block {
    margin-top: -16px;
    margin-bottom: 36px;
    gap: 6px;
  }
  .produkt-materials-line,
  .produkt-capacity-line {
    font-size: 11px;
    line-height: 1.5;
    padding: 0 16px;
  }
}
.btn-primary {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bg); background: var(--accent); border: none;
  padding: 18px 48px; cursor: pointer; transition: opacity 0.3s; display: inline-block;
}
.btn-primary:hover { opacity: 0.85; }
.btn-outline {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); background: transparent; border: 1px solid var(--accent);
  padding: 18px 48px; cursor: pointer; transition: background 0.3s, color 0.3s; display: inline-block;
}
.btn-outline:hover { background: var(--accent); color: var(--bg); }
.btn-stack { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.mobile-only { display: none; }

.section-sep { display: none; }

#section-jak {
  background:
    linear-gradient(rgba(25,22,16,0.72), rgba(25,22,16,0.72)),
    url('../gallery/Rega%C5%82_WINE_wn%C4%99trze%20kom%C3%B3rek.jpg') center center / cover no-repeat;
}
.jak-inner { text-align: center; max-width: 640px; }
.jak-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 300;
  line-height: 1.1; margin-bottom: 24px;
}
.jak-sub {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: rgba(254,254,252,0.55); margin-bottom: 56px;
}
.process-steps {
  display: flex; gap: 0; margin-bottom: 56px;
  position: relative; width: 100%; max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 4px; left: 16px; right: 16px;
  height: 1px; background: rgba(140,132,119,0.3);
}
.step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; z-index: 1; }
.step-num { font-size: 9px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.step-name { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 400; color: var(--text); line-height: 1.3; text-align: center; }

#section-footer {
  background:
    linear-gradient(rgba(25,22,16,0.72), rgba(25,22,16,0.72)),
    url('../gallery/Rega%C5%82_WINE_Surowy.jpg') center center / cover no-repeat;
  border-top: 1px solid rgba(140,132,119,0.15);
  flex-direction: column; gap: 40px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300; letter-spacing: 0.3em; color: var(--text); text-align: center; }
.footer-author { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-author-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 300; letter-spacing: 0.25em; color: var(--text); text-transform: uppercase; }
.footer-author-role { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; justify-content: center; }
.footer-links a { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 10px; color: rgba(140,132,119,0.4); letter-spacing: 0.1em; text-align: center; }

@media (max-width: 768px) {
  .content-section {
    padding: 80px 24px 40px;
  }
  .mobile-only { display: inline-block; }

  #section-dots {
    right: 14px;
    gap: 8px;
  }
  .section-dot {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  #section-hint-label {
    font-size: 8px;
  }

  #section-produkt {
    --mobile-bg-x: 90%;
    --mobile-bg-y: center;
    --mobile-bg-size: auto 90%;
    background:
      linear-gradient(rgba(25,22,16,0.72), rgba(25,22,16,0.72)),
      url('../gallery/Rega%C5%82_WINE_Premium_.jpg') var(--mobile-bg-x) var(--mobile-bg-y) / var(--mobile-bg-size) no-repeat;
  }

  #section-jak {
    --mobile-bg-x: 10%;
    --mobile-bg-y: center;
    --mobile-bg-size: auto 100%;
    background:
      linear-gradient(rgba(25,22,16,0.72), rgba(25,22,16,0.72)),
      url('../gallery/Rega%C5%82_WINE_wn%C4%99trze%20kom%C3%B3rek.jpg') var(--mobile-bg-x) var(--mobile-bg-y) / var(--mobile-bg-size) no-repeat;
  }

  #section-footer {
    --mobile-bg-x: 5%;
    --mobile-bg-y: center;
    --mobile-bg-size: auto 110%;
    background:
      linear-gradient(rgba(25,22,16,0.72), rgba(25,22,16,0.72)),
      url('../gallery/Rega%C5%82_WINE_Surowy.jpg') var(--mobile-bg-x) var(--mobile-bg-y) / var(--mobile-bg-size) no-repeat;
  }
}
