/* Violet Orchidea — style. Kolory i fonty z design/Brand.dc.html */
:root {
  --fiolet: #5B2A86;
  --fiolet-ciemny: #3E1C5E;
  --baklazan: #2B1640;
  --orchidea: #B5418F;
  --lila: #F4ECF8;
  --tlo: #FBF8FC;
  --tekst: #1F1626;
  --tekst2: #5E5468;
  --linia: #ECE3F1;
  --linia2: #E6DAEE;
  --ramka: #D7C8E2;
  --roz: #F3D9F0;
  --blad: #A3122E;
  --font-h: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --font: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--tekst);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
a { color: var(--fiolet); }
a:hover { color: var(--fiolet-ciemny); }
a[href^="tel:"] { white-space: nowrap; }
h1, h2 { margin: 0; font-family: var(--font-h); font-weight: 700; font-stretch: 88%; letter-spacing: -0.02em; line-height: 1.1; }
h3 { margin: 0; font-size: 18px; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; }
button[disabled] { cursor: default; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 600; font-size: 17px; margin-bottom: 10px; }
label { font-weight: 600; }
strong, b { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--tekst2); }
.small { font-size: 14px; }
.s15 { font-size: 15px; }

button, a.btn, .card { transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, scale .15s ease; }
.btn:active, .wybor:active, .slot:active { scale: .97; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--orchidea); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

/* Nagłówek i stopka */
.top { position: relative; z-index: 2; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tekst); }
.logo svg { flex: none; }
.logo-tekst { display: flex; flex-direction: column; line-height: 1.1; }
.logo-nazwa { font-family: var(--font-h); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.logo-pod { font-size: 12px; color: var(--tekst2); letter-spacing: 0.04em; }
.top-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--linia2); text-decoration: none; color: var(--tekst); font-weight: 600; font-size: 15px; }
.top-link:hover { background: var(--fiolet); color: #FFFFFF; border-color: var(--fiolet); }
.top-akcje { display: flex; align-items: center; gap: 10px; }
.top-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--tekst); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.top-tel:hover { background: var(--lila); color: var(--fiolet-ciemny); }
.top-tel svg { flex: none; color: var(--fiolet); }

main { flex-grow: 1; }
.stopka { border-top: 1px solid var(--linia); padding: 28px 16px 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 14px; color: var(--tekst2); text-align: center; }
.stopka a { text-decoration: none; }
.stopka a:hover { text-decoration: underline; }
.stopka .kontakt { color: var(--fiolet-ciemny); font-weight: 600; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; border: 2px solid transparent; }
.btn-light { background: #FFFFFF; color: var(--fiolet-ciemny); border-color: var(--fiolet); }
.btn-light:hover { background: var(--fiolet); color: #FFFFFF; border-color: var(--fiolet); }
.btn-dark { background: var(--fiolet); color: #FFFFFF; border-color: var(--fiolet); }
.btn-dark:hover { background: #FFFFFF; color: var(--fiolet); }
.btn-dark[disabled] { opacity: .6; }
.btn-dark[disabled]:hover { background: var(--fiolet); color: #FFFFFF; }
.btn-ondark { background: #FFFFFF; color: #16101D; border-color: #FFFFFF; font-weight: 700; min-height: 54px; }
.btn-ondark:hover { background: transparent; color: #FFFFFF; }
.btn-soft { background: #FFFFFF; color: var(--tekst); border: 1px solid var(--ramka); min-height: 48px; padding: 0 20px; font-size: 16px; }
.btn-soft:hover { background: var(--fiolet); color: #FFFFFF; border-color: var(--fiolet); }
.btn-soft[disabled]:hover { background: #FFFFFF; color: var(--tekst); border-color: var(--ramka); }

/* Przyciski wyboru (aria-pressed) */
.wybor { background: #FFFFFF; border: 2px solid var(--linia); color: var(--tekst); }
.wybor[aria-pressed="true"] { background: var(--lila); border-color: var(--fiolet); }
.wybor[aria-pressed="false"]:hover { background: var(--fiolet); color: #FFFFFF; border-color: var(--fiolet); }
.wybor[aria-pressed="false"]:hover * { color: #FFFFFF; }
.chip { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 56px; min-height: 56px; padding: 6px 12px; border-radius: 20px; }
.chip-dow { font-size: 12px; }
.chip-num { font-weight: 700; font-size: 17px; }
.chip-row { flex-direction: row; font-weight: 600; min-width: 88px; }
.chipy { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; }

/* Hero: wielki nagłówek-obietnica, w tle płaski kwiat z logo */
.hero { gap: 18px !important; padding: clamp(4px, 2.4vw, 36px) 0 clamp(0px, 1vw, 12px); }
.hero-nad { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fiolet); }
.hero h1 { font-size: clamp(2.9rem, 8.2vw, 6.6rem); line-height: .94; letter-spacing: -0.012em; font-weight: 800; font-stretch: 78%; }
.hero h1 .l { display: block; overflow: clip; padding-block: .12em; margin-block: -.12em; }
.hero h1 .l > span { display: block; }
.hero-lead { max-width: 30em; font-size: clamp(17px, 1.7vw, 22px) !important; text-wrap: balance; }
.oferty > .hero-kwiat { position: absolute; z-index: 0; top: -150px; right: -260px; width: 760px; height: 760px; pointer-events: none; }
.oferty.otwarte > .hero-kwiat { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .l > span { animation: vo-wjazd .95s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 120ms + 60ms); }
  .hero-nad { animation: vo-pojaw .7s .05s ease both; }
  .hero-lead { animation: vo-pojaw .8s .45s ease both; }
}
@keyframes vo-wjazd { from { translate: 0 112%; } }

/* Strona główna */
.main-glowna { overflow-x: clip; display: flex; flex-direction: column; align-items: center; padding: 16px 16px 64px; }
.sekcja { width: 100%; max-width: 1080px; }
.oferty { position: relative; padding: 16px 0 24px; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.oferty > * { position: relative; z-index: 1; }
.oferty-naglowek { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.lead { color: var(--tekst2); font-size: 18px; }
.karty { position: relative; display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; justify-content: center; }
.card { flex: 1 1 260px; max-width: 344px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 36px 28px 28px; border-radius: 40px; background: var(--tlo); border: 1px solid var(--linia); }
.card { cursor: pointer; }
.card:hover { transform: translateY(-6px); }
.card-wroc { display: none; }
.card-naglowek { display: flex; flex-direction: column; gap: 6px; }
.card-naglowek-wiersz { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card h2 { font-size: 28px; letter-spacing: -0.01em; }
.etykieta { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tekst2); }
.cena { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kwota { font-family: var(--font-h); font-size: 48px; font-weight: 800; font-stretch: 85%; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kwota small { font-size: .5em; font-weight: 700; letter-spacing: 0; }
.kwota-od { font-size: 44px; }
.blok-ceny { display: flex; flex-direction: column; gap: 4px; }
.zamiast { display: flex; align-items: baseline; gap: 8px; color: var(--tekst2); font-size: 15px; }
.zamiast s { font-family: var(--font-h); font-size: 26px; font-weight: 700; line-height: 1; text-decoration: line-through; text-decoration-color: var(--orchidea); text-decoration-thickness: 3px; color: #8E8399; }
.naklejka { display: inline-block; flex: none; background: var(--orchidea); color: #FFFFFF; font-family: var(--font-h); font-size: 26px; line-height: 1; padding: 10px 16px; border-radius: 16px; font-weight: 700; transform: rotate(-4deg); box-shadow: 0 10px 20px -10px rgba(43, 22, 64, 0.6); letter-spacing: -0.02em; }
.naklejka-duza { font-size: 48px; padding: 12px 22px; border-radius: 20px; line-height: 1.2; align-self: flex-start; margin: 8px 0 4px 6px; }
.oszczedzasz { align-self: flex-start; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: var(--roz); color: #7A1F5E; font-weight: 700; font-size: 15px; }
.lista { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.lista li { display: flex; gap: 10px; align-items: flex-start; }
.lista svg { flex: none; margin-top: 2px; }
.card .btn { width: 100%; }

.card-ciemna { gap: 14px; padding: 0 0 24px; background: #16101D; color: #FFFFFF; border: 0; box-shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.8); overflow: hidden; }
.bw-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 24px; background: #000000; border-bottom: 1px solid #2E2338; }
.bw-tytuly { display: flex; flex-direction: column; line-height: 1.1; }
.bw-tytul { font-family: var(--font-h); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.bw-pod { font-size: 12px; color: #B9AFC4; letter-spacing: 0.06em; text-transform: uppercase; }
.card-ciemna .naklejka { box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.6); }
.card-ciemna .card-body { display: flex; flex-direction: column; gap: 14px; padding: 4px 28px 0; flex-grow: 1; }
.card-ciemna h2 { font-size: 28px; }
.card-ciemna .etykieta { color: #C9A3E3; }
.card-ciemna .muted { color: #D9CCE3; }
.card-ciemna .zamiast { color: #D9CCE3; }
.card-ciemna .zamiast s { color: #C9B3D6; text-decoration-color: #F3A7D4; }
.card-ciemna .oszczedzasz { background: rgba(181, 65, 143, 0.3); color: #F3D9F0; }
.miejsca { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.pasek { height: 8px; border-radius: 999px; background: #2E2338; overflow: hidden; }
.pasek > span { display: block; height: 100%; border-radius: 999px; background: var(--orchidea); transition: width .4s ease; }

/* Otwarta oferta: wybrana karta zostaje po lewej i rozsuwa się w formularz — jedno okno */
.oferty.otwarte .oferty-naglowek, .oferty.otwarte .kropki { display: none; }
.oferty.otwarte .karty { flex-wrap: nowrap; gap: 0; align-items: stretch; justify-content: flex-start; }
.oferty.otwarte .karty > .card { flex: 0 0 310px; max-width: 310px; cursor: default; border-radius: 40px 0 0 40px; }
.oferty.otwarte .karty > .card:hover { transform: none; }
.oferty.otwarte .karty > .flow, .oferty.otwarte .karty > .pk-box { flex: 1 1 0; border-radius: 0 40px 40px 0; border-left: 0; }
.oferty.otwarte .card .lista { flex-grow: 0; }
.oferty.otwarte .card [data-otworz] { display: none; }
.oferty.otwarte .card .card-wroc { display: inline-flex; margin-top: 6px; }
.card-ciemna .card-wroc { background: transparent; color: #FFFFFF; border-color: #4A3A5A; }
.card-ciemna .card-wroc:hover { background: #FFFFFF; color: #16101D; border-color: #FFFFFF; }
.oferty.otwarte .card-ciemna { box-shadow: none; }
@media (min-width: 900px) {
  /* jedno okno: tło rzędu przedłuża kartę w dół, karta jedzie razem z przewijaniem */
  .oferty.otwarte .karty { background: var(--tlo); border: 1px solid var(--linia); border-radius: 40px; overflow: clip; }
  .oferty.otwarte-ciemna .karty { background: #16101D; border-color: #16101D; }
  .oferty.otwarte .karty > .card { border: 0; }
  .oferty.otwarte .karty > .flow, .oferty.otwarte .karty > .pk-box { border: 0; border-left: 1px solid var(--linia2); border-radius: 0; }
}
@media (min-width: 900px) and (min-height: 640px) {
  .oferty.otwarte .karty > .card { position: sticky; top: 0; align-self: flex-start; }
}

.kropki { display: none; justify-content: center; gap: 4px; }
.kropki button { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.kropki button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ramka); transition: transform .3s ease, background-color .3s ease; }
.kropki button[aria-pressed="true"]::after { background: var(--fiolet); transform: scale(1.4); }
.przypis { text-align: center; color: var(--tekst2); font-size: 14px; max-width: 62em; margin: 0 auto; }

@media (max-width: 899px) {
  .karty { flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 12px 7vw 18px; margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .karty::-webkit-scrollbar { display: none; }
  .karty > .card { flex: 0 0 86vw; max-width: none; scroll-snap-align: center; scroll-snap-stop: always; }
  .kropki { display: flex; }
  /* otwarta oferta na telefonie: karta na górze, formularz pod nią */
  .oferty.otwarte .karty { flex-direction: column; overflow: visible; scroll-snap-type: none; padding: 0; margin: 0; }
  .oferty.otwarte .karty > .card { flex: none; width: 100%; max-width: none; border-radius: 40px 40px 0 0; animation: none; }
  .oferty.otwarte .karty > .flow, .oferty.otwarte .karty > .pk-box { flex: none; width: 100%; border-radius: 0 0 40px 40px; border-left: 1px solid var(--linia2); border-top: 0; }
  .oferty.otwarte .card .lista, .oferty.otwarte .card .miejsca { display: none; }
  @supports (animation-timeline: view()) {
    .karty > .card { animation: vo-tilt linear both; animation-timeline: view(inline); animation-range: entry 0% exit 100%; transform-origin: 50% 120%; }
    .karty > .card:hover { transform: none; }
  }
}
@keyframes vo-tilt {
  0% { transform: rotate(7deg) scale(.9); opacity: .55; }
  50% { transform: rotate(0) scale(1); opacity: 1; }
  100% { transform: rotate(-7deg) scale(.9); opacity: .55; }
}

/* Zamawianie jednorazowe */
.flow { min-width: 0; background: #FFFFFF; border: 1px solid var(--linia2); overflow: hidden; }
.flow-head { padding: 24px 28px 0; display: flex; flex-direction: column; gap: 14px; }
.flow-title-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.flow-title-row h2 { font-size: 28px; letter-spacing: -0.01em; }
.bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bars span { height: 6px; border-radius: 999px; background: var(--linia); transition: background-color .35s ease; }
.bars span.on { background: var(--fiolet); }
.bars-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-body { padding: 20px 28px 24px; min-height: 340px; display: flex; flex-direction: column; gap: 16px; }
/* stopka formularza zawsze na dole okna, także gdy krok jest krótszy niż karta obok */
.flow, .pk-box { display: flex; flex-direction: column; }
#zam-formularz, #pk-formularz { flex: 1 1 auto; display: flex; flex-direction: column; }
.flow-body { flex: 1 1 auto; }
.flow-foot { border-top: 1px solid var(--linia); background: var(--tlo); padding: 16px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cena-live { display: flex; flex-direction: column; }
.cena-live strong { font-family: var(--font-h); font-size: 30px; font-weight: 800; font-stretch: 85%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.flow-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 120px; padding: 16px; border-radius: 24px; text-align: left; }
.tile .nazwa { font-weight: 600; font-size: 15px; line-height: 1.25; }
.tile .hint { font-size: 13px; color: var(--tekst2); }
.krok { display: flex; flex-direction: column; gap: 20px; }
.pole { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wiersz { display: flex; flex-wrap: wrap; gap: 12px; }
.wiersz > .pole { flex: 1 1 180px; }
.wiersz > .pole-szeroki { flex: 2 1 260px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"] { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--ramka); border-radius: 18px; font: inherit; color: var(--tekst); background: #FFFFFF; }
input[type="number"] { -moz-appearance: textfield; }
input[type="range"] { width: 100%; margin: 0; height: 32px; accent-color: var(--fiolet); }
.metraz { display: flex; flex-direction: column; gap: 14px; }
.metraz-wiersz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.metraz-wiersz label { font-size: 17px; }
.metraz-pole { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.metraz-pole input { width: 96px; min-height: 44px; padding: 0 12px; font-size: 18px; font-weight: 600; text-align: right; }
.skala { display: flex; justify-content: space-between; font-size: 13px; color: var(--tekst2); }
.licznik-wiersz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.licznik-wiersz > span { font-weight: 600; font-size: 17px; }
.licznik { display: flex; align-items: center; gap: 12px; }
.licznik button { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--ramka); background: #FFFFFF; font-size: 22px; line-height: 1; }
.licznik button:hover { background: var(--fiolet); color: #FFFFFF; border-color: var(--fiolet); }
.licznik output { min-width: 40px; text-align: center; font-size: 24px; font-weight: 700; }
.podsumowanie { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px 16px; }
.podsumowanie dt { color: var(--tekst2); }
.podsumowanie dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.error { color: var(--blad); font-size: 15px; font-weight: 500; }
.done { padding: 56px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.done-ikona { display: inline-flex; width: 64px; height: 64px; border-radius: 999px; background: var(--lila); align-items: center; justify-content: center; }
.done h1, .done h2 { font-size: 28px; }
.done p { color: var(--tekst2); max-width: 30em; }
.done .wazne { color: var(--fiolet-ciemny); font-weight: 600; background: var(--lila); padding: 12px 16px; border-radius: 18px; }
.done .btn { margin-top: 8px; }
.done-nr { padding: 8px 16px; border-radius: 999px; background: var(--lila); color: var(--fiolet-ciemny) !important; }
.co-dalej { width: 100%; max-width: 30em; text-align: left; padding: 18px 20px; border-radius: 24px; background: var(--tlo); border: 1px solid var(--linia); display: flex; flex-direction: column; gap: 10px; }
.co-dalej ol { margin: 0; padding: 0; list-style: none; counter-reset: krok; display: flex; flex-direction: column; gap: 10px; }
.co-dalej li { counter-increment: krok; display: flex; gap: 12px; align-items: flex-start; }
.co-dalej li::before { content: counter(krok); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--fiolet); color: #FFFFFF; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.co-dalej strong { color: var(--fiolet-ciemny); }

/* Nagłówek i kwiat na telefonie */
@media (max-width: 899px) {
  .oferty > .hero-kwiat { top: -70px; right: -210px; width: 440px; height: 440px; }
  .top-tel { width: 44px; padding: 0; justify-content: center; background: var(--lila); }
  .top-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-nad { font-size: 12px; letter-spacing: 0.06em; }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-kwiat { animation: vo-obrot linear both; animation-timeline: scroll(root block); animation-range: 0px 900px; }
  }
}
@keyframes vo-obrot { from { rotate: -10deg; } to { rotate: 32deg; } }

/* Jak to działa — 5 kroków jak w szkicu: numer w kółku, strzałka w dół */
.jak { width: 100%; max-width: 760px; padding: clamp(48px, 8vw, 96px) 0 8px; }
.jak-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.jak-lista li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 24px; padding-bottom: 44px; }
.jak-lista li:last-child { padding-bottom: 0; }
.jak-lista li:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 72px; bottom: 10px; width: 2px; background: var(--ramka); }
.jak-lista li:not(:last-child)::before { content: ""; position: absolute; left: 26px; bottom: 10px; width: 12px; height: 12px; border-right: 2px solid var(--ramka); border-bottom: 2px solid var(--ramka); transform: rotate(45deg); }
.jak-nr { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--tekst); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 800; font-size: 30px; line-height: 1; }
.jak-lista p { padding-top: 14px; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.35; font-weight: 500; }
.jak-dzien { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fiolet); }
.jak-reka { grid-column: 2; width: 120px; height: 48px; margin-top: 18px; color: var(--fiolet); }
@media (max-width: 600px) {
  .jak-lista li { grid-template-columns: 48px minmax(0, 1fr); gap: 0 16px; padding-bottom: 36px; }
  .jak-nr { width: 48px; height: 48px; font-size: 22px; }
  .jak-lista li:not(:last-child)::after { left: 23px; top: 56px; }
  .jak-lista li:not(:last-child)::before { left: 18px; }
  .jak-lista p { padding-top: 8px; }
}

/* Strony miast */
.hero-nad a { color: inherit; text-underline-offset: 3px; }
.miasto h3 { font-size: 18px; margin-top: 6px; }
.miasto-tabela { overflow-x: auto; border: 1px solid var(--linia); border-radius: 24px; background: #FFFFFF; }
.miasto-tabela table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 16px; }
.miasto-tabela th, .miasto-tabela td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linia); }
.miasto-tabela tbody tr:last-child th, .miasto-tabela tbody tr:last-child td { border-bottom: 0; }
.miasto-tabela thead th { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tekst2); }
.miasto-tabela tbody th { font-weight: 600; }
.miasto-tabela td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.miasto-tabela th span, .miasto-tabela td span { display: block; font-size: 14px; font-weight: 400; color: var(--tekst2); white-space: normal; }

/* Zakup pakietu */
.pk-box { min-width: 0; background: #FFFFFF; border: 1px solid var(--linia2); overflow: hidden; }
.rodzaj-info { padding: 10px 16px; border-radius: 999px; background: var(--lila); color: var(--fiolet-ciemny); font-weight: 600; align-self: flex-start; }
.metraz-pk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.metraz-pk output { font-weight: 700; font-size: 18px; }
.cal { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: start; }
.cal-btn { width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1px solid var(--ramka); background: #FFFFFF; color: var(--fiolet-ciemny); display: inline-flex; align-items: center; justify-content: center; }
.cal-btn:hover { background: var(--fiolet); color: #FFFFFF; border-color: var(--fiolet); }
.cal-btn[disabled] { opacity: .35; }
.cal-btn[disabled]:hover { background: #FFFFFF; color: var(--fiolet-ciemny); border-color: var(--ramka); }
.cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; min-height: 320px; }
.cal-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cal-head { display: flex; flex-direction: column; align-items: center; padding-bottom: 6px; border-bottom: 1px solid var(--linia); line-height: 1.2; }
.cal-head b { font-size: 15px; }
.cal-head span { font-size: 13px; color: var(--tekst2); }
.slot { min-height: 40px; padding: 0 4px; border-radius: 12px; font-weight: 600; font-size: 14px; white-space: nowrap; background: var(--lila); border: 2px solid var(--lila); color: var(--fiolet-ciemny); }
.slot:hover { background: var(--fiolet); border-color: var(--fiolet); color: #FFFFFF; }
.slot[aria-pressed="true"] { background: var(--fiolet); border-color: var(--fiolet); color: #FFFFFF; }
.slot[disabled], .slot[disabled]:hover { background: transparent; border-color: transparent; color: #A89DB3; }
.termin-info { padding: 12px 16px; border-radius: 18px; background: var(--lila); color: var(--fiolet-ciemny); font-size: 15px; }
/* Płatność online (Stripe) */
.stripe-info { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 24px; border: 2px solid var(--fiolet); background: var(--lila); }
.stripe-top { display: flex; gap: 14px; align-items: flex-start; }
.stripe-top svg { flex: none; color: var(--fiolet); margin-top: 1px; }
.stripe-top strong { display: block; font-size: 17px; line-height: 1.3; }
.stripe-top > span > span { font-size: 14px; color: var(--fiolet-ciemny); }
.metody-chipy { display: flex; flex-wrap: wrap; gap: 8px; }
.metody-chipy li { padding: 6px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--linia2); font-weight: 700; font-size: 14px; color: var(--tekst); }
.zgody { display: flex; flex-direction: column; gap: 12px; }
.pay { display: flex; flex-direction: column; gap: 14px; }
.pay-express:empty { display: none; }
.pay-lub { display: flex; align-items: center; gap: 12px; color: var(--tekst2); font-size: 14px; }
.pay-lub::before, .pay-lub::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--linia2); }
.pay-karta { min-height: 60px; }
.pay-stopka { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--tekst2); }
.pay-stopka svg { flex: none; color: var(--fiolet); }
.oplacone { width: 100%; max-width: 680px; margin: 0 auto; border-radius: 40px; border: 1px solid var(--linia2); background: #FFFFFF; }
.sum { border-radius: 24px; background: var(--tlo); border: 1px solid var(--linia); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.sum-w { display: flex; justify-content: space-between; gap: 12px; }
.sum-w s { text-decoration: line-through; }
.sum-rabat { color: var(--orchidea); font-weight: 600; }
.sum-razem { border-top: 1px solid var(--linia); padding-top: 10px; align-items: baseline; }
.sum-razem span { font-weight: 600; }
.sum-razem strong { font-family: var(--font-h); font-size: 30px; font-weight: 700; line-height: 1.1; }
.sum-kolejne { font-size: 14px; color: var(--fiolet-ciemny); font-weight: 500; }
.sum-przypis { font-size: 13px; color: var(--tekst2); }
.zgoda { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 400; font-size: 15px; }
.zgoda input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--fiolet); flex: none; }

/* Animacja otwierania i zamykania oferty (View Transitions):
   okno rozszerza się z miejsca klikniętej karty równo do wszystkich krawędzi.
   Wcięcia --vo-t/r/b/l ustawia app.js (położenie karty względem okna). */
.przypis { view-transition-name: vo-przypis; }
.stopka { view-transition-name: vo-stopka; }
.oferty.otwarte .karty { view-transition-name: vo-okno; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
::view-transition-group(vo-okno) { z-index: 2; }
::view-transition-group(vo-karta) { z-index: 3; }
::view-transition-new(vo-okno) { animation: vo-otworz .55s cubic-bezier(.3, .7, .2, 1) both; }
::view-transition-old(vo-okno) { animation: vo-zamknij .45s cubic-bezier(.4, 0, .3, 1) both; }
::view-transition-old(vo-karta) { animation: vo-zgas .22s ease both; }
::view-transition-new(vo-karta) { animation: vo-pojaw .25s .3s ease both; }
::view-transition-old(vo-inna-1), ::view-transition-old(vo-inna-2), ::view-transition-old(vo-inna-3) { animation: vo-znik .25s ease both; }
::view-transition-new(vo-inna-1), ::view-transition-new(vo-inna-2), ::view-transition-new(vo-inna-3) { animation: vo-wroc .35s .25s ease both; }
@keyframes vo-otworz {
  from { clip-path: inset(var(--vo-t, 0px) var(--vo-r, 0px) var(--vo-b, 0px) var(--vo-l, 0px) round 40px); }
  to { clip-path: inset(0px 0px 0px 0px round 40px); }
}
@keyframes vo-zamknij {
  from { clip-path: inset(0px 0px 0px 0px round 40px); opacity: 1; }
  75% { opacity: 1; }
  to { clip-path: inset(var(--vo-t, 0px) var(--vo-r, 0px) var(--vo-b, 0px) var(--vo-l, 0px) round 40px); opacity: 0; }
}
@keyframes vo-zgas { to { opacity: 0; } }
@keyframes vo-pojaw { from { opacity: 0; } to { opacity: 1; } }
@keyframes vo-znik { to { opacity: 0; transform: scale(.9); } }
@keyframes vo-wroc { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* Regulamin, polityka */
.main-tekst { width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; display: flex; flex-direction: column; gap: 18px; }
.main-tekst h1 { font-size: clamp(32px, 4vw, 44px); }
.main-tekst h2 { font-size: 22px; margin-top: 14px; letter-spacing: -0.01em; }
.main-tekst ol, .main-tekst ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.main-tekst ol { list-style: decimal; }
.main-tekst ul { list-style: disc; }
.main-tekst .uwaga { padding: 12px 16px; border-radius: 18px; background: var(--lila); color: var(--fiolet-ciemny); font-size: 15px; }

/* Ekrany wąskie */
@media (max-width: 600px) {
  .top { padding: 16px; }
  .flow-head, .flow-body, .flow-foot { padding-left: 18px; padding-right: 18px; }
  .cal { grid-template-columns: 1fr 1fr; }
  .cal-btn-prev { grid-area: 1 / 1; }
  .cal-btn-next { grid-area: 1 / 2; justify-self: end; }
  .cal-grid { grid-area: 2 / 1 / 3 / 3; gap: 4px; }
  .slot { font-size: 13px; padding: 0 2px; }
  .naklejka-duza { font-size: 40px; }
  .podsumowanie { grid-template-columns: minmax(0, 1fr); gap: 4px 0; }
  .podsumowanie dd { margin-bottom: 10px; }
}

/* Mniej ruchu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
  .karty > .card { opacity: 1 !important; transform: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
