/* Uraduj Się: wspólny wygląd strony głównej i podstron */
/* „Aleksandra Pismo” to prywatna czcionka autorki (© 2026 Aleksandra, Uraduj Się). Wszelkie prawa zastrzeżone.
   Autorka nie wyraża zgody na jakiekolwiek kopiowanie, upublicznianie ani wykorzystanie tej czcionki
   bez wcześniejszej pisemnej zgody. */
@font-face {
  font-family: "Aleksandra Pismo";
  src: url("assets/AleksandraPismo-TT.woff2") format("woff2");
  font-display: block;
}
/* ================================================================
   TU ZMIENIASZ  (pokrętła wyglądu całej strony)
   Zmień liczbę albo kolor, zapisz plik i odśwież stronę (Ctrl+F5).
   Liczby z „px” to piksele. Kolory zapisuje się jako # i sześć znaków.
   ================================================================ */
:root {
  /* --- wielkość liter --- */
  --tekst-rozmiar: 18px;            /* zwykły tekst: O mnie, Na zamówienie */
  --tekst-odstep-linii: 1.75;       /* odstęp między liniami tekstu */
  --naglowek-rozmiar: clamp(34px, 4vw, 52px);  /* duże nagłówki: Z pracowni, O mnie... (od, zależnie od ekranu, do) */

  /* --- czcionki --- */
  --czcionka-tekst: "Lora", Georgia, serif;                 /* zwykły tekst */
  --czcionka-naglowki: "Playfair Display", Georgia, serif;   /* nagłówki */
  /* pismo Alex („Aleksandra Pismo”) jest tylko w tytule, logo i na kartach */

  /* --- kolory --- */
  --krem: #EEEBE6;        /* tło całej strony */
  --krem-jasny: #FBF8F3;  /* jasne kafelki i formularz */
  --noc: #141B33;         /* najciemniejszy granat */
  --granat: #2A3557;      /* nagłówki, przyciski */
  --tusz: #211F20;        /* podstawowy kolor tekstu */
  --wino: #824256;        /* ceny, akcenty, linki */
  --zloto: #E2BD7C;       /* złoto pióra i napisu w logo */
  --pismo: #FBF4E6;       /* kolor tytułu na niebie */
}
/* ================================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; }
html { overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--krem);
  color: var(--tusz);
  font-family: var(--czcionka-tekst);
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: inherit; }

/* ---------- pasek u góry ---------- */
.pasek {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(14,19,38,.78), rgba(14,19,38,.52));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226,189,124,.18);
}
.marka {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--pismo);
}
.marka img { width: 46px; height: 46px; display: block; }
.marka span { font-family: "Aleksandra Pismo", cursive; font-size: 30px; letter-spacing: .5px; color: var(--zloto); }
.menu { display: flex; gap: clamp(16px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.menu a {
  text-decoration: none; color: var(--pismo);
  font-size: 17px; letter-spacing: .2px;
  padding: 8px 2px; display: inline-block; position: relative;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--zloto); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.menu a:hover::after, .menu a:focus-visible::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a:focus-visible { outline: 2px solid var(--zloto); outline-offset: 4px; border-radius: 2px; }
.menu-przycisk { display: none; }

/* ---------- góra ---------- */
.gora {
  position: relative;
  min-height: clamp(620px, 96vh, 980px);
  isolation: isolate;
  overflow-x: clip;
}
.niebo {
  position: absolute; z-index: -2;
  inset: 0 0 -14vh 0;
  background: url("assets/niebo_25-06.webp") center bottom / cover no-repeat;
}
/* miękki cień pod pismem, żeby było czytelne na chmurach */
.gora::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -10%; top: 6%; width: 75%; height: 75%;
  background: radial-gradient(closest-side, rgba(16,24,52,.42), rgba(16,24,52,0));
}
.tresc {
  position: relative;
  padding: clamp(130px, 18vh, 190px) clamp(16px, 6vw, 96px) 0;
  max-width: 1200px;
}
.tytul {
  font-family: "Aleksandra Pismo", cursive;
  font-weight: normal;
  color: var(--pismo);
  font-size: clamp(52px, 7.4vw, 112px);
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 2px 18px rgba(10,14,30,.45);
  position: relative;
}
.tytul .linia { display: inline-block; padding: .12em .45em .3em .12em; margin: -.12em -.45em -.3em -.12em; }
.tytul .linia + .linia { margin-left: calc(.28em - .12em); }
.tytul .linia.nowa { margin-left: -.12em; }
.js .tytul .linia { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 var(--p, 0%), transparent calc(var(--p, -8%) + 6%)); mask-image: linear-gradient(90deg, #000 0, #000 var(--p, -8%), transparent calc(var(--p, -8%) + 6%)); }
.pioro {
  position: absolute; z-index: 3; pointer-events: none;
  width: clamp(110px, 11vw, 180px);
  left: 0; top: 0;
  transform-origin: 5% 93%;
  opacity: 0;
  filter: brightness(1.3) drop-shadow(0 4px 10px rgba(10,14,30,.45));
  will-change: transform, opacity;
  transition: filter 1.4s ease;
}
/* po napisaniu pióro stoi w kałamarzu i nabiera złota */
.pioro.w-kalamarzu {
  filter: sepia(.25) saturate(1.35) brightness(1.04) drop-shadow(0 0 9px rgba(226,189,124,.5)) drop-shadow(0 4px 10px rgba(10,14,30,.4));
}
/* kałamarz z wazonika Alex; stoi za ostatnim słowem tytułu, pozycję liczy app.js */
.kalamarz {
  position: absolute; z-index: 2; pointer-events: none;
  left: 0; top: 0; width: auto; height: 1.08em;
  opacity: 0; transition: opacity 1.1s ease, filter 1.4s ease;
  filter: brightness(1.3) drop-shadow(0 4px 10px rgba(10,14,30,.45));
}
.kalamarz.widac { opacity: 1; }
/* na większym ekranie kałamarz jest akcentem w niebie: większy i cichszy */
.kalamarz.w-niebie { height: 1.75em; }
.kalamarz.w-niebie.widac { opacity: .82; }
.kalamarz.zloty { filter: sepia(.25) saturate(1.35) brightness(1.04) drop-shadow(0 0 9px rgba(226,189,124,.5)) drop-shadow(0 4px 10px rgba(10,14,30,.4)); }
.podtytul {
  margin: clamp(22px, 3vh, 34px) 0 0;
  max-width: 30em;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: #F3ECDD;
  text-shadow: 0 1px 10px rgba(10,14,30,.5);
}
.przycisk {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 28px;
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(251,248,243,.92);
  color: var(--granat);
  text-decoration: none; font-size: 17px;
  box-shadow: 0 10px 30px rgba(14,19,38,.28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.przycisk:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(14,19,38,.34); }
.przycisk:focus-visible { outline: 2px solid var(--zloto); outline-offset: 4px; }
.js .po-napisie { opacity: 0; transform: translateY(8px); transition: opacity 1s ease, transform 1s ease; }
.js .po-napisie.widac { opacity: 1; transform: none; }

/* dalej już tylko krem — tu będzie reszta strony */
.zew { font-size: .75em; opacity: .7; }

/* ---------- ebooki pod niebem ---------- */
.ebooki {
  position: relative;
  padding: clamp(24px, 6vh, 64px) clamp(16px, 6vw, 96px) clamp(72px, 12vh, 120px);
  text-align: center;
}
.ebooki h2 {
  font-family: var(--czcionka-naglowki);
  font-weight: 400;
  color: var(--granat);
  font-size: var(--naglowek-rozmiar);
  margin: 0;
}
.ebooki .opis {
  margin: 12px auto 0;
  color: #5b5560;
  font-size: 17px;
}
.ozdoba { display: block; width: 120px; height: 14px; margin: 18px auto 0; }
.polka {
  list-style: none; margin: clamp(36px, 6vh, 56px) auto 0; padding: 0;
  max-width: 1040px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.polka a {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--granat);
}
.polka img {
  display: block;
  height: clamp(300px, 30vw, 400px); width: auto; max-width: 100%;
  object-fit: contain;
  border-radius: 3px;
  box-shadow:
    0 1px 2px rgba(33,31,32,.10),
    0 8px 18px rgba(42,53,87,.12),
    0 26px 50px rgba(42,53,87,.16);
  transition: transform .35s ease, box-shadow .35s ease;
}
.polka a:hover img, .polka a:focus-visible img {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(33,31,32,.10), 0 14px 26px rgba(42,53,87,.16), 0 36px 64px rgba(42,53,87,.20);
}
.polka a:focus-visible { outline: none; }
.polka a:focus-visible .tytul-ksiazki { text-decoration: underline; }
.tytul-ksiazki { margin-top: 22px; font-size: 18px; }
.sklep { margin-top: 6px; font-size: 15px; color: var(--wino); }

/* ---------- zakładki i przesuwany rząd ---------- */
.zakladki { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.zakladki button {
  font: inherit; font-size: 17px; cursor: pointer;
  padding: 10px 24px; border-radius: 999px;
  background: rgba(251,248,243,.9); color: var(--granat);
  border: 1px solid rgba(42,53,87,.25);
  transition: background .25s ease, color .25s ease;
}
.zakladki button[aria-selected="true"] { background: var(--granat); color: var(--krem-jasny); border-color: var(--granat); }
.zakladki button:focus-visible { outline: 2px solid var(--zloto); outline-offset: 3px; }
.panel .opis { margin-top: 20px; }
.rzad { position: relative; max-width: 1100px; margin: 0 auto; }
.polka { scroll-behavior: smooth; }
.strzalka {
  position: absolute; top: 42%; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--granat); color: var(--krem-jasny); font-size: 24px; line-height: 1;
  box-shadow: 0 6px 16px rgba(42,53,87,.25);
}
.strzalka.wstecz { left: -8px; } .strzalka.dalej { right: -8px; }
.strzalka:focus-visible { outline: 2px solid var(--zloto); outline-offset: 3px; }
.nagranie {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; max-width: 300px; aspect-ratio: 3 / 4; margin: 0 auto;
  border-radius: 14px; color: var(--granat);
  background: radial-gradient(80% 60% at 50% 35%, #fbf8f3 0%, #efe6da 100%);
  box-shadow: 0 1px 2px rgba(33,31,32,.08), 0 18px 40px rgba(42,53,87,.12);
}
.fala-dzwieku { width: 70%; height: auto; }
#podszepty .polka { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
.znacznik { margin-top: 6px; font-size: 14px; color: #8a7895; font-style: italic; }

/* ---------- słowna iskra ---------- */
.iskra { text-align: center; padding: 10px clamp(16px, 6vw, 96px) clamp(110px, 14vh, 150px); }
.iskra h2 { font-family: var(--czcionka-naglowki); font-weight: 400; color: var(--granat); font-size: clamp(30px, 3.4vw, 44px); margin: 0; }
.iskra .opis { margin: 10px 0 30px; color: #5b5560; }
.karta {
  display: block; margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer;
  width: clamp(220px, 22vw, 270px); aspect-ratio: 826 / 1417;
  perspective: 1400px; border-radius: 14px;
}
.karta:focus-visible { outline: 2px solid var(--zloto); outline-offset: 6px; }
.obrot { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3,.7,.2,1); }
.karta:hover .obrot { transform: translateY(-4px) rotate(-1deg); }
.karta.odwrocona .obrot { transform: rotateY(180deg); }
.strona {
  position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 14px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 2px 4px rgba(33,31,32,.18), 0 22px 46px rgba(20,27,51,.30);
}
.rewers img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awers { transform: rotateY(180deg); background: #000105; display: flex; flex-direction: column; align-items: center; }
.awers .galaktyka { width: 92%; height: auto; margin-top: 6%; }
.zdanie {
  display: block; padding: 4% 9% 0;
  font-family: "Aleksandra Pismo", cursive; color: #F2D27A;
  font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35;
}
.awers .podpis { width: 24%; height: auto; margin-top: auto; margin-bottom: 7%; opacity: .9; }
.ponownie {
  margin-top: 28px; font: inherit; font-size: 16px; cursor: pointer;
  background: none; border: 0; color: var(--wino);
  text-decoration: underline; text-underline-offset: 5px;
}
.ponownie:focus-visible { outline: 2px solid var(--zloto); outline-offset: 4px; }

/* ---------- ebooki jako rodzina: trzy książki w przestrzeni ---------- */
.scena {
  position: relative; list-style: none; margin: 34px auto 0; padding: 30px 0 0;
  max-width: 1000px;
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(36px, 6vw, 84px);
  perspective: 1700px;
}
.scena::before {
  content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 0; bottom: 18%;
  background: radial-gradient(closest-side, rgba(232,199,158,.45), rgba(232,199,158,0));
  filter: blur(8px);
}
.ksiazka-link {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--granat);
}
.ksiazka {
  --w: clamp(150px, 16vw, 215px); --g: 20px;
  position: relative; display: block; width: calc(var(--w) * var(--s));
  transform-style: preserve-3d;
  transform: rotateY(var(--r)) translateZ(var(--z));
  transition: transform .55s cubic-bezier(.3,.7,.2,1);
}
.ksiazka img {
  display: block; width: 100%; height: auto; border-radius: 1px 4px 4px 1px;
  box-shadow: 0 1px 2px rgba(33,31,32,.18);
}
.ksiazka::after { /* zgięcie przy grzbiecie i odblask */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 1px 4px 4px 1px;
  background: linear-gradient(90deg, rgba(0,0,0,.22) 0, rgba(255,255,255,.18) 2.5%, rgba(0,0,0,.05) 5%, transparent 9%, transparent 70%, rgba(255,255,255,.08) 100%);
}
.grzbiet {
  position: absolute; top: 0; left: 0; width: var(--g); height: 100%;
  transform-origin: left center; transform: rotateY(90deg);
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.05) 40%, rgba(0,0,0,.25)), var(--grzbiet);
}
.kartki {
  position: absolute; top: 3px; right: 0; width: var(--g); height: calc(100% - 6px);
  transform-origin: right center; transform: rotateY(-90deg);
  background: repeating-linear-gradient(90deg, #f6f1e8 0 1px, #ddd5c8 1px 2px);
  box-shadow: inset 0 0 6px rgba(0,0,0,.18);
}
.ksiazka-link::before { /* cień na „stole” */
  content: ""; order: 2; display: block; width: 120%; height: 22px; margin-top: -8px;
  background: radial-gradient(closest-side, rgba(42,40,52,.32), rgba(42,40,52,0));
}
.ksiazka-link .tytul-ksiazki { order: 3; margin-top: 12px; }
.ksiazka-link .sklep { order: 4; }
.ksiazka-link:hover .ksiazka, .ksiazka-link:focus-visible .ksiazka {
  transform: rotateY(calc(var(--r) * .6)) translateZ(calc(var(--z) + 30px)) translateY(-8px);
}
.ksiazka-link:focus-visible { outline: none; }
.ksiazka-link:focus-visible .tytul-ksiazki { text-decoration: underline; }

/* ---------- zaproszenie do Słownej iskry ---------- */
.zaproszenie { display: flex; justify-content: center; padding: 30px 16px clamp(110px, 14vh, 150px); }
.zaproszenie-link {
  display: inline-flex; align-items: center; gap: 26px; text-decoration: none; color: var(--granat);
  padding: 18px 34px 18px 22px; border-radius: 22px;
  background: rgba(251,248,243,.7);
  box-shadow: 0 1px 2px rgba(33,31,32,.06), 0 16px 36px rgba(42,53,87,.10);
  transition: transform .3s ease, box-shadow .3s ease;
}
.zaproszenie-link img {
  width: 86px; height: auto; border-radius: 8px; transform: rotate(-7deg);
  box-shadow: 0 10px 22px rgba(20,27,51,.35); transition: transform .4s ease;
}
.zaproszenie-link:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(33,31,32,.08), 0 22px 44px rgba(42,53,87,.16); }
.zaproszenie-link:hover img { transform: rotate(-2deg) translateY(-4px); }
.zaproszenie-link:focus-visible { outline: 2px solid var(--zloto); outline-offset: 4px; }
.zaproszenie-tekst { display: flex; flex-direction: column; text-align: left; }
.zaproszenie-tytul { font-family: var(--czcionka-naglowki); font-size: clamp(26px, 2.6vw, 34px); }
.zaproszenie-cta { margin-top: 6px; color: var(--wino); font-size: 17px; }

/* ---------- na zamówienie: opis, cennik, zapytanie ---------- */
.zamowienie { padding: 0 clamp(16px, 6vw, 96px) clamp(110px, 14vh, 150px); scroll-margin-top: 90px; }
.zamowienie .wnetrze { max-width: 36em; margin: 0 auto; }
.zamowienie h2 {
  font-family: var(--czcionka-naglowki); font-weight: 400;
  color: var(--granat); font-size: var(--naglowek-rozmiar);
  margin: 0 0 28px; text-align: center;
}
.zamowienie p { margin: 0 0 18px; font-size: var(--tekst-rozmiar); line-height: var(--tekst-odstep-linii); color: #3d3a40; }
.zamowienie .wnetrze a { color: inherit; text-decoration-color: rgba(130,66,86,.45); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.zamowienie .wnetrze a:hover { text-decoration-color: currentColor; }
.cennik {
  list-style: none; margin: clamp(40px, 6vh, 56px) auto 0; padding: 0; max-width: 860px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.cennik li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 26px 24px; border-radius: 18px;
  background: rgba(251,248,243,.85); color: var(--granat);
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(33,31,32,.06), 0 14px 32px rgba(42,53,87,.08);
}
.cennik .motyw { display: flex; align-items: center; justify-content: center; height: 130px; width: 100%; margin-bottom: 16px; }
.cennik .motyw img { max-height: 100%; max-width: 78%; width: auto; height: auto; }
.cennik .nazwa { font-family: var(--czcionka-naglowki); font-size: 23px; line-height: 1.25; }
.cennik .co { margin-top: 8px; font-size: 16px; line-height: 1.55; color: #5b5560; max-width: 24em; }
.cennik .cena { margin-top: auto; padding-top: 16px; font-size: 26px; color: var(--wino); }
/* pakiet wyróżnia tylko cienka winna ramka */
.cennik .pakiet { border-color: rgba(130,66,86,.55); }
.zapytanie {
  max-width: 36em; margin: clamp(48px, 7vh, 64px) auto 0; padding: clamp(24px, 4vw, 40px);
  border-radius: 20px; background: var(--krem-jasny);
  box-shadow: 0 1px 2px rgba(33,31,32,.06), 0 18px 40px rgba(42,53,87,.10);
}
.zapytanie h3 { font-family: var(--czcionka-naglowki); font-weight: 400; color: var(--granat); font-size: clamp(24px, 2.4vw, 30px); margin: 0 0 22px; }
.pole { display: block; margin-bottom: 20px; border: 0; padding: 0; }
.pole > label, .pole legend { display: block; margin-bottom: 8px; font-size: 16px; color: var(--granat); padding: 0; }
.pole .dopisek { color: #8a7d78; font-size: 14px; }
.pole input[type="email"], .pole textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--tusz);
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(42,53,87,.25); background: #fff;
}
.pole textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.pole input:focus-visible, .pole textarea:focus-visible { outline: 2px solid var(--zloto); outline-offset: 2px; border-color: var(--granat); }
.wybor { display: flex; flex-wrap: wrap; gap: 10px; }
.wybor label { position: relative; cursor: pointer; }
.wybor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wybor span {
  display: inline-block; padding: 9px 18px; border-radius: 999px; font-size: 16px;
  border: 1px solid rgba(42,53,87,.25); background: #fff; color: var(--granat);
  transition: background .2s ease, color .2s ease;
}
.wybor input:checked + span { background: var(--granat); border-color: var(--granat); color: var(--krem-jasny); }
.wybor input:focus-visible + span { outline: 2px solid var(--zloto); outline-offset: 3px; }
.zapytanie button[type="submit"] {
  font: inherit; font-size: 17px; cursor: pointer; margin-top: 6px;
  padding: 14px 28px; border: 0; border-radius: 999px;
  background: var(--granat); color: var(--krem-jasny);
  box-shadow: 0 10px 26px rgba(42,53,87,.22);
}
.zapytanie button[type="submit"]:focus-visible { outline: 2px solid var(--zloto); outline-offset: 4px; }
.zapytanie .dopisek-pola { margin: 6px 0 0; font-size: 14px; color: #8a7d78; }
.zapytanie .zgoda label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #3d3a40; cursor: pointer; }
.zapytanie .zgoda input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--granat); flex: none; }
.zapytanie .zgoda a { color: var(--wino); }
.zapytanie .stan { margin: 16px 0 0; font-size: 15px; color: var(--wino); }

/* ---------- o mnie: sam tekst, bez zdjęć ---------- */
.o-mnie { padding: 0 clamp(16px, 6vw, 96px) clamp(110px, 14vh, 150px); scroll-margin-top: 90px; }
.o-mnie .wnetrze { max-width: 36em; margin: 0 auto; }
.o-mnie h2 {
  font-family: var(--czcionka-naglowki); font-weight: 400;
  color: var(--granat); font-size: var(--naglowek-rozmiar);
  margin: 0 0 28px; text-align: center;
}
.o-mnie h3 {
  font-family: var(--czcionka-naglowki); font-weight: 400;
  color: var(--granat); font-size: clamp(24px, 2.4vw, 30px);
  margin: 0 0 20px;
}
.o-mnie p { margin: 0 0 18px; font-size: var(--tekst-rozmiar); line-height: var(--tekst-odstep-linii); color: #3d3a40; }
.o-mnie .akcent { color: var(--wino); font-style: italic; font-size: 19px; margin-top: 28px; }
.o-mnie .przerwa { margin-top: 26px; }
.o-mnie a { color: inherit; text-decoration-color: rgba(130,66,86,.45); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.o-mnie a:hover { text-decoration-color: currentColor; }
.o-mnie a:focus-visible { outline: 2px solid var(--zloto); outline-offset: 3px; border-radius: 2px; }
.o-mnie .druga {
  margin-top: clamp(56px, 8vh, 80px); padding-top: clamp(40px, 6vh, 56px);
  border-top: 1px solid rgba(188,141,71,.35);
}

/* ---------- kontakt: fala i rośliny ---------- */
.kontakt {
  position: relative; isolation: isolate;
  color: #f3ede6;
  padding: clamp(110px, 14vw, 150px) clamp(16px, 6vw, 96px) clamp(70px, 9vw, 100px);
  background: linear-gradient(120deg, #2c3a4e 0%, #46546d 45%, #7a4a5c 100%);
}
/* zdjęcia roślin Alex: paproć z okna z lewej, lawenda z prawej, wtopione w kolor jak mgła */
.kontakt::before, .kontakt::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; pointer-events: none;
  background-repeat: no-repeat; background-size: cover;
  mix-blend-mode: luminosity;
}
.kontakt::before {
  left: 0; width: 64%;
  background-image: url("assets/kontakt-paproc.webp"); background-position: right center;
  transform: scaleX(-1);
  /* maska liczy się przed odbiciem, więc środek 66% wypada po lewej, ok. 34% */
  -webkit-mask-image: radial-gradient(ellipse 58% 72% at 66% 58%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 72% at 66% 58%, #000 25%, transparent 100%);
  opacity: .62; filter: blur(1px) brightness(1.25);
}
.kontakt::after {
  right: 0; width: 52%;
  background-image: url("assets/kontakt-lawenda.webp"); background-position: center 30%;
  -webkit-mask-image: radial-gradient(ellipse 52% 68% at 66% 60%, #000 22%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 68% at 66% 60%, #000 22%, transparent 100%);
  opacity: .42; filter: blur(1px);
}
.kontakt .fala { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; display: block; }
.kontakt .fala path { fill: var(--krem); }
.kontakt .wnetrze { max-width: 1200px; text-shadow: 0 1px 10px rgba(20,27,51,.55); }
.kontakt .etykieta { margin: 0; color: #E8C79E; font-size: 18px; }
.kontakt h2 {
  font-family: var(--czcionka-naglowki); font-weight: 400;
  color: #FFF9EE; font-size: clamp(38px, 4.4vw, 58px);
  margin: 14px 0 18px;
}
.kontakt p { color: #E9E0D6; max-width: 34em; line-height: 1.7; margin: 0 0 14px; font-size: 17px; }
.kontakt a { color: #FFF9EE; text-decoration-color: #E8C79E; text-underline-offset: 5px; }
.kontakt .mail { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid #E8C79E; text-decoration: none; }
.kontakt .mail img { display: block; width: 192px; height: auto; }
.kontakt .mail:focus-visible { outline: 2px solid var(--zloto); outline-offset: 4px; border-radius: 2px; }
.stopka {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px clamp(16px, 6vw, 96px);
  font-size: 14px; color: #6e6560; background: var(--krem);
}
.stopka a { color: inherit; text-decoration: none; }
.stopka-linki { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.stopka-linki a:hover, .stopka-linki a:focus-visible { color: var(--wino); text-decoration: underline; text-underline-offset: 4px; }
/* strony dokumentów: regulamin, prywatność */
.dokument { padding-bottom: clamp(70px, 10vh, 110px); }
.dokument .w-przygotowaniu { text-align: center; color: #8a7d78; font-style: italic; }
.dokument h3 { font-family: var(--czcionka-naglowki); font-weight: 400; color: var(--granat); font-size: 21px; margin: 30px 0 10px; }
.dokument ol, .dokument ul { margin: 0 0 14px; padding-left: 1.4em; }
.dokument li { margin: 0 0 8px; font-size: var(--tekst-rozmiar); line-height: 1.7; color: #3d3a40; }
.dokument a { color: var(--wino); }
.dokument .wersja { text-align: center; color: #8a7d78; font-size: 15px; margin-top: -14px; }
.dokument h3.wzor { margin-top: 44px; }
/* dane kontaktowe jako obrazki, żeby boty nie zbierały ich z kodu */
.dokument img.dane { display: inline-block; height: 1.42em; width: auto; vertical-align: -0.36em; }
.dokument mark.uzupelnij { background: #fbe7a1; color: var(--tusz); padding: 0 3px; border-radius: 3px; }   /* pole do uzupełnienia przed publikacją */

@media (max-width: 1000px) and (min-width: 761px) {
}

/* ---------- telefon ---------- */
@media (max-width: 760px) {
  .pasek { padding: 10px 16px; }
  .pasek nav { order: 2; }
  .menu-przycisk { order: 3; }
  .marka img { width: 38px; height: 38px; }
  .marka span { font-size: 25px; }
  .menu-przycisk {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: transparent; border: 1px solid rgba(226,189,124,.45);
    color: var(--pismo); font: inherit; font-size: 20px; cursor: pointer;
  }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(14,19,38,.92);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 6px 16px 14px;
    display: none;
  }
  .pasek.otwarte .menu { display: flex; }
  .menu a { font-size: 18px; padding: 12px 0; display: block; }
  .menu a::after { bottom: 6px; right: auto; width: 40px; }
  .gora { min-height: 640px; }
  .niebo { background-position: 22% bottom; inset: 0 0 -10vh 0; }
  .gora::before { left: -30%; top: 8%; width: 130%; height: 70%; }
  .tresc { padding-top: 116px; }
  .tytul br { display: none; }
  .kontakt::before { width: 100%; opacity: .32; }
  .kontakt::after { width: 75%; top: 35%; opacity: .45; }
  .polka {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: -16px; margin-right: -16px; padding: 0 16px 28px;
    gap: 20px; scrollbar-width: none;
  }
  .polka::-webkit-scrollbar { display: none; }
  .polka li { scroll-snap-align: center; }
  .polka img { height: auto; width: 100%; }
  #podszepty .polka { grid-template-columns: none; justify-content: start; }
  .scena {
    justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: -16px; margin-right: -16px; padding: 30px 40px 10px; gap: 34px; scrollbar-width: none;
  }
  .scena::-webkit-scrollbar { display: none; }
  .scena li { scroll-snap-align: center; flex: 0 0 auto; }
  .ksiazka { --w: 168px; }
  .ksiazka-link { --r: 0deg !important; }
  .zaproszenie-link { gap: 18px; padding: 14px 22px 14px 16px; }
  .zaproszenie-link img { width: 66px; }
  .cennik { grid-template-columns: 1fr; gap: 14px; }
  .cennik li { padding: 22px 20px; }
  .cennik .motyw { height: 110px; }
  .cennik .motyw:empty { display: none; }   /* motyw jeszcze bez zdjęcia */
  .tytul .linia, .tytul .linia + .linia, .tytul .linia.nowa { display: block; width: max-content; margin-left: -.12em; }
}
@media (prefers-reduced-motion: reduce) {
  .js .tytul .linia { -webkit-mask-image: none; mask-image: none; }
  .js .po-napisie { opacity: 1; transform: none; transition: none; }
  .pioro, .kalamarz { transition: none; }
}

/* ---------- podstrony: bez nieba, pasek na stałe ciemny ---------- */
.podstrona .pasek {
  position: relative;
  background: linear-gradient(120deg, #141B33 0%, #2A3557 60%, #3b3352 100%);
}
.podstrona main { padding-top: clamp(56px, 9vh, 96px); }
.o-mnie .podpis {
  margin: 34px 0 0; text-align: right;
  font-family: "Aleksandra Pismo", cursive; font-size: clamp(40px, 5vw, 58px); line-height: 1;
  color: var(--granat);
}

/* ---------- motyw podstrony Na zamówienie: misa Alex w brązowej kresce ---------- */
/* domyślnie (laptop, telefon) mały znak nad tytułem; obok tekstu tylko tam, gdzie jest wolne miejsce */
.zamowienie { position: relative; isolation: isolate; }
.motyw-misa {
  display: block; width: clamp(150px, 18vw, 210px); height: auto;
  margin: 0 auto 6px; opacity: .7; pointer-events: none;
}
@media (min-width: 1280px) {
  .motyw-misa {
    position: absolute; z-index: -1; margin: 0;
    top: -10px; right: max(24px, calc((100vw - 36em) / 2 - 430px));
    width: 380px; opacity: .55;
  }
}
