/* ====== 1. ZMIENNE ====== */
:root {
  --sliwka: #3d1230;
  --fuksja: #e6007e;
  --fuksja-ciemna: #c4006b;
  --rozowe-zloto: #c98a94;
  --tlo: #fbf8fa;
  --krem: #f6eef2;
  --powierzchnia: #ffffff;
  --tekst: #2b1a26;
  --tekst-drugi: #5b4a56;
  --ramka: #eadfe6;
  --cien: 0 10px 30px rgba(61, 18, 48, 0.08);
  --zaokraglenie: 14px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ====== 2. PODSTAWY ====== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--tekst); background: var(--tlo); line-height: 1.65; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--sliwka); font-weight: 700; }
h2 { font-size: 2.1rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; }
a { color: var(--sliwka); }
.wnetrze { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.waskie { max-width: 780px; }
.srodek { text-align: center; }
.nadtytul { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700; color: var(--fuksja); margin-bottom: 12px; }
.drobne { font-size: 0.9rem; color: var(--tekst-drugi); margin-top: 16px; }
.gradient { background: linear-gradient(90deg, var(--fuksja), #ff6ec7); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* pasek postępu przewijania (JS ustawia szerokość) */
.postep { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--fuksja); z-index: 100; transition: width 0.1s; }

/* ====== 3. PRZYCISKI ====== */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--fuksja); color: white; font-weight: 700; text-decoration: none; border: 2px solid var(--fuksja); cursor: pointer; font-size: 1rem; transition: transform 0.15s, background 0.15s, border-color 0.15s; font-family: var(--sans); }
.btn:hover { transform: translateY(-2px); background: var(--fuksja-ciemna); border-color: var(--fuksja-ciemna); }
.btn-kontur { background: transparent; color: var(--sliwka); border-color: var(--sliwka); }
.btn-kontur:hover { background: var(--sliwka); color: white; border-color: var(--sliwka); }
.btn-maly { padding: 10px 20px; font-size: 0.95rem; }
.przyciski { display: flex; gap: 14px; flex-wrap: wrap; }
.wiecej { display: inline-block; margin-top: 14px; color: var(--fuksja); font-weight: 700; text-decoration: none; }
.wiecej::after { content: " →"; }

/* ====== 4. PASEK NAWIGACJI ====== */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 32px; background: rgba(251, 248, 250, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ramka); }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--sliwka); text-decoration: none; }
.logo span { color: var(--fuksja); }
.menu { display: flex; align-items: center; gap: 28px; }
.menu ul { display: flex; gap: 24px; list-style: none; }
.menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--sliwka); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.menu a:not(.btn):hover, .menu a.aktywny { border-bottom-color: var(--fuksja); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--sliwka); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.hamburger.otwarty span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.otwarty span:nth-child(2) { opacity: 0; }
.hamburger.otwarty span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ====== 5. HERO ====== */
.hero { padding: 90px 0 70px; background: radial-gradient(circle at 80% 20%, rgba(230, 0, 126, 0.10), transparent 45%), radial-gradient(circle at 10% 90%, rgba(201, 138, 148, 0.25), transparent 40%); }
.hero-siatka { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); margin-bottom: 20px; }
.lead { font-size: 1.15rem; color: var(--tekst-drugi); margin-bottom: 30px; max-width: 560px; }
.hero-mala { padding: 70px 0 50px; text-align: center; }
.hero-mala .lead { margin: 0 auto; }
.hero-mala h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); }

/* podgląd strony narysowany w CSS */
.okno { background: white; border-radius: 16px; box-shadow: var(--cien); border: 1px solid var(--ramka); overflow: hidden; transform: rotate(-2deg); transition: transform 0.4s; }
.okno:hover { transform: rotate(0deg) scale(1.02); }
.okno-pasek { display: flex; gap: 6px; padding: 12px 14px; background: var(--krem); border-bottom: 1px solid var(--ramka); }
.okno-pasek span { width: 10px; height: 10px; border-radius: 50%; background: var(--rozowe-zloto); }
.okno-pasek span:first-child { background: var(--fuksja); }
.okno-tresc { padding: 18px; }
.okno-hero { height: 90px; border-radius: 10px; background: linear-gradient(135deg, var(--sliwka), var(--fuksja)); margin-bottom: 14px; }
.okno-linia { height: 10px; border-radius: 5px; background: var(--krem); margin-bottom: 8px; width: 60%; }
.okno-linia.dluga { width: 85%; }
.okno-karty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.okno-karty div { height: 54px; border-radius: 8px; background: var(--krem); border-top: 3px solid var(--fuksja); }
.okno-przycisk { width: 110px; height: 30px; border-radius: 999px; background: var(--fuksja); }

/* ====== 6. LICZBY ====== */
.liczby { background: var(--sliwka); color: white; padding: 44px 0; }
.liczby-siatka { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.liczby strong { display: block; font-family: var(--serif); font-size: 2.6rem; color: #ff6ec7; }
.liczby span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.8); }

/* ====== 7. SEKCJE, KARTY ====== */
.sekcja { padding: 88px 0; }
.sekcja-krem { background: var(--krem); }
.karty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.karta { background: var(--powierzchnia); border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 28px; box-shadow: var(--cien); transition: transform 0.2s, box-shadow 0.2s; }
.karta:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(61, 18, 48, 0.14); }
.karta h3 { margin: 10px 0 8px; }
.karta p { color: var(--tekst-drugi); }
.ikona { width: 42px; height: 42px; color: var(--fuksja); }

/* oś czasu */
.os { list-style: none; counter-reset: krok; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; position: relative; }
.os::before { content: ""; position: absolute; top: 22px; left: 5%; right: 5%; height: 2px; background: var(--rozowe-zloto); }
.os li { counter-increment: krok; position: relative; padding-top: 60px; }
.os li::before { content: counter(krok); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--fuksja); color: white; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--krem); }
.os strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--sliwka); margin-bottom: 6px; }
.os span { color: var(--tekst-drugi); font-size: 0.95rem; }

/* karuzela (scroll-snap) */
.naglowek-z-przyciskami { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.strzalki { display: flex; gap: 8px; }
.strzalka { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--sliwka); background: white; color: var(--sliwka); font-size: 1.1rem; cursor: pointer; }
.strzalka:hover { background: var(--sliwka); color: white; }
.karuzela { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 12px; scrollbar-width: none; }
.karuzela::-webkit-scrollbar { display: none; }
.slajd { flex: 0 0 300px; scroll-snap-align: start; background: var(--powierzchnia); border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 24px; box-shadow: var(--cien); }
.slajd strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--sliwka); margin-bottom: 8px; }
.slajd p { color: var(--tekst-drugi); font-size: 0.95rem; }

/* realizacje */
.realizacje { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.realizacja { display: block; text-decoration: none; border-radius: var(--zaokraglenie); overflow: hidden; background: white; border: 1px solid var(--ramka); box-shadow: var(--cien); }
.realizacja-tlo { height: 180px; transition: transform 0.4s; }
.realizacja:hover .realizacja-tlo { transform: scale(1.05); }
.tlo-1 { background: linear-gradient(135deg, #0f2a47, #1e87f0); }
.tlo-2 { background: linear-gradient(135deg, #1b4332, #52b788); }
.tlo-3 { background: linear-gradient(135deg, var(--sliwka), var(--fuksja)); }
.realizacja-opis { padding: 18px 20px; }
.realizacja-opis strong { display: block; color: var(--sliwka); }
.realizacja-opis span { color: var(--tekst-drugi); font-size: 0.9rem; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--sliwka), #6a1b58); color: white; padding: 80px 0; text-align: center; }
.cta h2 { color: white; }
.cta p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 28px; }
.cta .przyciski { justify-content: center; }
.cta .btn-kontur { color: white; border-color: rgba(255, 255, 255, 0.7); }
.cta .btn-kontur:hover { background: white; color: var(--sliwka); border-color: white; }

/* ====== 8. CENNIK, FAQ, FORMULARZ ====== */
.pakiety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.pakiet { position: relative; background: var(--powierzchnia); border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 32px 28px; box-shadow: var(--cien); }
.pakiet-wyrozniony { border: 2px solid var(--fuksja); transform: scale(1.03); }
.etykieta { position: absolute; top: -14px; left: 28px; background: var(--fuksja); color: white; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.cena { font-family: var(--serif); font-size: 2.2rem; color: var(--sliwka); margin-top: 8px; }
.cena-opis { color: var(--tekst-drugi); font-size: 0.9rem; margin-bottom: 18px; }
.pakiet ul { list-style: none; margin-bottom: 24px; }
.pakiet li { padding: 8px 0 8px 26px; border-bottom: 1px solid var(--ramka); position: relative; color: var(--tekst-drugi); font-size: 0.95rem; }
.pakiet li::before { content: "✓"; position: absolute; left: 0; color: var(--fuksja); font-weight: 800; }
details { background: var(--powierzchnia); border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 18px 22px; margin-top: 12px; }
summary { font-weight: 700; color: var(--sliwka); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--fuksja); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--tekst-drugi); }
.kontakt-siatka { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.kontakt-duzy { font-family: var(--serif); font-size: 1.5rem; margin: 8px 0; }
.kontakt-duzy a { text-decoration: none; color: var(--fuksja); }
.mapa { margin-top: 24px; border-radius: var(--zaokraglenie); overflow: hidden; border: 1px solid var(--ramka); }
.mapa iframe { display: block; }
.kontakt-karta { background: var(--powierzchnia); border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 32px; box-shadow: var(--cien); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.kontakt-karta h2 { font-size: 1.6rem; margin-bottom: 4px; }
.formularz { background: var(--powierzchnia); border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 32px; box-shadow: var(--cien); display: flex; flex-direction: column; gap: 16px; }
.formularz h2 { font-size: 1.6rem; margin-bottom: 4px; }
.formularz label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.formularz input, .formularz textarea { padding: 12px 14px; border: 1px solid #cbb9c4; border-radius: 10px; font-size: 1rem; font-family: inherit; }
.formularz input:focus, .formularz textarea:focus { outline: 2px solid var(--fuksja); border-color: var(--fuksja); }
.zgoda { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 0.85rem !important; color: var(--tekst-drugi); }
.zgoda input { margin-top: 4px; }
.formularz-dzieki { color: var(--fuksja); font-weight: 700; }

/* ====== 9. STOPKA ====== */
.stopka { background: var(--sliwka); color: rgba(255, 255, 255, 0.8); padding: 56px 0 24px; font-size: 0.95rem; }
.stopka-siatka { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.stopka a { color: white; }
.stopka-logo { font-family: var(--serif); font-size: 1.6rem; color: white; margin-bottom: 10px; }
.stopka-logo span { color: #ff6ec7; }
.stopka-naglowek { color: white; font-weight: 700; margin-bottom: 8px; }
.stopka-dol { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 20px; margin: 0 24px; font-size: 0.85rem; }

/* ====== 10. BAJERY ====== */
.animuj .pojaw { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animuj .pojaw.widoczny { opacity: 1; transform: none; }
.do-gory { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--sliwka); color: white; text-decoration: none; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 40; }
.do-gory.widoczny { opacity: 1; pointer-events: auto; }
.pasek-mobilny { display: none; }
.cookies { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 520px; margin: 0 auto; background: white; border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); box-shadow: 0 18px 40px rgba(61, 18, 48, 0.18); padding: 16px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; z-index: 60; font-size: 0.9rem; }
.cookies.ukryty { display: none; }

/* ====== 11. TELEFON ====== */
@media (max-width: 820px) {
  .hamburger { display: flex; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--tlo); border-bottom: 1px solid var(--ramka); padding: 12px 24px 20px; }
  .menu.otwarte { display: flex; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ramka) !important; }
  .menu .btn { margin-top: 14px; text-align: center; }
  .hero { padding: 56px 0 48px; }
  .hero-siatka { grid-template-columns: 1fr; gap: 36px; }
  .okno { transform: none; }
  .liczby-siatka, .karty, .os, .realizacje, .pakiety { grid-template-columns: 1fr; }
  .liczby-siatka { grid-template-columns: repeat(2, 1fr); }
  .os::before { display: none; }
  .os li { padding-top: 0; padding-left: 60px; }
  .pakiet-wyrozniony { transform: none; }
  .kontakt-siatka, .stopka-siatka { grid-template-columns: 1fr; }
  .sekcja { padding: 60px 0; }
  h2 { font-size: 1.7rem; }
  .naglowek-z-przyciskami { flex-direction: column; align-items: flex-start; }
  .pasek-mobilny { display: flex; position: fixed; left: 0; right: 0; bottom: 0; gap: 10px; padding: 10px 14px; background: rgba(251, 248, 250, 0.95); backdrop-filter: blur(10px); border-top: 1px solid var(--ramka); z-index: 45; }
  .pasek-mobilny .btn { flex: 1; text-align: center; padding: 12px; }
  .do-gory { bottom: 78px; }
  .cookies { bottom: 78px; flex-direction: column; align-items: stretch; text-align: center; }
  body { padding-bottom: 70px; }
}

/* ====== 12. SZMERY BAJERY ====== */
/* a) plamy koloru dryfujące za hero */
.hero { position: relative; overflow: hidden; }
.hero .wnetrze { position: relative; z-index: 1; }
.plama { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; pointer-events: none; }
.plama-1 { width: 460px; height: 460px; background: var(--fuksja); right: -140px; top: -160px; animation: dryf 14s ease-in-out infinite; }
.plama-2 { width: 380px; height: 380px; background: var(--rozowe-zloto); left: -120px; bottom: -180px; animation: dryf 18s ease-in-out infinite reverse; }
@keyframes dryf { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.12); } }

/* b) pokaz slajdów w okienku: cztery tła, płynne przejścia w pętli */
.okno-hero { position: relative; overflow: hidden; }
.slajd-tlo { position: absolute; inset: 0; opacity: 0; animation: przejscie 12s infinite; }
.s1 { background: linear-gradient(135deg, var(--sliwka), var(--fuksja)); animation-delay: 0s; }
.s2 { background: linear-gradient(135deg, #0f2a47, #1e87f0); animation-delay: 3s; }
.s3 { background: linear-gradient(135deg, #1b4332, #52b788); animation-delay: 6s; }
.s4 { background: linear-gradient(135deg, #7a1f00, #f5a623); animation-delay: 9s; }
@keyframes przejscie { 0% { opacity: 0; } 8% { opacity: 1; } 25% { opacity: 1; } 33% { opacity: 0; } 100% { opacity: 0; } }

/* c) zmieniające się słowo w nagłówku: maszyna do pisania (JS kasuje i wpisuje litery, CSS rysuje kursor) */
.slowo.gotowe { background: none; position: relative; white-space: nowrap; }
.slowo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kursor { display: inline-block; width: 0.06em; height: 0.85em; margin-left: 0.05em; vertical-align: -0.08em; background: var(--fuksja); animation: mrugaj 1s steps(1) infinite; }
.slowo.pisze .kursor { animation: none; }
@keyframes mrugaj { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kursor { animation: none; } }

/* d) wstęga: nieskończone przesuwanie */
.wstega { overflow: hidden; background: var(--krem); border-top: 1px solid var(--ramka); border-bottom: 1px solid var(--ramka); padding: 14px 0; }
.wstega-tor { display: flex; gap: 48px; width: max-content; animation: przesuw 28s linear infinite; }
.wstega-tor span { font-family: var(--serif); font-size: 1.05rem; color: var(--sliwka); white-space: nowrap; }
.wstega-tor span::before { content: "✦"; color: var(--fuksja); margin-right: 14px; }
@keyframes przesuw { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wstega:hover .wstega-tor { animation-play-state: paused; }

/* e) karty z poświatą pod kursorem, realizacje z żywym gradientem */
.karta { position: relative; overflow: hidden; }
.karta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(230, 0, 126, 0.10), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.karta:hover::after { opacity: 1; }
.realizacja-tlo { background-size: 200% 200%; }
.realizacja:hover .realizacja-tlo { animation: fala 3s ease infinite; }
@keyframes fala { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* f) szanuj ustawienie "ogranicz ruch" w systemie */
@media (prefers-reduced-motion: reduce) {
  .plama, .slajd-tlo, .wstega-tor, .realizacja:hover .realizacja-tlo { animation: none; }
  .slajd-tlo.s1 { opacity: 1; }
  .animuj .pojaw { opacity: 1; transform: none; transition: none; }
}

/* ====== 13. NARZĘDZIA I INTERAKCJE ====== */
.srodek-lead { margin-left: auto; margin-right: auto; }

/* pasek wyboru branży */
.branze { background: var(--powierzchnia); border-bottom: 1px solid var(--ramka); }
.branze-wnetrze { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.branze-etykieta { font-size: 0.9rem; color: var(--tekst-drugi); margin-right: 6px; }
.branza { border: 1px solid var(--ramka); background: var(--krem); color: var(--sliwka); padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.branza:hover { border-color: var(--fuksja); }
.branza.wybrana { background: var(--sliwka); color: white; border-color: var(--sliwka); }
.przyklad { font-size: 0.9rem; color: var(--fuksja-ciemna); margin-top: 10px; font-style: italic; min-height: 1.2em; }
.przyklad:empty { display: none; }

/* test strony */
.test-strony { display: flex; gap: 12px; max-width: 560px; margin: 0 auto 16px; }
.test-adres { flex: 1; padding: 14px 16px; border: 1px solid #cbb9c4; border-radius: 999px; font-size: 1rem; font-family: inherit; }
.test-adres:focus { outline: 2px solid var(--fuksja); border-color: var(--fuksja); }
.test-status { min-height: 1.5em; color: var(--tekst-drugi); }
.test-wynik { margin-top: 24px; background: var(--powierzchnia); border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 28px; box-shadow: var(--cien); text-align: left; }
.test-wskazniki { display: flex; justify-content: center; gap: 48px; margin-bottom: 20px; }
.wskaznik { text-align: center; }
.wskaznik p { margin-top: 8px; font-weight: 600; color: var(--sliwka); }
.pierscien { --wartosc: 0; width: 110px; height: 110px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--kolor-wyniku, var(--fuksja)) calc(var(--wartosc) * 1%), var(--krem) 0); transition: --wartosc 1s; }
.pierscien span { width: 84px; height: 84px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.8rem; color: var(--sliwka); }
.pierscien.dobry { --kolor-wyniku: #2e9e6b; }
.pierscien.sredni { --kolor-wyniku: #e0a100; }
.pierscien.slaby { --kolor-wyniku: #d93025; }
.test-uwagi { list-style: none; margin-bottom: 20px; }
.test-uwagi li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--ramka); position: relative; color: var(--tekst); }
.test-uwagi li::before { content: "→"; position: absolute; left: 0; color: var(--fuksja); font-weight: 700; }
.test-uwagi li.ok::before { content: "✓"; color: #2e9e6b; }

/* podgląd wyniku Google */
.serp-narzedzie { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 32px; }
.serp-pola { display: flex; flex-direction: column; gap: 16px; }
.serp-pola label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.serp-pola input, .serp-pola textarea { padding: 12px 14px; border: 1px solid #cbb9c4; border-radius: 10px; font-size: 1rem; font-family: inherit; }
.serp-pola input:focus, .serp-pola textarea:focus { outline: 2px solid var(--fuksja); border-color: var(--fuksja); }
.serp-podglad { background: white; border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 24px; box-shadow: var(--cien); position: sticky; top: 90px; }
.serp-etykieta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tekst-drugi); margin-bottom: 16px; }
.serp-wynik { font-family: Arial, sans-serif; }
.serp-url-linia { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #202124; margin-bottom: 6px; }
.serp-kulka { width: 22px; height: 22px; border-radius: 50%; background: var(--krem); border: 1px solid var(--ramka); display: inline-block; }
.serp-tytul-linia { color: #1a0dab; font-size: 1.25rem; line-height: 1.3; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-opis-linia { color: #4d5156; font-size: 0.9rem; line-height: 1.5; }
.serp-liczniki { margin-top: 18px; font-size: 0.9rem; color: var(--tekst-drugi); }
.serp-liczniki .za-dlugo { color: #d93025; font-weight: 700; }
.serp-wskazowka { margin-top: 8px; font-size: 0.9rem; color: var(--fuksja-ciemna); min-height: 1.4em; }

/* kalkulator */
.kalkulator { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; margin-top: 32px; }
.kalkulator-pola { display: flex; flex-direction: column; gap: 14px; }
.k-zakres { display: flex; flex-direction: column; gap: 8px; font-weight: 600; background: white; border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 16px 18px; }
.k-zakres input[type="range"] { accent-color: var(--fuksja); }
.k-opcja { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid var(--ramka); border-radius: var(--zaokraglenie); padding: 14px 18px; cursor: pointer; }
.k-opcja input { accent-color: var(--fuksja); width: 18px; height: 18px; }
.k-opcja span { margin-left: auto; color: var(--tekst-drugi); font-size: 0.9rem; white-space: nowrap; }
.kalkulator-wynik { background: var(--sliwka); color: white; border-radius: var(--zaokraglenie); padding: 28px; position: sticky; top: 90px; }
.k-etykieta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--rozowe-zloto); margin-bottom: 8px; }
.k-suma strong { font-family: var(--serif); font-size: 2.4rem; color: #ff6ec7; display: block; }
.k-opieka-info { color: rgba(255, 255, 255, 0.85); margin-top: 6px; }
.k-opis { margin: 14px 0 20px; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.kalkulator-wynik .drobne { color: rgba(255, 255, 255, 0.65); }

/* przed i po */
.realizacja-porownanie { cursor: ew-resize; }
.realizacje-jedna { grid-template-columns: 1fr; max-width: 820px; margin-left: auto; margin-right: auto; }
.porownanie { position: relative; height: 180px; overflow: hidden; user-select: none; }
.mock { position: absolute; inset: 0; padding: 16px 18px; }
.mock-po { background: #f6eef2; }
.mock-pasek { height: 8px; width: 40%; border-radius: 4px; background: var(--fuksja); margin-bottom: 14px; }
.mock-h1 { font-family: var(--serif); font-size: 1.15rem; color: var(--sliwka); line-height: 1.2; margin-bottom: 8px; }
.mock-tekst { font-size: 0.8rem; color: var(--tekst-drugi); margin-bottom: 10px; }
.mock-przycisk { display: inline-block; background: var(--fuksja); color: white; font-weight: 700; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; }
.mock-przed { background: #d9d9d9; font-family: "Times New Roman", serif; clip-path: inset(0 calc(100% - var(--pozycja)) 0 0); }
.mock-stary-tytul { color: #1a1aa6; font-size: 1.05rem; font-weight: 700; text-decoration: underline; margin-bottom: 6px; }
.mock-stary-tekst { font-size: 0.75rem; color: #333; line-height: 1.35; margin-bottom: 8px; }
.mock-stary-tel { font-size: 0.7rem; color: #555; }
.porownanie-suwak { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.porownanie::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pozycja); width: 3px; background: var(--fuksja); transform: translateX(-50%); pointer-events: none; }
.porownanie-etykieta { position: absolute; bottom: 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: rgba(43, 26, 38, 0.75); color: white; padding: 3px 8px; border-radius: 999px; pointer-events: none; }
.porownanie-etykieta.lewa { left: 10px; }
.porownanie-etykieta.prawa { right: 10px; }

/* WhatsApp */
.whatsapp { position: fixed; right: 20px; bottom: 76px; width: 46px; height: 46px; border-radius: 50%; background: #25d366; color: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); z-index: 40; transition: transform 0.15s; }
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .serp-narzedzie, .kalkulator { grid-template-columns: 1fr; }
  .serp-podglad, .kalkulator-wynik { position: static; }
  .test-strony { flex-direction: column; }
  .test-wskazniki { gap: 24px; }
  .whatsapp { bottom: 134px; }
}

/* ====== 14. Odchudzenie po uwagach: branże jako linia w hero ====== */
.branze-linia { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.branze-linia .branze-etykieta { margin-right: 2px; }
.branze-linia .branza { padding: 6px 12px; font-size: 0.85rem; background: transparent; }
.whatsapp { bottom: 20px; }
@media (max-width: 820px) { .whatsapp { bottom: 78px; } }

/* pole-pulapka na boty: niewidoczne dla ludzi */
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ====== 15. ZAPAROWANY EKRAN (para.js) ====== */
/* JS przypina hero i dokłada pod nim zapas przewijania, który zużywa się na ścieranie pary */
.para-scena { position: sticky; top: var(--para-gora, 0px); }
.para-zapas { height: 80vh; }
.para { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.para canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* rozmycie pod parą; maskę z przetartymi miejscami podmienia JS */
.para-rozmycie {
  position: absolute; inset: 0;
  -webkit-backdrop-filter: blur(var(--rozmycie, 8px)); backdrop-filter: blur(var(--rozmycie, 8px));
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
/* ostatnie parowanie: mgła blednie, rozmycie się wyostrza */
.para.paruje canvas { opacity: 0 !important; transition: opacity 1.4s ease; }
.para.paruje .para-rozmycie { transition: backdrop-filter 1.4s ease, -webkit-backdrop-filter 1.4s ease; }
.para-podpowiedz { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sliwka); white-space: nowrap; text-align: center; opacity: 0; transition: opacity 0.5s; }
.para-podpowiedz.widoczna { opacity: 0.8; }
.para-podpowiedz::after { content: ""; display: block; width: 10px; height: 10px; margin: 12px auto 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: para-strzalka 1.4s ease-in-out infinite; }
@keyframes para-strzalka { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }
@media print { .para { display: none; } }

/* ====== 16. EFEKTY NA WEJŚCIE (wejscie.js) ====== */
.wejscie { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.wejscie canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wejscie-podp { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sliwka); white-space: nowrap; opacity: 0; transition: opacity 0.5s; }
.wejscie-podp.widoczna { opacity: 0.85; }
.wejscie-podp.jasna { color: #f3c6dd; }
@media print { .wejscie { display: none; } }

/* 1. „nie” odpada: strona biała na białym, potem kolor rozlewa się od nagłówka */
.wejscie-duch .hero-tekst > :not(h1), .wejscie-duch .okno, .wejscie-duch .topbar > *, .wejscie-duch #uslugi, .wejscie-duch .pasek-mobilny, .wejscie-duch .whatsapp { filter: grayscale(1) contrast(0.2) brightness(1.55); }
.wejscie-duch .plama { filter: blur(60px) grayscale(1) contrast(0.2) brightness(1.55); }
.wejscie-duch .hero h1 { color: #9c8995; }
.wejscie-duch .hero .slowo > .gradient { background-image: linear-gradient(#9c8995, #9c8995); }
.wejscie-duch .kursor { background: #b6a4af; }
.wejscie-fala .hero-tekst > :not(h1), .wejscie-fala .okno, .wejscie-fala .plama, .wejscie-fala .topbar > *, .wejscie-fala #uslugi, .wejscie-fala .pasek-mobilny, .wejscie-fala .whatsapp { transition: filter 0.9s ease, opacity 0.6s ease, transform 0.6s ease; }
.wejscie-fala .hero h1 { transition: color 0.6s ease; }
.wejscie-nie { position: relative; display: inline-block; color: #9c8995; max-width: 3em; transition: max-width 0.35s ease; }
.wejscie-nie::after { content: ""; position: absolute; left: -0.06em; right: -0.06em; top: 50%; height: 0.11em; border-radius: 0.06em; background: var(--fuksja); transform: rotate(-6deg) scaleX(0); transform-origin: left center; transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1); }
.wejscie-nie.skreslone::after { transform: rotate(-6deg) scaleX(1); }
.wejscie-nie.znika { max-width: 0; opacity: 0; }
.wejscie-spada { position: fixed; z-index: 90; margin: 0; pointer-events: none; font-family: var(--serif); font-weight: 700; line-height: 1.15; }
.wejscie-pop { display: inline-block; animation: wejscie-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes wejscie-pop { 0% { transform: scale(0.8); } 100% { transform: none; } }

/* 2. bałagan w porządek: kawałki wypadają poza hero, więc na chwilę bez przycinania */
.hero .plama { transition: opacity 0.8s ease; }
.hero.wejscie-balagan { overflow: visible; z-index: 3; }
.hero.wejscie-balagan .plama { opacity: 0; }

/* 3. radar */
.wejscie-radar { transition: opacity 0.9s ease; }
.wejscie-radar.znika { opacity: 0; }

/* 4. deszcz haseł */
.wejscie-deszcz { overflow: hidden; background: rgba(251, 248, 250, 0.9); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity 0.8s ease; }
.wejscie-deszcz.znika { opacity: 0; }
.wejscie-deszcz-tytul { position: absolute; top: 16%; left: 16px; right: 16px; text-align: center; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; color: var(--sliwka); opacity: 0; transition: opacity 0.6s; }
.wejscie-deszcz-tytul.widoczna { opacity: 1; }
.wejscie-haslo { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 8px 14px 8px 34px; border-radius: 999px; border: 1px solid var(--ramka); box-shadow: 0 6px 16px rgba(61, 18, 48, 0.1); font: 600 15px/1.2 var(--sans); color: var(--sliwka); will-change: transform; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d1230' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 12px 50% / 15px 15px; }
.wejscie-haslo.mocne { background-color: var(--fuksja); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); border-color: var(--fuksja); color: #fff; }

/* 5. mapa ciepła: napisy rysowane na czarno, filtr zamienia je na "gorące" */
.wejscie-svg { position: absolute; width: 0; height: 0; }
.wejscie-termo-hud { position: absolute; inset: 0; color: #000; font: 700 13px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; transition: opacity 0.5s; }
.wejscie-termo-hud.znika { opacity: 0; }
.wejscie-termo-znak { position: absolute; left: 20px; top: 90px; }
.wejscie-termo-skala { position: absolute; right: 22px; top: 24%; bottom: 24%; width: 10px; border: 1px solid #000; background: linear-gradient(#000, #fff); }
.wejscie-termo-skala::before { content: "41°"; position: absolute; top: -22px; right: -2px; }
.wejscie-termo-skala::after { content: "18°"; position: absolute; bottom: -22px; right: -2px; }
.wejscie-termo-celownik, .wejscie-termo-odczyt { position: absolute; left: 0; top: 0; opacity: 0; }
.ma-kursor .wejscie-termo-celownik, .ma-kursor .wejscie-termo-odczyt { opacity: 1; }
.wejscie-termo-celownik { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.wejscie-termo-celownik::before, .wejscie-termo-celownik::after { content: ""; position: absolute; background: #000; }
.wejscie-termo-celownik::before { left: 14px; top: 0; width: 2px; height: 30px; }
.wejscie-termo-celownik::after { top: 14px; left: 0; width: 30px; height: 2px; }

/* 6. folia bąbelkowa */
.wejscie-folia canvas { transform-origin: 20% 0; transition: transform 0.9s cubic-bezier(0.55, 0, 0.6, 1); }
.wejscie-folia.zdejmij canvas { transform: translate(-4%, -118%) rotate(-10deg); }

/* 7. rozbita szyba */
.wejscie-szyba { pointer-events: auto; cursor: pointer; }
.wejscie-tafla, .wejscie-okruch { background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.1) 38%, transparent 46%), linear-gradient(160deg, rgba(20, 6, 16, 0.87), rgba(45, 12, 34, 0.8)); }
.wejscie-tafla, .wejscie-pekniecia { position: absolute; inset: 0; }
.wejscie-pekniecia svg { display: block; width: 100%; height: 100%; }
.wejscie-pekniecia polygon, .wejscie-pekniecia polyline { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.2; }
.wejscie-okruch { position: absolute; will-change: transform; }

/* 8. chlapnięcie farbą: szarość to filtr na tym, co pod warstwą; maska wycina z niej plamę */
.wejscie-farba { pointer-events: auto; cursor: pointer; -webkit-backdrop-filter: grayscale(1); backdrop-filter: grayscale(1); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.wejscie-chlap, .wejscie-kropla { position: fixed; z-index: 81; pointer-events: none; }
.wejscie-chlap svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wejscie-kropla { border-radius: 50%; background: var(--fuksja); }

/* 9. szampan z brokatem: płyn rysuje wejscie.js, tu tylko gładki przelot światła po słowie */
.wejscie-szampan { transition: opacity 0.5s ease; }
.wejscie-szampan.znika { opacity: 0; }
.hero .slowo > .gradient.wejscie-brokat { background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.9) 50%, transparent 65%), linear-gradient(90deg, var(--fuksja), #ff6ec7); background-size: 300% 100%, 100% 100%; animation: wejscie-brokat 1.6s ease-in-out; }
@keyframes wejscie-brokat { 0% { background-position: 120% 0, 0 0; } 100% { background-position: -20% 0, 0 0; } }

/* pasek podglądu (tylko przy adresie ?efekt=...) */
.wejscie-pasek-podgladu { position: fixed; left: 16px; bottom: 16px; z-index: 300; display: flex; gap: 14px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--sliwka); color: #fff; font-size: 0.85rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.wejscie-pasek-podgladu a { color: #ff9fd4; font-weight: 700; }
@media (max-width: 820px) { .wejscie-pasek-podgladu { bottom: 84px; left: 12px; right: 12px; justify-content: center; flex-wrap: wrap; } }

/* Prywatność na stronie kontaktu */
#rodo p { margin: 0 0 0.9em; max-width: 72ch; }
#rodo h2 { margin-bottom: 0.6em; }
