@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-600.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('/fonts/cormorant-700-italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --atrament: #0d2423;
  --atrament-2: #133632;
  --krem: #fbf7ee;
  --papier: #ffffff;
  --tekst: #1a2a29;
  --szary: #5a6a67;
  --zloto: #d9b45f;
  --woda: #12b3a6;
  --woda-ciemna: #0a7d75;
  --koral: #ef6248;
  --slonce: #ffc33f;
  --cien: 0 18px 50px -18px rgba(8, 40, 38, 0.35);
  --szeroko: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--krem);
  color: var(--tekst);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--woda-ciemna);
}
.wnetrze {
  max-width: var(--szeroko);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Pasek u góry ---------- */
.pasek {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
}
.pasek .wnetrze {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.marka {
  font-family: 'Cormorant', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: 0.01em;
  color: var(--krem);
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 30, 30, 0.55);
}
.marka span {
  color: var(--zloto);
}
.jezyki {
  position: relative;
}
.jezyki summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.jezyki summary::-webkit-details-marker {
  display: none;
}
.jezyki svg {
  width: 18px;
  height: 18px;
}
.jezyki ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 8px;
  list-style: none;
  min-width: 180px;
  background: var(--papier);
  border-radius: 14px;
  box-shadow: var(--cien);
}
.jezyki li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--tekst);
  text-decoration: none;
}
.jezyki li a:hover {
  background: var(--krem);
}
.jezyki li a[aria-current='true'] {
  color: var(--woda-ciemna);
  font-weight: 600;
}

/* ---------- Przyciski i znaczki ---------- */
.przycisk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.przycisk:hover {
  transform: translateY(-2px);
}
.przycisk.zloty {
  background: var(--zloto);
  color: var(--atrament);
  box-shadow: 0 10px 30px -10px rgba(217, 180, 95, 0.7);
}
.przycisk.ciemny {
  background: var(--atrament);
  color: var(--krem);
}
.przycisk.obrys {
  border: 1.5px solid rgba(13, 36, 35, 0.2);
  color: var(--tekst);
}
.przycisk.obrys:hover {
  border-color: var(--tekst);
}
.wkrotce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 14px;
  background: var(--atrament);
  color: var(--krem);
  font-weight: 600;
  font-size: 0.95rem;
}
.wkrotce.jasne {
  background: var(--krem);
  color: var(--tekst);
}
.koniec .wkrotce.jasne {
  background: var(--papier);
}
.wkrotce svg {
  width: 20px;
  height: 22px;
  flex: none;
}

/* ---------- Strona studia ---------- */
.hero-studio {
  position: relative;
  overflow: hidden;
  color: var(--krem);
  background:
    radial-gradient(circle at 78% 30%, rgba(18, 179, 166, 0.35), transparent 42%),
    radial-gradient(circle at 12% 95%, rgba(217, 180, 95, 0.22), transparent 40%),
    linear-gradient(160deg, #0d2423 0%, #143c35 55%, #0b201f 100%);
  padding: 150px 0 120px;
}
.hero-studio .wnetrze {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.etykieta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zloto);
  margin-bottom: 18px;
}
.hero-studio h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 22px;
}
.hero-studio p {
  font-size: 1.2rem;
  color: rgba(251, 247, 238, 0.82);
  max-width: 34em;
  margin: 0 0 34px;
}
.kafle {
  position: relative;
  height: 340px;
}
.kafle img {
  position: absolute;
  width: 190px;
  border-radius: 44px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.kafle .k1 {
  left: 6%;
  top: 0;
  transform: rotate(-8deg);
  animation: unos 7s ease-in-out infinite;
}
.kafle .k2 {
  right: 4%;
  bottom: 0;
  transform: rotate(7deg);
  animation: unos 7s ease-in-out -3.5s infinite;
}
@keyframes unos {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}
@keyframes obrot {
  to {
    rotate: 360deg;
  }
}

.sekcja {
  padding: 96px 0;
}
.sekcja h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.sekcja .wstep {
  color: var(--szary);
  font-size: 1.15rem;
  margin: 0 0 48px;
  max-width: 40em;
}
.serif {
  font-family: 'Cormorant', Georgia, serif;
  font-style: italic;
  font-weight: 700;
}

.gry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.karta-gry {
  background: var(--papier);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--cien);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.karta-gry:hover {
  transform: translateY(-6px);
}
.karta-gry .wizual {
  position: relative;
  aspect-ratio: 1024 / 500;
  overflow: hidden;
  display: block;
}
.karta-gry .wizual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wizual.woda {
  background: url('/img/kaczki/pond.jpg') center 30% / cover;
  display: grid;
  place-items: center;
}
.wizual.woda img.logo {
  width: 72%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 50, 50, 0.3));
}
.karta-gry .tresc {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.karta-gry .tytul {
  display: flex;
  align-items: center;
  gap: 14px;
}
.karta-gry .tytul img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.karta-gry h3 {
  font-size: 1.5rem;
  margin: 0;
}
.karta-gry p {
  margin: 0;
  color: var(--szary);
  flex: 1;
}
.akcje {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

/* ---------- Strona Kaczek ---------- */
.hero-kaczki {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, 0.22), transparent 60%),
    url('/img/kaczki/pond.jpg') center / cover;
  padding: 120px 0 230px;
}
.hero-kaczki h1 {
  margin: 0 auto;
  max-width: 600px;
  line-height: 0;
}
.hero-kaczki h1 img {
  width: min(600px, 92%);
  filter: drop-shadow(0 14px 22px rgba(0, 60, 60, 0.3));
}
.hero-kaczki .haslo {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 700;
  margin: 10px auto 26px;
  max-width: 24em;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 70, 70, 0.45);
}
.znaczki {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}
.znaczki li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--woda-ciemna);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px -10px rgba(0, 60, 60, 0.5);
}
.znaczki svg {
  width: 16px;
  height: 16px;
}
.dekor {
  position: absolute;
  pointer-events: none;
}
.dekor.l1 {
  width: 150px;
  left: 4%;
  top: 22%;
  animation: obrot 60s linear infinite;
}
.dekor.l2 {
  width: 110px;
  right: 6%;
  top: 16%;
  animation: obrot 50s linear infinite reverse;
}
.dekor.l3 {
  width: 130px;
  right: 10%;
  bottom: 26%;
  animation: obrot 70s linear infinite;
}
.dekor.gniazdo {
  width: 150px;
  left: 8%;
  bottom: 18%;
}
.plywaja {
  position: absolute;
  left: 0;
  bottom: 70px;
  width: 360px;
  animation:
    plyn 34s linear infinite,
    kolys 3s ease-in-out infinite;
}
@keyframes plyn {
  from {
    transform: translateX(-380px);
  }
  to {
    transform: translateX(calc(100vw + 20px));
  }
}
@keyframes kolys {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 6px;
  }
}
.fala {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 70px;
  display: block;
}

.centrum {
  text-align: center;
}
.centrum .wstep {
  margin-left: auto;
  margin-right: auto;
}
.kroki {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: krok;
}
.krok {
  text-align: center;
  padding: 10px 12px;
}
.krok .obraz {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5fe0d4, var(--woda) 60%, #0c958a);
  box-shadow:
    inset 0 -10px 30px rgba(0, 60, 60, 0.25),
    var(--cien);
  display: grid;
  place-items: center;
}
.krok .obraz img {
  width: 62%;
}
.krok .obraz::before {
  counter-increment: krok;
  content: counter(krok);
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--koral);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -4px rgba(239, 98, 72, 0.7);
}
.krok .obraz svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.krok .obraz .mala {
  position: absolute;
  width: 34%;
  left: 14%;
  bottom: 18%;
}
.krok .obraz .cel {
  position: absolute;
  width: 34%;
  right: 12%;
  top: 14%;
}
.krok h3 {
  font-size: 1.3rem;
  margin: 0 0 6px;
}
.krok p {
  margin: 0 auto;
  color: var(--szary);
  max-width: 18em;
}

.biale {
  background: var(--papier);
}
.cechy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.cecha {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: var(--krem);
}
.cecha img {
  width: 92px;
  height: 92px;
  flex: none;
}
.cecha h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}
.cecha p {
  margin: 0;
  color: var(--szary);
}

.stawy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.staw {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--cien);
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease;
}
.staw:hover {
  transform: translateY(-6px) rotate(-0.5deg);
}
.staw::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 40, 44, 0.78), rgba(6, 40, 44, 0) 55%);
}
.staw .podpis {
  position: relative;
  z-index: 1;
  padding: 24px;
  color: #fff;
}
.staw h3 {
  font-size: 1.6rem;
  margin: 0 0 4px;
}
.staw p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}
.staw .numer {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--atrament);
  font-weight: 800;
  font-size: 0.9rem;
}
.staw .postac {
  position: absolute;
  z-index: 1;
  width: 42%;
  right: 8%;
  top: 22%;
  filter: drop-shadow(0 10px 12px rgba(0, 40, 60, 0.35));
}

.prywatnosc-ramka {
  display: flex;
  gap: 28px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, #e6f7f4, #f5fbf9);
  border: 1px solid #cdebe5;
}
.prywatnosc-ramka img {
  width: 96px;
  flex: none;
}
.prywatnosc-ramka h2 {
  font-size: 1.6rem;
  margin: 0 0 6px;
}
.prywatnosc-ramka p {
  margin: 0 0 14px;
  color: var(--szary);
}

.koniec {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--krem);
  background:
    radial-gradient(circle at 50% 0%, rgba(18, 179, 166, 0.45), transparent 60%),
    linear-gradient(160deg, #0d2423, #143c35);
  padding: 90px 0;
}
.koniec img.ikona {
  width: 110px;
  border-radius: 26px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
}
.koniec h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: 0 0 24px;
}

/* ---------- Polityka prywatności ---------- */
.hero-polityka {
  color: var(--krem);
  background:
    radial-gradient(circle at 80% 20%, rgba(18, 179, 166, 0.35), transparent 45%),
    linear-gradient(160deg, #0d2423, #143c35);
  padding: 130px 0 120px;
}
.hero-polityka .wnetrze {
  max-width: 860px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.hero-polityka img {
  width: 84px;
  border-radius: 20px;
  flex: none;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
}
.hero-polityka h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 6px;
}
.hero-polityka p {
  margin: 0;
  color: rgba(251, 247, 238, 0.75);
}
.dokument {
  max-width: 860px;
  margin: -70px auto 80px;
  padding: 48px 56px;
  background: var(--papier);
  border-radius: 28px;
  box-shadow: var(--cien);
  position: relative;
}
.dokument .krotko {
  margin: 0 0 12px;
  padding: 20px 24px;
  border-radius: 18px;
  background: #e8f7f4;
  border-left: 5px solid var(--woda);
  font-size: 1.1rem;
}
.dokument h2 {
  font-size: 1.3rem;
  margin: 36px 0 8px;
}
.dokument ul {
  padding-left: 22px;
}

/* ---------- Stopka ---------- */
.stopka {
  background: var(--atrament);
  color: rgba(251, 247, 238, 0.72);
  padding: 64px 0 40px;
  font-size: 0.97rem;
}
.stopka .kolumny {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.stopka h4 {
  margin: 0 0 12px;
  color: var(--krem);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stopka ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stopka li {
  margin: 0 0 6px;
}
.stopka a {
  color: rgba(251, 247, 238, 0.82);
  text-decoration: none;
}
.stopka a:hover {
  color: var(--zloto);
}
.stopka .marka {
  font-size: 1.7rem;
}
.stopka .dol {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 247, 238, 0.12);
  font-size: 0.88rem;
}

/* ---------- Telefony ---------- */
@media (max-width: 900px) {
  .hero-studio .wnetrze,
  .gry,
  .cechy {
    grid-template-columns: 1fr;
  }
  .kafle {
    height: 260px;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
  .kafle img {
    width: 150px;
    border-radius: 34px;
  }
    .kroki,
  .stawy {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .stopka .kolumny {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .wnetrze {
    padding: 0 16px;
  }
  .hero-studio {
    padding: 120px 0 80px;
  }
  .hero-kaczki {
    padding: 110px 0 200px;
  }
  .sekcja {
    padding: 64px 0;
  }
  .dekor {
    display: none;
  }
  .plywaja {
    width: 260px;
    bottom: 60px;
  }
  .cecha {
    padding: 18px;
    gap: 14px;
  }
  .cecha img {
    width: 70px;
    height: 70px;
  }
  .prywatnosc-ramka {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
  .dokument {
    padding: 30px 22px;
    margin-top: -60px;
    border-radius: 22px;
  }
  .hero-polityka .wnetrze {
    flex-direction: column;
    align-items: flex-start;
  }
  .stopka .kolumny {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
