/* Toxictrame – pracownia małych palisadników
   Archetyp: SIDEBAR LAYOUT (lewa kolumna nawigacji, treść oddzielona) */

:root {
  --moss: #2f4a3a;
  --moss-deep: #1f3328;
  --cream: #f5f0e6;
  --paper: #fbf8f2;
  --sage: #a9b8a0;
  --sage-light: #dfe6d8;
  --clay: #c2673f;
  --clay-dark: #9e4f2d;
  --ink: #1e241f;
  --muted: #5d665e;
  --line: #d9d2c3;
  --sidebar-w: 272px;
  --radius: 4px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--moss); }
a:hover { color: var(--clay-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--moss-deep);
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--clay);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; }

/* ---------- Pasek górny z oznaczeniem reklamy ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-left: var(--sidebar-w);
  padding: .55rem 2.4rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
}

.ad-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  color: var(--ink);
}

.ad-label strong {
  display: inline-block;
  padding: .1rem .5rem;
  background: var(--clay);
  color: #fff;
  border-radius: 2px;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.topbar-links {
  display: flex;
  gap: 1.2rem;
}

.topbar-links a { text-decoration: none; color: var(--muted); }
.topbar-links a:hover { color: var(--clay-dark); text-decoration: underline; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .45rem .8rem;
  border: 1px solid var(--moss);
  background: transparent;
  color: var(--moss);
  font: inherit;
  cursor: pointer;
  border-radius: var(--radius);
}
.menu-toggle:hover { background: var(--moss); color: var(--cream); }

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.menu-toggle-bars span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

/* ---------- Sidebar ---------- */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem 1.4rem;
  background: var(--moss-deep);
  color: var(--cream);
  overflow-y: auto;
  z-index: 80;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--cream);
  margin-bottom: 2.4rem;
}
.brand:hover { color: #fff; }

.brand svg { flex: 0 0 auto; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}

.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: .3rem;
}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.side-nav a {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: .6rem .7rem;
  color: var(--cream);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background .2s, border-color .2s;
}

.side-nav a span {
  font-size: .72rem;
  color: var(--sage);
  font-variant-numeric: tabular-nums;
}

.side-nav a:hover,
.side-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .06);
  border-left-color: var(--clay);
  color: #fff;
}

.side-note {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px dashed rgba(223, 230, 216, .35);
  font-size: .85rem;
  line-height: 1.5;
  color: var(--sage-light);
}

.side-note p { margin: 0 0 .6rem; }
.side-note p:last-child { margin: 0; }

.side-cta {
  margin-top: 1.4rem;
}

.side-foot {
  margin-top: auto;
  padding-top: 1.6rem;
  font-size: .76rem;
  color: var(--sage);
}

.side-foot ul {
  list-style: none;
  padding: 0;
  margin: 0 0 .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .9rem;
}

.side-foot a { color: var(--sage-light); }
.side-foot a:hover { color: #fff; }

.sidebar-close {
  display: none;
  align-self: flex-end;
  margin: -1rem -.4rem 1rem 0;
  padding: .3rem .6rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--cream);
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.sidebar-close:hover { background: rgba(255,255,255,.1); }

.backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 24, .5);
  z-index: 70;
}

/* ---------- Główna kolumna ---------- */

.main {
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  padding: 0 2.4rem;
}

.wrap-narrow {
  max-width: 720px;
  padding: 0 2.4rem;
}

.section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 38em;
}

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border: 2px solid var(--clay);
  background: var(--clay);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--sage);
}
.btn-ghost:hover { background: var(--cream); color: var(--moss-deep); border-color: var(--cream); }

.btn-outline {
  background: transparent;
  color: var(--moss);
  border-color: var(--moss);
}
.btn-outline:hover { background: var(--moss); color: var(--cream); border-color: var(--moss); }

.btn-block { width: 100%; }

.link-arrow {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--clay);
}

/* ---------- Strona główna: otwarcie ---------- */

.opening {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 82vh;
  background: var(--cream);
  overflow: hidden;
}

.opening-text {
  flex: 1 1 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2.4rem 4rem 3.2rem;
  position: relative;
  z-index: 2;
}

.opening-text h1 { max-width: 13em; }

.opening-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.opening-media {
  flex: 1 1 48%;
  position: relative;
  background: var(--sage);
}

.opening-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.opening-tag {
  position: absolute;
  left: -3.2rem;
  bottom: 3rem;
  max-width: 250px;
  padding: 1.1rem 1.2rem;
  background: var(--paper);
  border-left: 4px solid var(--clay);
  font-size: .88rem;
  line-height: 1.45;
  box-shadow: 0 12px 30px rgba(31, 51, 40, .18);
}

.opening-tag b {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--moss);
  line-height: 1;
  margin-bottom: .3rem;
}

/* ---------- Pasek liczb (miarka) ---------- */

.ruler {
  display: flex;
  background: var(--moss);
  color: var(--cream);
}

.ruler-item {
  flex: 1 1 0;
  padding: 1.8rem 2rem;
  border-right: 1px solid rgba(255,255,255,.14);
  position: relative;
}
.ruler-item:last-child { border-right: 0; }

.ruler-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 12px);
}

.ruler-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
}

.ruler-item span { font-size: .9rem; color: var(--sage-light); }

/* ---------- Problemy: zdjęcie + lista ---------- */

.problems {
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
}

.problems-media {
  flex: 0 0 38%;
  position: relative;
  background: var(--sage-light);
  margin-top: 4rem;
}

.problems-media img { width: 100%; height: 520px; }

.problems-media figcaption {
  font-size: .82rem;
  color: var(--muted);
  padding: .6rem 0 0;
  background: var(--paper);
}

.problems-body { flex: 1 1 auto; }

.problem-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
}

.problem-list li {
  display: flex;
  gap: 1.2rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.problem-list li:last-child { border-bottom: 1px solid var(--line); }

.problem-list .num {
  flex: 0 0 2.4rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--clay);
  line-height: 1.2;
}

.problem-list h3 { margin-bottom: .3rem; font-size: 1.15rem; }
.problem-list p { margin: 0; color: var(--muted); }

/* ---------- Proces – oś czasu ---------- */

.process {
  background: var(--sage-light);
  position: relative;
}

.process-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.process-head p { max-width: 26em; margin: 0; color: var(--muted); }

.steps {
  display: flex;
  gap: 0;
  counter-reset: step;
}

.step {
  flex: 1 1 0;
  padding: 0 1.4rem 0 0;
  position: relative;
}

.step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 2px solid var(--moss);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.step::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 56px;
  right: 0;
  border-top: 2px dashed var(--sage);
}
.step:last-child::after { display: none; }

.step h3 { font-size: 1.1rem; }
.step p { font-size: .95rem; color: var(--muted); }
.step small { display: block; font-weight: 600; color: var(--moss); margin-bottom: .3rem; }

/* ---------- Model biznesowy ---------- */

.model {
  background: var(--moss-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.model h2, .model h3 { color: #fff; }

.model-inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.model-intro { flex: 0 0 34%; }
.model-intro p { color: var(--sage-light); }

.model-cols {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.4rem;
}

.model-col {
  flex: 1 1 220px;
  padding-top: 1rem;
  border-top: 2px solid var(--clay);
}

.model-col p { font-size: .95rem; color: var(--sage-light); margin: 0; }

.model-leaf {
  position: absolute;
  right: -60px;
  bottom: -70px;
  opacity: .08;
  pointer-events: none;
}

/* ---------- Wybór usługi + formularz ---------- */

.order {
  background: var(--paper);
}

.order-head { margin-bottom: 2.4rem; }

.stage-label {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 600;
  margin: 0 0 1.2rem;
  color: var(--moss);
}

.stage-label b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--cream);
  font-size: .85rem;
}

.picker {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pick {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: .3rem;
  padding: 1.2rem 1.3rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.pick:hover { border-color: var(--moss); box-shadow: 0 6px 18px rgba(31,51,40,.08); }

.pick.is-selected {
  border-color: var(--clay);
  background: #fff7f1;
  box-shadow: inset 4px 0 0 var(--clay);
}

.pick-name { font-weight: 600; font-size: 1rem; }
.pick-desc { font-size: .86rem; color: var(--muted); }
.pick-price {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--moss);
  margin-top: .3rem;
}
.pick-price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); }

.form-shell {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.form-aside {
  flex: 0 0 34%;
  padding: 2.2rem;
  background: var(--cream);
  border-right: 1px solid var(--line);
}

.form-aside h3 { font-size: 1.15rem; }
.form-aside p { font-size: .92rem; color: var(--muted); }

.chosen-box {
  margin-top: 1.2rem;
  padding: 1rem;
  background: #fff;
  border: 1px dashed var(--clay);
  font-size: .92rem;
}
.chosen-box strong { display: block; color: var(--moss); }

.lead-form {
  flex: 1 1 auto;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field-row {
  display: flex;
  gap: 1.1rem;
}
.field-row .field { flex: 1 1 0; }

.field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.field label {
  font-size: .88rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .85rem;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
}

.field textarea { min-height: 110px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss);
  background: #fff;
}

.field.has-error input,
.field.has-error select { border-color: #b3261e; }

.field-error {
  font-size: .8rem;
  color: #b3261e;
  min-height: 1em;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .86rem;
  color: var(--muted);
}
.check input { margin-top: .3rem; accent-color: var(--moss); }

.form-note { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- Opinie ---------- */

.voices {
  background: var(--cream);
  overflow: hidden;
}

.voice-row {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}

.voice {
  flex: 1 1 0;
  margin: 0;
  padding: 1.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}

.voice:nth-child(2) { margin-top: 3rem; background: var(--moss); color: var(--cream); border-color: var(--moss); }
.voice:nth-child(2) cite { color: var(--sage-light); }
.voice:nth-child(3) { margin-top: 1.2rem; }

.voice p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; }
.voice cite { font-style: normal; font-size: .85rem; color: var(--muted); }

.voice-mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: .6;
  color: var(--clay);
  display: block;
  margin-bottom: .6rem;
}

/* ---------- FAQ ---------- */

.faq {
  display: flex;
  gap: 3rem;
}

.faq-side { flex: 0 0 30%; }

.faq-list { flex: 1 1 auto; }

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--clay); font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary:hover { color: var(--clay-dark); }
.faq-list details p { margin: .8rem 0 0; color: var(--muted); }

/* ---------- Zastrzeżenie ---------- */

.disclaimer {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  font-size: .88rem;
  color: var(--muted);
}
.disclaimer svg { flex: 0 0 auto; margin-top: .2rem; }
.disclaimer p { margin: 0; }

/* ---------- Stopka ---------- */

.site-footer {
  background: var(--ink);
  color: #c9cfc6;
  padding: 3.5rem 0 2rem;
  font-size: .9rem;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
}

.footer-cols > div { flex: 1 1 200px; }

.site-footer h4 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: .9rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer a { color: #e7ece3; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8rem;
  color: #9aa397;
}

.email-text { font-weight: 600; user-select: all; }

/* ---------- Sticky CTA ---------- */

.sticky-cta {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.2rem;
  background: var(--moss);
  color: var(--cream);
  border: 0;
  border-radius: 40px;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31,51,40,.28);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}

.sticky-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta:hover { background: var(--clay); color: #fff; }

/* ---------- Cookie ---------- */

.cookie {
  position: fixed;
  left: calc(var(--sidebar-w) + 1.4rem);
  bottom: 1.4rem;
  z-index: 90;
  max-width: 440px;
  padding: 1.3rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--moss);
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
  font-size: .88rem;
  display: none;
}

.cookie.is-open { display: block; }

.cookie p { margin: 0 0 1rem; color: var(--muted); }
.cookie h2 { font-size: 1.1rem; margin-bottom: .4rem; }

.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .6rem 1rem; font-size: .85rem; }

/* ---------- Podstrony: nagłówek ---------- */

.page-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 46vh;
  background: var(--moss);
  color: var(--cream);
  overflow: hidden;
}

.page-head-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .42;
}

.page-head .wrap { position: relative; z-index: 1; padding-bottom: 3rem; padding-top: 5rem; }
.page-head h1 { color: #fff; max-width: 15em; }
.page-head .lead { color: var(--sage-light); }
.page-head .eyebrow { color: #f2c3a8; }

.page-head-plain {
  background: var(--cream);
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

/* ---------- Usługi (podstrona) ---------- */

.svc {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 2.4rem;
  background: #fff;
  border: 1px solid var(--line);
}

.svc:nth-child(even) { flex-direction: row-reverse; }

.svc-media {
  flex: 0 0 36%;
  background: var(--sage-light);
}

.svc-media img { width: 100%; height: 100%; min-height: 280px; }

.svc-body {
  flex: 1 1 auto;
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
}

.svc-body ul { padding-left: 1.1rem; margin: 0 0 1.2rem; color: var(--muted); font-size: .95rem; }

.svc-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.price {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--moss);
  line-height: 1;
}
.price small { font-family: var(--sans); font-size: .82rem; color: var(--muted); }

.svc-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.svc-mini-card {
  flex: 1 1 280px;
  padding: 1.6rem;
  background: var(--sage-light);
  display: flex;
  flex-direction: column;
}
.svc-mini-card .svc-foot { border-top-color: rgba(31,51,40,.15); }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  background: #fff;
}
.price-table th, .price-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--moss); color: var(--cream); font-weight: 600; }
.price-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--moss); }

.not-included {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--cream);
}
.not-included > div { flex: 1 1 0; }
.not-included ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }

/* ---------- O pracowni ---------- */

.story {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.story-text { flex: 1 1 56%; }
.story-text p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.6rem;
  line-height: .9;
  padding: .2rem .5rem 0 0;
  color: var(--clay);
}

.story-media {
  flex: 1 1 44%;
  position: relative;
  background: var(--sage-light);
  margin-top: -6rem;
  border: 8px solid var(--paper);
  box-shadow: 0 16px 34px rgba(31,51,40,.15);
}
.story-media img { width: 100%; height: 460px; }

.people {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.person {
  flex: 1 1 240px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
}

.monogram {
  flex: 0 0 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--moss);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.3rem;
}
.person:nth-child(2) .monogram { background: var(--clay); }
.person:nth-child(3) .monogram { background: var(--sage); color: var(--moss-deep); }

.person h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.person p { font-size: .9rem; color: var(--muted); margin: 0; }
.person small { display: block; color: var(--clay-dark); font-weight: 600; margin-bottom: .4rem; }

.principles {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.principle {
  display: flex;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.principle:first-child { border-top: 1px solid rgba(255,255,255,.15); }
.principle h3 { flex: 0 0 34%; color: #fff; margin: 0; }
.principle p { flex: 1 1 auto; margin: 0; color: var(--sage-light); }

.wide-photo {
  position: relative;
  background: var(--sage);
}
.wide-photo img { width: 100%; height: 420px; }
.wide-photo figcaption {
  position: absolute;
  right: 2.4rem;
  bottom: -1.6rem;
  max-width: 340px;
  padding: 1.2rem 1.4rem;
  background: var(--clay);
  color: #fff;
  font-size: .95rem;
}

/* ---------- Kontakt ---------- */

.contact-layout {
  display: flex;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-data {
  flex: 1 1 50%;
  padding: 2.6rem;
}

.contact-data dl { margin: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.contact-data dt {
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clay-dark);
  font-weight: 600;
  margin-bottom: .2rem;
}
.contact-data dd { margin: 0; font-size: 1.05rem; }

.hours { display: flex; flex-direction: column; gap: .2rem; }
.hours span { display: flex; justify-content: space-between; max-width: 300px; }

.contact-map {
  flex: 1 1 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
}

.contact-photo {
  background: var(--sage-light);
}
.contact-photo img { width: 100%; height: 300px; }

/* ---------- Dokumenty prawne ---------- */

.legal {
  padding: 3.5rem 0 5rem;
}
.legal h2 { font-size: 1.4rem; margin-top: 2.4rem; }
.legal p, .legal li { color: #333a34; }
.legal ul { padding-left: 1.2rem; }

.legal-toc {
  background: var(--cream);
  padding: 1.2rem 1.4rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--moss);
}
.legal-toc ol { margin: 0; padding-left: 1.2rem; }

/* ---------- Thanks ---------- */

.thanks {
  display: flex;
  align-items: stretch;
  min-height: 78vh;
}

.thanks-text {
  flex: 1 1 55%;
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thanks-media { flex: 1 1 45%; background: var(--sage); }
.thanks-media img { width: 100%; height: 100%; min-height: 360px; }

.thanks-summary {
  margin: 1.4rem 0 2rem;
  padding: 1.2rem 1.4rem;
  background: var(--cream);
  border-left: 4px solid var(--clay);
}

.next-steps { padding-left: 1.2rem; color: var(--muted); }

/* ---------- Responsywność ---------- */

@media (max-width: 1080px) {
  .steps { flex-wrap: wrap; gap: 2rem; }
  .step { flex: 1 1 40%; }
  .step::after { display: none; }
  .model-inner { flex-direction: column; }
  .model-intro { flex-basis: auto; }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }

  .sidebar {
    width: 290px;
    transform: translateX(-100%);
    transition: transform .3s ease;
  }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .backdrop { display: block; }
  .sidebar-close { display: inline-block; }

  .menu-toggle { display: inline-flex; }
  .topbar { padding: .55rem 1.2rem; }
  .topbar-links { display: none; }

  .wrap, .wrap-narrow { padding: 0 1.3rem; }
  .section { padding: 3.6rem 0; }

  .opening { flex-direction: column; min-height: 0; }
  .opening-text { padding: 3rem 1.3rem; }
  .opening-tag { left: 1rem; bottom: 1rem; }

  .ruler { flex-wrap: wrap; }
  .ruler-item { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.14); }

  .problems, .faq, .story, .not-included, .voice-row, .process-head { flex-direction: column; }
  .problems-media { flex-basis: auto; width: 100%; margin-top: 0; }
  .problems-media img { height: 320px; }
  .voice:nth-child(2), .voice:nth-child(3) { margin-top: 0; }
  .story-media { margin-top: 0; width: 100%; }
  .story-media img { height: 320px; }

  .form-shell, .contact-layout, .thanks { flex-direction: column; }
  .form-aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .field-row { flex-direction: column; }

  .svc, .svc:nth-child(even) { flex-direction: column; }
  .svc-media img { height: 220px; min-height: 0; }

  .principle { flex-direction: column; gap: .5rem; }

  .wide-photo figcaption { position: static; max-width: none; }

  .cookie { left: 1rem; right: 1rem; max-width: none; }
  .thanks-text { padding: 3rem 1.3rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .step { flex-basis: 100%; }
  .ruler-item { flex-basis: 100%; }
  .ad-label { font-size: .76rem; }
  .price-table th:nth-child(2), .price-table td:nth-child(2) { display: none; }
}
