/* Base */
:root {
  --c-bg: #F3F2EB;
  --c-surface: #FCFBF7;
  --c-text: #23261F;
  --c-muted: #5A5E53;
  --c-accent: #56651E;
  --c-accent-dark: #435016;
  --c-accent-text: #FCFBF7;
  --c-plate-bg: #23261F;
  --c-plate-text: #F3F2EB;
  --c-line: #DCDACB;
  --c-tint: #E9E7DA;
  --f-head: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-body: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, Georgia, serif;
  --r-card: 8px;
  --r-btn: 999px;
  --sp: 8px;
  --shadow-soft: 0 1px 2px rgb(0 0 0 / .06), 0 12px 32px rgb(0 0 0 / .08);
  --pad-x: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 1vw + 0.9rem, 1.5rem); }

p { margin: 0 0 16px; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: var(--c-accent-dark); }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* Layout */
.ps-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.ps-wrap--narrow { max-width: 760px; }

.ps-section {
  position: relative;
  padding: clamp(64px, 9vw, 128px) 0;
}

.ps-section__title { margin-bottom: 16px; }

.ps-section__lead {
  color: var(--c-muted);
  font-size: 1.06rem;
  max-width: 60ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* Background tint layer */
.ps-section--tint {
  background: var(--c-tint);
}

.ps-section--tint::before,
.ps-section--tint::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  max-width: 100%;
  background: var(--c-tint);
  pointer-events: none;
}

.ps-section--tint::before {
  top: -28px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.ps-section--tint::after {
  bottom: -28px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

/* Accent & plate */
.ps-accent {
  display: inline-block;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw + 1rem, 6.2rem);
  line-height: 1;
  color: var(--c-accent);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ps-plate {
  background: var(--c-plate-bg);
  color: var(--c-plate-text);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
  max-width: 100%;
}

.ps-plate__text {
  color: var(--c-plate-text);
  max-width: 64ch;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Buttons */
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0 26px;
  border: 2px solid var(--c-accent);
  border-radius: var(--r-btn);
  background: var(--c-accent);
  color: var(--c-accent-text);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color .25s ease, color .25s ease, transform .15s ease, border-color .25s ease;
}

.ps-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: var(--c-accent-dark);
  transform: translateY(100%);
  transition: transform .25s ease;
  z-index: 0;
}

.ps-btn > * { position: relative; z-index: 1; }

.ps-btn:hover { border-color: var(--c-accent-dark); }
.ps-btn:hover::after { transform: translateY(0); }

.ps-btn:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--c-bg), 0 0 0 6px var(--c-accent);
}

.ps-btn:active { transform: scale(0.97); }

.ps-btn--alt {
  background: transparent;
  color: var(--c-accent);
}

.ps-btn--alt::after { background: var(--c-accent); }

.ps-btn--alt:hover { color: var(--c-accent-text); border-color: var(--c-accent-dark); }
.ps-btn--alt:hover::after { transform: translateY(0); }

.ps-btn--call {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  box-shadow: var(--shadow-soft);
}

.ps-btn--busy {
  pointer-events: none;
  opacity: .7;
}

/* Skip link */
.ps-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--c-plate-bg);
  color: var(--c-plate-text);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-card) 0;
  font-family: var(--f-head);
}

.ps-skip:focus-visible { left: 0; color: var(--c-plate-text); }

/* Header */
.ps-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px var(--pad-x);
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease;
}

.ps-topbar.is-scrolled,
body:has(.ps-nav--open) .ps-topbar {
  background: var(--c-surface);
  box-shadow: 0 1px 0 var(--c-line), 0 8px 24px rgb(0 0 0 / .05);
}

.ps-topbar__side {
  margin: 0;
  display: flex;
  align-items: center;
  min-width: 0;
  font-family: var(--f-head);
  font-size: .94rem;
}

.ps-topbar__side:last-child { justify-content: flex-end; }

.ps-topbar__mail {
  color: var(--c-muted);
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.ps-topbar__mail:hover { color: var(--c-accent-dark); }

.ps-brand {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: -0.01em;
  color: var(--c-text);
  text-decoration: none;
  text-align: center;
  justify-self: center;
  overflow-wrap: anywhere;
}

footer .ps-brand { text-align: left; justify-self: auto; }

.ps-nav__toggle {
  min-height: 44px;
  padding: 0 20px;
  border: 2px solid var(--c-text);
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--c-text);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}

.ps-nav__toggle:hover { background: var(--c-text); color: var(--c-bg); }
.ps-nav__toggle:active { transform: scale(0.97); }

/* Nav overlay */
.ps-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--c-surface);
  display: none;
  padding-top: 96px;
}

.ps-nav--open { display: block; }

.ps-nav__panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 48px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 64px);
  align-content: start;
  min-width: 0;
}

.ps-nav__list { display: grid; gap: 4px; min-width: 0; }

.ps-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  font-family: var(--f-head);
  font-weight: 650;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  color: var(--c-text);
  text-decoration: none;
  z-index: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ps-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 3px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.ps-nav__link:hover::before,
.ps-nav__link[aria-current="page"]::before { transform: scaleX(1); }

.ps-nav__link:hover { color: var(--c-accent-dark); }

.ps-nav__aside {
  align-self: start;
  border-left: 3px solid var(--c-accent);
  padding-left: clamp(16px, 2.5vw, 28px);
  min-width: 0;
}

.ps-nav__heading {
  margin: 0 0 12px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-muted);
}

.ps-nav__aside ul { display: grid; gap: 10px; font-family: var(--f-head); font-size: 1rem; }
.ps-nav__aside ul span {
  display: block;
  font-size: .85rem;
  color: var(--c-muted);
}

/* Hero */
.ps-hero {
  padding-top: clamp(40px, 6vw, 80px);
  min-height: auto;
}

.ps-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.ps-hero__title {
  display: grid;
  gap: 2px;
  margin-bottom: 20px;
}

.ps-hero__line { display: block; line-height: 1.08; }

.ps-hero__line--big { font-size: clamp(2.9rem, 5.6vw + 1rem, 5.4rem); line-height: 1.06; }
.ps-hero__line--small {
  font-size: clamp(.9rem, 1.4vw + .6rem, 1.4rem);
  font-weight: 650;
  color: var(--c-muted);
  line-height: 1.35;
}

.ps-hero__lead {
  color: var(--c-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.ps-hero__body { animation: ps-rise .5s ease both; display: grid; gap: 0; }

@keyframes ps-rise {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}

.ps-hero__media { margin: 0; min-width: 0; }

.ps-hero__body .ps-btn { animation: ps-rise .5s ease .1s both; white-space: nowrap; }

.ps-hero__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
}

/* Announcement */
.ps-note { padding: 0; }

#kiedy-warto { padding-bottom: clamp(48px, 6vw, 96px); }

.ps-note__box {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 40px;
}

.ps-note__text { line-height: 1.6; margin: 0; }

/* Checklist */
.ps-checklist {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.ps-checklist__item {
  position: relative;
  padding: 14px 16px 14px 52px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  box-shadow: 0 1px 2px rgb(0 0 0 / .04);
}

.ps-checklist__item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='2' y='2' width='16' height='16' rx='3' fill='none' stroke='%2356651E' stroke-width='2'/%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%2356651E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Cards */
.ps-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.ps-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 260px;
  min-width: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(0 0 0 / .05);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ps-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.ps-card[hidden] { display: none; }

.ps-card__media { margin: 0; }

.ps-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ps-card__title { padding: 20px 24px 8px; margin: 0; }

.ps-card__text {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--c-muted);
  font-size: .98rem;
}

/* Filters + form section */
.ps-zgloszenie__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.ps-zgloszenie__panel {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 1px 2px rgb(0 0 0 / .05);
  position: sticky;
  top: 96px;
  min-width: 0;
}

.ps-zgloszenie__panel-title { margin-bottom: 10px; font-size: 1.25rem; }
.ps-zgloszenie__panel-text { color: var(--c-muted); font-size: .98rem; margin-bottom: 18px; }

.ps-filtr {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ps-filtr__btn { min-height: 42px; padding: 0 18px; font-size: .92rem; }

.ps-filtr__btn[aria-selected="true"] {
  background: var(--c-accent);
  color: var(--c-accent-text);
  border-color: var(--c-accent);
}

.ps-filtr__btn[aria-selected="true"]::after { display: none; }

.ps-zgloszenie__panel-note {
  color: var(--c-muted);
  font-size: .92rem;
  margin: 0;
  border-top: 1px solid var(--c-line);
  padding-top: 16px;
}

/* Form */
.ps-form { display: grid; gap: 18px; min-width: 0; }

.ps-form__field { display: grid; gap: 8px; min-width: 0; }

.ps-form__label {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-text);
  margin-bottom: 2px;
}

.ps-form__input {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  background: var(--c-surface);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ps-form__input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgb(86 101 30 / .2);
}

.ps-form__area { resize: vertical; min-height: 120px; }

.ps-field--error .ps-form__input,
.ps-form__input[aria-invalid="true"] {
  border-color: #8C3B22;
  box-shadow: 0 0 0 3px rgb(140 59 34 / .18);
}

.ps-form__check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: .95rem;
}

.ps-form__check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-accent); }

.ps-form__note {
  color: var(--c-muted);
  font-size: .92rem;
  margin: 0;
}

/* Steps */
.ps-etapy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  counter-reset: etap;
}

.ps-etapy__step {
  position: relative;
  min-width: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 24px 24px 24px 76px;
  overflow-wrap: break-word;
  counter-increment: etap;
  transition: transform .3s ease, box-shadow .3s ease;
}

.ps-etapy__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.ps-etapy__step::before {
  content: counter(etap);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-plate-bg);
  color: var(--c-plate-text);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1rem;
}

.ps-etapy__title { margin-bottom: 6px; }
.ps-etapy__text { color: var(--c-muted); font-size: .98rem; margin: 0; }

.ps-etapy__step > * { min-width: 0; max-width: 100%; }
.ps-etapy__title,
.ps-etapy__text { overflow-wrap: anywhere; }

/* FAQ */
.ps-faq__list { display: grid; gap: 12px; max-width: 820px; }

.ps-faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.ps-faq__q {
  padding: 16px 20px;
  padding-right: 44px;
  font-family: var(--f-head);
  font-weight: 650;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.ps-faq__q::-webkit-details-marker { display: none; }
.ps-faq__q::marker { content: ""; }

.ps-faq__q::after {
  content: "+";
  float: right;
  margin-right: -24px;
  font-weight: 700;
  color: var(--c-accent);
  transition: transform .25s ease;
}

.ps-faq__item[open] .ps-faq__q::after { content: "–"; }

.ps-faq__a {
  padding: 0 20px 20px;
  color: var(--c-muted);
  margin: 0;
  max-width: none;
}

/* Reveal */
html.ps-js-ok .ps-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

html.ps-js-ok .ps-reveal--on {
  opacity: 1;
  transform: none;
}

/* Inner pages */
.ps-pagehead { padding-bottom: 0; }

.ps-pagehead h1 { margin-bottom: 20px; }

.ps-pagehead p { color: var(--c-muted); font-size: 1.08rem; }

/* Prose */
.ps-prose { max-width: 760px; }

.ps-prose h2 {
  font-size: clamp(1.4rem, 1.4vw + 1rem, 1.9rem);
  margin-top: 40px;
}

.ps-prose h3 { margin-top: 32px; }

.ps-prose ol { list-style: decimal; padding-left: 26px; display: grid; gap: 8px; }
.ps-prose ul { list-style: disc; padding-left: 26px; display: grid; gap: 8px; }

.ps-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  margin: 16px 0 24px;
}

.ps-prose th, .ps-prose td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--c-line);
}

.ps-prose th {
  background: var(--c-tint);
  font-family: var(--f-head);
  font-weight: 650;
}

.ps-toc {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.ps-toc__heading { margin-bottom: 12px; font-size: 1.2rem; }

.ps-toc ol { list-style: decimal; padding-left: 22px; display: grid; gap: 6px; }
.ps-toc a { text-decoration: none; }
.ps-toc a:hover { text-decoration: underline; }

/* Contacts block */
.ps-contacts { display: grid; gap: 12px; max-width: 560px; }

.ps-contacts ul { display: grid; gap: 12px; }

.ps-contacts li {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
}

.ps-contacts li span {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--c-muted);
}

/* Media gallery */
.ps-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.ps-media figure {
  margin: 0;
  min-width: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.ps-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .4s ease;
}

.ps-media figure:hover img { transform: scale(1.02); }

.ps-media figcaption {
  padding: 12px 18px;
  font-size: .9rem;
  color: var(--c-muted);
}

/* Thank-you / 404 */
.ps-confirm {
  text-align: center;
  padding: clamp(72px, 12vh, 140px) 0;
}

.ps-confirm .ps-plate {
  display: inline-block;
  text-align: left;
  max-width: 640px;
}

.ps-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

/* Footer */
.ps-footer {
  background: var(--c-plate-bg);
  color: var(--c-plate-text);
  padding: clamp(48px, 7vw, 88px) 0 24px;
  margin-top: clamp(64px, 9vw, 128px);
}

.ps-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.ps-footer .ps-brand { color: var(--c-plate-text); margin-bottom: 12px; }

.ps-footer__note { color: #C9CBBE; font-size: .95rem; max-width: 40ch; }

.ps-footer__heading {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .95rem;
  color: #C9CBBE;
  margin: 0 0 12px;
}

.ps-footer address { font-style: normal; }

.ps-footer address p { color: var(--c-plate-text); font-size: .95rem; margin: 0 0 8px; max-width: 40ch; }

.ps-footer ul { display: grid; gap: 8px; }

.ps-footer li { font-size: .95rem; color: var(--c-plate-text); }
.ps-footer li span { display: block; color: #C9CBBE; font-family: var(--f-head); font-size: .85rem; }

.ps-footer a { color: #D7E0B8; text-decoration: none; }
.ps-footer a:hover { color: #F3F2EB; text-decoration: underline; }

.ps-footer__bottom {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid #4A4E42;
}

.ps-footer__copy { color: #C9CBBE; font-size: .88rem; margin: 0; }

/* Breakpoints */
@media (min-width: 480px) {
  .ps-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-etapy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .ps-media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .ps-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .ps-form__field--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .ps-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-etapy { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ps-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ps-checklist { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 1280px) {
  .ps-hero__grid { gap: 72px; }
  .ps-nav__panel { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

@media (max-width: 767px) {
  .ps-zgloszenie__grid { grid-template-columns: minmax(0, 1fr); }
  .ps-zgloszenie__panel { position: static; }
  .ps-nav__panel { grid-template-columns: minmax(0, 1fr); }
  .ps-nav__aside { border-left: 0; border-top: 3px solid var(--c-accent); padding: 20px 0 0; }
  .ps-topbar__mail span { display: none; }
}

@media (max-width: 639px) {
  .ps-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }
  .ps-hero__title {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }
  .ps-hero__line--big {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }
  .ps-hero__body .ps-btn {
    width: 100%;
  }
  .ps-hero__media {
    margin-top: 24px;
  }
  .ps-btn {
    padding: 14px 20px;
    text-align: center;
  }
  .ps-btn--call {
    width: auto;
    white-space: nowrap;
  }
}

@media (max-width: 479px) {
  .ps-cards, .ps-etapy { grid-template-columns: minmax(0, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.ps-js-ok .ps-reveal { opacity: 1; transform: none; }
  .ps-media figure:hover img { transform: none; }
}
