/* =========================================================
   AR-TEAM — atelier mebli na wymiar
   Styl wizytówki: czarny marmur, biały szeryf, ciepły mosiądz.
   Czcionki: css/fonts.css (pliki w /fonts, bez Google Fonts).
   ========================================================= */
:root {
  --ink: #0c0c0c;
  --ink-2: #161514;
  --bone: #f3efe8;
  --paper: #faf8f4;
  --stone: #e6dfd3;
  --text: #1a1816;
  --muted: #554f48;           /* tekst drugorzędny na jasnym (kontrast > 7:1) */
  --line: #d9d1c4;
  --brass: #d2b98c;           /* akcent na ciemnym */
  --brass-ink: #765a2a;       /* akcent na jasnym */
  --on-dark: #f1ece4;
  --on-dark-2: #cbc3b8;
  --line-dark: rgba(255,255,255,.16);
  --glass: rgba(12,12,12,.5);
  --glass-line: rgba(255,255,255,.35);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: .005em; }
em { font-style: italic; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(80px, 11vw, 160px) 0; scroll-margin-top: 60px; }
.section--bone { background: var(--bone); }
.section--dark { background: var(--ink); color: var(--on-dark); }

/* Typografia pomocnicza */
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); }
.hero .kicker, .section--dark .kicker, .biz .kicker, .feature .kicker { color: var(--brass); }
.label { display: flex; align-items: center; gap: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.label span:first-child { font-family: var(--serif); font-size: 1rem; letter-spacing: 0; color: var(--brass-ink); }
.label::after { content: ''; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; order: 3; }
.section--dark .label, .label--light { color: var(--on-dark-2); }
.section--dark .label span:first-child, .label--light span:first-child { color: var(--brass); }
.h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); margin-top: 22px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 640px; margin-top: 22px; }
.section--dark .lead, .biz .lead, .contact .lead { color: var(--on-dark-2); }
.head { margin-bottom: clamp(48px, 6vw, 88px); }
.head--wide { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.head--wide .h2 { margin-top: 0; }
.note { font-size: .92rem; color: var(--muted); margin-top: 28px; }

/* Cyfry tej samej wysokości (Playfair domyślnie rysuje „01” jak „o1”): numery sekcji, kroków, telefony */
.stats b, .hero__bar b, .footer a, .contact__phone, .label span:first-child, .services__list .n,
.steps__n, .bcard__bottom, .mnav__n { font-variant-numeric: lining-nums; }

/* Nagłówki bez „sierot” — ostatnie słowo nie zostaje samo w linii („…6–8 / tygodni”, „…pod / klucz”) */
h1, h2, h3, .quote { text-wrap: balance; }
.statement, .lead, p { text-wrap: pretty; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 56px; padding: 0 30px; font-size: .95rem; font-weight: 500; letter-spacing: .02em; border: 1px solid transparent; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); white-space: nowrap; }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: var(--brass); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #2a2826; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.arrow { position: relative; width: 22px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.arrow::after { content: ''; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { transform: translateX(5px); }
/* Linki tekstowe: niewidoczne powiększenie pola kliknięcia do ~44 px (palec na telefonie) */
.textlink { position: relative; }
.textlink::before { content: ''; position: absolute; inset: -8px -6px; }
.textlink { font-weight: 600; font-size: .95rem; border-bottom: 1px solid currentColor; padding-bottom: 3px; align-self: flex-start; transition: opacity .2s; }
.textlink:hover { opacity: .7; }

/* Pasek prototypu */

/* ================= NAGŁÓWEK ================= */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: #fff; transition: background .4s var(--ease), top .3s, border-color .4s; border-bottom: 1px solid transparent; }
/* Ciemny gradient pod nagłówkiem — czytelność na jasnych fragmentach zdjęcia */
.header::before { content: ''; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,8,.7) 0%, rgba(8,8,8,.35) 60%, rgba(8,8,8,0) 100%); transition: opacity .4s var(--ease); }
.header.is-solid { top: 0; background: #0c0c0c; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255,255,255,.08); }
.header.is-solid::before { opacity: 0; }
/* iOS Safari (zwinięty pasek adresu): strona rysuje się nad nagłówkiem — ciemne przedłużenie w górę zasłania ten pas */
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; background: #0c0c0c; pointer-events: none; }
.header__inner { display: flex; align-items: center; height: 84px; gap: 40px; transition: height .3s; }
.header.is-solid .header__inner { height: 70px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__mark { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .14em; }
.logo__sub { font-family: var(--serif); font-style: italic; font-size: .86rem; margin-top: 6px; color: var(--on-dark-2); letter-spacing: .02em; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 34px); margin-inline: auto; }
.nav a { position: relative; font-size: .92rem; color: var(--on-dark); padding: 6px 0; white-space: nowrap; }
/* Узкий десктоп 1181–1360 px: длинные языки (UA/DE) не должны выталкивать кнопку за поля */
@media (max-width: 1360px) {
  .header__inner { gap: 24px; }
  .nav a { font-size: .88rem; }
  .header__cta { padding: 0 18px; }
  .header__cta .arrow { display: none; }
}
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }

/* Przyciski nagłówka — szklane „pigułki” */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; min-width: 44px; padding: 0 14px 0 12px;
  border-radius: 999px; border: 1px solid var(--glass-line);
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff; font-size: .86rem; font-weight: 600; letter-spacing: .08em;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.lang__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.lang__btn .lang__chev { width: 14px; height: 14px; opacity: .8; transition: transform .3s var(--ease); }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__btn:hover { border-color: rgba(255,255,255,.75); background: rgba(30,29,27,.65); }

/* Menu języków — ciemne matowe szkło */
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 210px; padding: 6px; overflow: hidden;
  background: rgba(18,17,16,.82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px; color: var(--on-dark);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease);
}
.lang__menu.open { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 14px; border-radius: 10px;
  font-size: .95rem; color: var(--on-dark); text-align: left; transition: background .2s, color .2s;
}
.lang__menu button:hover, .lang__menu button:focus-visible { background: rgba(255,255,255,.08); outline-offset: -2px; }
.lang__menu button.active { background: rgba(210,185,140,.14); color: var(--brass); }
.lang__menu button.active::after {
  content: ''; margin-left: auto; width: 14px; height: 14px; flex: none; background: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat;
}
.lang__code { min-width: 26px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--on-dark-2); }
.lang__menu button.active .lang__code { color: var(--brass); }

.header__cta {
  height: 46px; padding: 0 20px 0 22px; gap: 12px; border-radius: 999px;
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--brass); color: #fff; font-size: .9rem; font-weight: 500;
  box-shadow: 0 0 26px -8px rgba(210,185,140,.55);
}
.header__cta .arrow { width: 18px; color: var(--brass); }
.header__cta:hover { background: rgba(210,185,140,.16); box-shadow: 0 0 36px -6px rgba(210,185,140,.75); }
.header__cta:hover .arrow { transform: translateX(4px); }

.burger {
  display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(12,12,12,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.burger span { width: 26px; height: 1.5px; background: #fff; transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.75px) rotate(-45deg); }

/* ================= MENU MOBILNE =================
   Pod nagłówkiem: numerowane sekcje (jak etykiety 01–11 na stronie), na dole — główna akcja
   i szybki kontakt. Języki zostają w przycisku w nagłówku (bez dublowania). */
/* Treść menu zaczyna się pod nagłówkiem (--top ustawia JS). Nagłówek przy otwartym menu ma pełne,
   nieprzezroczyste tło — jeśli menu trzeba przewinąć, pozycje chowają się POD nim, a nie nachodzą na logo. */
.mnav {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--top, 70px) + 4px) var(--gutter) calc(16px + env(safe-area-inset-bottom));
  color: var(--on-dark); background: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.mnav.open { opacity: 1; visibility: visible; }
.menu-open .header, .menu-open .header.is-solid { background: var(--ink); border-color: var(--line-dark); -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .header::before { opacity: 0; }

/* Rozmiary zależą i od szerokości, i od WYSOKOŚCI ekranu — 6 pozycji + kontakt mieszczą się bez przewijania */
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a {
  display: grid; grid-template-columns: 30px 1fr 16px; align-items: center; gap: 10px;
  padding: clamp(7px, 1.7vh, 14px) 0; border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), color .25s;
  transition-delay: calc(var(--i, 0) * 40ms + 40ms);
}
.mnav.open .mnav__links a { opacity: 1; transform: none; }
.mnav__n { font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--brass); font-variant-numeric: lining-nums; }
.mnav__t { font-family: var(--serif); font-size: clamp(1.35rem, min(7vw, 4.4vh), 2.2rem); line-height: 1.2; }
/* Strzałka po prawej — sygnał przejścia; wyraźniejsza tylko na urządzeniach z kursorem (na dotyku :hover „przykleja się”) */
.mnav__links a::after { content: ''; justify-self: end; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .4; transition: opacity .25s, transform .25s var(--ease); }
.mnav__links a:active::after { opacity: 1; }
@media (hover: hover) {
  .mnav__links a:hover::after { opacity: 1; transform: translateX(3px) rotate(45deg); }
}
/* Sekcja, w której teraz jest użytkownik */
.mnav__links a.is-current .mnav__t { font-style: italic; color: var(--brass); }
.mnav__links a.is-current::after { opacity: 1; border-color: var(--brass); }

.mnav__bottom {
  margin-top: auto; padding-top: clamp(16px, 3vh, 28px); display: grid; gap: clamp(8px, 1.4vh, 12px);
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease) .28s, transform .4s var(--ease) .28s;
}
.mnav.open .mnav__bottom { opacity: 1; transform: none; }
.mnav__bottom .btn { height: clamp(46px, 6.4vh, 54px); border-radius: 999px; }
.mnav__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mnav__q {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: clamp(46px, 6.4vh, 54px); padding: 0 6px;
  border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255,255,255,.03);
  font-size: .82rem; font-weight: 500; color: var(--on-dark); transition: background .2s, border-color .2s;
}
.mnav__q svg { width: 18px; height: 18px; flex: none; }
.mnav__q--wa svg { fill: #25d366; }
.mnav__q--tg svg { fill: #2aabee; }
.mnav__q--call svg { fill: var(--brass); }
.mnav__q:active { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
@media (hover: hover) { .mnav__q:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); } }
.mnav__meta { text-align: center; font-size: .78rem; color: var(--on-dark-2); letter-spacing: .12em; }
.mnav__bottom > * { min-width: 0; }
.mnav__bottom .btn { white-space: normal; padding: 0 20px; }
.mnav__quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Bardzo wąski telefon — w przyciskach komunikatorów ikona z podpisem pod spodem, mniejsze logo */
@media (max-width: 360px) {
  .mnav__q { flex-direction: column; gap: 3px; height: 56px; font-size: .72rem; border-radius: 14px; }
  .mnav__bottom .btn { font-size: .9rem; gap: 10px; }
  .logo__mark { font-size: 1.15rem; letter-spacing: .1em; }
  .logo__sub { font-size: .74rem; }
  .header__right { gap: 8px; }
  .header__inner { gap: 12px; }
  .lang__btn { padding: 0 10px; gap: 6px; }
  .lang__btn .lang__chev { display: none; }
}
/* Logo nigdy nie łamie się na dwie linie */
.logo__mark, .logo__sub { white-space: nowrap; }
/* Tablet: menu nie rozciąga się na całą szerokość, kontakt tuż pod linkami */
@media (min-width: 601px) {
  .mnav__links, .mnav__bottom { width: 100%; max-width: 600px; }
  .mnav__bottom { margin-top: 0; padding-top: 40px; }
}

/* ================= HERO ================= */
.hero { position: relative; min-height: 100svh; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: kenburns 18s var(--ease) both; }
.hero__media::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.75) 38%, rgba(8,8,8,.25) 75%, rgba(8,8,8,.15) 100%),
  linear-gradient(0deg, rgba(8,8,8,.9) 0%, rgba(8,8,8,0) 40%); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__content { position: relative; padding-top: 150px; padding-bottom: 44px; }
.hero__title { font-size: clamp(3rem, 6vw, 6rem); line-height: 1.18; letter-spacing: .005em; word-spacing: .04em; margin: 22px 0 28px; max-width: 14ch; }
.hero__title em { color: var(--brass); display: inline-block; margin-top: .06em; letter-spacing: .01em; }
.hero__sub { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--on-dark); max-width: 580px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__bar { position: relative; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 32px; align-items: end; padding-top: 30px; padding-bottom: 36px; }
.hero__bar::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.hero__bar b { display: block; font-family: var(--sans); font-weight: 600; font-size: 1.12rem; line-height: 1.3; letter-spacing: .01em; color: var(--on-dark); }
.hero__bar span { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.45; letter-spacing: .01em; color: var(--on-dark-2); }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.hero__scroll i { position: relative; width: 1px; height: 44px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ================= TERMIN PRZED ŚWIĘTAMI ================= */


/* ================= STUDIO ================= */
.studio__grid { display: grid; grid-template-columns: 220px 1fr 0.8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.statement { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.35; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--text); }
.stats span { display: block; margin-top: 16px; line-height: 1.5; font-size: .95rem; color: var(--muted); max-width: 20ch; }
.studio__img { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.studio__img img { width: 100%; height: 100%; object-fit: cover; }

/* ================= OFERTA (lista + podgląd) ================= */
.services { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.services__list { list-style: none; border-top: 1px solid var(--line); }
.services__list li { border-bottom: 1px solid var(--line); }
.services__list a { display: grid; grid-template-columns: 56px 1fr 40px; grid-template-areas: "n t a" "n d a"; column-gap: 20px; padding: 30px 0; transition: padding .4s var(--ease); }
.services__list .n { grid-area: n; font-family: var(--serif); color: var(--brass-ink); padding-top: 12px; }
.services__list .t { grid-area: t; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.2; transition: color .3s; }
.services__list .d { grid-area: d; color: var(--muted); font-size: 1rem; line-height: 1.6; margin-top: 14px; max-width: 46ch; }
.services__list .arrow { grid-area: a; align-self: center; justify-self: end; width: 32px; }
.services__list .thumb { display: none; }
.services__list li.active a, .services__list a:hover { padding-left: 14px; }
.services__list li.active .t { font-style: italic; }
.services__preview { position: sticky; top: 110px; aspect-ratio: 4/5; overflow: hidden; background: var(--stone); }
.services__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.services__preview img.out { opacity: 0; transform: scale(1.04); }


/* ================= GWARANCJE ================= */

/* ================= POMIAR / WYCENA ================= */
#quote .head .lead { margin-top: 18px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); } .ways--2 { grid-template-columns: repeat(2, 1fr); } .ways { gap: 2px; background: var(--line); border: 1px solid var(--line); }
.way { background: var(--paper); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 16px; min-height: 380px; }
.way__tag { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border: 1px solid currentColor; color: var(--brass-ink); }
.way__n { font-family: var(--serif); font-size: 3.4rem; line-height: 1; margin-top: 18px; }
.way h3 { font-size: 1.8rem; margin-top: 16px; }
.way p { color: var(--muted); flex: 1; }
.way--dark { background: var(--ink); color: var(--on-dark); }
.way--dark p { color: var(--on-dark-2); }
.way--dark .way__tag { color: var(--brass); }
.guide { margin-top: 32px; background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 3.4vw, 48px); }
.guide h3 { font-size: 1.8rem; }
.guide ol { list-style: none; counter-reset: g; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 28px 0 32px; }
.guide li { counter-increment: g; font-size: .98rem; }
.guide li::before { content: counter(g, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--brass-ink); margin-bottom: 8px; }
.factors { margin-top: clamp(64px, 8vw, 120px); }
.factors__title { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 28px; }
.factors__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.factors__grid > div { border-top: 1px solid var(--text); padding-top: 18px; }
.factors__grid h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin: 0 0 6px; letter-spacing: 0; }
.factors__grid p { font-size: .95rem; color: var(--muted); }

/* ================= PROCES ================= */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); }
.steps li { padding: 34px 26px 10px 0; position: relative; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line-dark); }
.steps__n { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--brass); }
.steps h3 { font-size: 1.6rem; margin: 26px 0 10px; }
.steps p { font-size: .98rem; color: var(--on-dark-2); }
.process__img { position: relative; margin-top: clamp(56px, 7vw, 100px); aspect-ratio: 21/9; overflow: hidden; }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.process__img figcaption { position: absolute; left: 0; bottom: 0; padding: 24px 28px; max-width: 520px; background: rgba(12,12,12,.85); font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--on-dark); }

/* ================= REALIZACJE ================= */
.feature { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--ink); color: var(--on-dark); margin-bottom: clamp(24px, 3vw, 40px); }
.feature__img { aspect-ratio: 4/3.4; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.04); }
.feature__body { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.feature__body h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin: 14px 0 34px; }
.feature dl div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.feature dt { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); padding-top: 3px; }
.feature dd { color: var(--on-dark); }
.projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.projects figure { overflow: hidden; }
.projects figure:nth-child(even) { margin-top: 64px; }
.projects img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 1.2s var(--ease); }
.projects figure:hover img { transform: scale(1.05); }
.projects figcaption { padding-top: 16px; }
.projects figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.25; }
.projects figcaption span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* ================= BIZNES ================= */
.biz { position: relative; color: var(--on-dark); padding: clamp(100px, 13vw, 190px) 0; overflow: hidden; isolation: isolate; scroll-margin-top: 60px; }
.biz__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.biz::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,8,8,.95) 0%, rgba(8,8,8,.9) 55%, rgba(8,8,8,.82) 100%); }
.biz .h2 { max-width: 15ch; }
.biz__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 0 48px; margin: 44px 0 48px; }
/* Znacznik zamiast numerów — punkty nie są kolejnymi krokami */
.biz__list li { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-dark); font-size: 1.05rem; }
.biz__list li::before { content: ''; flex: none; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg) translateY(-2px); }


/* ================= ZAŁOŻYCIEL / WIZYTÓWKA ================= */
.founder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.bcard-wrap { perspective: 1200px; display: grid; place-items: center; padding: 20px; }
.bcard { position: relative; width: min(100%, 540px); aspect-ratio: 85/50; color: #fff; padding: 7% 8%; display: flex; flex-direction: column; justify-content: space-between;
  background: #0b0b0b url("../images/site/marble-800.webp") 60% center/cover;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.55), 0 18px 30px -18px rgba(0,0,0,.5);
  transform: rotate(-4deg); transition: transform .5s var(--ease); will-change: transform; }
.bcard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,0,0,.55), rgba(0,0,0,.35) 60%, rgba(255,255,255,.06)); }
.bcard > * { position: relative; }
.bcard__top { text-align: right; }
.bcard__name { display: block; font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: .06em; line-height: 1; }
.bcard__sub { display: block; font-family: var(--serif); font-size: clamp(1rem, 1.8vw, 1.3rem); margin-top: 12px; }
.bcard__bottom { display: flex; flex-direction: column; gap: 6px; font-family: var(--serif); font-size: clamp(.95rem, 1.6vw, 1.15rem); line-height: 1.5; }
.quote { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.25; margin: 28px 0; }
.sign b { display: block; font-weight: 600; font-size: 1.05rem; }
.sign span { color: var(--muted); }
.founder__text { font-size: 1.1rem; color: var(--muted); max-width: 52ch; margin-top: 28px; }

/* ================= FAQ ================= */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
/* Desktop: tytuł „Częste pytania” jedzie razem z listą pytań, zamiast zostawiać pustą kolumnę */
@media (min-width: 901px) { .faq-grid > div:first-child { position: sticky; top: 110px; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 28px 56px 28px 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 18px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 56px 28px 0; color: var(--muted); max-width: 680px; }

/* ================= KONTAKT ================= */
.contact { position: relative; color: var(--on-dark); padding: clamp(100px, 12vw, 180px) 0; overflow: hidden; isolation: isolate; scroll-margin-top: 60px; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.88) 55%, rgba(8,8,8,.7) 100%); }
/* minmax(0, …) — kolumny nie mogą być szersze niż ekran (długi tekst przycisku się zawija) */
.contact__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__inner > * { min-width: 0; }
.contact__title { font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: 1.18; margin-top: 24px; }
.contact__title em { color: var(--brass); display: inline-block; margin-top: .06em; }
.contact__direct { display: flex; flex-direction: column; gap: 22px; margin-top: 44px; max-width: 520px; }
.contact__phone { font-family: var(--sans); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 400; letter-spacing: .02em; color: var(--on-dark); user-select: all; transition: color .3s; }
.contact__phone:hover { color: var(--brass); }

/* Komunikatory — jeden pod drugim, równa szerokość */
.contact__icons { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 420px; }
.ico {
  --brand: var(--brass);
  position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 20px 12px 12px;
  background: rgba(22,21,20,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: var(--on-dark); font-size: .95rem; font-weight: 500;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.ico--wa { --brand: #25d366; }
.ico--tg { --brand: #2aabee; }
.ico svg { position: relative; z-index: 1; width: 48px; height: 48px; padding: 11px; border-radius: 50%; fill: #fff; flex: none; }
.ico--wa svg { background: #0f7a43; }
.ico--tg svg { background: #1a73a8; }
.ico--call svg { background: var(--brass); fill: var(--ink); }
.ico__txt { display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }
.ico__txt b { font-weight: 600; font-size: 1rem; letter-spacing: .01em; color: #fff; }
.ico__txt small { font-size: .84rem; letter-spacing: .01em; color: var(--on-dark-2); }
.ico:hover, .ico:focus-visible {
  transform: translateY(-2px);
  background: rgba(30,29,27,.7);
  border-color: color-mix(in srgb, var(--brand) 60%, transparent);
  box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--brand) 55%, transparent);
}
/* Puls wokół WhatsApp — główny kanał kontaktu */
.ico__pulse { position: absolute; left: 12px; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; pointer-events: none; }
.ico__pulse::before, .ico__pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; opacity: 0; animation: wa-pulse 2.8s var(--ease) infinite; }
.ico__pulse::after { animation-delay: 1.4s; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }

/* ================= FORMULARZ ZAPYTANIA — matowe szkło na ciemnym marmurze ================= */
@property --glow-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.form {
  position: relative; isolation: isolate; display: grid; gap: 30px; padding: clamp(28px, 3.6vw, 52px);
  background: rgba(22,21,20,.55);
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; color: var(--on-dark);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06), 0 0 90px -16px rgba(210,185,140,.5);
  transition: box-shadow .5s var(--ease);
}
/* Przeglądarki bez rozmycia tła — pełne ciemne tło, żeby tekst był czytelny */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .form { background: rgba(22,21,20,.92); }
}
/* Złoty refleks przesuwający się powoli po krawędzi */
.form::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--glow-angle), transparent 0deg, transparent 190deg, rgba(240,220,175,1) 255deg, transparent 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: form-glow 7s linear infinite;
}
@keyframes form-glow { to { --glow-angle: 360deg; } }
/* Gdy klient zaczyna wypełniać formularz — poświata delikatnie się wzmacnia */
.form:focus-within { box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08), 0 0 120px -10px rgba(210,185,140,.65); }

.form__head h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); color: #fff; }
.form__head p { margin-top: 10px; color: var(--on-dark-2); font-size: 1rem; }
.form__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__group legend { padding: 0; margin-bottom: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Wybór tematu — przyciski zamiast listy rozwijanej */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--on-dark); background: transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pill span:hover { border-color: rgba(255,255,255,.7); }
.pill input:checked + span { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

/* Pola z etykietą, która przesuwa się w górę podczas wpisywania */
.fl { position: relative; display: block; }
.fl input, .fl textarea, .fl select {
  display: block; width: 100%; min-height: 58px; padding: 26px 0 10px; font: inherit; font-size: 1.05rem; color: #fff;
  background-color: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; box-shadow: none;
  appearance: none; -webkit-appearance: none; transition: border-color .25s, box-shadow .25s; }
.fl textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.fl select { padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1ece4' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0 bottom 16px/18px no-repeat; }
.fl select option { color: var(--text); background: var(--paper); }
.fl input:focus, .fl textarea:focus, .fl select:focus { outline: none; border-bottom-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }
/* Puste lub błędne pole po próbie wysłania (:user-invalid — dopiero gdy użytkownik coś zrobił, nie od razu po wejściu) */
/* Błąd w polu — po pierwszej próbie wysłania; komunikat pod polem w języku strony */
.fl input[aria-invalid="true"] { border-bottom-color: #e6957f; box-shadow: 0 1px 0 #e6957f; }
.fl input[aria-invalid="true"] + label { color: #e6957f; }
.fl__err { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: .84rem; line-height: 1.35; color: #f0b3a3; }
.fl__err::before { content: '!'; flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e6957f; color: var(--ink); font-size: .7rem; font-weight: 700; }
.fl__err:empty { display: none; }
@media (max-width: 600px) { .form__send .arrow { display: none; } }
.fl label { position: absolute; left: 0; top: 24px; max-width: 100%; font-size: 1.02rem; font-weight: 400; color: var(--on-dark-2); pointer-events: none; transform-origin: left top;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: top .25s var(--ease), font-size .25s var(--ease), letter-spacing .25s, color .25s; }
/* Długa podpowiedź w polu opisu może się zawijać, dopóki nie przesunie się w górę */
.fl textarea + label { white-space: normal; }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label,
.fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label,
.fl--select label { top: 2px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }

/* Przycisk wysyłki z ikoną WhatsApp */
.form__send { height: 64px; gap: 14px; font-size: 1rem; background: var(--on-dark); color: var(--ink); border-radius: 999px; white-space: normal; text-align: center; line-height: 1.2; }
.form__send:hover { background: var(--brass); }
.form__send svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #0f7a43; fill: #fff; flex: none; }
.form__note { display: flex; gap: 10px; align-items: flex-start; margin-top: -12px; font-size: .88rem; color: var(--on-dark-2); }
.form__note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: var(--brass); }

/* ================= STOPKA ================= */
.footer { background: var(--ink); color: var(--on-dark-2); padding: 80px 0 32px; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand { display: flex; flex-direction: column; color: var(--on-dark); }
.footer__brand .logo__mark { font-size: 2.4rem; }
.footer nav, .footer__grid > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.footer nav a, .footer__grid > div:last-child > a, .footer__grid > div:last-child > span { padding: 9px 0; }
.footer b { color: var(--on-dark); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
/* Linia nad dolnym paskiem — dokładnie na szerokość treści (jak w hero), a nie z marginesami */
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: .9rem; line-height: 1.8; }
.footer__bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }

/* ================= PŁYWAJĄCE ================= */
.float { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .4s var(--ease); }
.float.show { opacity: 1; transform: none; pointer-events: auto; }
.float a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .25s; }
.float a:hover { transform: scale(1.07); }
.float svg { width: 26px; height: 26px; fill: #fff; }
.float__wa { position: relative; background: #0f7a43; }
.float__wa svg { position: relative; z-index: 1; }
.float__wa .ico__pulse { left: 0; top: 0; width: 100%; height: 100%; margin: 0; }
.float__wa .ico__pulse::before, .float__wa .ico__pulse::after { animation-duration: 3.4s; }
.float__tg { background: #1a73a8; }

/* ================= PASEK AKCJI NA TELEFONIE =================
   Jak u Reform / Hill+Hurl / deinSchrank: główna akcja zawsze pod kciukiem.
   Pojawia się po pierwszym ekranie, chowa się przy formularzu i w stopce. */
.mbar { display: none; }
@media (max-width: 600px) {
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
    display: flex; align-items: center; gap: 6px; padding: 6px;
    border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
    background: rgba(18,17,16,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 14px 40px -10px rgba(0,0,0,.6);
    opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .mbar.show { opacity: 1; transform: none; pointer-events: auto; }
  .mbar__cta {
    flex: 1; min-width: 0; height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: 999px; background: var(--on-dark); color: var(--ink); font-size: .95rem; font-weight: 500; white-space: nowrap;
  }
  .mbar__cta span { overflow: hidden; text-overflow: ellipsis; }
  .mbar__ic { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
  .mbar__ic svg { width: 22px; height: 22px; }
  .mbar__ic--call { border: 1px solid rgba(255,255,255,.2); }
  .mbar__ic--call svg { fill: var(--brass); }
  .mbar__ic--wa { background: #0f7a43; }
  .mbar__ic--wa svg { fill: #fff; }
}
/* Bardzo wąski telefon i długie teksty (UA/DE) — bez strzałki, przyciski trochę mniejsze */
@media (max-width: 380px) {
  .mbar { left: 8px; right: 8px; gap: 4px; padding: 5px; }
  .mbar__cta { font-size: .84rem; padding: 0 4px; letter-spacing: -.005em; }
  .mbar__cta .arrow { display: none; }
  .mbar__ic { width: 44px; height: 44px; }
}

/* ================= ANIMACJE WEJŚCIA ================= */
/* Ukrywamy tylko, gdy działa JS (klasa .js w <head>) — bez JS treść jest widoczna od razu */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ================= RESPONSYWNOŚĆ ================= */
@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .steps li:nth-child(4) { padding-left: 0; border-left: 0; }
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .studio__grid { grid-template-columns: 1fr 1fr; }
  .studio__grid > .label { grid-column: 1 / -1; }
  .factors__grid { grid-template-columns: repeat(3, 1fr); }
  .guide ol { grid-template-columns: repeat(3, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .head--wide { grid-template-columns: 1fr; gap: 0; }
  .head--wide .h2 { margin-top: 22px; }
  .hero__bar { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
  .studio__grid { grid-template-columns: 1fr; }
  .studio__img { aspect-ratio: 16/10; }
  .services { grid-template-columns: 1fr; }
  .services__preview { display: none; }
  .services__list a { grid-template-columns: 40px 1fr 96px; grid-template-areas: "n t img" "n d img"; padding: 24px 0; }
  .services__list li.active a, .services__list a:hover { padding-left: 0; }
  .services__list .arrow { display: none; }
  .services__list .thumb { display: block; grid-area: img; width: 96px; height: 96px; object-fit: cover; align-self: center; }
  .ways, .ways--2 { grid-template-columns: 1fr; }
  .way { min-height: 0; }
  .feature { grid-template-columns: 1fr; }
  .founder__grid, .faq-grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: minmax(0, 1fr); }
  .contact::after { background: rgba(8,8,8,.86); }
  .biz__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .header__inner { height: 70px; }
  .logo__mark { font-size: 1.35rem; }
  /* Hero mieści się w jednym ekranie telefonu: mniejsze odstępy, pasek faktów w jednym rzędzie */
  .hero__content { padding-top: 132px; padding-bottom: 24px; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3rem); margin: 16px 0 18px; }
  .hero__sub { margin-bottom: 24px; }
  .hero__actions .btn { width: 100%; height: 52px; }
  .hero__bar { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 18px; padding-bottom: 22px; }
  .hero__bar b { font-size: 1rem; }
  .hero__bar span { font-size: .84rem; line-height: 1.4; margin-top: 4px; }
  .hero__bar-countries { display: none; }   /* kraje są już w nagłówku nad tytułem */
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0 8px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .steps li:first-child { border-top: 0; }
  .stats { grid-template-columns: 1fr; gap: 22px; }
  .factors__grid, .guide ol { grid-template-columns: 1fr 1fr; }
  .process__img { aspect-ratio: 4/3; }
  .process__img figcaption { position: static; max-width: none; }
  .projects { grid-template-columns: 1fr 1fr; gap: 14px; }
  .projects figure:nth-child(even) { margin-top: 32px; }
  .feature dl div { grid-template-columns: 1fr; gap: 2px; }
  .form { gap: 24px; }
  .form__row { grid-template-columns: 1fr; gap: 24px; }
  .pill span { min-height: 44px; padding: 0 14px; font-size: .92rem; }
  .form__send { padding: 0 18px; }
  /* Na telefonie pływające ikony zastępuje pasek akcji .mbar (niżej) */
  .float { display: none !important; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }

  /* Studio: trzy liczby w jednym rzędzie zamiast trzech ekranów w pionie */
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; padding-top: 24px; }
  .stats b { font-size: 2.3rem; }
  .stats span { font-size: .8rem; line-height: 1.35; margin-top: 8px; }

  /* Oferta: zdjęcie z lewej, tekst ma całą resztę szerokości (wcześniej ściśnięty między numerem a zdjęciem) */
  .services__list a { grid-template-columns: 84px 1fr; grid-template-areas: "img n" "img t" "img d"; column-gap: 16px; align-items: start; padding: 20px 0; }
  .services__list .thumb { width: 84px; height: 104px; align-self: start; }
  .services__list .n { padding-top: 0; font-size: .78rem; font-family: var(--sans); font-weight: 600; letter-spacing: .14em; }
  .services__list .t { font-size: 1.65rem; margin-top: 8px; }
  .services__list .d { font-size: .92rem; margin-top: 6px; line-height: 1.5; }

  /* Proces: oś czasu — numer z lewej, opis z prawej */
  .steps li, .steps li + li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 22px 0; }
  .steps li > * { grid-column: 2; }
  .steps__n { grid-column: 1 !important; grid-row: 1 / span 3; font-size: 2.1rem; }
  .steps h3 { font-size: 1.4rem; margin: 2px 0 6px; }


  /* Kontakt: trzy komunikatory w jednym rzędzie */
  .contact__direct { gap: 18px; }
  .contact__icons { grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: none; }
  .ico { flex-direction: column; justify-content: center; gap: 8px; min-height: 0; padding: 14px 6px 12px; border-radius: 18px; text-align: center; }
  .ico svg { width: 44px; height: 44px; padding: 10px; }
  .ico__txt b { font-size: .88rem; }
  .ico__txt small { display: none; }
  .ico__pulse { left: 50%; top: 14px; width: 44px; height: 44px; margin: 0 0 0 -22px; }
}

/* ================= ZNAK FIRMOWY: CZARNY MARMUR Z WIZYTÓWKI =================
   Tytuły sekcji na jasnym tle „wycięte” z tego samego marmuru co wizytówka i tło kontaktu.
   Wyróżnia nas na tle podobnych stron (szeryf + kursywa + numeracja to dziś częsty schemat).
   Przeglądarki bez background-clip:text pokazują zwykły ciemny tekst. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .section:not(.section--dark) .h2 {
    background: url("../images/site/marble-800.webp") 55% 40% / 460px auto;
    font-weight: 500;   /* grubsza kreska — żyłki marmuru są widoczne */
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
}

/* Długie teksty przycisków w hero (np. UA/RU) mogą przejść do drugiej linii zamiast wychodzić poza ekran */
.hero__actions .btn { white-space: normal; text-align: center; line-height: 1.25; height: auto; min-height: 56px; padding-block: 10px; }

/* ================= ETYKIETA PODGLĄDU (?preview=1) ================= */
.preview-badge { display: inline-block; width: fit-content; justify-self: start; align-self: flex-start; margin: 0 0 12px; padding: 4px 10px; border-radius: 4px; background: #c2410c; color: #fff; font: 600 .7rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.rating-badge .preview-badge { margin: 0 10px 0 0; }

/* ================= 4. DOSTAWCY ================= */
.suppliers { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding: 26px 0; }
.suppliers__inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); }
.suppliers__title { flex: none; max-width: 200px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); line-height: 1.5; }
.suppliers__viewport { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.suppliers__track { display: flex; align-items: center; gap: clamp(32px, 5vw, 64px); width: max-content; }
.suppliers__track.is-loop { animation: sup-loop 36s linear infinite; }
.suppliers__viewport:hover .suppliers__track { animation-play-state: paused; }
@keyframes sup-loop { to { transform: translateX(calc(-50% - clamp(16px, 2.5vw, 32px))); } }
.suppliers__item { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: .04em; color: var(--on-dark); white-space: nowrap; opacity: .85; }
.suppliers__item img { height: 32px; width: auto; display: block; filter: grayscale(1) brightness(1.6); opacity: .8; }

/* ================= 6. OCENA GOOGLE I OPINIE ================= */
.rating-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .92rem; color: var(--on-dark); }
.rating-badge[href]:hover .rating-badge__txt { text-decoration: underline; text-underline-offset: 3px; }
.stars { color: var(--brass); letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.reviews { margin-top: 40px; display: grid; gap: 16px; }
.reviews__score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--text); }
.reviews__score .stars { color: var(--brass-ink); font-size: 1.15rem; }
.reviews__score .rating-badge__txt { font-weight: 600; }
.reviews__all { flex-basis: 100%; font-size: .88rem; color: var(--brass-ink); }
.reviews__score[href]:hover .reviews__all { text-decoration: underline; text-underline-offset: 3px; }
.reviews__list { display: grid; gap: 14px; }
.review { padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); }
.review .stars { color: var(--brass-ink); font-size: .9rem; }
.review__text { margin: 10px 0 12px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; color: var(--text); }
.review__author { font-size: .85rem; color: var(--muted); }

/* ================= 7. METKA NA ZDJĘCIU REALIZACJI ================= */
.projects figure { position: relative; }
.proj__tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 10px; background: rgba(12,12,12,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--on-dark); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: lining-nums; }

/* ================= 8. PRZED I PO + INSTAGRAM ================= */
.ba-wrap { margin-top: clamp(56px, 7vw, 96px); }
.ba-wrap__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 24px; }
/* auto-fill: jedna para nie rozciąga się na całą szerokość (byłaby wysoka na cały ekran) */
.ba-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.ba__stage { --pos: 50%; position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--stone); user-select: none; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none; }
.ba__handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-size: 1.1rem; letter-spacing: 2px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.ba__tag { position: absolute; top: 12px; padding: 4px 10px; background: rgba(12,12,12,.7); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + * , .ba__stage:focus-within .ba__handle::after { outline: 2px solid var(--brass); outline-offset: 2px; }
.ba__cap { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.ig-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-weight: 600; }
.ig-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ig-link svg circle:last-child { fill: currentColor; stroke: none; }
.ig-link:hover .arrow { transform: translateX(5px); }

/* ================= 5. OBIEKTY I KLIENCI (DLA BIZNESU) ================= */
.bcases, .clients { margin: 8px 0 48px; }
.bcases__title, .clients__title { margin-bottom: 18px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.bcases__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; max-width: 1100px; }
.bcase { background: rgba(22,21,20,.6); border: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bcase img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.bcase__body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.bcase__place { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.bcase__name { font-size: 1.45rem; }
.bcase__facts { font-size: .9rem; color: var(--on-dark-2); font-variant-numeric: lining-nums; }
.clients__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.clients__logo { height: 36px; width: auto; filter: grayscale(1) brightness(1.8); opacity: .75; }
.clients__name { font-family: var(--serif); font-size: 1.3rem; color: var(--on-dark); opacity: .8; }

@media (max-width: 600px) {
  .suppliers__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .suppliers__title { max-width: none; text-align: center; }
  .rating-badge { margin-top: 16px; font-size: .86rem; }
  .ba__handle::after { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .suppliers__track.is-loop { animation: none; flex-wrap: wrap; width: auto; } }
/* ================= INTERAKCJE — poprawki po teście kliknięć i najechań ================= */
/* Fokus z klawiatury: na jasnym tle ciemny mosiądz (kontrast 5,6:1), na ciemnym — jasny mosiądz */
:focus-visible { outline: 2px solid var(--brass-ink); outline-offset: 3px; }
.header :focus-visible, .hero :focus-visible, .section--dark :focus-visible, .biz :focus-visible, .contact :focus-visible,
.footer :focus-visible, .mnav :focus-visible, .mbar :focus-visible, .float :focus-visible, .feature :focus-visible,
.suppliers :focus-visible, .way--dark :focus-visible { outline-color: var(--brass); }

/* Elementy, które nie reagowały na kursor */
.logo { transition: opacity .25s; }
.logo:hover { opacity: .8; }
.burger { transition: border-color .3s var(--ease), background .3s var(--ease); }
.burger:hover { border-color: rgba(255,255,255,.7); background: rgba(30,29,27,.65); }
.hero__scroll { transition: color .25s; }
.hero__scroll:hover { color: #fff; }
.faq summary { transition: color .25s; }
.faq summary:hover { color: var(--brass-ink); }

/* Ekrany dotykowe: efekty najechania nie „przyklejają się” po dotknięciu (zdjęcia realizacji nie są linkami) */
@media (hover: none) {
  .feature:hover .feature__img img, .projects figure:hover img { transform: none; }
  .ico:hover, .float a:hover { transform: none; }
  .btn:hover .arrow, .ig-link:hover .arrow, .header__cta:hover .arrow { transform: none; }
}
/* …za to wyraźna reakcja w chwili dotknięcia */
.btn, .mbar__cta, .mbar__ic, .ico, .mnav__q, .pill span { -webkit-tap-highlight-color: transparent; }
.btn:active, .mbar__cta:active, .mbar__ic:active, .ico:active, .mnav__q:active, .pill span:active { transform: scale(.97); transition-duration: .08s; }

/* Animacje w pętli stoją, gdy ich nie widać (klasa .in-view z main.js) */
.hero:not(.in-view) .hero__scroll i::after,
.contact:not(.in-view) .ico__pulse::before, .contact:not(.in-view) .ico__pulse::after,
.contact:not(.in-view) .form::before { animation-play-state: paused; }
.float:not(.show) .ico__pulse::before, .float:not(.show) .ico__pulse::after { animation: none; }

/* „Mniej ruchu”: kopie logotypów potrzebne tylko do pętli — bez animacji byłyby widoczne podwójnie */
@media (prefers-reduced-motion: reduce) {
  .suppliers__track.is-loop > [aria-hidden="true"] { display: none; }
}
/* =========================================================
   Realizacje — wyróżnione projekty, galeria z filtrem, podgląd na pełnym ekranie
   ========================================================= */
.cases { display: grid; gap: clamp(28px, 4vw, 56px); }
.case { display: grid; grid-template-columns: 1.45fr 1fr; background: var(--ink); color: var(--on-dark); }
.case--rev { grid-template-columns: 1fr 1.45fr; }
.case--rev .case__main { order: 2; }
.case__main { position: relative; display: block; width: 100%; min-height: 100%; aspect-ratio: 4/3.2; overflow: hidden; background: var(--ink-2); cursor: zoom-in; }
.case__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.case__zoom { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(12,12,12,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--glass-line); border-radius: 50%; }
.case__zoom svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; }
.case__body { padding: clamp(28px, 3.6vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.case__n { font-family: var(--serif); letter-spacing: 0; font-size: .95rem; font-variant-numeric: lining-nums; }
.case__body h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin: 14px 0 14px; }
.case__d { color: var(--on-dark-2); max-width: 46ch; }
.case dl { margin: 26px 0 0; }
.case dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.case dt { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); padding-top: 3px; }
.case dd { font-size: .95rem; }
.case__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 22px; }
.case__thumb { aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: var(--ink-2); }
.case__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; opacity: .82; }
.case__cnt { font-weight: 400; opacity: .7; }
@media (hover: hover) {
  .case__main:hover img { transform: scale(1.035); }
  .case__thumb:hover img { transform: scale(1.06); opacity: 1; }
}

.works { margin-top: clamp(72px, 9vw, 130px); }
.works__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 30px; }
.works__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: baseline; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 40px; font-size: .9rem; color: var(--text); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); line-height: 38px; }
.filter sup { font-size: .7rem; color: var(--muted); font-variant-numeric: lining-nums; }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.filter[aria-pressed="true"] sup { color: var(--brass); }
@media (hover: hover) { .filter:not([aria-pressed="true"]):hover { border-color: var(--text); } }

/* Karty obiektów: okładka 4:3, kategoria i liczba zdjęć */
.works__stat { margin-top: 12px; color: var(--muted); font-size: .95rem; font-variant-numeric: lining-nums; }
.pgrid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--stone); }
.pcard__btn { position: absolute; inset: 0; display: block; width: 100%; cursor: zoom-in; }
.pcard__btn img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.pcard.is-loaded img { opacity: 1; }
.pcard__meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 8px; padding: 34px 12px 10px; background: linear-gradient(to top, rgba(12,12,12,.72), transparent); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.pcard__n { flex: none; padding: 3px 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 20px; letter-spacing: .04em; text-transform: none; font-variant-numeric: lining-nums; }
@media (hover: hover) { .pcard__btn:hover img { transform: scale(1.05); } }
.pcard__btn:focus-visible { outline-offset: -3px; }
.works__foot { display: flex; justify-content: center; margin-top: 36px; }

/* Podgląd */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,8,8,.96); color: var(--on-dark); display: grid; grid-template-rows: 1fr auto auto; opacity: 0; transition: opacity .3s var(--ease); touch-action: pan-y; }
.lb.open { opacity: 1; }
.lb__stage { display: grid; place-items: center; padding: 64px 84px 8px; min-height: 0; }
.lb__stage img { max-width: 100%; max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); width: auto; height: auto; object-fit: contain; opacity: 0; transform: scale(.985); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.lb__stage img.in { opacity: 1; transform: none; }
.lb__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 84px 22px; }
.lb--single .lb__stage img { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
.lb--single .lb__prev, .lb--single .lb__next { display: none; }
.lb__thumbs { display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 12px 84px 0; scrollbar-width: none; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumb { flex: none; width: 72px; height: 54px; overflow: hidden; opacity: .45; border: 1px solid transparent; transition: opacity .2s, border-color .2s; }
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumb[aria-current="true"] { opacity: 1; border-color: var(--brass); }
@media (hover: hover) { .lb__thumb:hover { opacity: .85; } }
.lb__cap { font-family: var(--serif); font-size: 1.2rem; }
.lb__count { font-size: .85rem; letter-spacing: .12em; color: var(--on-dark-2); }
.lb__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.04); transition: background .2s, border-color .2s; }
.lb__btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; }
@media (hover: hover) { .lb__btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); } }
.lb__close { top: 14px; right: 16px; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }

@media (max-width: 900px) {
  .case, .case--rev { grid-template-columns: 1fr; }
  .case--rev .case__main { order: 0; }
  .case__main { min-height: 0; }
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 600px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .pcard__meta { padding: 26px 8px 7px; font-size: .68rem; flex-direction: column; align-items: start; gap: 4px; }
  .works__head { margin-bottom: 22px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .case dl div { grid-template-columns: 1fr; gap: 2px; }
  .lb__stage { padding: 64px 0 0; }
  .lb__bar { padding: 12px 20px 22px; }
  .lb__thumbs { justify-content: flex-start; padding: 10px 20px 0; }
  .lb__thumb { width: 56px; height: 42px; }
  .lb__prev, .lb__next { top: auto; bottom: 128px; transform: none; width: 46px; height: 46px; background: rgba(12,12,12,.55); }
}
@media (prefers-reduced-motion: reduce) {
  .lb, .lb__stage img, .pcard__btn img, .case__main img, .case__thumb img { transition: none; }
}
/* Nazwa firmy z dywizem (AR-TEAM) nie łamie się w dwóch wierszach */
.logo__mark, .bcard__name { white-space: nowrap; }

/* ================= DLACZEGO MY: porównanie „duża firma / AR-TEAM” ================= */
.cmp { --lab: 210px; border-top: 1px solid var(--line-dark); }
.cmp__row { display: grid; grid-template-columns: var(--lab) 1fr 1fr; border-bottom: 1px solid var(--line-dark); }
.cmp__row > span { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 18px 28px; line-height: 1.45; }
.cmp__t { padding-left: 0 !important; font-family: var(--serif); font-size: 1.35rem; color: var(--on-dark); }
.cmp__big { color: var(--on-dark-2); }
.cmp__us { background: rgba(210,185,140,.07); color: var(--on-dark); font-weight: 500; }
.cmp__row:not(.cmp__head) .cmp__big::before, .cmp__row:not(.cmp__head) .cmp__us::before {
  flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: .8rem; font-weight: 700; line-height: 1; }
.cmp__row:not(.cmp__head) .cmp__big::before { content: '✕'; border: 1px solid rgba(255,255,255,.22); color: var(--on-dark-2); font-size: .68rem; }
.cmp__row:not(.cmp__head) .cmp__us::before { content: '✓'; background: var(--brass); color: var(--ink); }
.cmp__head > span { min-height: 0; padding-top: 18px; padding-bottom: 18px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); }
.cmp__head .cmp__big, .cmp__head .cmp__us { padding-left: 68px; }
.cmp__head .cmp__us { color: var(--brass); }
@media (max-width: 900px) {
  .cmp__row { grid-template-columns: 1fr 1fr; }
  .cmp__t { grid-column: 1 / -1; min-height: 0 !important; padding: 22px 0 10px !important; font-size: 1.25rem; }
  .cmp__head > span:first-child { display: none; }
  .cmp__row > span:not(.cmp__t) { align-items: flex-start; min-height: 0; padding: 14px 16px 18px; gap: 10px; font-size: .95rem; }
  .cmp__head .cmp__big, .cmp__head .cmp__us { padding-left: 16px; }
  .cmp__row:not(.cmp__head) .cmp__big::before, .cmp__row:not(.cmp__head) .cmp__us::before { width: 20px; height: 20px; margin-top: 1px; }
}
@media (max-width: 480px) {
  .cmp__row > span:not(.cmp__t) { padding: 12px 10px 16px; font-size: .88rem; }
  .cmp__head > span { letter-spacing: .12em; font-size: .7rem; }
}

/* Założyciel: małe zdjęcie obok podpisu pod cytatem */
.sign { display: flex; align-items: center; gap: 20px; }
.sign__photo { flex: none; width: 120px; height: 150px; object-fit: cover; box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); }
.sign p b { display: block; font-weight: 600; font-size: 1.05rem; }
.sign p span { display: block; margin-top: 6px; color: var(--muted); }
@media (max-width: 600px) { .sign__photo { width: 96px; height: 120px; } .sign { gap: 16px; } }

/* Znak „15+ lat doświadczenia” na zdjęciu w „O nas” */
.badge { position: absolute; left: 18px; bottom: 18px; width: 132px; height: 132px; border-radius: 50%;
  background: rgba(12,12,12,.74); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--on-dark); }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: badgeSpin 40s linear infinite; }
.badge__ring circle { fill: none; stroke: var(--brass); }
.badge__o { stroke-width: 1; opacity: .9; }
.badge__i { stroke-width: .7; opacity: .55; }
.badge__ring text { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0; fill: var(--brass); }
.badge__c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.badge__c b { font-family: var(--serif); font-weight: 400; font-size: 2.15rem; line-height: 1; font-variant-numeric: lining-nums; }
.badge__c span { margin-top: 8px; font-size: .7rem; font-weight: 600; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
@keyframes badgeSpin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .badge { width: 112px; height: 112px; left: 12px; bottom: 12px; } .badge__c b { font-size: 1.8rem; } .badge__c span { font-size: .64rem; } }
@media (prefers-reduced-motion: reduce) { .badge__ring { animation: none; } }

/* O nas — studio__img: na komputerze zdjęcie ma tę samą wysokość co tekst z liczbami */
@media (min-width: 901px) {
  .studio__grid { align-items: stretch; }
  .studio__grid > .label { align-self: start; }
  .studio__img { aspect-ratio: auto; height: 100%; min-height: 420px; }
}

/* Długie przyciski na telefonie: zawijanie tekstu zamiast wychodzenia poza ekran */
@media (max-width: 600px) {
  .btn { white-space: normal; height: auto; min-height: 56px; padding-block: 14px; text-align: center; line-height: 1.3; max-width: 100%; }
  .btn .arrow { flex: none; }
}

/* Stopka: dane firmy, linki prawne */
.footer__company { margin-top: 34px; max-width: 360px; }
.footer__company .footer__co-h { display: block; margin-bottom: 14px; }
.footer__co-name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.4; letter-spacing: .02em; color: var(--on-dark); margin-bottom: 14px; }
.footer__co { display: grid; gap: 10px; }
.footer__co div { display: grid; grid-template-columns: 78px 1fr; gap: 14px; align-items: baseline; }
.footer__co dt { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); opacity: .75; }
.footer__co dd { font-size: .92rem; line-height: 1.55; letter-spacing: .01em; color: var(--on-dark-2); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.form__privacy { margin-top: 10px; font-size: .85rem; }
.form__privacy a { color: var(--on-dark-2); text-decoration: underline; text-underline-offset: 3px; }
.form__privacy a:hover { color: var(--on-dark); }

/* Strony prawne: Nota prawna / Impressum, Polityka prywatności */
.legal-page { background: var(--paper); }
.legal__top { background: var(--ink); color: var(--on-dark); }
.legal__top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.legal__langs { display: flex; gap: 4px; }
.legal__langs a { padding: 6px 10px; border-radius: 20px; font-size: .82rem; font-weight: 600; color: var(--on-dark-2); }
.legal__langs a.active { background: var(--on-dark); color: var(--ink); }
.legal { max-width: 820px; padding-block: clamp(40px, 7vw, 90px); }
.legal__back { display: inline-block; margin-bottom: 28px; font-size: .92rem; color: var(--muted); }
.legal__back:hover { color: var(--text); }
.legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal p { color: var(--text); max-width: 68ch; }
.legal__upd { color: var(--muted) !important; font-size: .92rem; }
.legal__dl { border-top: 1px solid var(--line); }
.legal__dl div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal__dl dt { color: var(--muted); font-size: .92rem; }
@media (max-width: 600px) { .legal__dl div { grid-template-columns: 1fr; gap: 2px; } }

/* Stopka: jednolite nagłówki kolumn (złoto + cienka linia), wyróżniony telefon */
.footer b, .footer__company .footer__co-h { display: block; color: var(--brass); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.footer nav a, .footer__grid > div:last-child > a, .footer__grid > div:last-child > span { transition: color .2s; }
.footer nav a:hover, .footer__grid > div:last-child > a:hover, .footer__bottom a:hover { color: var(--brass); }
.footer__grid > div:last-child > a.footer__phone { font-family: var(--serif); font-size: 1.35rem; color: var(--on-dark); padding: 10px 0 10px; font-variant-numeric: lining-nums; }
.footer__co-name { color: var(--on-dark); }
/* Kontakt: e-mail pod numerem telefonu */
.contact__mail { display: inline-block; margin-top: 6px; font-size: 1.05rem; color: var(--on-dark-2); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px; word-break: break-all; }
.contact__mail:hover { color: var(--brass); border-color: var(--brass); }
.legal__dl a { text-decoration: underline; text-underline-offset: 3px; }

/* Stopka: logo w osobnym wierszu, pod nim trzy równe kolumny z nagłówkami na jednej linii */
.footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); row-gap: 44px; align-items: start; }
.footer__brand { grid-column: 1 / -1; }
.footer__company { margin-top: 0; max-width: none; }
.footer__company .footer__co-h { margin-bottom: 12px; }
.footer__co-name { margin-bottom: 16px; }
@media (max-width: 1180px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__company { grid-column: 1 / -1; }
}
/* Dane firmy: jeden krój pisma, podpis nad wartością, NIP i REGON obok siebie */
.footer__co-name { font-family: var(--sans); font-size: 1rem; font-weight: 500; line-height: 1.6; letter-spacing: .01em; color: var(--on-dark); margin: 22px 0 20px; }
.footer__co { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.footer__co div { display: block; }
.footer__co .footer__co-wide { grid-column: 1 / -1; }
.footer__co dt { margin-bottom: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); opacity: .7; }
.footer__co dd { font-size: .95rem; line-height: 1.6; color: var(--on-dark-2); }
/* NIP / REGON — cyfry w grupach, z oddechem */
.footer__co dd { letter-spacing: .05em; font-variant-numeric: normal; white-space: nowrap; }
.footer__co .footer__co-wide dd { white-space: normal; letter-spacing: .01em; }

/* Numery telefonu — cyfry z oddechem, grupy wyraźnie oddzielone */
.contact__phone { letter-spacing: .06em; word-spacing: .18em; }
.footer__grid > div:last-child > a.footer__phone { font-family: var(--sans); font-weight: 500; font-size: 1.3rem; letter-spacing: .07em; word-spacing: .2em; white-space: nowrap; }

/* iPhone: przeglądarki w aplikacjach (Telegram, Instagram) i Safari z ukrytym paskiem — nagłówek sięga pod pasek statusu */
.header { padding-top: env(safe-area-inset-top, 0px); }
.hero__content { padding-top: calc(150px + env(safe-area-inset-top, 0px)); }
@media (max-width: 600px) { .hero__content { padding-top: calc(132px + env(safe-area-inset-top, 0px)); } }
.legal__top { padding-top: env(safe-area-inset-top, 0px); }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.lb { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }

/* Stopka na telefonie: kontakt na całą szerokość zaraz po danych firmy, menu niżej w dwóch równych kolumnach */
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .footer__company { order: 1; }
  .footer__grid > div:last-child { order: 2; }
  .footer nav { order: 3; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .footer nav b { grid-column: 1 / -1; }
  .footer__grid > div:last-child > a.footer__phone { font-size: 1.25rem; letter-spacing: .05em; }
}
.footer__bottom a { white-space: nowrap; }
