@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Nunito+Sans:wght@400;600;700&display=swap');

:root {
  --tlo: #FBF5EC;
  --tlo-2: #F4E8D6;
  --karta: #FFFDF9;
  --braz: #7A5A36;
  --zloto: #A8834F;
  --tekst: #4A3B2C;
  --tekst-2: #7D6B58;
  --szalwia: #6F7F5C;
  --linia: #E6D6BF;
  --placeholder: #B4471F;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tlo);
  color: var(--tekst);
  font: 17px/1.65 'Nunito Sans', system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--braz); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.waski { max-width: 760px; }

h1, h2, h3 {
  font-family: 'Hoefler Text', 'Cormorant Garamond', Georgia, serif;
  color: var(--braz);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-style: italic; font-weight: 500; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.5rem; }

.kapitaliki {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--zloto);
  font-weight: 700;
}

/* nagłówek */
.gora { padding: 18px 0; border-bottom: 1px solid var(--linia); background: var(--tlo); }
.gora .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gora img { height: 54px; width: auto; }
.gora nav { display: flex; gap: 22px; font-weight: 600; font-size: .95rem; }
.gora nav a { text-decoration: none; color: var(--tekst-2); }
.gora nav a:hover { color: var(--braz); }

.przycisk {
  display: inline-block;
  background: var(--braz);
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .2s, transform .2s;
}
.przycisk:hover { background: #5f4528; transform: translateY(-1px); }
.przycisk.jasny { background: transparent; color: var(--braz); border: 1.5px solid var(--braz); }
.przycisk.jasny:hover { background: var(--tlo-2); }

section { padding: 84px 0; }
.tlo-2 { background: var(--tlo-2); }

/* hero */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--tekst-2); max-width: 32em; }
.hero .akcje { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero .drobne { font-size: .9rem; color: var(--tekst-2); }
.okladki { position: relative; height: 520px; }
.okladki img {
  position: absolute; width: 62%;
  border-radius: 6px 14px 14px 6px;
  box-shadow: 0 18px 40px rgba(74, 59, 44, .22), inset 0 0 0 1px rgba(0,0,0,.04);
}
.okladki img:first-child { left: 0; top: 30px; transform: rotate(-4deg); }
.okladki img:last-child { right: 0; top: 0; transform: rotate(3deg); }

/* dlaczego */
.trzy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.trzy div { background: var(--karta); border: 1px solid var(--linia); border-radius: 16px; padding: 28px; }
.trzy p { margin: 0; color: var(--tekst-2); }
.ikona { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--zloto); line-height: 1; margin-bottom: 10px; }
.ikona img { width: 84px; height: 84px; display: block; }
.trzy .ikona { background: none; border: 0; padding: 0; border-radius: 0; }

/* przykłady */
.przyklad { margin-top: 48px; }
.przyklad + .przyklad { margin-top: 80px; }
.przyklad-naglowek { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.przyklad-naglowek p { margin: 0; color: var(--tekst-2); }
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.galeria figure { margin: 0; }
.galeria img { border-radius: 12px; aspect-ratio: 2 / 3; object-fit: cover; width: 100%; box-shadow: 0 6px 18px rgba(74, 59, 44, .12); }
.galeria figcaption { font-size: .88rem; color: var(--tekst-2); margin-top: 8px; text-align: center; font-style: italic; }
.cytat {
  margin: 28px auto 0; max-width: 620px;
  background: var(--karta); border-left: 3px solid var(--zloto);
  padding: 22px 28px; border-radius: 0 14px 14px 0;
  font-family: 'Hoefler Text', 'Cormorant Garamond', Georgia, serif;
  font-size: 1.22rem; line-height: 1.5; color: var(--tekst);
  white-space: pre-line;
}
.cytat small { display: block; font-family: 'Nunito Sans', sans-serif; font-size: .82rem; color: var(--tekst-2); margin-top: 10px; white-space: normal; }

/* jak to działa */
.kroki { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: k; }
.kroki li { counter-increment: k; }
.kroki li::before {
  content: counter(k);
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--zloto); color: var(--zloto);
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600;
  margin-bottom: 14px;
}
.kroki p { color: var(--tekst-2); margin: 0; }

/* cennik */
.ceny { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.cena {
  background: var(--karta); border: 1px solid var(--linia); border-radius: 20px;
  padding: 36px 32px; display: flex; flex-direction: column;
}
.cena.wyrozniona { border: 2px solid var(--zloto); position: relative; }
.cena .etykieta {
  position: absolute; top: -14px; left: 32px;
  background: var(--zloto); color: #fff; font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.kwota { font-family: 'Cormorant Garamond', serif; font-size: 3.4rem; color: var(--braz); font-weight: 600; line-height: 1; margin: 10px 0 4px; }
.kwota span { font-size: 1.1rem; font-family: 'Nunito Sans', sans-serif; font-weight: 600; color: var(--tekst-2); }
.regularna { font-size: .92rem; color: var(--tekst-2); margin: 0 0 18px; }
.cena ul { padding: 0; margin: 0 0 28px; list-style: none; flex: 1; }
.cena li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--linia); }
.cena li::before { content: '✓'; position: absolute; left: 0; color: var(--szalwia); font-weight: 700; }
.cena .przycisk { text-align: center; }
.uwaga-ceny { text-align: center; color: var(--tekst-2); font-size: .92rem; margin-top: 24px; }

/* FAQ */
details { background: var(--karta); border: 1px solid var(--linia); border-radius: 14px; padding: 18px 24px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; color: var(--braz); list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: -4px; font-size: 1.5rem; color: var(--zloto); }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--tekst-2); }

/* CTA końcowe */
.final { text-align: center; }
.final p { color: var(--tekst-2); max-width: 34em; margin: 0 auto 28px; }

/* stopka */
footer { border-top: 1px solid var(--linia); padding: 36px 0; font-size: .9rem; color: var(--tekst-2); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer img { height: 44px; width: auto; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* strony prawne */
.prawne { padding: 56px 0 80px; }
.prawne h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prawne h2 { font-size: 1.5rem; margin-top: 2em; }
.prawne ol, .prawne ul { padding-left: 1.3em; }
.prawne li { margin-bottom: .45em; }
.uzupelnij { background: #FCE6D9; color: var(--placeholder); font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.info-szkic { background: #FCE6D9; border: 1px solid #EBC3AA; border-radius: 12px; padding: 14px 18px; color: var(--placeholder); font-size: .92rem; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .okladki { height: 420px; max-width: 420px; margin: 0 auto; width: 100%; }
  .trzy, .kroki { grid-template-columns: 1fr; }
  .ceny { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .gora nav { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .okladki { height: 340px; }
}

/* ===== nagłówek z dużym logo ===== */
.naglowek {
  position: relative; overflow: hidden; text-align: center;
  padding: 44px 0 26px;
  background: radial-gradient(ellipse at 50% 0%, #FFF8EE 0%, var(--tlo-2) 75%);
  border-bottom: 1px solid var(--linia);
}
.logo-duze {
  width: min(380px, 78vw); height: auto; margin: 0 auto;
  animation: wejscie 1.1s ease-out both, unoszenie 6s ease-in-out 1.1s infinite;
}
.haslo {
  font-family: 'Hoefler Text', 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem); color: var(--braz); margin: 10px 0 18px;
  animation: wejscie 1.1s ease-out .25s both;
}
.menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; font-size: .95rem; animation: wejscie 1.1s ease-out .45s both; }
.menu a { text-decoration: none; color: var(--tekst-2); padding: 4px 0; background: linear-gradient(var(--zloto), var(--zloto)) 0 100% / 0 1.5px no-repeat; transition: background-size .3s, color .3s; }
.menu a:hover { color: var(--braz); background-size: 100% 1.5px; }

/* złote iskierki */
.iskry i {
  position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--zloto); opacity: 0; animation: iskra 9s linear infinite;
}
.iskry i:nth-child(1) { left: 94.3%; animation-delay: 3.6s; animation-duration: 6s; width: 4px; height: 4px; }
.iskry i:nth-child(2) { left: 81.8%; animation-delay: 0.8s; animation-duration: 10s; width: 3px; height: 3px; }
.iskry i:nth-child(3) { left: 90.6%; animation-delay: 1.9s; animation-duration: 6s; width: 3px; height: 3px; }
.iskry i:nth-child(4) { left: 41.9%; animation-delay: 2.2s; animation-duration: 10s; width: 4px; height: 4px; }
.iskry i:nth-child(5) { left: 6.4%; animation-delay: 5.1s; animation-duration: 7s; width: 4px; height: 4px; }
.iskry i:nth-child(6) { left: 62.6%; animation-delay: 8.5s; animation-duration: 10s; width: 6px; height: 6px; }
.iskry i:nth-child(7) { left: 39.8%; animation-delay: 8.8s; animation-duration: 6s; width: 5px; height: 5px; }
.iskry i:nth-child(8) { left: 85.5%; animation-delay: 2.6s; animation-duration: 7s; width: 5px; height: 5px; }
.iskry i:nth-child(9) { left: 12.2%; animation-delay: 2.8s; animation-duration: 12s; width: 5px; height: 5px; }
.iskry i:nth-child(10) { left: 18.4%; animation-delay: 5.2s; animation-duration: 11s; width: 6px; height: 6px; }
.iskry i:nth-child(11) { left: 37.4%; animation-delay: 4.9s; animation-duration: 6s; width: 3px; height: 3px; }
.iskry i:nth-child(12) { left: 6.4%; animation-delay: 1.9s; animation-duration: 11s; width: 5px; height: 5px; }
.iskry i:nth-child(13) { left: 42.8%; animation-delay: 2.8s; animation-duration: 10s; width: 5px; height: 5px; }
.iskry i:nth-child(14) { left: 36.3%; animation-delay: 2.2s; animation-duration: 7s; width: 4px; height: 4px; }
.iskry i:nth-child(15) { left: 77.7%; animation-delay: 0.7s; animation-duration: 8s; width: 6px; height: 6px; }
.iskry i:nth-child(16) { left: 49.5%; animation-delay: 3.1s; animation-duration: 9s; width: 5px; height: 5px; }
.iskry i:nth-child(17) { left: 60.8%; animation-delay: 0.7s; animation-duration: 10s; width: 4px; height: 4px; }
.iskry i:nth-child(18) { left: 16.8%; animation-delay: 3.1s; animation-duration: 9s; width: 4px; height: 4px; }
.iskry i:nth-child(19) { left: 4.4%; animation-delay: 6.0s; animation-duration: 12s; width: 4px; height: 4px; }
.iskry i:nth-child(20) { left: 57.2%; animation-delay: 7.9s; animation-duration: 8s; width: 5px; height: 5px; }
.iskry i:nth-child(21) { left: 69.3%; animation-delay: 5.3s; animation-duration: 10s; width: 4px; height: 4px; }
.iskry i:nth-child(22) { left: 45.7%; animation-delay: 7.6s; animation-duration: 8s; width: 7px; height: 7px; }
.iskry i:nth-child(23) { left: 69.5%; animation-delay: 0.6s; animation-duration: 11s; width: 4px; height: 4px; }
.iskry i:nth-child(24) { left: 31.2%; animation-delay: 5.2s; animation-duration: 11s; width: 6px; height: 6px; }
.iskry i:nth-child(25) { left: 44.6%; animation-delay: 6.4s; animation-duration: 11s; width: 7px; height: 7px; }
.iskry i:nth-child(26) { left: 2.7%; animation-delay: 4.2s; animation-duration: 7s; width: 4px; height: 4px; }
.iskry i:nth-child(27) { left: 12.1%; animation-delay: 0.5s; animation-duration: 12s; width: 5px; height: 5px; }
.iskry i:nth-child(28) { left: 13.3%; animation-delay: 2.2s; animation-duration: 9s; width: 4px; height: 4px; }
.iskry i:nth-child(29) { left: 49.7%; animation-delay: 1.5s; animation-duration: 9s; width: 7px; height: 7px; }
.iskry i:nth-child(30) { left: 28.0%; animation-delay: 1.2s; animation-duration: 9s; width: 5px; height: 5px; }
.iskry i:nth-child(31) { left: 55.0%; animation-delay: 6.4s; animation-duration: 8s; width: 7px; height: 7px; }
.iskry i:nth-child(32) { left: 88.0%; animation-delay: 8.6s; animation-duration: 7s; width: 6px; height: 6px; }
.iskry i:nth-child(33) { left: 17.9%; animation-delay: 2.1s; animation-duration: 7s; width: 3px; height: 3px; }
.iskry i:nth-child(34) { left: 48.5%; animation-delay: 5.3s; animation-duration: 8s; width: 3px; height: 3px; }
.iskry i:nth-child(35) { left: 0.9%; animation-delay: 3.8s; animation-duration: 8s; width: 4px; height: 4px; }
.iskry i:nth-child(36) { left: 56.6%; animation-delay: 8.6s; animation-duration: 11s; width: 5px; height: 5px; }
.iskry i:nth-child(37) { left: 51.5%; animation-delay: 5.6s; animation-duration: 11s; width: 7px; height: 7px; }
.iskry i:nth-child(38) { left: 5.8%; animation-delay: 8.1s; animation-duration: 12s; width: 6px; height: 6px; }
.iskry i:nth-child(39) { left: 67.9%; animation-delay: 5.0s; animation-duration: 9s; width: 7px; height: 7px; }
.iskry i:nth-child(40) { left: 39.5%; animation-delay: 4.3s; animation-duration: 9s; width: 4px; height: 4px; }
.iskry i:nth-child(41) { left: 19.4%; animation-delay: 8.9s; animation-duration: 9s; width: 3px; height: 3px; }
.iskry i:nth-child(42) { left: 11.4%; animation-delay: 5.4s; animation-duration: 6s; width: 3px; height: 3px; }
.iskry i:nth-child(43) { left: 56.6%; animation-delay: 4.8s; animation-duration: 8s; width: 3px; height: 3px; }
.iskry i:nth-child(44) { left: 3.0%; animation-delay: 7.9s; animation-duration: 10s; width: 5px; height: 5px; }
.iskry i:nth-child(45) { left: 15.2%; animation-delay: 2.3s; animation-duration: 8s; width: 4px; height: 4px; }
.iskry i:nth-child(46) { left: 36.6%; animation-delay: 1.1s; animation-duration: 12s; width: 5px; height: 5px; }
.iskry i:nth-child(47) { left: 98.8%; animation-delay: 4.2s; animation-duration: 9s; width: 4px; height: 4px; }
.iskry i:nth-child(48) { left: 9.0%; animation-delay: 0.9s; animation-duration: 8s; width: 4px; height: 4px; }
.iskry i:nth-child(49) { left: 26.7%; animation-delay: 7.5s; animation-duration: 7s; width: 6px; height: 6px; }
.iskry i:nth-child(50) { left: 2.8%; animation-delay: 8.6s; animation-duration: 10s; width: 5px; height: 5px; }
.iskry i:nth-child(51) { left: 15.0%; animation-delay: 4.9s; animation-duration: 6s; width: 4px; height: 4px; }
.iskry i:nth-child(52) { left: 52.8%; animation-delay: 8.8s; animation-duration: 12s; width: 7px; height: 7px; }
.iskry i:nth-child(53) { left: 69.4%; animation-delay: 2.4s; animation-duration: 8s; width: 3px; height: 3px; }
.iskry i:nth-child(54) { left: 35.7%; animation-delay: 2.0s; animation-duration: 10s; width: 3px; height: 3px; }
.iskry i:nth-child(55) { left: 50.3%; animation-delay: 5.7s; animation-duration: 10s; width: 7px; height: 7px; }
.iskry i:nth-child(56) { left: 78.6%; animation-delay: 6.8s; animation-duration: 7s; width: 7px; height: 7px; }
.iskry i:nth-child(57) { left: 24.2%; animation-delay: 3.6s; animation-duration: 12s; width: 7px; height: 7px; }
.iskry i:nth-child(58) { left: 20.3%; animation-delay: 4.4s; animation-duration: 11s; width: 3px; height: 3px; }
.iskry i:nth-child(59) { left: 98.5%; animation-delay: 7.1s; animation-duration: 9s; width: 3px; height: 3px; }
.iskry i:nth-child(60) { left: 19.7%; animation-delay: 5.4s; animation-duration: 8s; width: 4px; height: 4px; }

/* ===== wybór książki ===== */
.wybor { text-align: center; padding: 64px 0 76px; }
.wybor .lead { font-size: 1.12rem; color: var(--tekst-2); max-width: 36em; margin: 0 auto; }
.wybor .drobne { color: var(--tekst-2); font-size: .92rem; margin-top: 30px; }
.karty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; text-align: left; }
.karta-ksiazki.pojaw { transition: opacity .9s ease, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.karta-ksiazki {
  background: var(--karta); border: 1px solid var(--linia); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(74, 59, 44, .08);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.karty .karta-ksiazki.jest:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 24px 48px rgba(74, 59, 44, .18); transition-delay: 0s; }
.karty .karta-ksiazki.jest:nth-child(2):hover { transform: translateY(-8px) rotate(.6deg); }
.pokaz { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tlo-2); }
.pokaz img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  opacity: 0; transition: opacity 1.4s ease;
}
.pokaz img.widoczny { opacity: 1; animation: kenburns 9s ease-in-out infinite alternate; }
.opis-karty { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; position: relative; }
.opis-karty h3 { margin-bottom: .3em; }
.opis-karty p { color: var(--tekst-2); margin: 0 0 20px; flex: 1; }
.znaczek {
  position: absolute; top: -15px; right: 20px; background: var(--braz); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.znaczek.nowosc { background: var(--zloto); animation: puls 2.6s ease-in-out infinite; }
.dol-karty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dol-karty span { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--braz); }
.dol-karty .przycisk { padding: 11px 24px; }

/* połysk na głównych przyciskach */
.przycisk:not(.jasny) { position: relative; overflow: hidden; }
.przycisk:not(.jasny)::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: polysk 5s ease-in-out infinite;
}

/* galerie przykładów: delikatny ruch */
.galeria figure { overflow: hidden; border-radius: 12px; }
.galeria img { transition: transform 1.2s ease; }
.galeria figure:hover img { transform: scale(1.07); }

/* pojawianie się przy przewijaniu */
.pojaw { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.pojaw.jest { opacity: 1; transform: none; }
.karty .pojaw:nth-child(2) { transition-delay: .15s; }
.karty .pojaw:nth-child(3) { transition-delay: .3s; }

@keyframes wejscie { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes unoszenie { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }
@keyframes iskra {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  15% { opacity: .8; }
  100% { transform: translateY(-300px) translateX(20px) scale(1); opacity: 0; }
}
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(168, 131, 79, .5); } 50% { box-shadow: 0 0 0 8px rgba(168, 131, 79, 0); } }
@keyframes polysk { 0%, 70% { left: -60%; } 100% { left: 130%; } }

@media (max-width: 960px) { .karty { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .karty { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .naglowek { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pojaw { opacity: 1; transform: none; }
}

/* ================= PREMIUM ================= */
body {
  background-color: var(--tlo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 500; font-style: italic; letter-spacing: -.005em; }
section > .wrap > .kapitaliki, section > .wrap > h2, section > .wrap > .lead { text-align: center; }
section > .wrap > .lead { color: var(--tekst-2); margin: -4px auto 0; max-width: 34em; }

/* złote ozdobniki przy kapitalikach */
.kapitaliki { display: flex; align-items: center; justify-content: center; gap: 14px; letter-spacing: .26em; }
.kapitaliki::before, .kapitaliki::after { content: ''; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--zloto)); }
.kapitaliki::after { transform: scaleX(-1); }

/* przyciski */
.przycisk {
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 34px; border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px rgba(122, 90, 54, .25);
}
.przycisk.jasny { box-shadow: none; }
.przycisk.maly { padding: 10px 20px; font-size: .72rem; }
.dol-karty .przycisk { padding: 12px 22px; }

/* pasek przyklejony */
.pasek {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(251, 245, 236, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linia);
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.pasek.widoczny { transform: none; }
.pasek .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.pasek img { height: 44px; width: auto; }

/* nagłówek */
.naglowek { padding: 56px 0 30px; }
.naglowek::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(560px, 80%); height: 1px; background: linear-gradient(90deg, transparent, var(--zloto), transparent);
}

/* karty książek */
.karta-ksiazki { border-radius: 6px; border: 1px solid #E9DCC6; box-shadow: 0 1px 0 #fff inset, 0 18px 40px rgba(74, 59, 44, .10); }
.pokaz::after {
  content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255, 250, 240, .75); pointer-events: none;
  box-shadow: inset 0 0 60px rgba(60, 40, 20, .18);
}
.opis-karty { padding: 26px 26px 28px; }
.opis-karty h3 { font-style: italic; font-weight: 500; font-size: 1.8rem; }
.znaczek { border-radius: 2px; letter-spacing: .18em; }

/* atuty */
.atuty { list-style: none; padding: 0; margin: 48px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; }
.atuty li { padding: 6px 18px; border-left: 1px solid var(--linia); font-size: .9rem; color: var(--tekst-2); }
.atuty li:first-child { border-left: 0; }
.atuty b { display: block; font-family: 'Hoefler Text', 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--braz); }

/* dlaczego */
.trzy div { border-radius: 6px; text-align: center; padding: 34px 30px; }
.trzy .ikona { font-size: 2rem; }

/* okładka jak prawdziwa książka */
.galeria figure.okladka-3d { overflow: visible; perspective: 1100px; }
.galeria .okladka-3d img {
  border-radius: 2px 8px 8px 2px; transform-origin: left center;
  transform: rotateY(-16deg);
  box-shadow: inset 6px 0 8px rgba(0,0,0,.18), 16px 18px 30px rgba(74, 59, 44, .28);
  transition: transform 1s cubic-bezier(.2,.8,.2,1), box-shadow 1s;
}
.galeria figure.okladka-3d:hover img { transform: rotateY(0) scale(1.02); box-shadow: 0 18px 36px rgba(74, 59, 44, .22); }
.galeria img { border-radius: 4px; }

/* cytat */
.cytat { position: relative; border-left: 0; border-radius: 4px; text-align: center; padding: 40px 36px 28px; box-shadow: 0 14px 34px rgba(74, 59, 44, .08); }
.cytat::before {
  content: '“'; position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif; font-size: 6rem; line-height: 1; color: var(--zloto);
}

/* cennik */
.cena { border-radius: 6px; text-align: center; }
.cena ul { text-align: left; }
.cena.wyrozniona { border: 1px solid var(--zloto); box-shadow: 0 0 0 6px var(--tlo), 0 0 0 7px rgba(168, 131, 79, .45), 0 22px 44px rgba(74, 59, 44, .14); }
.cena .etykieta { left: 50%; transform: translateX(-50%); border-radius: 2px; }
.kwota { font-size: 3.8rem; }

details { border-radius: 4px; }

/* stopka */
footer { background: #3E2F21; color: #D9C6A8; border-top: 0; padding: 48px 0; }
footer a { color: #EAD9BC; text-decoration: none; }
footer a:hover { color: #fff; }
footer img { height: 64px; }

@media (max-width: 860px) {
  .atuty { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .atuty li:nth-child(3) { border-left: 0; }
}
@media (max-width: 420px) {
  .atuty { grid-template-columns: 1fr; }
  .atuty li { border-left: 0; }
  .pasek .przycisk.maly { padding: 9px 14px; letter-spacing: .1em; }
}
.cena .wysylka { font-size: .9rem; color: var(--braz); background: var(--tlo-2); border-radius: 3px; padding: 8px 12px; margin: -8px 0 20px; }

/* dodatki */
.dodatki { margin-top: 48px; text-align: center; }
.dodatki h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--braz); margin: 0 0 22px; font-weight: 600; }
.dodatki-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dodatek { background: var(--karta); border: 1px dashed var(--zloto); border-radius: 6px; padding: 24px 22px; text-align: left; display: flex; flex-direction: column; }
.dodatek-cena { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 600; color: var(--braz); line-height: 1; }
.dodatek h4 { margin: 8px 0 8px; font-size: 1.1rem; color: var(--tekst); }
.dodatek p { margin: 0 0 14px; color: var(--tekst-2); font-size: .95rem; flex: 1; }
.dodatek-dla { align-self: flex-start; font-size: .82rem; font-weight: 700; color: var(--szalwia); background: var(--tlo-2); border-radius: 3px; padding: 4px 10px; }
.dodatki-jak { color: var(--tekst-2); font-size: .92rem; margin: 18px 0 0; }
@media (max-width: 860px) { .dodatki-lista { grid-template-columns: 1fr; } }
