/* Sęk. Pracownia mebli
   Paleta: jasny "warsztat" + jeden akcent (pomarańcz ołówka stolarskiego).
   Kształty: wszystko na ostro (radius 0), jak cięcie na formatyzerce. */

:root {
  --bg: #f3f3ef;
  --surface: #e8e8e2;
  --ink: #151613;
  --muted: #53554d;
  --line: #cfd0c7;
  --accent: #e8531e;
  --on-accent: #151613;
  --shadow: 0 18px 40px -24px rgb(60 52 30 / 0.35);

  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: only light;
}


*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; }
em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.7em 1.15em;
  font: 600 0.95rem/1 var(--font-body);
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--lg { padding: 1em 1.5em; font-size: 1rem; }
.btn .ph { font-size: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.brand__core { fill: var(--accent); stroke: none; }
.brand__name { font: 800 1.5rem/1 var(--font-display); letter-spacing: -0.04em; }
.brand__dot { color: var(--accent); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; margin-left: auto; background: none; border: 1.5px solid var(--ink); color: var(--ink); width: 44px; height: 44px; font-size: 1.26rem; cursor: pointer; align-items: center; justify-content: center; }
.language-switcher { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: calc((var(--nav-h) - 30px) / 2); display: flex; border: 1px solid var(--line); background: var(--bg); }
.language-switcher a { min-width: 34px; height: 30px; display: grid; place-items: center; color: var(--muted); text-decoration: none; font: 600 .72rem/1 var(--font-mono); }
.language-switcher > * + * { border-left: 1px solid var(--line); }
.language-switcher a:hover, .language-switcher a[aria-current="true"] { background: var(--ink); color: var(--bg); }
@media (min-width: 901px) { .language-switcher { right: 12px; } .nav__inner { padding-right: 140px; } }
@media (max-width: 900px) { .language-switcher { right: calc(var(--gutter) + 58px); } }
.mobile-menu { border-top: 1px solid var(--line); padding: 12px var(--gutter) 20px; display: grid; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { text-decoration: none; font: 600 1.35rem/1 var(--font-display); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; justify-content: center; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(22.4px, 3.4vw, 43.52px) 0 clamp(44.8px, 5.44vw, 70.72px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(25.6px, 3.4vw, 54.4px); align-items: center; }
.hero__title { font-size: clamp(2.18rem, 4.03vw, 3.6rem); line-height: 1.04; padding-bottom: 0.06em; max-width: 12ch; }
.hero__copy .eyebrow { margin-bottom: 22px; }
.hero__lead { margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 40ch; }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { position: relative; margin: 0; padding: 34px 0 0 34px; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; max-height: calc(100dvh - var(--nav-h) - 120px); object-fit: cover; box-shadow: var(--shadow); }

/* Linie wymiarowe jak na rysunku technicznym: znak "na wymiar" */
.dim { position: absolute; color: var(--accent); font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.04em; }
.dim span { background: var(--bg); padding: 0 8px; position: relative; }
.dim--h { top: 8px; left: 34px; right: 0; height: 12px; display: flex; align-items: center; justify-content: center; }
.dim--h::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform-origin: left; animation: draw-x 1.2s 0.4s var(--ease) both; }
.dim--h::after { content: ""; position: absolute; inset: 0; border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.dim--v { top: 34px; bottom: 0; left: 8px; width: 12px; display: flex; align-items: center; justify-content: center; }
.dim--v::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1.5px solid currentColor; transform-origin: top; animation: draw-y 1.2s 0.6s var(--ease) both; }
.dim--v::after { content: ""; position: absolute; inset: 0; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.dim--v span { writing-mode: vertical-rl; transform: rotate(180deg); padding: 8px 0; }

@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes draw-y { from { transform: scaleY(0); } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 14ch; }
  .hero__media img { max-height: 70vh; aspect-ratio: 4 / 4.4; }
}

/* ---------- Manifest ---------- */
.manifest { padding: clamp(51.2px, 6.12vw, 87.04px) 0; border-top: 1px solid var(--line); }
.manifest__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(25.6px, 4.08vw, 65.28px); align-items: start; }
.manifest__title { font-size: clamp(1.85rem, 3.31vw, 2.88rem); line-height: 1.04; max-width: 14ch; }
.manifest__body > p { font-size: 1.05rem; color: var(--muted); max-width: 52ch; }
.principles { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.principles li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.principles .ph { font-size: 1.53rem; color: var(--accent); }
.principles strong { color: var(--ink); }
.principles span { color: var(--muted); }

@media (max-width: 860px) { .manifest__grid { grid-template-columns: 1fr; } }

/* ---------- Section headings ---------- */
.eyebrow { font: 500 0.78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 18px; }
.section-title { font-size: clamp(1.68rem, 2.74vw, 2.34rem); line-height: 1.06; max-width: 18ch; }

/* ---------- Oferta: bento ---------- */
.offer { padding: clamp(51.2px, 6.12vw, 81.6px) 0; background: var(--surface); }
.bento {
  margin-top: clamp(28.8px, 3.4vw, 43.52px);
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 480px 400px 440px;
  grid-template-areas:
    "kitchen kitchen wardrobe"
    "bath    refresh wardrobe"
    "wall    wall    odd";
  gap: 20px;
}
.tile { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; min-height: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.tile:has(img) { overflow: hidden; }
.tile:hover img { transform: scale(1.03); }
.tile__body h3, .tile--refresh h3 { font-size: 1.3rem; line-height: 1.15; }
.tile__body p, .tile--refresh p { margin-top: 6px; color: var(--muted); font-size: 0.98rem; max-width: 48ch; }
.tile--kitchen { grid-area: kitchen; }
.tile--wardrobe { grid-area: wardrobe; }
.tile--bath { grid-area: bath; }
.tile--wall { grid-area: wall; }
.tile--odd { grid-area: odd; }
.tile--refresh {
  grid-area: refresh;
  background: var(--accent); color: var(--on-accent);
  padding: 28px; display: flex; flex-direction: column; gap: 0;
}
.tile--refresh p { color: var(--on-accent); opacity: 0.85; }
.tile__icon { font-size: 2.16rem; margin-bottom: auto; transition: transform 0.6s var(--ease); }
.tile--refresh:hover .tile__icon { transform: rotate(180deg); }
.tile--refresh h3 { margin-top: 24px; }
.tile__link { margin-top: 18px; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; border-bottom: 1.5px solid currentColor; align-self: flex-start; padding-bottom: 2px; }

@media (max-width: 1000px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px 460px 380px 380px;
    grid-template-areas:
      "kitchen kitchen"
      "wardrobe odd"
      "bath    refresh"
      "wall    wall";
  }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: none; gap: 36px; }
  .bento .tile { grid-area: auto; }
  .tile img { height: 280px; }
  .tile--refresh { min-height: 218px; }
}

/* ---------- Budżet ---------- */
.budget { padding: clamp(57.6px, 6.8vw, 92.48px) 0; }
.budget__title { font-size: clamp(1.85rem, 3.6vw, 3.17rem); line-height: 1.04; max-width: 16ch; }
.scale { margin-top: clamp(32px, 4.08vw, 48.96px); display: flex; align-items: center; gap: 16px; font: 500 0.82rem/1.3 var(--font-mono); color: var(--muted); }
.scale__end { flex: none; max-width: 22ch; }
.scale__end:last-child { text-align: right; }
.scale__line { flex: 1; height: 14px; position: relative; color: var(--accent); }
.scale__line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid currentColor; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.2s; }
.scale__line::after { content: ""; position: absolute; inset: 0; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.scale.is-in .scale__line::before { transform: scaleX(1); }
.budget__note { margin-top: 28px; font-size: 1.05rem; max-width: 56ch; color: var(--muted); }
.moves { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.move { border-top: 2px solid var(--ink); padding-top: 22px; }
.move .ph { font-size: 1.62rem; color: var(--accent); }
.move h3 { margin-top: 14px; font-size: 1.17rem; line-height: 1.2; }
.move p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }

@media (max-width: 1000px) { .moves { grid-template-columns: 1fr 1fr; gap: 40px 28px; } }
@media (max-width: 560px) {
  .moves { grid-template-columns: 1fr; }
  .scale { font-size: 0.72rem; gap: 10px; }
  .scale__end { max-width: 10ch; }
}

/* ---------- Proces ---------- */
.process { padding-bottom: clamp(57.6px, 6.8vw, 87.04px); }
.process__media { margin: 0 0 clamp(38.4px, 4.76vw, 59.84px); }
.process__media img { width: 100%; height: clamp(280px, 52vh, 560px); object-fit: cover; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps li { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--accent); }
.steps h3 { font-size: 1.17rem; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Materiały: marquee ---------- */
.materials { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee { display: flex; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; animation: marquee 48s linear infinite; }
.marquee__track span { font: 600 clamp(1.18rem, 1.87vw, 1.58rem)/1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: ""; width: 10px; height: 10px; background: var(--accent); flex: none; margin-right: -28px; }
.materials:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(57.6px, 6.8vw, 87.04px) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(25.6px, 4.08vw, 65.28px); align-items: start; }
.faq__grid .section-title { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 600 1.2rem/1.3 var(--font-display); letter-spacing: -0.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .ph { flex: none; font-size: 1.17rem; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq__list details[open] summary .ph { transform: rotate(45deg); }
.faq__list details p { padding: 0 48px 26px 0; color: var(--muted); max-width: 62ch; }

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .section-title { position: static; }
}

/* ---------- Kontakt ---------- */
.contact { padding: clamp(57.6px, 6.8vw, 87.04px) 0; background: var(--surface); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28.8px, 4.08vw, 65.28px); align-items: start; }
.contact__title { font-size: clamp(1.85rem, 3.31vw, 2.88rem); line-height: 1.04; max-width: 12ch; }
.contact__intro > p { margin-top: 22px; color: var(--muted); font-size: 1.02rem; max-width: 44ch; }
.contact__details { margin: 40px 0 0; display: grid; gap: 18px; }
.contact__details div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: baseline; }
.contact__details dt { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.contact__details dt .ph { color: var(--accent); font-size: 1.05rem; }
.contact__details dd { margin: 0; font-weight: 600; }
.contact__details a { text-decoration: none; border-bottom: 1.5px solid var(--line); transition: border-color 0.2s; }
.contact__details a:hover { border-color: var(--accent); }
.contact--page .contact__grid { grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); }
.contact--page .form { order: -1; }
.phone-reveal { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; justify-items: start; gap: 12px; }
.phone-reveal__label { color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.phone-reveal__button .ph { font-size: 1.02rem; }
.phone-reveal__number[hidden] { display: none; }
.phone-reveal__number { display: grid; gap: 4px; }
.phone-reveal__number a { color: var(--ink); font: 700 clamp(1.39rem, 2.88vw, 1.73rem)/1 var(--font-display); text-decoration: none; letter-spacing: -0.025em; }
.phone-reveal__number a:hover { color: var(--accent); }
.phone-reveal__number p { color: var(--muted); font-size: 0.88rem; }

.form { background: var(--bg); padding: clamp(19.2px, 2.72vw, 29.92px); display: grid; gap: 22px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field legend { margin-bottom: 10px; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 0;
  padding: 0.8em 0.9em; width: 100%;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.field input[aria-invalid="true"] { border-color: #c2341b; }
.field__error { color: #b42f17; font-size: 0.88rem; font-weight: 500; }
.field__help { color: var(--muted); font-size: 0.88rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 0.55em 0.9em; border: 1.5px solid var(--line); font-size: 0.92rem; font-weight: 500; transition: all 0.2s var(--ease); user-select: none; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__submit { justify-self: start; }
.form__submit[disabled] { opacity: 0.6; cursor: progress; }
.form__success { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1.5px solid var(--accent); }
.form__success[hidden] { display: none; }
.form__success .ph { font-size: 1.44rem; color: var(--accent); flex: none; }

@media (max-width: 860px) { .contact__grid, .contact--page .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .contact__details div { grid-template-columns: 1fr; gap: 2px; }
  .form__submit { justify-self: stretch; justify-content: center; }
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field__opt { font-weight: 400; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__error { color: #b42f17; font-weight: 500; }
.form__error a { font-weight: 700; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Obszar działania ---------- */
.area { padding: clamp(57.6px, 6.8vw, 87.04px) 0 0; }
.area__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(25.6px, 4.08vw, 65.28px); align-items: start; }
.area__text { margin-top: 22px; color: var(--muted); font-size: 1.02rem; max-width: 46ch; }
.cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cities a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border: 1.5px solid var(--line); text-decoration: none;
  font: 600 1.08rem/1.2 var(--font-display); letter-spacing: -0.01em;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cities a .ph { color: var(--accent); transition: transform 0.25s var(--ease), color 0.25s; }
.cities a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cities a:hover .ph { transform: translate(2px, -2px); }
.cities a[aria-current="page"] { border-color: var(--accent); }
@media (max-width: 860px) { .area__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cities { grid-template-columns: 1fr 1fr; } .cities a { padding: 14px; font-size: 0.98rem; } }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr 1.6fr; gap: 32px 48px; align-items: start; }
.footer .brand { color: var(--ink); }
.footer__brand p { margin-top: 14px; max-width: 30ch; }
.footer__contact { font-style: normal; display: grid; gap: 6px; }
.footer__contact a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer__contact a:hover { color: var(--accent); }
.footer__label { color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.footer__services ul { list-style: none; margin: 0; padding: 0; }
.footer__services li { padding: 3px 0; }
.footer__services a { text-decoration: none; }
.footer__services a:hover { color: var(--accent); }
.footer__cities ul { list-style: none; margin: 0; padding: 0; columns: 3 140px; column-gap: 24px; }
.footer__cities li { padding: 3px 0; break-inside: avoid; }
.footer__cities a { text-decoration: none; }
.footer__cities a:hover { color: var(--accent); }
.footer__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__cities { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Podstrony miast ---------- */
.crumbs { padding-top: 22px; font-size: 0.88rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.city-hero { padding: clamp(22.4px, 2.72vw, 32.64px) 0 clamp(44.8px, 5.44vw, 65.28px); }
.city-hero .hero__title { max-width: 15ch; font-size: clamp(2.02rem, 3.6vw, 3.17rem); }
.city-local { padding: clamp(51.2px, 6.12vw, 76.16px) 0; border-top: 1px solid var(--line); }
.city-local__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(25.6px, 4.08vw, 65.28px); align-items: start; }
.city-local__body { display: grid; gap: 18px; color: var(--muted); font-size: 1.02rem; max-width: 60ch; }
.city-local__body strong { color: var(--ink); }
.city-services { padding: clamp(51.2px, 6.12vw, 76.16px) 0; background: var(--surface); }
.svc { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.svc li { list-style: none; padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); }
.svc li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.svc li:not(:nth-child(3n + 1)) { padding-left: 26px; }
.svc { padding: 0; }
.svc .ph { font-size: 1.44rem; color: var(--accent); }
.svc h3 { margin-top: 12px; font-size: 1.12rem; }
.svc p { margin-top: 6px; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) {
  .city-local__grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc li, .svc li:not(:nth-child(3n + 1)) { padding: 22px 18px 22px 0; border-right: 0; }
  .svc li:nth-child(odd) { border-right: 1px solid var(--line); }
  .svc li:nth-child(even) { padding-left: 18px; }
}
@media (max-width: 520px) {
  .svc { grid-template-columns: 1fr; }
  .svc li, .svc li:nth-child(even) { padding: 22px 0; border-right: 0 !important; }
}

/* ---------- Reveal on scroll ---------- */
/* ---------- Blog i poradniki ---------- */
/* ---------- Galeria realizacji ---------- */
.portfolio { padding: clamp(57.6px, 6.8vw, 89.76px) 0; background: var(--surface); }
.portfolio__head { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(25.6px, 4.76vw, 74.8px); align-items: end; margin-bottom: clamp(30.4px, 4.08vw, 48.96px); }
.portfolio__head .section-title { margin-top: 10px; }
.portfolio__intro { max-width: 48ch; color: var(--muted); font-size: 1.02rem; }
.portfolio__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(184px, 17vw, 265.2px); gap: 12px; }
.portfolio__item { position: relative; margin: 0; overflow: hidden; background: var(--bg); }
.portfolio__item--wide { grid-column: span 2; }
.portfolio__item--tall { grid-row: span 2; }
.portfolio__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.portfolio__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.portfolio__item:hover img { transform: scale(1.025); }
.portfolio__open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.portfolio__item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 10px; background: var(--ink); color: var(--bg); font: 500 .76rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: clamp(16px, 2.72vw, 38.08px); border: 0; background: rgba(18,19,17,.97); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; max-width: min(92vw, 1500px); max-height: 88dvh; }
.lightbox img { display: block; max-width: 100%; max-height: 82dvh; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font: 500 .82rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.lightbox__close { position: fixed; top: 18px; right: 18px; z-index: 2; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); background: #121311; color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__close:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 860px) { .portfolio__head { grid-template-columns: 1fr; } .portfolio__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 48vw; } }
@media (max-width: 520px) { .portfolio__grid { display: block; } .portfolio__item { aspect-ratio: 4/3; } .portfolio__item + .portfolio__item { margin-top: 10px; } }

/* ---------- Blog i poradniki ---------- */
.blog-hero { padding: clamp(51.2px, 6.8vw, 87.04px) 0 clamp(38.4px, 5.44vw, 65.28px); border-bottom: 1px solid var(--line); }
.blog-hero h1 { margin-top: 12px; max-width: 12ch; font: 700 clamp(2.69rem, 5.76vw, 5.33rem)/0.88 var(--font-display); letter-spacing: -0.065em; }
.blog-hero h1 em { color: var(--accent); font-style: normal; }
.blog-hero > .wrap > p:last-child { margin-top: 28px; max-width: 56ch; color: var(--muted); font-size: clamp(0.99rem, 1.38vw, 1.2rem); }
.blog-list, .blog-related { padding: clamp(51.2px, 6.12vw, 76.16px) 0; }
.blog-related { background: var(--surface); }
.blog-related .section-title { margin-top: 8px; }
.blog-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(19.2px, 2.04vw, 28.56px) 24px; }
.blog-card { grid-column: span 4; min-width: 0; border-top: 2px solid var(--ink); padding-top: 14px; }
.blog-card:nth-child(1), .blog-card:nth-child(7) { grid-column: span 8; }
.blog-card__image { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card__image img { transform: scale(1.025); }
.blog-card__body { padding: 18px 0 0; }
.blog-card__meta { font: 500 .76rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.blog-card h2 { margin-top: 10px; font-size: clamp(1.13rem, 1.58vw, 1.51rem); line-height: 1.02; letter-spacing: -.04em; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--accent); }
.blog-card__body > p:not(.blog-card__meta) { margin-top: 12px; color: var(--muted); max-width: 55ch; }
.text-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--accent); }
.blog-grid--related { margin-top: 38px; }
.blog-grid--related .blog-card { grid-column: span 4; }

.article { padding-bottom: clamp(57.6px, 6.8vw, 87.04px); }
.article__head { padding-top: clamp(35.2px, 4.76vw, 59.84px); }
.article__head h1 { margin-top: 12px; max-width: 18ch; font: 700 clamp(2.27rem, 4.68vw, 4.46rem)/.93 var(--font-display); letter-spacing: -.06em; }
.article__lead { margin-top: 26px; max-width: 68ch; color: var(--muted); font-size: clamp(1.03rem, 1.47vw, 1.24rem); line-height: 1.55; }
.article__head > img { display: block; width: 100%; height: min(62vw, 650px); object-fit: cover; margin-top: clamp(28.8px, 4.08vw, 48.96px); }
.article__layout { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(0, 1.7fr); gap: clamp(38.4px, 5.44vw, 88.4px); padding-top: clamp(44.8px, 5.44vw, 65.28px); align-items: start; }
.article__aside { position: sticky; top: 96px; border-top: 2px solid var(--ink); padding-top: 16px; }
.article__aside > p { font: 500 .76rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.article__aside ol { margin: 16px 0 24px; padding-left: 20px; color: var(--muted); }
.article__aside li { margin: 9px 0; padding-left: 4px; }
.article__aside a:not(.btn) { text-decoration: none; }
.article__aside a:not(.btn):hover { color: var(--accent); }
.article__body { max-width: 760px; }
.article__body > section { scroll-margin-top: 100px; padding: 0 0 clamp(36.8px, 4.08vw, 48.96px); }
.article__body h2 { margin-bottom: 20px; font: 650 clamp(1.51rem, 2.52vw, 2.16rem)/1 var(--font-display); letter-spacing: -.045em; }
.article__body section > p { margin-top: 16px; color: var(--muted); font-size: clamp(1.02rem, 1.2vw, 1.12rem); line-height: 1.72; }
.article__body a { color: inherit; }
.article__note { border: 2px solid var(--ink); padding: clamp(19.2px, 2.72vw, 28.56px); background: var(--accent); color: #151613; }
.article__note strong { display: block; font: 700 clamp(1.26rem, 1.8vw, 1.58rem)/1 var(--font-display); letter-spacing: -.035em; }
.article__note p { margin-top: 12px; max-width: 54ch; }
.article__note a { font-weight: 700; }
@media (max-width: 860px) {
  .blog-card, .blog-card:nth-child(1), .blog-card:nth-child(7) { grid-column: span 6; }
  .article__layout { grid-template-columns: 1fr; }
  .article__aside { position: static; }
  .article__aside .btn { display: none; }
}
@media (max-width: 580px) {
  .blog-grid { display: block; }
  .blog-card + .blog-card { margin-top: 48px; }
  .article__head h1 { font-size: clamp(2.1rem, 9.36vw, 2.88rem); }
  .article__head > img { height: 68vw; }
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; }
  .marquee__track span[aria-hidden="true"] { display: none; }
  .dim--h::before, .dim--v::before { animation: none; }
  .scale__line::before { transform: none; transition: none; }
  .tile img, .tile__icon { transition: none; }
}

/* ---------- Serwis wielostronicowy ---------- */
.page-hero { padding: clamp(33.6px, 4.76vw, 65.28px) 0 clamp(51.2px, 6.12vw, 81.6px); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(420px,1.12fr); gap: clamp(30.4px,4.76vw,74.8px); align-items: center; }
.page-hero h1, .gallery-head h1, .contact-head h1 { margin-top: 12px; max-width: 13ch; font-size: clamp(2.52rem,5.04vw,4.9rem); line-height: .9; letter-spacing: -.06em; }
.page-hero__lead { margin-top: 26px; max-width: 59ch; color: var(--muted); font-size: clamp(1.02rem,1.38vw,1.2rem); }
.page-hero .hero__ctas { margin-top: 32px; }
.page-hero figure { margin: 0; height: min(66vw,690px); overflow: hidden; background: var(--surface); }
.page-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.route-section { padding: clamp(57.6px,6.8vw,89.76px) 0; }
.route-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.route-grid a { min-height: 203px; padding: clamp(20.8px,2.72vw,34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease); }
.route-grid a:hover { background: var(--ink); color: var(--bg); }
.route-grid span, .service-row span { font: 500 .75rem/1 var(--font-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.route-grid h3 { margin-top: 36px; font-size: clamp(1.43rem,2.16vw,2.02rem); line-height: 1; }
.route-grid p { margin-top: 14px; max-width: 48ch; color: var(--muted); }
.route-grid a:hover p { color: color-mix(in srgb,var(--bg) 70%,transparent); }
.home-showcase { padding: 0 0 clamp(57.6px,6.8vw,89.76px); }
.home-showcase__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; grid-auto-rows: 280px; gap: 12px; }
.home-showcase figure { margin: 0; position: relative; overflow: hidden; }
.home-showcase figure:first-child { grid-row: span 2; }
.home-showcase figure:last-child { grid-column: span 2; }
.home-showcase img { width: 100%; height: 100%; object-fit: cover; }
.home-showcase figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 10px; background: var(--ink); color: var(--bg); font: 500 .72rem/1 var(--font-mono); text-transform: uppercase; }
.home-showcase__link { margin-top: 22px; }
.page-cta { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(51.2px,6.12vw,76.16px) 0; background: var(--surface); color: var(--ink); }
.page-cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: end; }
.page-cta h2 { max-width: 18ch; font-size: clamp(1.93rem,3.6vw,3.46rem); line-height: .95; }
.page-cta p { margin-top: 14px; max-width: 60ch; color: var(--muted); }
.service-list { padding: clamp(48px,6.12vw,76.16px) 0; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22.4px,4.08vw,61.2px); align-items: center; padding: clamp(28.8px,4.08vw,54.4px) 0; border-bottom: 1px solid var(--line); }
.service-row:nth-child(even) > div { order: 2; }
.service-row h2 { margin-top: 18px; font-size: clamp(1.68rem,2.88vw,2.88rem); line-height: .95; }
.service-row p { margin-top: 18px; max-width: 58ch; color: var(--muted); }
.service-row img { width: 100%; height: min(42vw,480px); object-fit: cover; }
.scope, .measurement-ready { padding: clamp(51.2px,6.12vw,76.16px) 0; background: var(--surface); }
.split-copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28.8px,5.44vw,88.4px); }
.split-copy h2 { font-size: clamp(1.85rem,3.6vw,3.31rem); line-height: .96; }
.split-copy > div { max-width: 66ch; }
.split-copy p + p { margin-top: 20px; }
.split-copy p { color: var(--muted); font-size: 1.02rem; }
.gallery-head, .contact-head { padding: clamp(48px,6.12vw,80.24px) 0; border-bottom: 1px solid var(--line); }
.gallery-head p:last-child, .contact-head p:last-child { margin-top: 24px; max-width: 66ch; color: var(--muted); font-size: 1.05rem; }
.portfolio--page { padding-top: 38px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gallery-filters button { border: 1px solid var(--line); padding: 10px 15px; background: transparent; color: var(--ink); font: 600 .9rem var(--font-body); cursor: pointer; }
.gallery-filters button:hover, .gallery-filters button.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.process-page, .check-section, .timeline { padding: clamp(51.2px,6.12vw,76.16px) 0; }
.process-list article { display: grid; grid-template-columns: 100px 1fr; gap: 26px; padding: 34px 0; border-top: 1px solid var(--line); }
.process-list article > span { font: 500 1rem var(--font-mono); color: var(--accent); }
.process-list h2 { font-size: clamp(1.51rem,2.88vw,2.52rem); line-height: 1; }
.process-list p { margin-top: 10px; max-width: 65ch; color: var(--muted); }
.prep-detail { padding: clamp(60.8px,7.48vw,100.64px) 0; background: var(--surface); }
.prep-detail__head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 20px clamp(28.8px,5.44vw,88.4px); align-items: end; }
.prep-detail__head .eyebrow { grid-column: 1 / -1; }
.prep-detail__head h2 { max-width: 13ch; font-size: clamp(2.18rem,4.32vw,4.18rem); line-height: .92; }
.prep-detail__head > p:last-child { max-width: 60ch; color: var(--muted); font-size: 1.05rem; }
.prep-detail__grid { margin: clamp(35.2px,4.76vw,55.76px) 0 28px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.prep-detail__grid article { min-height: 211px; padding: clamp(19.2px,2.04vw,27.2px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prep-detail__grid span { font: 500 .78rem var(--font-mono); color: var(--accent); }
.prep-detail__grid h3 { margin-top: 34px; font-size: clamp(1.13rem,1.73vw,1.44rem); line-height: 1.05; }
.prep-detail__grid p { margin-top: 14px; color: var(--muted); }
.check-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.check-grid article { min-height: 195px; padding: clamp(19.2px,2.72vw,28.56px); background: var(--bg); }
.check-grid span { display: grid; place-items: center; width: 34px; height: 34px; background: var(--accent); color: #151613; font: 600 .85rem var(--font-mono); }
.check-grid h3 { margin-top: 40px; font-size: 1.35rem; }
.check-grid p { margin-top: 12px; color: var(--muted); }
.timeline ol { margin: 48px 0 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: .55fr 1.45fr; gap: 34px; padding: 30px 0; border-top: 1px solid var(--line); }
.timeline li > span { font: 500 .86rem var(--font-mono); color: var(--accent); text-transform: uppercase; }
.timeline h3 { font-size: clamp(1.34rem,2.16vw,2.02rem); }
.timeline p { margin-top: 8px; max-width: 62ch; color: var(--muted); }
.contact-head + .contact { padding-top: 0; }

@media (max-width: 1120px) { .nav__links { gap: 16px; } .nav__links a { font-size: .86rem; } }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero figure { height: 68vw; min-height: 360px; }
  .route-grid, .service-row, .split-copy { grid-template-columns: 1fr; }
  .service-row:nth-child(even) > div { order: 0; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .prep-detail__head { grid-template-columns: 1fr; }
  .prep-detail__grid { grid-template-columns: 1fr 1fr; }
  .home-showcase__grid { grid-template-columns: 1fr 1fr; }
  .home-showcase figure:first-child { grid-row: span 1; }
  .home-showcase figure:last-child { grid-column: span 1; }
}
@media (max-width: 620px) {
  .page-hero h1, .gallery-head h1, .contact-head h1 { font-size: clamp(2.23rem,10.08vw,3.24rem); }
  .route-grid, .check-grid { grid-template-columns: 1fr; }
  .prep-detail__grid { grid-template-columns: 1fr; }
  .route-grid a { min-height: 220px; }
  .home-showcase__grid { display: block; }
  .home-showcase figure { aspect-ratio: 4/3; margin-bottom: 10px; }
  .page-cta__inner, .timeline li { grid-template-columns: 1fr; align-items: start; }
  .process-list article { grid-template-columns: 48px 1fr; }
  .service-row img { height: 74vw; }
}

/* ---------- Mapa strony (HTML) ---------- */
.site-map { padding: clamp(40px, 6vw, 80px) 0; }
.site-map__grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.site-map h2 { font-size: 1.15rem; margin-bottom: 14px; }
.site-map ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-map a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.site-map a:hover { color: var(--accent); }
.site-map__guides ul { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 900px) { .site-map__grid { grid-template-columns: 1fr 1fr; } .site-map__guides { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-map__grid, .site-map__guides ul { grid-template-columns: 1fr; } }

/* ---------- Podstrony usług ---------- */
.service-copy { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.service-copy--alt { background: var(--surface); }
.service-gallery .section-title { margin-bottom: clamp(24px, 4vw, 44px); }
.home-services { padding: 0 0 clamp(48px, 7vw, 90px); }
.home-services .cities { margin-top: clamp(20px, 3vw, 36px); }
.service-row h2 a, .svc h3 a { text-decoration: none; }
.service-row h2 a:hover, .svc h3 a:hover { color: var(--accent); }
