/* ============================================
   WILDFLOW ZOO — design tokens
   Background: #F5EFE0 (kraft cream)
   Text: #2B2B26 (warm graphite)
   Display face: Fraunces (characterful serif)
   Body face: Work Sans
   Signage face: Kalam (hand/marker feel for "tabliczki zoo")
   ============================================ */

:root {
  --bg: #F5EFE0;
  --bg-deep: #EFE6D2;
  --ink: #2B2B26;
  --ink-soft: #5b5548;
  --paper: #FFFDF8;
  --wood: #8a5a34;
  --wood-dark: #5c3b21;
  --line: rgba(43,43,38,0.14);
  --shadow: 0 12px 32px rgba(43,33,20,0.14);
  --radius: 18px;
  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-sign: 'Kalam', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 600; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============ SHARED ELEMENTS ============ */
.eyebrow {
  font-family: var(--font-sign);
  font-size: 1.05rem;
  color: var(--wood-dark);
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}
.eyebrow.center { text-align: center; }
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin-bottom: 0.6rem;
}
.section-title.center { text-align: center; }
.section-lead {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section-lead.center { margin: 0 auto 2.5rem; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid #2B2B26; outline-offset: 3px; }
.btn-primary {
  background: var(--wood-dark);
  color: var(--paper);
  box-shadow: 0 8px 18px rgba(92,59,33,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--wood-dark);
  border: 2px solid var(--wood-dark);
}
.btn-ghost.small { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

.badge {
  display: inline-block;
  background: var(--accent, var(--wood-dark));
  color: var(--paper);
  font-family: var(--font-sign);
  font-size: 0.95rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

/* ============ FLOATING PRESENTATION BUTTON ============ */
.floating-presentation-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wood-dark);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.floating-presentation-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 30px rgba(0,0,0,0.32); }
.floating-presentation-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) {
  .floating-presentation-btn span { display: none; }
  .floating-presentation-btn { padding: 0.85rem; right: 16px; bottom: 16px; }
}

/* ============ FLOATING SONG PLAYER BUTTON ============ */
.floating-song-btn {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper, #FFFDF8);
  color: var(--wood-dark, #5c3b21);
  border: 2px solid var(--wood-dark, #5c3b21);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.floating-song-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 30px rgba(0,0,0,0.26); }
.floating-song-btn:focus-visible { outline: 3px solid var(--wood-dark); outline-offset: 3px; }
.floating-song-btn.is-playing {
  background: var(--wood-dark, #5c3b21);
  color: var(--paper, #FFFDF8);
  animation: songPulse 2s ease-in-out infinite;
}
@keyframes songPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(92,59,33,0.25); }
  50% { box-shadow: 0 10px 34px rgba(92,59,33,0.5); }
}
@media (max-width: 640px) {
  .floating-song-btn span { display: none; }
  .floating-song-btn { padding: 0.75rem; right: 16px; bottom: 76px; }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 400;
  background: rgba(245,239,224,0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1.5rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo span { color: #5B8A3A; }
.logo-img { height: 48px; width: auto; display: block; }
.main-nav { display: flex; gap: 1.8rem; }
.main-nav a { font-weight: 600; font-size: 0.95rem; position: relative; white-space: nowrap; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--wood-dark); transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
  line-height: 1.2;
}
.wm-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--wood-dark);
}
.wm-tagline {
  font-family: var(--font-sign);
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 220px;
}
@media (max-width: 900px) { .header-wordmark { display: none; } }
@media (max-width: 640px) { .main-nav { gap: 1rem; } .main-nav a { font-size: 0.85rem; } }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,33,20,0.15) 0%, rgba(43,33,20,0.55) 78%, rgba(43,33,20,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--paper);
  max-width: 720px;
  padding: 0 1.5rem 5rem;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  animation: fadeUp 1s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-content .eyebrow { color: #F0D8A8; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 1rem;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.hero-sub { font-size: 1.1rem; margin-bottom: 2rem; color: #EFE9DC; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #F0E9D8; font-size: 0.82rem; font-family: var(--font-sign);
  animation: bounce 2.4s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,6px); } }

/* ============ ZOO MAP ============ */
.zoo-map-section { max-width: 1100px; margin: 5.5rem auto; padding: 0 1.5rem; }
.zoo-map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--paper);
}
.zoo-map-img { width: 100%; height: auto; }
.map-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.8rem;
}
.map-chip {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--chip-color, var(--wood-dark));
  color: var(--chip-color, var(--wood-dark));
  transition: background 0.2s ease, color 0.2s ease;
}
.map-chip:hover { background: var(--chip-color, var(--wood-dark)); color: var(--paper); }

.map-hint { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin: 1.6rem 0 0.8rem; }

/* clickable pins overlaid on the zoo map illustration */
.map-hotspots { position: absolute; inset: 0; }
.map-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--chip-color, var(--wood-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 14px rgba(43,33,20,0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.map-hotspot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--chip-color, var(--wood-dark));
  opacity: 0;
  transition: opacity 0.25s ease, inset 0.25s ease;
}
.map-hotspot:hover { transform: translate(-50%, -50%) scale(1.18); box-shadow: 0 10px 20px rgba(43,33,20,0.35); }
.map-hotspot:hover::after { opacity: 0.5; inset: -10px; }
.map-hotspot:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 700px) {
  .map-hotspot { width: 32px; height: 32px; font-size: 1rem; }
}

/* ============ ENCLOSURES (WYBIEGI) ============ */
.path { max-width: none; margin: 0; padding: 0; }
.enclosure {
  position: relative;
  padding: 5rem 1.5rem;
  border-bottom: 1px dashed var(--line);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.enclosure.in-view { opacity: 1; transform: translateY(0); }
.enclosure:last-child { border-bottom: none; }

.enclosure-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.enclosure.reverse .enclosure-inner { direction: rtl; }
.enclosure.reverse .enclosure-inner > * { direction: ltr; }

.enclosure-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}
.enclosure.reverse .enclosure-media { justify-content: flex-start; }
.habitat-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.habitat-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.28) 100%);
}
.bottle-img {
  position: relative;
  z-index: 2;
  max-height: 380px;
  width: auto;
  margin: 0 2rem -6px;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.35));
  transition: transform 0.4s ease;
  cursor: pointer;
}
.enclosure-media:hover .bottle-img { transform: translateY(-8px) scale(1.02); }

.enclosure-content { padding: 0.5rem 0; }
.sign-plate {
  display: inline-block;
  font-family: var(--font-sign);
  background: var(--wood);
  color: var(--paper);
  padding: 0.3rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  transform: rotate(-1.5deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.animal-name {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--accent, var(--wood-dark));
  margin-bottom: 0.3rem;
}
.animal-name .latin { font-style: italic; font-weight: 400; color: var(--ink-soft); font-size: 0.7em; }
.habitat-tag { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 0.8rem; }
.flavor-name {
  font-size: 1.3rem;
  margin: 1.1rem 0 0.6rem;
  padding-top: 1rem;
  border-top: 2px solid var(--accent-soft, var(--line));
}
.flavor-desc { margin: 0 0 1rem; }
.tags-line { font-size: 0.88rem; color: var(--ink-soft); font-style: italic; margin: -0.4rem 0 1rem; }
.animal-fact {
  background: var(--accent-soft, var(--bg-deep));
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}

.action-buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.action-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--paper);
  border: 2px solid var(--accent, var(--wood-dark));
  color: var(--accent, var(--wood-dark));
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.action-btn img { width: 18px; height: 18px; }
.action-btn:hover { background: var(--accent, var(--wood-dark)); color: var(--paper); transform: translateY(-2px); }
.action-btn:hover img { filter: brightness(0) invert(1); }

/* ---------- Inline audio player ---------- */
.audio-player {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--paper);
  border: 2px solid var(--accent, var(--wood-dark));
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
}
.audio-play-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--accent, var(--wood-dark));
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.audio-play-btn:hover { transform: scale(1.08); }
.audio-play-btn svg { display: block; }
.audio-track {
  width: 90px;
  height: 5px;
  background: var(--accent-soft, var(--line));
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.audio-progress { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--accent, var(--wood-dark)); border-radius: 999px; }
.audio-time { font-size: 0.78rem; color: var(--ink-soft); min-width: 32px; font-variant-numeric: tabular-nums; }
.audio-player.is-empty { opacity: 0.55; }

/* ---------- "Zwiedzaj dalej" — explore more strip ---------- */
.explore-more { margin-top: 2rem; }
.explore-more-label {
  font-family: var(--font-sign);
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.explore-more-track {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}
.explore-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.explore-pill img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--bg-deep); }
.explore-pill:hover { border-color: var(--pill-color, var(--wood-dark)); color: var(--pill-color, var(--wood-dark)); transform: translateY(-2px); }

@media (max-width: 860px) {
  .enclosure { padding: 3.2rem 1.2rem; }
  .enclosure-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .enclosure.reverse .enclosure-inner { direction: ltr; }
  .enclosure-media { min-height: 320px; }
  .bottle-img { max-height: 280px; }
}

/* ============ NASZA HISTORIA ============ */
.history-section {
  position: relative;
  background-color: #14110c;
  background-size: cover;
  background-position: center;
  padding: 6rem 1.5rem;
  color: #EFE9DC;
}
.history-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.history-section .eyebrow { color: #E8C97A; }
.history-section .section-title { color: #FFFDF8; }
.history-subtitle { font-family: var(--font-display); font-size: 1.4rem; color: #FFFDF8; margin: 1.6rem 0 0.3rem; }
.history-tagline { font-style: italic; color: #C9BFA8; margin: 0 0 1.2rem; }
.history-text p { color: #D8CFBB; }
.history-lead { font-size: 1.05rem; color: #EFE9DC; }

.history-slideshow {
  position: relative;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem 1.5rem;
  backdrop-filter: blur(2px);
}
.history-slides-viewport {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.history-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.history-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.history-slide img { max-height: 320px; filter: drop-shadow(0 16px 20px rgba(0,0,0,0.4)); }
.history-slide-controls { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.2rem; }
.history-nav-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid #E8C97A;
  background: transparent; color: #E8C97A; font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.history-nav-btn:hover { background: #E8C97A; color: #2B2419; }
.history-dots { display: flex; gap: 0.4rem; }
.history-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; padding: 0; cursor: pointer; }
.history-dot.active { background: #E8C97A; width: 18px; border-radius: 5px; transition: width 0.25s ease; }

@media (max-width: 900px) {
  .history-inner { grid-template-columns: 1fr; gap: 2rem; }
  .history-slides-viewport { height: 260px; }
  .history-slide img { max-height: 240px; }
}
.brand-section {
  position: relative;
  padding: 6rem 1.5rem;
  overflow: hidden;
  background: var(--bg-deep);
}
.texture-overlay {
  position: absolute; inset: 0;
  background-size: 480px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}
.brand-inner { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.brand-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.brand-item { display: flex; flex-direction: column; align-items: center; }
.brand-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--wood-dark); font-weight: 700; }
.brand-item span:last-child { font-size: 0.92rem; color: var(--ink-soft); max-width: 160px; }

/* ============ CONTACT ============ */
.contact-section { max-width: 640px; margin: 0 auto; padding: 6rem 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--paper);
  font-size: 0.98rem;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--wood-dark);
}
.contact-form .btn { align-self: flex-start; }

/* ============ FOOTER ============ */
.site-footer { background: #2B2419; color: #EFE6D2; padding: 3rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; }
.site-footer .logo { color: #EFE6D2; }
.site-footer .logo span { color: #8FBE5E; }
.site-footer p { color: #C9BFA8; font-size: 0.9rem; margin: 0; }

/* ============ PRESENTATION MODAL ============ */
.presentation-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20,15,8,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.presentation-modal.open { opacity: 1; visibility: visible; }
.presentation-inner {
  position: relative;
  width: min(1000px, 92vw);
  height: min(620px, 82vh);
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
}
.presentation-close {
  position: absolute; top: 14px; right: 18px; z-index: 20;
  background: rgba(43,33,20,0.5); color: #fff; border: none;
  width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.presentation-close:hover { background: rgba(43,33,20,0.8); }
.slides-viewport { position: relative; flex: 1; overflow: hidden; }
.slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 2rem;
  padding: 3rem 4rem;
  opacity: 0;
  transform: scale(0.97) translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
.slide-bottle { display: flex; justify-content: center; }
.slide-bottle img { max-height: 320px; filter: drop-shadow(0 16px 20px rgba(0,0,0,0.3)); animation: floatSlide 4s ease-in-out infinite; }
@keyframes floatSlide { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.slide-text .slide-eyebrow { font-family: var(--font-sign); color: var(--accent, var(--wood-dark)); font-size: 1rem; }
.slide-text h3 { font-family: var(--font-display); font-size: 2rem; margin: 0.2rem 0 0.6rem; }
.slide-text p { color: var(--ink-soft); font-size: 1rem; }
.slide.title-slide { grid-template-columns: 1fr; text-align: center; padding: 3rem; }
.slide.title-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,33,20,0.25) 0%, rgba(43,33,20,0.7) 100%);
  z-index: 0;
}
.slide.title-slide h2, .slide.title-slide p { position: relative; z-index: 1; }
.slide.title-slide h2 { font-family: var(--font-display); font-size: 2.6rem; color: var(--paper); text-shadow: 0 4px 16px rgba(0,0,0,0.35); }
.slide.title-slide p { color: #F0E9D8; max-width: 480px; margin: 0.8rem auto 0; }

.presentation-controls {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  padding: 1rem; background: var(--paper); border-top: 1px solid var(--line);
}
.pres-nav-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--wood-dark);
  background: transparent; color: var(--wood-dark); font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.pres-nav-btn:hover { background: var(--wood-dark); color: var(--paper); }
.presentation-dots { display: flex; gap: 0.45rem; }
.pres-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); cursor: pointer; border: none; padding: 0; }
.pres-dot.active { background: var(--wood-dark); width: 22px; border-radius: 5px; transition: width 0.25s ease; }

@media (max-width: 720px) {
  .presentation-inner { width: 96vw; height: 88vh; }
  .slide { grid-template-columns: 1fr; padding: 1.6rem; text-align: center; }
  .slide-bottle img { max-height: 200px; }
}

/* ============ PRODUCT CARD MODAL (klik w butelkę) ============ */
.product-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20,15,8,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 2rem 1rem;
}
.product-modal.open { opacity: 1; visibility: visible; }
.product-card {
  position: relative;
  width: min(980px, 100%);
  max-height: 90vh;
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.product-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.product-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(245,239,224,0.96) 0%, rgba(245,239,224,0.9) 45%, rgba(245,239,224,0.55) 100%);
}
.product-close {
  position: absolute; top: 14px; right: 18px; z-index: 20;
  background: rgba(43,33,20,0.55); color: #fff; border: none;
  width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.product-close:hover { background: rgba(43,33,20,0.85); }
.product-scroll { position: relative; z-index: 1; max-height: 90vh; overflow-y: auto; }
.product-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  padding: 3rem 2.6rem;
  align-items: start;
}
.product-bottle-col { order: 2; display: flex; justify-content: center; padding-top: 1rem; }
.product-bottle-col img { max-height: 380px; filter: drop-shadow(0 18px 22px rgba(0,0,0,0.3)); }
.product-info-col { order: 1; }
.product-sign {
  display: inline-block;
  font-family: var(--font-sign);
  background: var(--wood);
  color: var(--paper);
  padding: 0.3rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin: 0 0 0.8rem;
  transform: rotate(-1.5deg);
}
.product-animal-name { font-family: var(--font-display); font-size: 1.9rem; color: var(--accent, var(--wood-dark)); margin: 0 0 0.2rem; }
.product-habitat-tag { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 0.6rem; }
.product-badge {
  display: inline-block; background: var(--accent, var(--wood-dark)); color: var(--paper);
  font-family: var(--font-sign); font-size: 0.9rem; padding: 0.2rem 0.8rem; border-radius: 999px; margin-bottom: 0.6rem;
}
.product-flavor-name { font-size: 1.15rem; margin: 0.8rem 0 0.4rem; padding-top: 0.8rem; border-top: 2px solid var(--line); }
.product-flavor-desc { margin: 0 0 0.8rem; font-size: 0.95rem; }
.product-animal-fact { background: rgba(255,253,248,0.7); border-radius: 12px; padding: 0.9rem 1.1rem; font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 1.3rem; }

.nutrition-block { margin-bottom: 1.4rem; }
.nutrition-title { font-family: var(--font-sign); font-size: 1rem; color: var(--ink); margin: 0 0 0.5rem; }
.nutrition-note { font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; }
.nutrition-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; background: rgba(255,253,248,0.7); border-radius: 10px; overflow: hidden; }
.nutrition-table td { padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--line); }
.nutrition-table tr:last-child td { border-bottom: none; }
.nutrition-table td.nv { text-align: right; font-weight: 600; white-space: nowrap; }

.product-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.product-song-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: var(--wood-dark);
  text-decoration: underline; text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .product-inner { grid-template-columns: 1fr; padding: 2.2rem 1.4rem; gap: 1.2rem; }
  .product-bottle-col { order: 1; padding-top: 2.4rem; }
  .product-info-col { order: 2; }
  .product-bottle-col img { max-height: 240px; }
}
