/* Eleserwis – style strony */
:root {
  --navy: #1f3a5f;        /* kombinezon */
  --navy-deep: #152a46;
  --paper: #f5f6f4;       /* jasne tło, chłodne */
  --white: #ffffff;
  --ink: #18212b;
  --steel: #576676;       /* tekst pomocniczy */
  --primer: #dce0e2;      /* szary podkład */
  --line: #c3c9ce;
  --tape: #e8c14d;        /* taśma maskująca */
  --ok: #2f7d4f;
  --err: #b3261e;

  --f-head: "Bahnschrift", "DIN Alternate", "D-DIN", "Roboto Condensed", "Arial Narrow", sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --r: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], footer[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1, h2, h3, legend { font-family: var(--f-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.005em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-stretch: 87.5%; font-weight: 700; max-width: 14ch; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }

:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font: 600 1rem/1 var(--f-body);
  border-radius: var(--r); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--primary[disabled] { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--link { background: none; color: var(--navy); text-decoration: underline; padding: 0 8px; }
.btn--big { min-height: 54px; padding: 0 32px; font-size: 1.05rem; }

/* ---------- nagłówek ---------- */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--navy); color: #fff; border-radius: var(--r);
  font: 700 1.2rem/1 var(--f-head);
  box-shadow: inset 0 -6px 0 var(--tape);
}
.logo__name { font: 700 1.35rem/1 var(--f-head); letter-spacing: .01em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 8px 12px; border-radius: var(--r); position: relative; }
.nav a:hover { color: var(--navy); background: var(--primer); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 650; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 3px; background: var(--tape); }
.nav__tel { display: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.top__cta { white-space: nowrap; }

.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); background: var(--white); border-radius: var(--r); cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20.5px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .top__in { gap: 12px; }
  .top__cta { margin-left: auto; }
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(24,33,43,.35);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .25s ease, opacity .2s ease; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav__tel { display: block; border-bottom: 0 !important; font-weight: 700 !important; color: var(--navy) !important; }
}
@media (max-width: 380px) { .logo__name { font-size: 1.15rem; } .top__cta { padding: 0 12px; } }

/* ---------- hero + stanowiska ---------- */
.hero { padding: 56px 0 72px; }
.hero__head { display: grid; gap: 20px; margin-bottom: 44px; }
@media (min-width: 900px) {
  .hero__head { grid-template-columns: 1.1fr 1fr; align-items: end; column-gap: 56px; }
  .hero__head h1 { grid-row: span 2; }
}
.lead { font-size: 1.15rem; color: #2f3b47; max-width: 46ch; margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.benches { display: grid; gap: 0; }
@media (min-width: 900px) { .benches { grid-template-columns: 1.25fr 1fr; } }

.bench { padding: 28px 24px 24px; }
@media (min-width: 720px) { .bench { padding: 36px 36px 32px; } }
.bench--pc { background: var(--white); border: 1px solid var(--line); }
.bench--auto { background: var(--navy); color: #e9eef4; border: 1px solid var(--navy); }
@media (min-width: 900px) {
  .bench--pc { border-right: none; border-radius: var(--r) 0 0 var(--r); }
  .bench--auto { border-radius: 0 var(--r) var(--r) 0; }
}
.bench__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 3px solid var(--ink); }
.bench--auto .bench__head { border-bottom-color: var(--tape); }
.bench__icon { width: 40px; height: 40px; flex: none; }
.bench--auto .bench__icon { color: var(--tape); }
.bench__head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

.svc { list-style: none; margin: 0; padding: 0; }
.svc li { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bench--auto .svc li { border-bottom-color: rgba(255,255,255,.18); }
.svc h3 { margin-bottom: 4px; }
.svc p { margin: 0; font-size: .97rem; color: var(--steel); max-width: 52ch; }
.bench--auto .svc p { color: #b9c6d6; }
.svc__go {
  flex: none; font-weight: 600; font-size: .92rem; text-decoration: none;
  padding: 7px 12px; border: 1.5px solid currentColor; border-radius: var(--r); color: var(--navy); margin-top: 2px;
}
.svc__go:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.bench--auto .svc__go { color: #fff; }
.bench--auto .svc__go:hover { background: var(--tape); border-color: var(--tape); color: var(--ink); }
.bench__note { margin: 18px 0 0; font-size: .95rem; color: #b9c6d6; }

/* ---------- jak to działa ---------- */
.steps { padding: 72px 0; background: var(--primer); }
.steps h2 { margin-bottom: 36px; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: krok; }
@media (min-width: 720px) { .steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps__list { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.steps__list li { counter-increment: krok; position: relative; padding-top: 58px; }
@media (min-width: 1000px) { .steps__list li { padding-right: 28px; } }
.steps__list li::before {
  content: counter(krok);
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--ink); color: #fff; border-radius: 50%;
  font: 700 1.25rem/1 var(--f-head);
}
@media (min-width: 1000px) {
  .steps__list li::after { content: ""; position: absolute; top: 21px; left: 50px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); opacity: .35; }
  .steps__list li:last-child::after { display: none; }
}
.steps__list h3 { margin-bottom: 6px; }
.steps__list p { margin: 0; color: #36424e; font-size: .98rem; }

/* ---------- zlecenie ---------- */
.order { padding: 80px 0 88px; }
.order__in { display: grid; gap: 36px; }
@media (min-width: 980px) { .order__in { grid-template-columns: 300px 1fr; gap: 56px; align-items: start; } .order__side { position: sticky; top: 96px; } }
.order__side h2 { margin-bottom: 14px; }
.order__side p { color: #36424e; }
.order__hint { padding: 12px 14px; border-left: 4px solid var(--tape); background: var(--white); font-size: .96rem; }

.ticket { position: relative; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--primer); }
.ticket__tape {
  position: absolute; top: -14px; right: 44px; width: 120px; height: 30px;
  background: var(--tape); opacity: .92; transform: rotate(3deg);
  clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 45%);
}
.ticket__bar { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: baseline; padding: 18px 24px; border-bottom: 1.5px solid var(--ink); background: var(--paper); }
@media (min-width: 720px) { .ticket__bar { padding: 20px 32px; } }
.ticket__title { font: 700 1.45rem/1 var(--f-head); }
.ticket__no { font: 500 .95rem/1.2 var(--f-head); color: var(--steel); }
.ticket__no span { color: var(--ink); border-bottom: 1px dashed var(--steel); }
.ticket__body { padding: 8px 24px 28px; }
@media (min-width: 720px) { .ticket__body { padding: 8px 32px 32px; } }

.f-block { border: 0; margin: 0; padding: 24px 0 8px; border-bottom: 1px dashed var(--line); min-width: 0; }
.f-block legend { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; padding: 0; margin-bottom: 16px; float: left; width: 100%; }
.f-block legend + * { clear: both; }
.f-num { display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 50%; font-size: .95rem; flex: none; }

.chips-group { margin-bottom: 14px; }
.chips-label { font-size: .85rem; font-weight: 600; color: var(--steel); margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: var(--r); font-size: .96rem; background: var(--white); transition: border-color .12s, background-color .12s; }
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--tape); outline-offset: 2px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--steel); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="password"], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 11px 12px; border: 1.5px solid #9aa4ad; border-radius: var(--r); background: var(--white);
  transition: border-color .12s;
}
input:hover, textarea:hover, select:hover { border-color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(232,193,77,.55); }
textarea { resize: vertical; min-height: 120px; }
.invalid { border-color: var(--err) !important; }
.grid2 { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.err { color: var(--err); font-size: .9rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.f-consent { padding: 20px 0 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: #36424e; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }

.f-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 18px; }
.form-msg { margin: 0; font-size: .95rem; }
.form-msg.is-err { color: var(--err); }

/* odcinek z numerem */
.stub { padding: 36px 24px 32px; text-align: center; outline: none; }
@media (min-width: 720px) { .stub { padding: 48px 32px 40px; } }
.stub__label { font-weight: 600; color: var(--ok); margin-bottom: 10px; }
.stub__no {
  display: inline-block; font: 700 clamp(2rem, 6vw, 3.2rem)/1 var(--f-head); letter-spacing: .03em;
  padding: 16px 26px; margin: 0 0 18px; border: 2px dashed var(--ink); border-radius: var(--r); background: var(--paper);
}
.stub__text { max-width: 44ch; margin: 0 auto 20px; color: #36424e; }
.stub__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.stub.is-new .stub__no { animation: stamp .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes stamp { from { transform: scale(1.18) rotate(-3deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- status ---------- */
.status { padding: 64px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status__in { display: grid; gap: 24px; }
@media (min-width: 980px) { .status__in { grid-template-columns: 300px 1fr; column-gap: 56px; } .status__out { grid-column: 2; } }
.status h2 { margin-bottom: 10px; }
.status p { color: #36424e; margin: 0; }
.status__form { display: grid; gap: 0 14px; align-items: end; }
@media (min-width: 640px) { .status__form { grid-template-columns: 1fr 1fr auto; } .status__form .btn { margin-bottom: 16px; } }
.status__out:empty { display: none; }
.status-card { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 4px; }
.status-card__state { font: 700 1.35rem/1.2 var(--f-head); display: flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--steel); flex: none; }
.dot--gotowe { background: var(--ok); }
.dot--w_realizacji, .dot--czeka_na_czesci { background: var(--tape); }
.dot--anulowane { background: var(--err); }
.status-card__meta { color: var(--steel); font-size: .95rem; }
.status-err { color: var(--err); }

/* ---------- FAQ ---------- */
.faq { padding: 72px 0; }
.faq__in { display: grid; gap: 24px; }
@media (min-width: 980px) { .faq__in { grid-template-columns: 300px 1fr; gap: 56px; } }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--f-head); color: var(--navy); }
.faq__list details[open] summary::after { content: "–"; }
.faq__list details p { margin: 0 0 18px; color: #36424e; max-width: 64ch; }

/* ---------- stopka ---------- */
.foot { background: var(--ink); color: #cfd6dd; padding: 56px 0 24px; }
.foot a { color: #fff; }
.foot__in { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot__in { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot h2 { font-size: 1.1rem; color: #fff; margin-bottom: 12px; }
.foot p { font-size: .97rem; }
.logo--light { color: #fff; margin-bottom: 14px; }
.hours { margin: 0; display: grid; grid-template-columns: auto auto; gap: 6px 18px; justify-content: start; font-size: .97rem; }
.hours dt { color: #9fabb7; }
.hours dd { margin: 0; color: #fff; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; color: #9fabb7; }
.foot__legal p { margin: 0; }

/* ---------- podstrony tekstowe ---------- */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); max-width: none; margin-bottom: 24px; }
.doc h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.doc .wrap > * { max-width: 72ch; }
.doc ul { padding-left: 1.2em; }
.doc .note { background: #fff7d9; border-left: 4px solid var(--tape); padding: 12px 16px; }

/* =====================================================================
   PRZEJŚCIA MIĘDZY PODSTRONAMI (View Transitions – Chrome, Edge, Safari)
   ===================================================================== */
@view-transition { navigation: auto; }
.top { view-transition-name: site-header; }
main { view-transition-name: page; }
.foot { view-transition-name: site-footer; }
::view-transition-old(page) { animation: vt-out .18s ease-in both; }
::view-transition-new(page) { animation: vt-in .32s cubic-bezier(.2,.8,.2,1) .06s both; }
::view-transition-old(site-footer), ::view-transition-new(site-footer) { animation-duration: .25s; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ===================== formularz w krokach ===================== */
.progress { list-style: none; margin: 0; padding: 18px 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 720px) { .progress { padding: 20px 32px 0; gap: 12px; } }
.progress li { position: relative; padding-top: 12px; font-size: .9rem; color: var(--steel); }
.progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primer); border-radius: 2px; }
.progress li::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 2px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.3,.8,.2,1);
}
.progress li.is-current::after { transform: scaleX(.5); background: var(--tape); }
.progress li.is-done::after { transform: scaleX(1); }
.progress li.is-current, .progress li.is-done { color: var(--ink); font-weight: 600; }
.progress__label { display: inline-flex; align-items: center; gap: 8px; }
.progress__n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font: 700 .8rem/1 var(--f-head); transition: background-color .3s, color .3s, border-color .3s; }
.progress li.is-done .progress__n { background: var(--navy); border-color: var(--navy); color: #fff; }

.wiz { position: relative; transition: height .3s cubic-bezier(.3,.8,.2,1); overflow: hidden; }
.wiz__step { padding: 22px 0 4px; }
.wiz__title { font-size: 1.35rem; margin-bottom: 18px; outline: none; }
.wiz__picked { font-size: .95rem; color: var(--steel); margin: -6px 0 16px; }
.wiz__picked strong { color: var(--ink); }
.btn--link.btn--link, .wiz__picked .btn--link { background: none; border: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; padding: 0 4px; }
.wiz__nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding-top: 18px; margin-top: 6px; border-top: 1px dashed var(--line); }
.wiz__nav [data-next]:only-child, .wiz__nav [data-next]:first-child:last-child { margin-left: auto; }
.wiz .form-msg { margin-top: 12px; }

.out-left { animation: step-out-left .17s ease-in forwards; }
.out-right { animation: step-out-right .17s ease-in forwards; }
.in-right { animation: step-in-right .32s cubic-bezier(.2,.8,.2,1) both; }
.in-left { animation: step-in-left .32s cubic-bezier(.2,.8,.2,1) both; }
@keyframes step-out-left { to { opacity: 0; transform: translateX(-36px); } }
@keyframes step-out-right { to { opacity: 0; transform: translateX(36px); } }
@keyframes step-in-right { from { opacity: 0; transform: translateX(48px); } }
@keyframes step-in-left { from { opacity: 0; transform: translateX(-48px); } }

.shake { animation: shake .38s ease; }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }

/* przycisk w trakcie wysyłania */
.btn__spin { width: 0; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; opacity: 0; transition: width .2s, opacity .2s, margin .2s; flex: none; }
.btn.is-loading .btn__spin { width: 18px; opacity: 1; margin-right: 10px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* sukces */
.stub__check { width: 64px; height: 64px; color: var(--ok); display: block; margin: 0 auto 12px; }
.stub__check circle { stroke-dasharray: 145; stroke-dashoffset: 145; }
.stub__check path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.stub.is-new .stub__check circle { animation: draw .55s ease-out forwards; }
.stub.is-new .stub__check path { animation: draw .35s ease-out .45s forwards; }
.stub.is-new .stub__no { animation: stamp .45s cubic-bezier(.2,.9,.3,1.25) .6s both; }
.stub.is-new .stub__label, .stub.is-new .stub__text, .stub.is-new .stub__actions { animation: fade-up .4s ease .3s both; }
.stub:not(.is-new) .stub__check circle, .stub:not(.is-new) .stub__check path { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .stub__check circle, .stub__check path { stroke-dashoffset: 0 !important; } }

/* ===================== pojawianie przy przewijaniu ===================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 110ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .steps__list li[data-reveal]::before { transform: scale(.4); transition: transform .45s cubic-bezier(.3,1.4,.4,1); transition-delay: calc(var(--i, 0) * 110ms + 80ms); }
  .js .steps__list li[data-reveal].is-in::before { transform: none; }
  @media (min-width: 1000px) {
    .js .steps__list li[data-reveal]::after { transform: scaleX(0); transform-origin: left; transition: transform .6s ease; transition-delay: calc(var(--i, 0) * 110ms + 200ms); }
    .js .steps__list li[data-reveal].is-in::after { transform: none; }
  }
}

/* ===================== wspólne dla podstron ===================== */
.phead { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.phead h1 { max-width: none; margin-bottom: 14px; }
.phead .lead { max-width: 60ch; }
.bench__more { margin: 16px 0 0; font-size: .95rem; }
.bench--auto .bench__more a { color: #fff; }
.note { background: #fff7d9; border-left: 4px solid var(--tape); padding: 12px 16px; font-size: .95rem; }
.cta-band { background: var(--navy); color: #e9eef4; padding: 40px 0; }
.cta-band__in { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.cta-band p { margin: 0; font: 600 1.25rem/1.35 var(--f-head); max-width: 48ch; }
.cta-band .btn--primary { background: var(--tape); color: var(--ink); }
.cta-band .btn--primary:hover { background: #f2d06b; color: var(--ink); }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.foot__links { display: flex; gap: 18px; }
.foot__links a { color: #cfd6dd; }

/* usługi */
.svs { padding: 48px 0 24px; }
.svs--auto { background: var(--white); border-top: 1px solid var(--line); padding-bottom: 48px; }
.svs__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 3px solid var(--ink); scroll-margin-top: 90px; }
.svs--auto .svs__head { border-bottom-color: var(--tape); }
.svs__head .bench__icon { color: var(--navy); }
.sv { display: grid; gap: 16px 48px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.sv:last-child { border-bottom: 0; }
@media (min-width: 860px) { .sv { grid-template-columns: 1.1fr 1fr; } }
.sv h3 { font-size: 1.5rem; margin-bottom: 8px; }
.sv__main p { color: #36424e; max-width: 52ch; }
.sv__inc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; align-self: start; }
.svs--auto .sv__inc { background: var(--paper); }
.sv__inc-title { font-weight: 650; margin: 0 0 8px; font-size: .95rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 5px 0 5px 26px; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 6px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(-45deg); }

/* cennik */
.price { padding: 48px 0 56px; }
.price__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .price__grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.price__box { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r); }
.price__box h2 { font-size: 1.5rem; padding: 16px 22px; border-bottom: 1.5px solid var(--ink); background: var(--paper); }
.price__list { margin: 0; padding: 4px 22px 10px; }
.price__row { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price__row:last-child { border-bottom: 0; }
.price__row dt { flex: 1 1 auto; }
.price__row dd { margin: 0; font: 700 1.05rem/1.2 var(--f-head); white-space: nowrap; color: var(--navy); }
.price__row dd.is-todo { color: var(--steel); background: #fff7d9; padding: 2px 6px; border-radius: 2px; }
.price__note { margin: 24px 0 0; color: var(--steel); font-size: .95rem; max-width: 70ch; }

/* galeria */
.gal { padding: 40px 0 64px; }
.gal__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tab { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 9px 14px; font: inherit; font-size: .95rem; cursor: pointer; color: var(--ink); transition: background-color .15s, border-color .15s, color .15s; }
.tab:hover { border-color: var(--navy); }
.tab[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gal__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gal__item[hidden] { display: none; }
.gal__item figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; height: 100%; }
.gal__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gal__btn img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gal__btn:hover img { transform: scale(1.04); }
.gal__ph { aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--steel); font-size: .92rem; background: repeating-linear-gradient(-45deg, var(--paper) 0 12px, var(--primer) 12px 13px); }
.gal__ph span { background: var(--white); padding: 6px 10px; border: 1px dashed var(--line); border-radius: 2px; }
.gal__item figcaption { padding: 12px 14px; font-size: .96rem; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.gal__tag { font-size: .8rem; font-weight: 650; color: var(--navy); border: 1px solid currentColor; padding: 1px 6px; border-radius: 2px; }
::view-transition-group(*) { animation-duration: .35s; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(14, 20, 27, .82); }
.lightbox[open] { animation: lb-in .28s cubic-bezier(.2,.8,.2,1); }
.lightbox[open]::backdrop { animation: fade .25s ease; }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; border-radius: var(--r); margin: 0 auto; }
.lightbox__cap { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.3); z-index: 1; }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } }
@keyframes fade { from { opacity: 0; } }

/* o nas */
.about { padding: 48px 0 64px; }
.about__in { display: grid; gap: 40px; }
@media (min-width: 900px) { .about__in { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.about__text p { max-width: 60ch; color: #2f3b47; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.values li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.values h2 { font-size: 1.3rem; margin-bottom: 6px; }
.values p { margin: 0; color: #36424e; }

/* kontakt */
.contact { padding: 48px 0 64px; }
.contact__grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; } .ccard--main { grid-row: span 2; } }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
a.ccard:hover { border-color: var(--navy); color: var(--ink); transform: translateY(-2px); }
.ccard--main { background: var(--navy); border-color: var(--navy); color: #fff; justify-content: center; }
a.ccard--main:hover { color: #fff; border-color: var(--ink); }
.ccard__label { font-size: .9rem; font-weight: 650; color: var(--steel); }
.ccard--main .ccard__label { color: #b9c6d6; }
.ccard__big { font: 700 clamp(2rem, 5vw, 3rem)/1.05 var(--f-head); }
.ccard__val { font: 600 1.2rem/1.35 var(--f-head); overflow-wrap: anywhere; }
.ccard__hint { font-size: .92rem; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.ccard--main .ccard__hint { color: var(--tape); text-decoration: none; }
.ccard--static { grid-column: span 2; }
@media (max-width: 719px) { .ccard--static { grid-column: auto; } }
.hours--dark dt { color: var(--steel); }
.hours--dark dd { color: var(--ink); font-weight: 600; }

/* przejścia wewnątrz strony (filtr galerii, karta po wysłaniu): bez animowania całej treści */
:root.vt-local::view-transition-old(page), :root.vt-local::view-transition-new(page) { animation: none; }
.ticket { view-transition-name: ticket; }
::view-transition-group(ticket) { animation-duration: .4s; animation-timing-function: cubic-bezier(.3,.8,.2,1); }
.wiz { margin: 0 -6px; padding: 0 6px; }
