/* ===== Tokeny kolorów i podstawy ===== */
:root {
  --sun-yellow: #FDB913;
  --sun-orange: #F5A623;
  --sun-orange-deep: #E8871E;
  --leaf-green: #4CA83C;
  --leaf-green-dark: #3A8A2D;
  --terracotta: #C1652F;
  --spring-blue: #2E96C7;
  --cream: #FFF8E7;
  --cream-soft: #FFFDF6;
  --ink: #3A2E1F;
  --ink-soft: #6B5D48;
  --white: #FFFFFF;
  /* Ciemniejsze warianty TYLKO do tekstu — spelniaja kontrast WCAG AA na cremie/bieli.
     Tokenow bazowych nie ruszamy, bo sluza tez jako tla gradientow (paski, przyciski). */
  --orange-text: #B0560D;
  --green-text: #347F28;
  --shadow: 0 10px 30px rgba(232, 135, 30, 0.15);
  --radius: 20px;
  /* Rozlany mojito — jasny, żeby ciemny tekst na wypełnionej sekcji dalej był czytelny */
  --ciecz: #E4F3CD;
  --ciecz-jasna: #F2FAE3;
  --ciecz-ciemna: #C8E4A4;
  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
}

p { margin: 0 0 14px; }

a { color: inherit; text-decoration: none; }

/* ===== Topbar ===== */
.topbar {
  background: linear-gradient(90deg, var(--leaf-green), var(--leaf-green-dark));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 24px;
  flex-wrap: wrap;
  text-align: center;
}
.topbar__link { color: var(--white); }
.topbar__sep { opacity: 0.6; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 135, 30, 0.12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}
.brand__logo { height: 56px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 0.98rem;
}
.nav a { color: var(--ink-soft); transition: color 0.2s; }
.nav a:hover { color: var(--orange-text); }
.nav__cta {
  background: var(--sun-orange);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.nav__cta:hover { background: var(--sun-orange-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-head);
  font-size: 1.02rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--sun-yellow), var(--sun-orange-deep));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(232, 135, 30, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(232, 135, 30, 0.45); }
.btn--ghost {
  background: var(--white);
  color: var(--green-text);
  border: 2px solid var(--leaf-green);
}
.btn--ghost:hover { background: var(--leaf-green); color: var(--white); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, #FFF3D0 0%, var(--cream) 45%, var(--cream-soft) 100%);
  padding: 80px 0 calc(var(--but-wys) + 26px);
  overflow: hidden;
}
.hero__decor {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.35), transparent 70%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.eyebrow {
  color: var(--green-text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.eyebrow--center { text-align: center; }
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  color: var(--orange-text);
}
.hero__lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}
.hero__note {
  font-weight: 700;
  color: var(--green-text);
  font-size: 0.95rem;
}
.hero__art {
  display: flex;
  justify-content: center;
}
.hero__img {
  width: 100%;
  max-width: 440px;
  height: auto;
  transform-origin: center;
  animation: sunBreathe 7s ease-in-out infinite;
}

/* Poświata, która rozchodzi się w rytm oddechu słońca */
.hero__art { position: relative; }
.hero__art::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  padding-bottom: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 185, 19, .55), rgba(253, 185, 19, 0) 68%);
  transform: translate(-50%, -50%) scale(.5);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: sunGlow 7s ease-out infinite;
}

@keyframes sunBreathe {
  0%, 52%   { transform: scale(1); }
  60%       { transform: scale(1.075); }
  70%       { transform: scale(.982); }
  80%       { transform: scale(1.014); }
  88%, 100% { transform: scale(1); }
}
@keyframes sunGlow {
  0%, 52%   { transform: translate(-50%, -50%) scale(.82); opacity: 0; }
  62%       { transform: translate(-50%, -50%) scale(1.16); opacity: .7; }
  80%, 100% { transform: translate(-50%, -50%) scale(.82); opacity: 0; }
}


/* ===== Butelka w hero i rozlanie do sekcji niżej =====
   Dolna krawędź hero jest „stołem": .hero ma overflow:hidden, więc kładąca się
   butelka jest przy niej ucinana i wygląda, jakby na nim leżała. Po obrocie
   o 90° wylot wypada w osi X o (szerokość + wysokość) od lewej krawędzi
   butelki — z tego samego wzoru liczony jest start strumienia. */
:root {
  --but-wys: clamp(205px, 34vw, 430px);
  --but-szer: calc(var(--but-wys) * 0.2597);
  --but-lewo: clamp(6px, 3vw, 46px);
  --obrot: 0;
  --oproznienie: 0;
  --nalanie: 0;
  --lanie: 0;
}

.butelka {
  position: absolute;
  left: var(--but-lewo);
  bottom: 0;
  width: var(--but-szer);
  height: var(--but-wys);
  z-index: 3;
  transform-origin: 100% 100%;
  transform: rotate(calc(var(--obrot) * 1deg));
  will-change: transform;
}
/* Osobna warstwa na kołysanie, żeby nie walczyło z obrotem przy przewracaniu */
.butelka__chwiej {
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
}
.butelka:not(.butelka--lezy):hover .butelka__chwiej {
  animation: chwianie 0.62s ease-in-out infinite;
}
@keyframes chwianie {
  0%, 100% { transform: rotate(-3.4deg); }
  50%      { transform: rotate(3.4deg); }
}
.butelka__foto {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(58, 46, 31, 0.22));
}
/* „Opróżnione szkło" przycięte kształtem butelki (maska = jej własna alfa),
   odsłaniane od szyjki w dół w miarę wylewania. */
.butelka__pusto {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: url("../assets/butelka-mojito.png") 0 0 / 100% 100% no-repeat;
          mask: url("../assets/butelka-mojito.png") 0 0 / 100% 100% no-repeat;
}
.butelka__pusto i {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--oproznienie) * 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.24));
}

/* Od 900 px butelka stoi OBOK napisów, na ich wysokości: hero traci wysoki
   dolny margines, a treść dostaje tyle wcięcia, ile brakuje w bocznym pasie.
   Ten blok musi stać PO regułach bazowych .hero / .hero__inner — media queries
   w tym pliku nie są w kolejności malejącej. */
@media (min-width: 900px) {
  /* tyle, ile zajmuje LEŻĄCA butelka — stojąca ma zachodzić na tekst,
     leżąca nie może zasłaniać ostatniego wiersza. */
  .hero { padding-bottom: calc(var(--but-szer) + 30px); }
  .hero__inner {
    padding-left: max(0px, calc(var(--but-lewo) + var(--but-szer) + 34px
                     - ((100vw - min(1180px, 100vw)) / 2 + 24px)));
  }
}

#o-nas { position: relative; }
#o-nas > .container { position: relative; z-index: 2; }
#o-nas > .sect-wave { z-index: 3; }

.rozlew { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Lustro napoju — kształt liczony w skrypcie (fala uderzeniowa + kołysanie),
   dlatego to <path>, a nie prostokąt z ozdobną falką na górze. */
.rozlew__tafla {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Jaśniejsza krecha na samym lustrze — bez niej fala ginie w gradiencie */
.rozlew__piana {
  fill: none;
  stroke: #FFFFFF;
  stroke-opacity: 0.6;
  stroke-width: 3;
  stroke-linecap: round;
}

/* Strumień — ścieżka liczona w skrypcie, żeby to był tor rzutu, nie kreska */
.rozlew__svg {
  position: absolute;
  left: 0;
  top: calc(-0.5 * var(--but-szer));
  width: 100%;
  height: calc(100% + 0.5 * var(--but-szer));
  overflow: visible;
}
.rozlew__nurt { fill: var(--ciecz-ciemna); opacity: calc(var(--lanie) * 0.92); }
.rozlew__polysk { fill: var(--ciecz-jasna); opacity: calc(var(--lanie) * 0.8); }

/* Krople odrywające się od strumienia */
.rozlew__krople {
  position: absolute;
  left: calc(var(--but-lewo) + var(--but-szer) + var(--but-wys));
  top: calc(-0.5 * var(--but-szer));
  width: 0;
  height: 0;
  opacity: var(--lanie);
}
.rozlew__krople i {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 10px;
  margin-left: -3.5px;
  border-radius: 50% 50% 46% 46%;
  background: var(--ciecz-ciemna);
  animation: kropelka 1.2s cubic-bezier(.45, 0, .9, .6) infinite;
  animation-delay: calc(var(--k) * -0.24s);
}
@keyframes kropelka {
  0%   { transform: translate(0, 0) scale(.6); opacity: 0; }
  10%  { opacity: .95; }
  80%  { opacity: .85; }
  100% { transform: translate(var(--kropla-x, 40px), var(--droga, 320px)) scale(1.2); opacity: 0; }
}

/* Plusk tam, gdzie strumień uderza w lustro napoju */
.rozlew__plusk {
  position: absolute;
  left: 0;
  top: var(--plusk-y, 50%);
  width: 100%;
  height: 0;
  opacity: var(--lanie);
}
.rozlew__plusk span {
  position: absolute;
  left: var(--plusk-x, 40%);
  bottom: -5px;
  width: 26px;
  height: 11px;
  margin-left: -13px;
  border-radius: 50%;
  border: 2px solid #A9D178;
  opacity: 0;
  animation: pierscien 1.6s ease-out infinite;
}
.rozlew__plusk span:nth-of-type(2) { animation-delay: .53s; }
.rozlew__plusk span:nth-of-type(3) { animation-delay: 1.06s; }
@keyframes pierscien {
  0%   { transform: scale(.3); opacity: .8; }
  100% { transform: scale(3.8); opacity: 0; }
}
.rozlew__plusk b {
  position: absolute;
  left: var(--plusk-x, 40%);
  bottom: 0;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #A9D178;
  opacity: 0;
  animation: bryzg 1.15s ease-out infinite;
  animation-delay: calc(var(--b) * -0.28s);
}
@keyframes bryzg {
  0%   { transform: translate(0, 0) scale(.4); opacity: 0; }
  18%  { opacity: .9; }
  100% { transform: translate(calc((var(--b) - 1.5) * 18px), -30px) scale(.85); opacity: 0; }
}

/* ===== Sections ===== */
.section { padding: 88px 0; position: relative; }
.section--tint { background: var(--cream); }
.section--accent {
  background: linear-gradient(135deg, #FFF3D0, #FFE7B8);
}
.section--dark {
  background: linear-gradient(160deg, var(--leaf-green-dark), var(--leaf-green));
  color: var(--white);
}
.section--dark h2, .section--dark .eyebrow { color: var(--white); }
.section--dark .section__lead { color: rgba(255,255,255,0.9); }

.section__title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--orange-text);
}
.section__title--center { text-align: center; }
.section__lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ===== O nas ===== */
.story__note {
  max-width: 660px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
  background: var(--cream);
  border: 1px solid rgba(232, 135, 30, 0.18);
  border-radius: var(--radius);
  padding: 20px 26px;
}

.story__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 210px));
  gap: 18px;
  justify-content: center;
  margin: 0 auto;
}
.stat-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  border: 2px solid rgba(232, 135, 30, 0.15);
}
.stat-card__num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--orange-text);
}
.stat-card__label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ===== Oferta ===== */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--sun-yellow);
  transition: transform 0.2s;
}
.offer-card:hover { transform: translateY(-4px); }

/* Ilustracje produktów — wspólna butelka/szklanka 0,33 l, różnicowana kolorem i detalem */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.offer-card__icon {
  height: 78px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 14px;
}
.drink { width: 56px; height: 78px; overflow: visible; }
.drink__liquid, .wave { fill: var(--liquid); }
.drink__glass {
  fill: rgba(255, 255, 255, 0.35);
  stroke: rgba(58, 46, 31, 0.5);
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.drink__cap { fill: var(--leaf-green-dark); }
.drink--wide { width: 74px; }
/* Gęsty sok jest kryjący — mniej „szkła" na wierzchu, żeby kolor nie blakł */
.drink--thick .drink__glass { fill: rgba(255, 255, 255, 0.12); }
.bubble { fill: #FFFFFF; fill-opacity: 0.75; }
.ripple { stroke-opacity: 0.9; }
.straw { fill: var(--leaf-green); }
.ice { fill: #FFFFFF; fill-opacity: 0.55; }
.ice--2 { fill-opacity: 0.45; }
.ice--3 { fill-opacity: 0.5; }
.swirl { fill: #FFFFFF; fill-opacity: 0.22; }
.swirl--2 { fill-opacity: 0.15; }
.drink--bogus { width: 92px; }
.juice-stream, .squirt { fill: var(--liquid); }
.juice-ripple { fill: none; stroke: #FFFFFF; stroke-width: 1.6; stroke-opacity: 0.85; }
.slice, .ice, .berry, .swirl, .veg__carrot, .veg__apple,
.squeeze, .juice-stream, .juice-ripple, .squirt { transform-box: fill-box; transform-origin: center; }
.squeeze { transform-origin: 50% 100%; }
.juice-stream { transform-origin: 50% 0; }

/* Animacje ilustracji */
.bubble { animation: bubbleRise 2.8s ease-in infinite; }
.bubble:nth-of-type(2) { animation-delay: .7s; }
.bubble:nth-of-type(3) { animation-delay: 1.4s; }
.bubble:nth-of-type(4) { animation-delay: 2.1s; }
.wave { animation: waveDrift 4s ease-in-out infinite; }
.slice { animation: sliceTilt 5s ease-in-out infinite; }
.berry { animation: berryPulse 3.2s ease-in-out infinite; }
.drop { animation: dropFall 3.2s ease-in infinite; }
.ripple { animation: rippleOut 3.2s ease-out infinite; }

/* Herbaty — kostki lodu krążą w szklance */
.ice { animation: iceSwirl 5.5s ease-in-out infinite; }
.ice--2 { animation-delay: 1.8s; }
.ice--3 { animation-delay: 3.6s; }

/* Soki — połówka pomarańczy wyciska strumień soku do szklanki */
.squeeze { animation: squeeze 3.6s ease-in-out infinite; }
.juice-stream { animation: juiceStream 3.6s ease-out infinite; }
.juice-ripple { animation: juiceRipple 3.6s ease-out infinite; }
.squirt--l { animation: squirtL 3.6s ease-out infinite; }
.squirt--r { animation: squirtR 3.6s ease-out infinite; }

/* Boguś — gęsty wir w butelce, obok marchew i jabłko */
.swirl { animation: thickSwirl 6s ease-in-out infinite; }
.swirl--2 { animation-delay: 2.2s; }
.veg__carrot { transform-origin: 50% 18%; animation: carrotBob 4.4s ease-in-out infinite; }
.veg__apple { transform-origin: 50% 90%; animation: appleBob 4.4s ease-in-out infinite 2.2s; }

@keyframes bubbleRise {
  0%   { transform: translateY(0); opacity: 0; }
  15%  { opacity: .85; }
  85%  { opacity: .85; }
  100% { transform: translateY(-30px); opacity: 0; }
}
@keyframes waveDrift {
  0%, 100% { transform: translateX(-16px); }
  50%      { transform: translateX(0); }
}
@keyframes sliceTilt {
  0%, 100% { transform: rotate(-9deg); }
  50%      { transform: rotate(9deg); }
}
@keyframes iceSwirl {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(4px, -3px) rotate(13deg); }
  50%      { transform: translate(1px, -6px) rotate(-7deg); }
  75%      { transform: translate(-4px, -2px) rotate(9deg); }
}
@keyframes berryPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@keyframes squeeze {
  0%, 12%  { transform: scale(1, 1); }
  28%      { transform: scale(1.07, .84); }
  62%      { transform: scale(1.07, .84); }
  80%, 100% { transform: scale(1, 1); }
}
@keyframes juiceStream {
  0%, 16% { transform: scaleY(0); opacity: 0; }
  24%     { transform: scaleY(1); opacity: 1; }
  64%     { transform: scaleY(1); opacity: 1; }
  72%     { transform: scaleY(1); opacity: 0; }
  100%    { transform: scaleY(0); opacity: 0; }
}
@keyframes squirtL {
  0%, 14% { transform: translate(0, 0) scale(.4); opacity: 0; }
  22%     { opacity: .95; }
  40%     { transform: translate(-7px, 9px) scale(1); opacity: 0; }
  100%    { transform: translate(-7px, 9px) scale(1); opacity: 0; }
}
@keyframes squirtR {
  0%, 18% { transform: translate(0, 0) scale(.4); opacity: 0; }
  26%     { opacity: .9; }
  46%     { transform: translate(7px, 10px) scale(1); opacity: 0; }
  100%    { transform: translate(7px, 10px) scale(1); opacity: 0; }
}
@keyframes juiceRipple {
  0%, 26% { transform: scale(.3); opacity: 0; }
  38%     { opacity: .9; }
  62%     { transform: scale(1.3); opacity: 0; }
  100%    { transform: scale(1.3); opacity: 0; }
}
@keyframes appleBob {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(5deg); }
}
@keyframes thickSwirl {
  0%, 100% { transform: translateX(-3px) scaleX(1); }
  50%      { transform: translateX(3px) scaleX(.85); }
}
@keyframes carrotBob {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(6deg); }
}
@keyframes dropFall {
  0%   { transform: translateY(-8px); opacity: 0; }
  20%  { opacity: 1; }
  55%  { transform: translateY(17px); opacity: 1; }
  62%  { opacity: 0; }
  100% { transform: translateY(17px); opacity: 0; }
}
@keyframes rippleOut {
  0%, 55% { transform: scale(.25); opacity: 0; }
  65%     { opacity: .85; }
  100%    { transform: scale(1.35); opacity: 0; }
}
.offer-card h3 { color: var(--green-text); font-size: 1.15rem; margin-bottom: 4px; }
/* Górny pas kafelka: ilustracja po lewej, cena po prawej, na tej samej
   wysokości. Ilustracja ma stałe 78 px wysokości, więc `align-items: flex-end`
   sadza cenę na tej samej linii co dno butelki czy szklanki. */
.offer-card__gora {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.offer-card__gora .offer-card__icon { margin-bottom: 0; }

/* Kwota krojem nagłówkowym i w pomarańczu, jednostka drobniej pod spodem —
   liczba ma być tym, co widać najpierw przy przeglądaniu kafelków. */
.offer-card__cena {
  margin: 0;
  text-align: right;
  font-family: var(--font-head), sans-serif;
  line-height: 1.15;
}
.offer-card__cena strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange-text);
}
.offer-card__cena span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.offer-card > p { color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; margin-bottom: 12px; }

/* Smaki jako osobne „tabletki" — lepiej skanowalne niż ciąg po przecinku */
.flavors {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.flavors li {
  background: var(--cream);
  border: 1px solid rgba(232, 135, 30, 0.22);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 5px 11px;
  border-radius: 999px;
}

/* ===== Kaucja ===== */
.kaucja {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 34px;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  width: 24px;
  height: 24px;
  background: var(--leaf-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}
.kaucja__note {
  font-weight: 700;
  color: var(--orange-text);
}
.kaucja__art { display: flex; justify-content: center; }
.exchange { width: 100%; max-width: 400px; }

.sc-ground {
  stroke: rgba(58, 46, 31, 0.2);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
}
.sc-house, .sc-van { fill: var(--white); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }

/* Dom: dachówka, okna z podziałem, zadaszenie nad wejściem */
.sc-house .sc-wall { fill: url(#scWallGrad); }
.sc-house .sc-roof { fill: url(#scRoofGrad); }
.sc-house .sc-chimney { fill: var(--terracotta); }
.sc-house .sc-tiles { fill: none; stroke: rgba(58, 46, 31, 0.22); stroke-width: 1; }
.sc-house .sc-ridge { stroke: rgba(58, 46, 31, 0.5); stroke-width: 2.6; stroke-linecap: round; }
.sc-house .sc-win { fill: url(#scGlassGrad); }
.sc-house .sc-winbar { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.sc-house .sc-sill { fill: var(--cream); stroke-width: 1.6; }
.sc-house .sc-door { fill: var(--sun-orange); }
.sc-house .sc-doorpanel { fill: none; stroke: rgba(58, 46, 31, 0.38); stroke-width: 1.4; }
.sc-house .sc-handle { fill: var(--ink); stroke: none; }
.sc-house .sc-canopy { fill: var(--terracotta); stroke-width: 1.8; }
.sc-house .sc-step { fill: var(--cream); stroke-width: 1.6; }
.sc-house .sc-lampa { fill: var(--sun-yellow); stroke-width: 1.4; }
.sc-house .sc-plinth { fill: none; stroke: rgba(58, 46, 31, 0.22); stroke-width: 1.6; }
.sc-house .sc-gutter { fill: none; stroke: rgba(58, 46, 31, 0.45); stroke-width: 2.6; stroke-linecap: round; }
.sc-house .sc-eaveshade { fill: none; stroke: rgba(58, 46, 31, 0.1); stroke-width: 5; }
.sc-house .sc-doorglass { fill: url(#scGlassGrad); stroke-width: 1.3; }

/* Auto: bryła z podniesionym dachem, szyba, listwy, felgi */
.sc-van .sc-body { fill: url(#scVanGrad); }
.sc-van .sc-arch { fill: rgba(40, 36, 30, 0.78); stroke: none; }
.sc-van .sc-shade { fill: rgba(58, 46, 31, 0.13); stroke: none; }
.sc-van .sc-window { fill: url(#scGlassGrad); stroke-width: 1.8; }
.sc-van .sc-panel { fill: none; stroke: rgba(58, 46, 31, 0.3); stroke-width: 1.4; }
.sc-van .sc-crease { fill: none; stroke: rgba(58, 46, 31, 0.18); stroke-width: 1.4; }
.sc-van .sc-bumper { fill: #D8D0C0; stroke-width: 1.6; }
.sc-van .sc-trim { fill: none; stroke: var(--ink); stroke-width: 2.8; stroke-linecap: round; }
.sc-van .sc-mirror { fill: var(--ink); stroke-width: 1.2; }
.sc-van .sc-mirrorarm { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.sc-van .sc-lamp { fill: var(--sun-yellow); stroke-width: 1.4; }
.sc-van .sc-lamp--rear { fill: #E4573D; }
.sc-tyre { fill: #2C2A26; stroke: none; }
.sc-rim { fill: #E6DFD1; stroke: var(--ink); stroke-width: 1.5; }
.sc-hub { fill: var(--ink); stroke: none; }
.sc-spokes line { stroke: rgba(58, 46, 31, 0.55); stroke-width: 1.5; stroke-linecap: round; }
.sc-puff circle { fill: rgba(58, 46, 31, 0.16); stroke: none; }
.sc-driver { fill: var(--ink); stroke: none; }
.sc-driver .sc-shirt { fill: var(--leaf-green); }

/* Pętla dostawy: auto podjeżdża → kierowca zabiera puste → zostawia pełne → auto odjeżdża */
.sc-van { animation: scVan 10s ease-in-out infinite; }
.sc-spokes { transform-box: fill-box; transform-origin: center; animation: scWheel 10s ease-in-out infinite; }
.sc-driver { animation: scDriver 10s ease-in-out infinite; }
.sc-empty { animation: scEmpty 10s ease-in-out infinite; }
.sc-full { animation: scFull 10s ease-in-out infinite; }
.sc-puff { transform-box: fill-box; transform-origin: center; }
.sc-puff--1 { animation: scPuff 10s ease-out infinite; }
.sc-puff--2 { animation: scPuff 10s ease-out infinite .5s; }

@keyframes scVan {
  0%        { transform: translateX(-215px); }
  15%, 82%  { transform: translateX(0); }
  100%      { transform: translateX(255px); }
}
@keyframes scWheel {
  0%        { transform: rotate(0deg); }
  15%, 82%  { transform: rotate(540deg); }
  100%      { transform: rotate(1080deg); }
}
@keyframes scDriver {
  0%, 17%  { transform: translateX(0); opacity: 0; }
  22%      { transform: translateX(0); opacity: 1; }
  34%      { transform: translateX(40px); opacity: 1; }
  58%      { transform: translateX(40px); opacity: 1; }
  72%      { transform: translateX(0); opacity: 1; }
  78%      { transform: translateX(0); opacity: 0; }
  100%     { transform: translateX(0); opacity: 0; }
}
@keyframes scEmpty {
  0%, 34% { transform: translate(0, 0); opacity: 1; }
  52%     { transform: translate(-150px, -10px); opacity: 0; }
  92%     { transform: translate(0, 0); opacity: 0; }
  100%    { transform: translate(0, 0); opacity: 1; }
}
@keyframes scFull {
  0%, 54% { transform: translate(-150px, -10px); opacity: 0; }
  70%     { transform: translate(0, 0); opacity: 1; }
  92%     { transform: translate(0, 0); opacity: 1; }
  100%    { transform: translate(0, 0); opacity: 0; }
}
@keyframes scPuff {
  0%      { transform: translate(0, 0) scale(.5); opacity: 0; }
  4%      { opacity: .8; }
  14%     { transform: translate(-20px, -14px) scale(1.7); opacity: 0; }
  100%    { transform: translate(-20px, -14px) scale(1.7); opacity: 0; }
}

/* ===== Zamawianie ===== */
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}
.order-card {
  background: var(--cream-soft);
  border: 2px solid rgba(76, 168, 60, 0.15);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.order-card__num {
  position: absolute;
  top: -14px;
  left: 22px;
  width: 30px;
  height: 30px;
  background: var(--leaf-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-head);
}
.order-card h3 { font-size: 1.08rem; margin: 8px 0 8px; }
.order-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.order-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.order-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.order-feature__icon { font-size: 1.8rem; }
.order-feature h4 { margin: 0 0 4px; font-size: 1.02rem; color: var(--green-text); }
.order-feature p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ===== Klienci ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.client-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.client-card__icon { font-size: 2.4rem; margin-bottom: 10px; }
.client-card h3 { font-size: 1.05rem; color: var(--orange-text); }
.client-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ===== Obszar ===== */
.area {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
}
.area__text p { color: var(--ink-soft); }
.area__text strong { color: var(--ink); }
.area__note { font-weight: 700; color: var(--green-text); }
.area__note a { text-decoration: underline; }
.area__map {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}
/* Mapa Leaflet. Kontener musi mieć wysokość, inaczej Leaflet nic nie narysuje.
   `z-index: 0` tworzy kontekst układania, żeby wewnętrzne warstwy Leafleta
   (panele 400, kontrolki do 1000) nie wychodziły nad przyklejony nagłówek. */
.mapa {
  position: relative;
  z-index: 0;
  height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background: #E8EFE4;
}
.mapa .leaflet-container { font-family: var(--font-body), sans-serif; }

/* Powiększanie mapy na cały ekran. Ramka trzyma mapę i przycisk razem, żeby
   przy przejściu na pełny ekran przenosiły się jednym ruchem. */
.mapa-ramka { position: relative; }
/* Przycisk siedzi w LEWYM DOLNYM rogu: górny lewy zajmują kontrolki zoomu,
   górna krawędź bywa zajęta wstążką o braku podkładu, a prawy dolny to
   atrybucja OpenStreetMap, której zasłonić nie wolno. */
.mapa__powieksz {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 600;                 /* nad panelami Leafleta (400), pod kontrolkami */
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 2px solid rgba(232, 135, 30, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-family: var(--font-head), sans-serif;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(58, 46, 31, .18);
}
.mapa__powieksz::before { content: "⤢"; font-size: 1rem; line-height: 1; }
.mapa__powieksz:hover { background: var(--white); border-color: var(--sun-orange); }

.mapa-ramka--pelna {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 14px;
  background: var(--cream);
}
.mapa-ramka--pelna .mapa { height: 100%; border-radius: 14px; }
.mapa-ramka--pelna .mapa__powieksz { left: 26px; bottom: 26px; }
.mapa-ramka--pelna .mapa__powieksz::before { content: "✕"; }

/* Podpisy miejscowości rysowane jako tooltipy Leafleta — bez ramki i tła,
   z białą otoczką, tak jak na poprzedniej mapie. */
.mapa .miasto-etykieta {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  font-family: var(--font-head), sans-serif;
  font-weight: 800;
  color: #1B3A52;
  paint-order: stroke;
  -webkit-text-stroke: 3px rgba(255, 255, 255, .92);
}
.mapa .miasto-etykieta::before { display: none; }      /* strzałka dymka */
.mapa .miasto-etykieta--duza { font-size: .9rem; }
.mapa .miasto-etykieta--mala { font-size: .76rem; opacity: .9; }
.mapa .pinezka { background: none; border: 0; }
.mapa .pinezka svg { display: block; filter: drop-shadow(0 2px 3px rgba(30, 40, 20, .35)); }

/* Wstążka, nie zasłona: obrys obszaru i pinezki Leaflet rysuje sam, więc nawet
   bez podkładu mapowego widać kształt terenu dostaw. */
.mapa__blad {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 500;
  display: grid;
  gap: 2px;
  padding: 10px 14px 10px 58px;    /* miejsce na kontrolki zoomu po lewej */
  text-align: center;
  background: rgba(255, 248, 231, .94);
  border-bottom: 1px solid rgba(58, 46, 31, .12);
  color: var(--ink-soft);
  font-size: .78rem;
  line-height: 1.35;
}

.mp__credit {
  margin: 10px 4px 0;
  font-size: .76rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.mp__credit a { text-decoration: underline; }

/* Sprawdzanie adresu */
.area__sprawdz { margin-top: 22px; }
.area__sprawdz .btn { width: 100%; max-width: 340px; }
.area__wynik {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 5px solid var(--sun-orange);
  background: var(--white);
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm, 0 6px 18px rgba(58, 46, 31, .1));
}
.area__wynik--tak { border-left-color: var(--leaf-green); }
.area__wynik--nie { border-left-color: var(--sun-orange-deep); }
.area__wynik--blad { border-left-color: var(--ink-soft); font-weight: 600; }

/* Na telefonie mapa niższa, żeby nie zajmowała całego ekranu. Blok stoi PO
   regułach bazowych — media queries w tym pliku nie są w kolejności malejącej. */
@media (max-width: 900px) {
  .mapa { height: 340px; }
  .area__sprawdz .btn { max-width: none; }
}

/* ===== Lokalne ===== */
.local-card {
  background: linear-gradient(135deg, var(--cream), var(--cream-soft));
  border-radius: var(--radius);
  padding: 40px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}
/* Piłka przetacza się przez całą szerokość kafelka i wraca.
   Tor jest osobnym, pełnej szerokości pasem, bo `translateX` w procentach
   liczy się od szerokości samego elementu — czyli od piłki, a nie od karty.
   Dlatego przesuwamy ją przez `left`, a `rotate` daje toczenie. Zwrot obrotu
   odwraca się sam dzięki `alternate`, więc w drodze powrotnej piłka kręci się
   w drugą stronę, tak jak prawdziwa. */
.local-card__tor {
  position: relative;
  height: 3.2rem;
  margin-bottom: 12px;
}
.local-card__pilka {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2.6rem;
  line-height: 1;
  animation: toczenie 7s ease-in-out infinite alternate;
}
@keyframes toczenie {
  from { left: 0;                    transform: rotate(0deg); }
  to   { left: calc(100% - 1.25em);  transform: rotate(1440deg); }
}
.local-card p { color: var(--ink-soft); font-size: 1.02rem; }
.local-card__link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--green-text);
}
.local-card__link:hover { color: var(--orange-text); }

/* ===== Kontakt ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.2s, background 0.2s;
}
.contact-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.22); }
.contact-card__icon { font-size: 2rem; margin-bottom: 8px; }
.contact-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.contact-card p { color: rgba(255,255,255,0.92); margin: 0; font-weight: 700; }

/* ===== Footer ===== */
.footer {
  background: #2E2517;
  color: rgba(255,255,255,0.75);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer__logo { height: 48px; width: auto; }
.footer__info p { margin: 2px 0; font-size: 0.85rem; }
.footer__copy { font-size: 0.85rem; margin: 0; }

/* ===== Floating call button ===== */
.floating-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--sun-yellow), var(--sun-orange-deep));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 26px rgba(232, 135, 30, 0.45);
  z-index: 90;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 26px rgba(232, 135, 30, 0.45); }
  50% { box-shadow: 0 12px 34px rgba(232, 135, 30, 0.7); }
}

/* ===== Responsywność ===== */
@media (max-width: 900px) {
  .hero__inner, .kaucja, .area {
    grid-template-columns: 1fr;
  }
  .hero__art { order: -1; }
  .story__stats { grid-template-columns: repeat(2, minmax(120px, 1fr)); max-width: 400px; }
}

@media (max-width: 780px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .nav__cta { text-align: center; margin-top: 10px; }
  .nav-toggle { display: flex; }
  .brand__logo { height: 46px; }
}

@media (max-width: 520px) {
  .hero { padding: 56px 0 calc(var(--but-wys) + 14px); }   /* pas na butelkę pod tekstem */
  .section { padding: 60px 0; }
  .topbar__inner { font-size: 0.78rem; }
}




/* ===== Odsłanianie kafelków przy przewijaniu ===== */
[data-reveal] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1);
}
[data-reveal].is-in > * { opacity: 1; transform: none; }
[data-reveal].is-in > *:nth-child(1) { transition-delay: .04s; }
[data-reveal].is-in > *:nth-child(2) { transition-delay: .12s; }
[data-reveal].is-in > *:nth-child(3) { transition-delay: .20s; }
[data-reveal].is-in > *:nth-child(4) { transition-delay: .28s; }
[data-reveal].is-in > *:nth-child(5) { transition-delay: .36s; }
[data-reveal].is-in > *:nth-child(6) { transition-delay: .44s; }

/* Kafelki klientów też reagują na kursor */
.client-card { transition: transform .2s ease, box-shadow .2s ease; }
.client-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(232,135,30,.22); }
.stat-card { transition: transform .2s ease; }
.stat-card:hover { transform: translateY(-4px); }
.stat-card__num { font-variant-numeric: tabular-nums; }

/* Kafelki wchodzące pojedynczo — klasę nadaje skrypt i tylko poniżej 900 px.
   Wypłynięcie z dołu: 28 px w górę i skala 0,96 → 1. Bez ruchu na boki, więc nic
   nie może wystawać poza ekran i wywołać poziomego paska przewijania.
   Blok musi stać PO .client-card i .stat-card — one deklarują własne `transition`
   przy tej samej specyficzności, więc decyduje kolejność w pliku. */
.karta-solo {
  opacity: 0;
  transform: translateY(28px) scale(.96);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .9, .3, 1);
  /* --i nadaje skrypt: na szerokim ekranie to numer kafelka w siatce, więc cały
     rząd wjeżdżający naraz odsłania się po kolei; przy jednej kolumnie zawsze 0,
     bo tam każdy kafelek i tak dojeżdża osobno. */
  transition-delay: calc(var(--i, 0) * .1s);
}
.karta-solo--w { opacity: 1; transform: none; }

/* Kafelki „Jak zamówić" unoszą się pod kursorem. Reguła stoi PO .karta-solo,
   bo obie mają tę samą wagę i decyduje kolejność w pliku; skrypt i tak zdejmuje
   klasy odsłaniania po animacji, ale bez tego pierwszy najazd byłby powolny. */
.order-card { transition: transform .2s ease, box-shadow .2s ease; }
.order-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(76, 168, 60, .18);
}
/* Pas pełnej szerokości nie może się zmniejszać — przy skali 0,96 na czas
   animacji odsłaniałby tło po bokach. Obie reguły muszą być, bo element nosi
   jednocześnie .karta-solo i .karta-solo--w, a ta pierwsza jest bardziej
   specyficzna i bez pary zostawiłaby pas przesunięty na stałe. */
.foto-pas.karta-solo   { transform: translateY(28px); }
.foto-pas.karta-solo--w { transform: none; }


/* ===== Faliste przejścia między sekcjami ===== */
/* Fala maluje kolor GÓRNEJ krawędzi następnej sekcji, siedząc na dole bieżącej.
   Ścieżka ma 2400 j. przy oknie 1200 j., a jej okres to 600 j. — przesunięcie
   o -1200 trafia więc w identyczną geometrię i pętla nie ma szwu. */
.sect-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 68px;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.sect-wave svg { width: 100%; height: 100%; display: block; }
.sect-wave__path {
  fill: var(--barwa);
  animation: waveFlow 16s linear infinite;
}
@keyframes waveFlow { to { transform: translateX(-1200px); } }

/* ===== Bąbelki w tle oferty ===== */
/* Wznoszą się w sekcji „Nasza oferta" i PRZELATUJĄ DALEJ, w górę, przez sekcję
   „Nasza historia" — dlatego pojemnik sięga ponad własną sekcję (`top` ujemny,
   ustawiany w skrypcie) i tam też się urywa, bo trzyma `overflow: hidden`.
   Wysokość i czas przelotu liczy skrypt w pikselach: przy wartościach w `vh`
   droga nie miała nic wspólnego z wysokością sekcji i na telefonie bąbelki
   zapełniały tylko jej dolny skrawek. */
.bubbles {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--gora, 0px);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bubbles span {
  position: absolute;
  left: var(--x);
  bottom: -60px;
  width: var(--r);
  height: var(--r);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
    rgba(255, 255, 255, .98), rgba(206, 236, 250, .5) 56%, rgba(206, 236, 250, 0) 74%);
  border: 1.5px solid rgba(150, 210, 238, .5);
  opacity: 0;
  /* Mnożnik czasu skaluje się z długością drogi, żeby prędkość została ta sama.
     `--d` to UŁAMEK cyklu (0–1), a nie sekundy: opóźnienie musi rosnąć razem
     z czasem przelotu, inaczej przy długiej drodze wszystkie bąbelki startują
     w pierwszych sekundach i reszta cyklu jest pusta. Ujemne — więc po wejściu
     na stronę kolumna jest już zapełniona. */
  animation: bubbleUp calc(var(--t) * var(--mnoznik, 1)) linear
             calc(var(--t) * var(--mnoznik, 1) * var(--d) * -1) infinite;
}
@keyframes bubbleUp {
  0%   { transform: translate(0, 0) scale(.85); opacity: 0; }
  6%   { opacity: .85; }
  84%  { opacity: .6; }
  100% { transform: translate(var(--dryf), var(--wzrost, -108vh)) scale(1.05); opacity: 0; }
}
/* Dodatkowa partia — potrzebna dopiero na wąskim ekranie, gdzie sekcje są
   dwa razy wyższe. Na desktopie zagęszczałaby zatwierdzony układ. */
.bab--m { display: none; }

@media (max-width: 900px) {
  .bab--m { display: block; }
  .bubbles span {
    /* karty zajmują prawie całą szerokość, więc bąbelek widać tylko w wąskich
       marginesach i w przerwach — dlatego na telefonie jest większy */
    width: calc(var(--r) * 1.3);
    height: calc(var(--r) * 1.3);
    border-color: rgba(140, 205, 235, .62);
  }
}

/* treść oferty ponad bąbelkami */
#oferta .container { position: relative; z-index: 1; }

/* ===== Ilustracje reagują na kursor ===== */
/* Najechanie na kartę przyspiesza to, co w danym napoju „żyje". */
.offer-card:hover .bubble        { animation-duration: 1.15s; }
.offer-card:hover .wave          { animation-duration: 1.9s; }
.offer-card:hover .berry         { animation-duration: 1.4s; }
.offer-card:hover .squeeze,
.offer-card:hover .juice-stream,
.offer-card:hover .juice-ripple,
.offer-card:hover .squirt        { animation-duration: 1.7s; }
.offer-card:hover .ice           { animation-duration: 2.3s; }
.offer-card:hover .slice         { animation-duration: 2.2s; }
.offer-card:hover .swirl         { animation-duration: 2.6s; }
.offer-card:hover .veg__carrot,
.offer-card:hover .veg__apple    { animation-duration: 1.9s; }
.offer-card:hover .drop,
.offer-card:hover .ripple        { animation-duration: 1.4s; }

/* ===== Baner aplikacji ===== */
.app-banner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 44px;
  align-items: center;
  background: linear-gradient(135deg, #12306E, #1B3F94);
  border-radius: 28px;
  padding: 46px 48px;
  color: var(--white);
}
.app-banner .eyebrow { color: #9DC8F0; }
.app-banner .section__title { color: var(--white); }
.app-banner__text > p { color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; }
.app-banner__only {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--sun-yellow);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  font-size: 0.95rem;
}
.app-banner__only strong { color: var(--sun-yellow); }
.app-banner__only a { color: var(--sun-yellow); text-decoration: underline; font-weight: 700; }
.app-banner .btn--primary { margin-top: 6px; }
.app-banner__art { display: flex; justify-content: center; }

/* Zdjęcie panelu klienta w granatowym kaflu — zastąpiło rysowaną makietę telefonu */
/* .app-banner__art jest flexem, więc figura musi mieć własną szerokość —
   inaczej `width: 100%` na <img> nie ma się do czego odnieść i obrazek się zwija. */
.app-foto { margin: 0; width: 100%; max-width: 248px; }
.app-foto img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 22px 46px rgba(4, 14, 36, 0.45);
}
.app-foto figcaption {
  margin: 14px 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* ===== Zdjęcia ===== */
.foto { margin: 0; }
.foto img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(58, 46, 31, 0.2);
}
.foto__opis {
  margin: 12px 4px 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
/* zdjęcie pod dwiema kolumnami sekcji „bez kaucji" */
.kaucja .foto--pelna { grid-column: 1 / -1; margin-top: 8px; }
/* Pas na całą szerokość sekcji — dziecko <section>, nie .container,
   więc rozciąga się do krawędzi ekranu bez 100vw (żadnego przewijania w bok). */
.foto-pas { margin: -24px 0 56px; }
.foto-pas img {
  display: block;
  width: 100%;
  height: auto;
  /* Bez kadrowania: zdjęcie ma wypalony w prawym dolnym rogu podpis
     „Wygenerowane przez AI" i każdy object-fit: cover go ucina. */
  box-shadow: 0 14px 34px rgba(58, 46, 31, 0.16);
}
.foto-pas .foto__opis {
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 0 24px;
}

/* Musi stać PO bloku bazowym .app-banner — media queries w tym pliku
   nie są w kolejności malejącej, więc sama specyficzność nie wystarcza. */
@media (max-width: 900px) {
  .app-banner { grid-template-columns: 1fr; padding: 36px 28px; gap: 30px; }
  .app-foto { max-width: 270px; }
}

@media (max-width: 780px) {
  .foto-pas { margin: -12px 0 44px; }
}

/* ===== Ograniczenie ruchu ===== */
@media (prefers-reduced-motion: reduce) {
  .bubble, .wave, .slice, .ice, .berry, .swirl, .drop, .ripple,
  .squeeze, .juice-stream, .juice-ripple, .squirt, .veg__carrot, .veg__apple,
  .sc-van, .sc-spokes, .sc-driver, .sc-empty, .sc-full, .sc-puff,
  .sect-wave__path, .bubbles span,
  .local-card__pilka,
  .butelka__chwiej, .rozlew__krople i, .rozlew__plusk span, .rozlew__plusk b,
  .hero__img, .hero__art::after,
  .floating-call {
    animation: none;
  }
  .sc-puff, .sc-full { opacity: 0; }
  .bubbles { display: none; }
  .hero__art::after { opacity: 0; }
  .hero__img { transform: none; }
  .drop, .ripple, .juice-stream, .juice-ripple, .squirt { opacity: 0; }
  [data-reveal] > *,
  [data-reveal].is-in > * { opacity: 1; transform: none; transition: none; }
  .karta-solo,
  .karta-solo--w { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
