/* ==========================================================================
   Laboratorium Magicznej Chemii — landing page
   Kolory i litery zgodnie z księgą znaku (artboard „Styl marki” w makiecie).
   ========================================================================== */

/* Fonty z własnego serwera (licencja OFL, pliki w fonts/).
   Fredoka PL = Fredoka z dodanymi ą ć ę ń ś ź ż; jak powstała: narzedzia/zbuduj-fonty.py */
@font-face {
  font-family: 'Fredoka PL';
  src: url('../fonts/fredoka-pl-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fredoka PL';
  src: url('../fonts/fredoka-pl-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Kolory marki */
  --turkus: #14B8CC;          /* kolor marki: kolba, wyróżnienia */
  --turkus-gleboki: #0B7C8C;  /* małe napisy w kolorze, linki */
  --turkus-jasny: #7FDCE8;    /* napisy na ciemnym tle */
  --magenta: #D11F72;         /* tylko przyciski rezerwacji */
  --magenta-hover: #B8195F;
  --magenta-cien: #8C1250;
  --magenta-ciemna: #A3145A;
  --slonce: #FFC72C;          /* podkreślenia, naklejki, iskierki */
  --atrament: #16323C;        /* tekst i obrysy zamiast czerni */
  --atrament-stopka: #0F252D;
  --mgielka: #E3F6F8;         /* jasne tła i karty */

  /* Tła i pomocnicze */
  --tlo: #FFFFFF;
  --zolty-jasny: #FFF3C9;
  --rozowy-jasny: #FCE6EF;
  --tekst-2: #33515B;
  --tekst-3: #4A6670;
  --tekst-na-ciemnym: #CFE3E7;

  /* Litery */
  --font-naglowki: 'Fredoka PL', 'Nunito', system-ui, sans-serif;
  --font-tekst: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Układ */
  --szerokosc: 1240px;
  --margines: clamp(16px, 4vw, 40px);
  --sekcja: clamp(56px, 7vw, 88px);
  --sekcja-mala: clamp(48px, 6vw, 80px);
}

/* ---------- Kolory sezonu ----------
   Akcent, jasne tła i linie zmieniają się razem z data-sezon na <html>.
   Zima to kolory marki. Magenta (rezerwacja), słońce i atrament są wspólne dla wszystkich sezonów.
   Klasa .paleta-… daje jednemu elementowi kolory wybranego sezonu (np. karty edycji). */

:root,
.paleta-zima {
  --sezon: var(--turkus);
  --sezon-gleboki: var(--turkus-gleboki);   /* małe napisy, linki, ikonki */
  --sezon-jasny: var(--turkus-jasny);       /* napisy na ciemnym tle */
  --sezon-mgielka: var(--mgielka);          /* jasne tła i karty */
  --sezon-cien: #C3EAF0;                    /* cień pod kolbą na pierwszym ekranie */
  --tlo-jasne: #F2F9FA;
  --linia: #D5E6EA;
  --linia-jasna: #E1EEF1;
  --linia-pola: #C5DCE1;
  --linia-przerywana: #9CC9D1;
}

/* Jesień: dynia i opadłe liście */
html[data-sezon="jesien"],
.paleta-jesien {
  --sezon: #F07D1E;
  --sezon-gleboki: #A84A06;
  --sezon-jasny: #FFB877;
  --sezon-mgielka: #FDEBDA;
  --sezon-cien: #F7D4B5;
  --tlo-jasne: #FFF7EF;
  --linia: #F0DDCB;
  --linia-jasna: #F6E9DC;
  --linia-pola: #E8D2BD;
  --linia-przerywana: #E3B086;
}

/* Wiosna: świeża zieleń */
html[data-sezon="wiosna"],
.paleta-wiosna {
  --sezon: #3DBB6A;
  --sezon-gleboki: #1B7A3E;
  --sezon-jasny: #8FE0A9;
  --sezon-mgielka: #E2F6E7;
  --sezon-cien: #C4EBCF;
  --tlo-jasne: #F2FAF3;
  --linia: #D3E9D8;
  --linia-jasna: #E0F0E3;
  --linia-pola: #C3DFCA;
  --linia-przerywana: #93CDA3;
}

/* Lato: słońce i piasek */
html[data-sezon="lato"],
.paleta-lato {
  --sezon: #FFB81C;
  --sezon-gleboki: #8A5800;
  --sezon-jasny: #FFD66B;
  --sezon-mgielka: #FFF1C4;
  --sezon-cien: #FBE0A0;
  --tlo-jasne: #FFFAE8;
  --linia: #F0E3C0;
  --linia-jasna: #F6EDD3;
  --linia-pola: #E8D9AE;
  --linia-przerywana: #E2C06B;
}

/* ---------- Podstawy ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--tlo);
  color: var(--atrament);
  font-family: var(--font-tekst);
  font-size: 17px;
  line-height: 1.6;
}

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

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sezon-gleboki);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--atrament);
  color: #FFFFFF;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--szerokosc);
  margin: 0 auto;
  padding-left: var(--margines);
  padding-right: var(--margines);
}

.section {
  padding-top: var(--sekcja);
  padding-bottom: var(--sekcja);
  background: var(--tlo);
}

.section--jasna {
  background: var(--tlo-jasne);
}

.section__stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section__split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px clamp(40px, 6vw, 88px);
}

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--sezon-gleboki);
}

.eyebrow--atrament {
  color: var(--atrament);
}

.label-small {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tekst-3);
}

.h2 {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.heading-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead {
  font-size: 18px;
  color: var(--tekst-2);
}

/* Miejsca do uzupełnienia treścią */
.placeholder {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--zolty-jasny);
}

.placeholder--mocny {
  background: var(--slonce);
  color: var(--atrament);
  font-weight: 800;
}

/* Podziałka z menzurki: separator */
.podzialka {
  height: 18px;
  opacity: 0.4;
  background:
    repeating-linear-gradient(90deg, var(--atrament) 0 2px, transparent 2px 100px) 0 0 / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, var(--atrament) 0 2px, transparent 2px 20px) 0 0 / 100% 9px no-repeat;
}

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:active {
  transform: translateY(2px);
}

/* Magenta = rezerwacja. Jeden kolor, jedna akcja. */
.btn--primary {
  background: var(--magenta);
  color: #FFFFFF;
  box-shadow: 0 4px 0 var(--magenta-cien);
}

.btn--primary:hover {
  background: var(--magenta-hover);
}

.btn--primary:active {
  box-shadow: 0 2px 0 var(--magenta-cien);
}

.btn--primary.btn--na-sloncu {
  box-shadow: 0 4px 0 var(--atrament);
}

.btn--primary.btn--na-sloncu:active {
  box-shadow: 0 2px 0 var(--atrament);
}

/* Biały z obrysem = wszystko inne */
.btn--outline {
  padding: 0 26px;
  background: #FFFFFF;
  color: var(--atrament);
  border: 2.5px solid var(--atrament);
  box-shadow: 0 4px 0 var(--atrament);
}

.btn--outline:hover {
  background: var(--tlo-jasne);
}

.btn--outline:active {
  box-shadow: 0 2px 0 var(--atrament);
}

.btn--sm {
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
  box-shadow: 0 3px 0 var(--magenta-cien);
}

.btn--md {
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
}

.btn--karta {
  flex: 1;
  min-height: 48px;
  padding: 0 18px;
  font-size: 15px;
}

.btn--karta.btn--primary {
  box-shadow: 0 3px 0 var(--magenta-cien);
}

.btn--karta.btn--outline {
  border-width: 2px;
  box-shadow: none;
}

.btn--karta.btn--outline:active {
  box-shadow: none;
}

.btn--maly-obrys {
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--atrament);
  background: #FFFFFF;
  color: var(--atrament);
  font-size: 15px;
}

.btn--maly-obrys:hover {
  background: var(--tlo-jasne);
}

/* ---------- Nagłówek strony ---------- */

/* Wąsko: logo i przycisk menu w pierwszym rzędzie, telefon i rezerwacja pod nimi */
.site-header__inner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "logo menu" "akcje akcje";
  align-items: center;
  justify-content: space-between;
  gap: 14px 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Szeroko: wszystko w jednym rzędzie, menu na końcu */
@media (min-width: 760px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo akcje menu";
    gap: 14px 22px;
  }

  .site-header__actions {
    justify-self: end;
  }
}

.site-header__logo {
  grid-area: logo;
  justify-self: start;
  display: flex;
}

.site-header__logo img {
  width: auto;
  height: 52px;
}

.site-header__actions {
  grid-area: akcje;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

/* Wąsko: telefon pod logo, „Sprawdź terminy” przy prawej krawędzi pod przyciskiem menu
   (także gdy zawinie się pod telefon). Szeroko nie ma tu wolnego miejsca, więc nic to nie zmienia. */
.site-header__actions .btn {
  margin-left: auto;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--atrament);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}

.phone-link:hover {
  color: var(--sezon-gleboki);
}

/* Menu: przycisk rozwija listę sekcji jako kartę pod spodem, na telefonie i na komputerze.
   To <details>, więc działa też bez JS; js/main.js zamyka je po wyborze sekcji, kliknięciu obok i klawiszem Esc. */
.site-nav {
  grid-area: menu;
  justify-self: end;
  position: relative;
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px 0 13px;
  border: 2.5px solid var(--atrament);
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 3px 0 var(--atrament);
  color: var(--atrament);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.site-nav__toggle::-webkit-details-marker {
  display: none;
}

.site-nav__toggle:hover {
  background: var(--tlo-jasne);
}

.site-nav__toggle:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--atrament);
}

.site-nav details[open] .site-nav__toggle {
  background: var(--sezon-mgielka);
}

.site-nav__icon {
  flex: none;
}

.site-nav details:not([open]) .site-nav__icon--zamknij,
.site-nav details[open] .site-nav__icon--otworz {
  display: none;
}

.site-nav__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  right: 0;
  width: min(320px, calc(100vw - 2 * var(--margines)));
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 3px solid var(--atrament);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 6px 6px 0 var(--atrament);
}

.site-nav__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 14px;
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav__list a::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid var(--atrament);
  background: var(--sezon);
}

/* Magenta = rezerwacja, jak przyciski */
.site-nav__list .site-nav__link--rezerwacja::before {
  background: var(--magenta);
}

.site-nav__list a:hover {
  background: var(--sezon-mgielka);
}

.site-nav__list a:focus-visible {
  outline-offset: -3px;
}

@media (prefers-reduced-motion: no-preference) {
  .site-nav details[open] .site-nav__list {
    animation: menu-open 0.18s ease-out;
  }
}

@keyframes menu-open {
  from { opacity: 0; transform: translateY(-6px); }
}

/* Bardzo wąsko: sama ikonka, żeby przycisk zmieścił się obok logo (napis zostaje dla czytników ekranu) */
@media (max-width: 359px) {
  .site-nav__toggle {
    padding: 0 10px;
  }

  .site-nav__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- Pierwszy ekran ---------- */

.hero {
  padding-top: clamp(16px, 3vw, 40px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.hero__text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Pigułki nad tytułem: bieżąca edycja, a na przełomie sezonów także zapisy na kolejną */
.hero__status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.season-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  background: var(--sezon-mgielka);
  color: var(--atrament);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.season-pill strong {
  font-weight: 800;
}

.season-pill__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--sezon-gleboki);
}

.hero__title {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero__title mark {
  padding: 0 6px;
  background: linear-gradient(180deg, transparent 58%, var(--slonce) 58%, var(--slonce) 90%, transparent 90%);
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead {
  max-width: 34em;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--tekst-2);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 4px;
}

.hero__visual {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero__art {
  position: relative;
  width: 100%;
  max-width: 540px;
}

.hero__bubbles {
  position: absolute;
  left: -16%;
  bottom: -10%;
  width: 44%;
}

/* Kolba w kolorach sezonu (SVG w index.html). Ta sama klasa pasuje do <video> z warsztatu. */
.hero__flask {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 11%;
  object-fit: cover;
}

.flask__bg { fill: var(--sezon-mgielka); }
.flask__shadow { fill: var(--sezon-cien); }
.flask__liquid,
.flask__accent { fill: var(--sezon); }
.flask__light { fill: var(--sezon-jasny); }
.flask__ring { stroke: var(--sezon); }

.hero__sticker {
  position: absolute;
  top: 0;
  right: 0;
  width: 27%;
}

/* Żywy eksperyment zamiast filmu: piana bulgocze i kapie, płyn faluje, bąbelki wypływają.
   Kto ma w systemie „ogranicz ruch”, widzi nieruchomą ilustrację. */
@media (prefers-reduced-motion: no-preference) {
  .flask__liquid {
    animation: flask-wave 2.6s linear infinite;
  }

  .flask__bubble {
    animation: flask-bubble 2.8s ease-in infinite;
  }

  .flask__bubble:nth-of-type(2) { animation-duration: 3.4s; animation-delay: -1.1s; }
  .flask__bubble:nth-of-type(3) { animation-duration: 3.1s; animation-delay: -2.2s; }
  .flask__bubble:nth-of-type(4) { animation-duration: 2.5s; animation-delay: -0.6s; }

  /* Zacieki rosną od góry, kropla rodzi się na końcu najdłuższego */
  .flask__goo,
  .flask__drop {
    transform-box: fill-box;
    transform-origin: 50% 0;
  }

  .flask__goo {
    animation: flask-goo 3.6s ease-in-out infinite;
  }

  .flask__goo + .flask__goo {
    animation-delay: -1.8s;
  }

  .flask__drop {
    animation: flask-drop 3.6s ease-in infinite;
  }

  .flask__foam circle,
  .flask__sparkle {
    transform-box: fill-box;
    transform-origin: center;
  }

  .flask__foam circle {
    animation: flask-foam 2.8s ease-in-out infinite;
  }

  .flask__foam circle:nth-child(odd) { animation-duration: 3.3s; }
  .flask__foam circle:nth-child(3n) { animation-delay: -1s; }
  .flask__foam circle:nth-child(3n+2) { animation-delay: -2s; }

  .flask__float > *,
  .flask__co2 {
    animation: flask-float 5s ease-in-out infinite;
  }

  .flask__float > :nth-child(2n) { animation-duration: 6s; animation-delay: -2s; }
  .flask__float > :nth-child(3n) { animation-delay: -3.5s; }
  .flask__co2 { animation-duration: 6.5s; }

  .flask__sparkle {
    animation: flask-twinkle 2.6s ease-in-out infinite;
  }

  .flask__sparkle--late {
    animation-delay: -1.3s;
  }

  .hero__sticker {
    animation: sticker-wobble 4.5s ease-in-out infinite;
  }

  .hero__bubbles {
    animation: flask-float 7s ease-in-out infinite;
  }
}

@keyframes flask-wave {
  to { transform: translateX(-100px); }
}

@keyframes flask-bubble {
  0% { transform: translateY(12px); opacity: 0; }
  25%,
  70% { opacity: 0.75; }
  100% { transform: translateY(-20px); opacity: 0; }
}

@keyframes flask-goo {
  50% { transform: scaleY(1.1); }
}

@keyframes flask-drop {
  0% { transform: translateY(-4px) scale(0); opacity: 1; }
  40% { transform: translateY(0) scale(1); }
  85% { opacity: 1; }
  100% { transform: translateY(20px) scale(1); opacity: 0; }
}

@keyframes flask-foam {
  50% { transform: scale(1.07); }
}

@keyframes flask-float {
  50% { transform: translateY(-8px); }
}

@keyframes flask-twinkle {
  50% { transform: scale(0.55) rotate(45deg); opacity: 0.6; }
}

@keyframes sticker-wobble {
  0%,
  100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

/* ---------- Najważniejsze informacje ---------- */

.facts {
  background: var(--tlo-jasne);
}

.facts__list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 24px;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 32px;
  padding-bottom: 40px;
  list-style: none;
}

.facts__item {
  flex: 1 1 150px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.facts__item--szeroki {
  flex-basis: 200px;
}

.facts__value {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1;
}

.facts__unit {
  margin-left: 6px;
  font-size: 0.5em;
}

.facts__unit--przed {
  margin-left: 0;
  margin-right: 6px;
}

.facts__label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tekst-3);
}

/* ---------- Edycje sezonowe ---------- */

.editions__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.editions__head .heading-group {
  flex: 1 1 520px;
  min-width: 0;
  max-width: 760px;
}

.editions__sticker {
  flex: none;
  width: clamp(104px, 11vw, 150px);
}

.editions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.edition {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
  border: 3px solid var(--linia);
  background: #FFFFFF;
}

.edition__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.edition__art > img:first-child {
  width: 100%;
  max-width: 150px;
}

/* Naklejki „Trwa teraz” i „Zapisy otwarte” mają różną długość, więc wspólna jest wysokość */
.edition__now-sticker {
  position: absolute;
  left: -8px;
  top: 0;
  width: auto;
  height: 27px;
  transform: rotate(-6deg);
}

.edition__title {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
}

.edition__period {
  font-size: 15px;
  font-weight: 800;
  color: var(--sezon-gleboki);
}

/* Same nazwy eksperymentów: kropka w kolorze sezonu, na końcu iskierka i „i wiele innych…” */
.edition__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.edition__list li {
  position: relative;
  padding-left: 24px;
}

.edition__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid var(--atrament);
  background: var(--sezon);
}

.edition__list .edition__more {
  color: var(--sezon-gleboki);
  font-weight: 800;
}

.edition__list .edition__more::before {
  top: 2px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
  background: var(--sezon-gleboki);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-9 -9 18 18'%3E%3Cpath d='M0 -9C1 -3 3 -1 9 0C3 1 1 3 0 9C-1 3 -3 1 -9 0C-3 -1 -1 -3 0 -9Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-9 -9 18 18'%3E%3Cpath d='M0 -9C1 -3 3 -1 9 0C3 1 1 3 0 9C-1 3 -3 1 -9 0C-3 -1 -1 -3 0 -9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.edition__take-home {
  font-size: 14px;
  line-height: 1.45;
  color: var(--tekst-3);
}

.edition__take-home strong {
  color: var(--atrament);
}

.edition__cta {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
}

/* Pakiet „4 pory roku”: każdy kolejny sezon taniej (osobna sekcja po półkoloniach) */
.package {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "tekst" "schodki" "wiecej";
  gap: 32px clamp(32px, 5vw, 64px);
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 32px;
  background: #FFFFFF;
  border: 3px solid var(--atrament);
  box-shadow: 8px 8px 0 var(--atrament);
}

.package__badge {
  position: absolute;
  top: -34px;
  right: clamp(16px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(92px, 9vw, 112px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--slonce);
  border: 3px solid var(--atrament);
  box-shadow: 0 4px 0 var(--atrament);
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transform: rotate(8deg);
}

.package__badge strong {
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 32px);
}

/* Szeroko: opis i przycisk po lewej, schodki po prawej */
@media (min-width: 960px) {
  .package {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "tekst schodki" "wiecej schodki";
  }
}

.package__text {
  grid-area: tekst;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.package__more {
  grid-area: wiecej;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.package__text .eyebrow {
  padding-right: 112px;
}

.package__title {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.08;
  text-wrap: balance;
}

.package__lead {
  font-size: 17px;
  color: var(--tekst-2);
}

.package__lead strong {
  color: var(--atrament);
  font-weight: 800;
}

.package__passport {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--zolty-jasny);
  font-size: 15px;
  line-height: 1.5;
}

.package__passport p {
  min-width: 0;
}

.package__passport strong {
  font-weight: 800;
}

.package__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #FFFFFF;
}

.package__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-top: 4px;
}

.package__total {
  font-size: 15px;
  font-weight: 700;
  color: var(--tekst-3);
}

.package__total strong {
  color: var(--atrament);
  font-weight: 800;
}

/* Schodki: im dalej, tym wyższy słupek i większa zniżka */
.package__ladder {
  grid-area: schodki;
  align-self: end;
  container-type: inline-size;
}

.ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 3px solid var(--atrament);
}

.ladder__step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ladder__season {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
  text-align: center;
}

.ladder__season [data-sezon-tylko] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ladder__season img {
  width: 64px;
  height: 64px;
}

.ladder__now {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--magenta);
  color: #FFFFFF;
  font-family: var(--font-tekst);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ladder__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: var(--wysokosc);
  padding: 14px 6px;
  border: 3px solid var(--atrament);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  text-align: center;
}

.ladder__step:nth-child(1) .ladder__bar { --wysokosc: 92px; background: var(--sezon-mgielka); }
.ladder__step:nth-child(2) .ladder__bar { --wysokosc: 128px; background: var(--sezon-jasny); }
.ladder__step:nth-child(3) .ladder__bar { --wysokosc: 164px; background: var(--sezon); }
.ladder__step:nth-child(4) .ladder__bar { --wysokosc: 200px; background: var(--sezon-gleboki); color: #FFFFFF; }

.ladder__discount {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.05;
  white-space: nowrap;
}

.ladder__price {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

/* Wąsko: schodki układają się w poziome paski, coraz dłuższe */
@container (max-width: 400px) {
  .ladder {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    border-bottom: 0;
  }

  .ladder__step {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .ladder__season {
    flex: none;
    width: 76px;
    font-size: 16px;
  }

  .ladder__season img {
    width: 44px;
    height: 44px;
  }

  .ladder__bar {
    flex: none;
    align-items: flex-start;
    width: calc((100% - 88px) * var(--dlugosc));
    min-height: 0;
    padding: 10px 14px;
    border-bottom: 3px solid var(--atrament);
    border-radius: 18px;
    text-align: left;
  }

  .ladder__step:nth-child(1) .ladder__bar { --dlugosc: 0.6; }
  .ladder__step:nth-child(2) .ladder__bar { --dlugosc: 0.73; }
  .ladder__step:nth-child(3) .ladder__bar { --dlugosc: 0.86; }
  .ladder__step:nth-child(4) .ladder__bar { --dlugosc: 1; }

  .ladder__discount {
    font-size: 26px;
  }
}

/* ---------- Sezon: co widać w której edycji ----------
   Sezon, który teraz trwa, ustawia atrybut data-sezon na <html> (jesien | zima | wiosna | lato).
   Elementy z data-sezon-tylko="…" są widoczne tylko w swoim sezonie.
   Na przełomie sezonów data-kolejny na <html> mówi, na którą edycję już zapisujemy:
   elementy z data-kolejny-tylko="…" są widoczne tylko wtedy. */

html[data-sezon="jesien"] [data-sezon-tylko]:not([data-sezon-tylko="jesien"]),
html[data-sezon="zima"] [data-sezon-tylko]:not([data-sezon-tylko="zima"]),
html[data-sezon="wiosna"] [data-sezon-tylko]:not([data-sezon-tylko="wiosna"]),
html[data-sezon="lato"] [data-sezon-tylko]:not([data-sezon-tylko="lato"]),
html:not([data-kolejny="jesien"]) [data-kolejny-tylko="jesien"],
html:not([data-kolejny="zima"]) [data-kolejny-tylko="zima"],
html:not([data-kolejny="wiosna"]) [data-kolejny-tylko="wiosna"],
html:not([data-kolejny="lato"]) [data-kolejny-tylko="lato"] {
  display: none !important;
}

/* Karta bieżącej edycji: ramka w kolorze sezonu, naklejka „Trwa teraz” i magentowy przycisk */
html[data-sezon="jesien"] .edition--jesien,
html[data-sezon="zima"] .edition--zima,
html[data-sezon="wiosna"] .edition--wiosna,
html[data-sezon="lato"] .edition--lato {
  border-color: var(--sezon);
  box-shadow: 0 8px 0 var(--sezon);
}

/* Karta kolejnej edycji, na którą już zapisujemy: ramka w jej kolorze i naklejka „Zapisy otwarte” */
html[data-kolejny="jesien"] .edition--jesien,
html[data-kolejny="zima"] .edition--zima,
html[data-kolejny="wiosna"] .edition--wiosna,
html[data-kolejny="lato"] .edition--lato {
  border-color: var(--sezon);
}

html:not([data-sezon="jesien"]) .edition--jesien .tylko-teraz,
html:not([data-sezon="zima"]) .edition--zima .tylko-teraz,
html:not([data-sezon="wiosna"]) .edition--wiosna .tylko-teraz,
html:not([data-sezon="lato"]) .edition--lato .tylko-teraz,
html[data-sezon="jesien"] .edition--jesien .tylko-pozniej,
html[data-sezon="zima"] .edition--zima .tylko-pozniej,
html[data-sezon="wiosna"] .edition--wiosna .tylko-pozniej,
html[data-sezon="lato"] .edition--lato .tylko-pozniej,
html:not([data-kolejny="jesien"]) .edition--jesien .tylko-kolejny,
html:not([data-kolejny="zima"]) .edition--zima .tylko-kolejny,
html:not([data-kolejny="wiosna"]) .edition--wiosna .tylko-kolejny,
html:not([data-kolejny="lato"]) .edition--lato .tylko-kolejny {
  display: none;
}

/* ---------- Jak wygląda warsztat ---------- */

.workshop__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
}

.workshop__head .heading-group {
  flex: 1 1 420px;
  min-width: 0;
}

.quote {
  position: relative;
  flex: 1 1 380px;
  min-width: 0;
  max-width: 520px;
  margin: 0 0 14px;
  padding: 22px 24px;
  border-radius: 26px;
  background: #FFFFFF;
  border: 2.5px solid var(--atrament);
}

.quote figcaption {
  padding-right: 72px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta-ciemna);
}

.quote blockquote {
  margin-top: 8px;
  font-family: var(--font-naglowki);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
}

.quote__tail {
  position: absolute;
  left: 44px;
  bottom: -13px;
  width: 22px;
  height: 22px;
  background: #FFFFFF;
  border-right: 2.5px solid var(--atrament);
  border-bottom: 2.5px solid var(--atrament);
  transform: rotate(45deg);
}

.quote__sticker {
  position: absolute;
  top: -30px;
  right: 16px;
  width: 64px;
  height: 64px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline__bar {
  display: flex;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  border: 2.5px solid var(--atrament);
  background: #FFFFFF;
}

.timeline__bar span {
  border-right: 2.5px solid var(--atrament);
}

.timeline__bar span:nth-child(1) { flex: 0 0 8.333%; background: var(--slonce); }
.timeline__bar span:nth-child(2) { flex: 0 0 16.667%; background: var(--magenta); }
.timeline__bar span:nth-child(3) { flex: 0 0 50%; background: var(--turkus); }
.timeline__bar span:nth-child(4) { flex: 1 1 auto; background: var(--atrament); border-right: 0; }

.timeline__ticks {
  height: 12px;
  margin-top: -6px;
  border-right: 2px solid rgba(22, 50, 60, 0.45);
  background:
    repeating-linear-gradient(90deg, rgba(22, 50, 60, 0.45) 0 2px, transparent 2px 25%) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(22, 50, 60, 0.45) 0 2px, transparent 2px 8.3333%) 0 0 / 100% 7px no-repeat;
}

.timeline__labels {
  position: relative;
  height: 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--tekst-3);
}

.timeline__labels span {
  position: absolute;
  transform: translateX(-50%);
}

.timeline__labels span:nth-child(2) { left: 8.333%; }
.timeline__labels span:nth-child(3) { left: 25%; }
.timeline__labels span:nth-child(4) { left: 75%; }

.timeline__labels span:first-child {
  left: 0;
  transform: none;
}

.timeline__labels span:last-child {
  right: 0;
  transform: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  background: var(--tlo-jasne);
}

.step img {
  width: 96px;
  height: 96px;
}

.step__time {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 17px;
  color: var(--tekst-3);
}

.step__dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid var(--atrament);
}

.step:nth-child(1) .step__dot { background: var(--slonce); }
.step:nth-child(2) .step__dot { background: var(--magenta); }
.step:nth-child(3) .step__dot { background: var(--turkus); }
.step:nth-child(4) .step__dot { background: var(--atrament); }

.step__title {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
}

.step p {
  font-size: 16px;
  line-height: 1.55;
}

/* Zdjęcie z prawdziwego warsztatu, oprawione jak polaroid */
.snapshot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px clamp(40px, 6vw, 80px);
  padding-top: 12px;
}

.snapshot__photo {
  position: relative;
  flex: 1 1 420px;
  min-width: 0;
  max-width: 620px;
  padding: 14px 14px 52px;
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0 18px 40px -18px rgba(22, 50, 60, 0.45);
  transform: rotate(-2deg);
}

.snapshot__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.snapshot__tape {
  position: absolute;
  z-index: 1;
  top: -16px;
  left: 50%;
  width: 120px;
  height: 34px;
  background: var(--slonce);
  opacity: 0.85;
  transform: translateX(-50%) rotate(3deg);
}

.snapshot__text {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.snapshot__title {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  text-wrap: balance;
}

.snapshot__note {
  font-size: 14px;
  color: var(--tekst-3);
}

@media (max-width: 479px) {
  .snapshot__photo {
    padding: 10px 10px 36px;
    transform: rotate(-1deg);
  }
}

/* ---------- Co zyskują dzieci ---------- */

.benefits__head {
  max-width: 760px;
}

/* Kafelki jak naklejki: kolorowe tło, ilustracja na białym kole, nazwa umiejętności na dole */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 28px;
  border: 3px solid var(--atrament);
  box-shadow: 0 6px 0 var(--atrament);
  background: var(--mgielka);
}

.benefit--roz {
  background: var(--rozowy-jasny);
}

.benefit--zolty {
  background: var(--zolty-jasny);
}

.benefit__art {
  flex: 0 0 auto;
  width: clamp(104px, 12vw, 156px);
  height: auto;
}

.benefit__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.benefit__title {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.2;
}

.benefit p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--tekst-2);
}

.benefit .benefit__tag {
  margin-top: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--atrament);
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--atrament);
}

/* Wąsko: ilustracja nad tekstem */
@media (max-width: 479px) {
  .benefit {
    flex-direction: column;
    align-items: flex-start;
  }

  .benefit__art {
    width: 104px;
  }
}

.benefits__note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 20px;
  border: 2px dashed var(--linia-przerywana);
  font-size: 15px;
  color: var(--tekst-2);
}

.benefits__note-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sezon-mgielka);
  color: var(--sezon-gleboki);
}

/* ---------- Bezpieczeństwo ---------- */

.safety__text {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checklist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.checklist__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--sezon-gleboki);
}

.checklist p {
  min-width: 0;
  padding-top: 8px;
}

.checklist strong {
  font-weight: 800;
}

.ingredients {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 2px solid var(--linia);
  font-size: 15px;
  font-weight: 700;
}

.safety__oath-wrap {
  flex: 1 1 340px;
  min-width: 0;
  padding: 12px;
}

.oath {
  position: relative;
  transform: rotate(-1.5deg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 32px;
  background: var(--slonce);
  border: 3px solid var(--atrament);
  box-shadow: 8px 8px 0 var(--atrament);
}

.oath__sticker {
  position: absolute;
  top: -44px;
  right: 16px;
  width: clamp(72px, 7vw, 96px);
  transform: rotate(8deg);
}

.oath .eyebrow {
  padding-right: 96px;
}

.oath__title {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.1;
}

/* Rymowanka, którą dzieci powtarzają na początku warsztatu, i okrzyk na koniec */
.oath__verse {
  font-family: var(--font-naglowki);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.45;
}

.oath__why {
  padding-top: 14px;
  border-top: 2px dashed rgba(22, 50, 60, 0.35);
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(32px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* ---------- Dla Pani nauczycielki ---------- */

.teacher__text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Jak rodzice dowiadują się o warsztacie: trzy kroki przez trójkę klasową */
.parents-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--sezon-mgielka);
}

.parents-info__title {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
}

.parents-info__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: krok;
}

.parents-info__steps li {
  position: relative;
  min-height: 32px;
  padding: 3px 0 0 46px;
  font-size: 16px;
  line-height: 1.55;
  counter-increment: krok;
}

.parents-info__steps li::before {
  content: counter(krok);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid var(--atrament);
  background: #FFFFFF;
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}

.parents-info__steps strong {
  font-weight: 800;
}

.message-card {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: 32px;
  background: #FFFFFF;
  border: 2px solid var(--linia);
  box-shadow: 0 18px 40px rgba(22, 50, 60, 0.08);
}

.message-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.avatar--duzy {
  width: 56px;
  height: 56px;
}

.message-card__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.message-card__who strong {
  font-weight: 800;
  font-size: 15px;
}

.message-card__who span {
  font-size: 13px;
  color: var(--tekst-3);
}

.message-card__bubble {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 6px 24px 24px 24px;
  background: var(--sezon-mgielka);
  font-size: 16px;
  line-height: 1.55;
}

.message-card__bubble p:first-child strong {
  font-weight: 800;
}

.message-card__bubble .placeholder {
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tlo-jasne);
  font-size: 13px;
  font-weight: 800;
  color: var(--tekst-2);
}

/* ---------- Półkolonie i ferie ---------- */

.camps {
  position: relative;
  padding-top: var(--sekcja-mala);
  padding-bottom: var(--sekcja-mala);
  background: var(--slonce);
}

.camps .podzialka {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0.35;
}

.camps .section__split {
  gap: 40px clamp(40px, 6vw, 88px);
}

.camps__text {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.camps__text p {
  font-size: 18px;
}

.schedule {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 28px;
  background: #FFFFFF;
  border: 3px solid var(--atrament);
}

.schedule__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 2px dashed var(--linia);
  font-weight: 700;
}

.schedule__list li:last-child {
  border-bottom: 0;
}

.schedule__time {
  flex: none;
  width: 76px;
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.schedule .tags {
  padding-top: 6px;
}

.schedule .tags li {
  color: var(--atrament);
}

.schedule .tags li:nth-child(1) { background: var(--mgielka); }
.schedule .tags li:nth-child(2) { background: var(--zolty-jasny); }

/* ---------- Kto prowadzi ---------- */

.host .section__split {
  gap: 40px clamp(40px, 6vw, 88px);
}

.host__photo {
  position: relative;
  flex: 0 1 360px;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px 36px 36px;
  border: 3px dashed var(--linia-przerywana);
  background: var(--sezon-mgielka);
}

.host__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.host__bubbles {
  position: absolute;
  z-index: 1;
  top: -28px;
  right: -56px;
  width: 150px;
}

/* Naklejka z certyfikatem na prawym dolnym rogu zdjęcia. Na telefonie wystaje mniej, żeby nie ucięła jej krawędź ekranu. */
.host__sticker {
  position: absolute;
  z-index: 1;
  right: clamp(-28px, -3vw, -12px);
  bottom: 28px;
  width: clamp(96px, 10vw, 124px);
}

.host__text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.host__text .h2 .placeholder {
  padding: 0 6px;
  border-radius: 8px;
}

/* ---------- Instagram ---------- */

.instagram {
  padding-top: var(--sekcja-mala);
  padding-bottom: var(--sekcja-mala);
}

.instagram .section__split {
  gap: 32px clamp(40px, 5vw, 64px);
}

.instagram__intro {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.profile__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.profile__text strong {
  font-weight: 800;
  font-size: 17px;
}

.profile__text span {
  font-size: 14px;
  color: var(--tekst-3);
}

.instagram__posts {
  flex: 2 1 600px;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.instagram__posts figure {
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.instagram__posts img {
  width: 100%;
  border-radius: 18px;
  border: 2px solid var(--linia);
}

.instagram__posts figcaption {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tekst-3);
}

/* ---------- Pytania ---------- */

.faq .section__split {
  align-items: flex-start;
  gap: 32px clamp(40px, 6vw, 88px);
}

.faq__intro {
  flex: 1 1 280px;
  min-width: 0;
}

.faq__intro-text {
  font-size: 17px;
  color: var(--tekst-2);
}

.faq__intro a {
  white-space: nowrap;
  font-weight: 800;
  color: var(--atrament);
  text-decoration: none;
}

.faq__intro a:hover {
  text-decoration: underline;
}

.faq__list {
  flex: 2 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--linia);
}

.faq__list details {
  border-bottom: 2px solid var(--linia);
}

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary svg {
  flex: none;
  color: var(--sezon-gleboki);
  transition: transform 0.2s ease;
}

.faq__list details[open] summary svg {
  transform: rotate(45deg);
}

.faq__list summary:hover {
  color: var(--sezon-gleboki);
}

.faq__list details p {
  max-width: 62ch;
  margin-bottom: 22px;
  color: var(--tekst-2);
}

/* ---------- Rezerwacja ---------- */

.booking {
  position: relative;
  overflow: hidden;
  background: var(--atrament);
  color: #FFFFFF;
}

.booking :focus-visible {
  outline-color: var(--sezon-jasny);
}

.booking__card :focus-visible {
  outline-color: var(--sezon-gleboki);
}

.booking__decor {
  position: absolute;
  width: 300px;
  height: var(--sekcja);
  overflow: hidden;
  pointer-events: none;
}

.booking__decor img {
  width: 300px;
  height: 300px;
  max-width: none;
}

.booking__decor--gora {
  top: 0;
  right: 0;
}

.booking__decor--dol {
  bottom: 0;
  left: 0;
}

.booking__decor--dol img {
  position: absolute;
  bottom: 0;
  left: 0;
}

.booking .section__split {
  align-items: flex-start;
  gap: 40px clamp(40px, 6vw, 88px);
}

.booking__text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.booking .eyebrow {
  color: var(--sezon-jasny);
}

.booking__title {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  color: #FFFFFF;
}

.booking__lead {
  font-size: 18px;
  color: var(--tekst-na-ciemnym);
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: #FFFFFF;
  text-decoration: none;
}

.contact:hover .contact__value {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--sezon);
  color: var(--atrament);
}

.contact__value--telefon {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: 0.01em;
}

.contact__value--email {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 700;
}

.booking__reply {
  font-size: 15px;
  color: var(--tekst-na-ciemnym);
}

.booking__card {
  flex: 1 1 460px;
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 32px;
  background: #FFFFFF;
  color: var(--atrament);
}

.form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px 16px;
}

.form__field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__field--pelne,
.form__submit,
.form__error,
.form__zgoda {
  grid-column: 1 / -1;
}

.form__field label {
  font-size: 15px;
  font-weight: 800;
}

.form__field input,
.form__field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--linia-pola);
  border-radius: 14px;
  background-color: #FFFFFF;
  color: var(--atrament);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s ease;
}

.form__field select {
  padding-right: 44px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2316323C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form__field input::placeholder {
  color: #6B858E;
}

.form__field input:hover,
.form__field select:hover {
  border-color: var(--linia-przerywana);
}

.form__field input:focus,
.form__field select:focus {
  border-color: var(--sezon-gleboki);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sezon) 25%, transparent);
}

.form__submit {
  min-height: 58px;
  margin-top: 6px;
  font-size: 18px;
}

.form__submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.form__error {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--rozowy-jasny);
  color: var(--magenta-ciemna);
  font-size: 15px;
  font-weight: 700;
}

.form__error a {
  white-space: nowrap;
}

/* Informacja pod przyciskiem: wysłanie = akceptacja regulaminu (regulamin.html) */
.form__zgoda {
  font-size: 14px;
  line-height: 1.5;
  color: var(--tekst-3);
  text-align: center;
}

.form__zgoda a {
  color: var(--atrament);
  font-weight: 700;
  text-underline-offset: 3px;
}

.form__zgoda a:hover {
  color: var(--sezon-gleboki);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
}

.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--sezon);
  color: var(--atrament);
}

.form-success h3 {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.15;
}

.form-success h3:focus {
  outline: none;
}

.form-success p {
  font-size: 17px;
  color: var(--tekst-2);
}

/* ---------- Regulamin i polityka prywatności (regulamin.html) ---------- */

.legal {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: calc(760px + 2 * var(--margines));
}

.legal__date {
  font-size: 15px;
  font-weight: 700;
  color: var(--tekst-3);
}

.legal__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal__part {
  display: flex;
  flex-direction: column;
  gap: 32px;
  scroll-margin-top: 24px;
}

.legal__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--tekst-2);
}

.legal__section h3 {
  font-family: var(--font-naglowki);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--atrament);
}

.legal__section ol,
.legal__section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 1.5em;
}

.legal__section address {
  font-style: normal;
}

.legal__section li::marker {
  color: var(--sezon-gleboki);
  font-weight: 800;
}

.legal__section a {
  color: var(--sezon-gleboki);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.legal__section a[href^="tel:"] {
  white-space: nowrap;
}

/* ---------- Stopka ---------- */

.site-footer {
  background: var(--atrament-stopka);
  color: var(--tekst-na-ciemnym);
}

.site-footer :focus-visible {
  outline-color: var(--sezon-jasny);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.site-footer__brand img {
  align-self: flex-start;
  width: auto;
  height: 44px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-size: 14px;
  font-weight: 700;
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
