/* ==========================================================================
   Modern Line - strona główna (HTML/CSS z projektu XD ModernLine_website.xd)
   Tokeny wyciągnięte przez koryfi-xd-extract -> nowa/design-spec/design-spec.json
   Siatka XD: 1920 px, kontener 280..1640 (1360 px), 12 kolumn, gutter 20 px
   ========================================================================== */

:root {
  /* kolory z XD */
  --c-bg: #F9F9F9;          /* tło artboardu */
  --c-bg-2: #FAFAFA;        /* jasne pola, tekst na ciemnym */
  --c-dark: #040707;        /* header, stopka */
  --c-ink: #242424;         /* tekst główny, przyciski, pasek partnerów */
  --c-ink-2: #101010;
  --c-muted: #838384;       /* eyebrow, opisy drugorzędne */
  --c-muted-2: #A4A4A4;
  --c-gold: #947846;        /* akcent: submit, logo */
  --c-gold-dark: #7C6338;
  --c-card: #F1F1F1;        /* karty cennika */
  --c-chip: #E9E9E9;        /* chipy podkategorii */
  --c-line: #D4D4D4;        /* pola formularza */
  --c-line-2: #DDDDDD;      /* separatory procesu */
  --c-line-3: #BABABA;      /* ramki trust flow */
  --c-line-4: #707070;      /* linia w stopce */
  --c-white: #FFFFFF;

  /* typografia z XD: Inter Tight (nagłówki, body), Inter (liczby, top bar, FAQ H2) */
  --f-tight: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-inter: 'Inter', 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --fs-h1: clamp(2rem, 1.2rem + 2.2vw, 3rem);          /* XD 48 light */
  --fs-h2: clamp(1.625rem, 1.2rem + 1.2vw, 2.1875rem);  /* XD 35 regular */
  --fs-h3: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);     /* XD 22 medium */
  --fs-h4: 1.125rem;                                     /* XD 18 */
  --fs-body: 1rem;                                       /* XD 16 */
  --fs-small: 0.875rem;                                  /* XD 14 */
  --fs-num: clamp(2.5rem, 1.5rem + 2.8vw, 5rem);         /* XD 80 / 40 */

  --lh-tight: 1.15;
  --lh-body: 1.55;

  /* siatka i rytm */
  --container: 1360px;
  --gutter: 24px;
  --col-gap: 20px;
  --sec-y: clamp(72px, 4vw + 40px, 140px);   /* pion sekcji, XD ~140-200 */
  --sec-y-sm: clamp(48px, 3vw + 24px, 96px);

  --radius: 4px;             /* jedyny radius w XD: 4 px */
  --btn-h: 48px;
  --header-h: 96px;          /* XD 160 px, po kompakcji sticky ~80 px */
  --topbar-h: 44px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-tight);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--c-gold); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 8px; }

/* ---------- typografia ---------- */
.h1 { font-size: var(--fs-h1); font-weight: 300; line-height: var(--lh-tight); letter-spacing: -0.01em; }
.h2 { font-size: var(--fs-h2); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; }
.h4 { font-size: var(--fs-h4); font-weight: 500; }
.eyebrow { font-size: var(--fs-small); color: var(--c-muted); margin-bottom: 12px; }
.lead { font-size: var(--fs-body); max-width: 62ch; }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-small); }
.center { text-align: center; }

/* ---------- layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--sec-y); }
.section--sm { padding-block: var(--sec-y-sm); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 4vw, 64px); }
.section-head .h2 { margin-bottom: 20px; }
.grid { display: grid; gap: var(--col-gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 80px); align-items: start; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .split { grid-template-columns: 1fr; }
}

/* ---------- przyciski (XD: 48 px, ciemne, strzałka po prawej) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
  min-height: var(--btn-h); padding: 0 16px;
  font-size: var(--fs-body); font-weight: 400; line-height: 1;
  background: var(--c-ink); color: var(--c-bg-2);
  border: 1px solid var(--c-ink); border-radius: 0;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn .ico { width: 24px; height: 12px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { background: var(--c-ink-2); transform: translateY(-2px); }
.btn:hover .ico { transform: translateX(4px); }
.btn--light { background: var(--c-bg-2); color: var(--c-ink); border-color: var(--c-bg-2); }
.btn--light:hover { background: #fff; }
.btn--gold { background: var(--c-gold); border-color: var(--c-gold); color: #fff; justify-content: center; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: var(--fs-body); }
.btn--gold:hover { background: var(--c-gold-dark); }
.btn--outline { background: transparent; color: var(--c-bg-2); border-color: var(--c-bg-2); }
.btn--outline:hover { background: var(--c-bg-2); color: var(--c-ink); }
.btn--full { width: 100%; }

/* link ze strzałką (XD: strzałka + podkreślony tekst 16 medium) */
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link-arrow .ico { width: 20px; height: 10px; flex: none; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ikony social */
.social { display: flex; align-items: center; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--c-line-3); border-radius: 50%; transition: background .2s, color .2s, border-color .2s; }
.social a svg { width: 18px; height: 18px; }
.social a:hover { background: var(--c-ink); color: var(--c-bg-2); border-color: var(--c-ink); }
.social--light a { border-color: rgba(250,250,250,.35); color: var(--c-bg-2); }
.social--light a:hover { background: var(--c-bg-2); color: var(--c-ink); border-color: var(--c-bg-2); }
.social__text { width: auto !important; border-radius: 999px !important; padding: 0 14px; font-size: var(--fs-small); }
.contact__emails p + p { margin-top: 6px; }
.contact__emails a { text-decoration: underline; text-underline-offset: 3px; }

/* lista z kropkami (XD: kółko 8 px, wcięcie 26 px) */
.dots { display: grid; gap: 14px; }
.dots li { position: relative; padding-left: 26px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-ink); }

/* ==========================================================================
   TOP BAR + HEADER
   ========================================================================== */
.topbar { background: var(--c-bg); font-family: var(--f-inter); font-size: var(--fs-small); color: var(--c-ink); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--topbar-h); gap: 16px; }
.topbar__contacts { display: flex; align-items: center; gap: 22px; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__contacts .ico { width: 14px; height: 14px; }
.topbar__hours { color: var(--c-ink); }
@media (max-width: 900px) {
  .topbar__text, .topbar__hours { display: none; }
  .topbar__contacts { width: 100%; justify-content: space-between; }
  .topbar__contacts a span { font-size: var(--fs-small); }
  .topbar__contacts a:first-of-type span { display: none; }
}

.header { position: sticky; top: 0; z-index: 100; background: var(--c-dark); color: var(--c-bg-2); transition: box-shadow .3s; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-compact .container { height: 72px; }
.header.is-compact { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.logo { display: block; width: 150px; flex: none; }
.logo img { width: 100%; height: auto; }
.header.is-compact .logo { width: 120px; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2vw, 32px); }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 1.6vw, 28px); }
.nav__list > li { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; font-size: var(--fs-body); color: var(--c-bg-2); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { border-bottom-color: var(--c-gold); }
.nav__link .chev { width: 10px; height: 6px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__cta { border-color: var(--c-bg-2); background: var(--c-bg-2); color: var(--c-ink); min-height: 44px; justify-content: center; gap: 0; }
.nav__cta:hover { background: #fff; transform: none; }

/* mega menu (brief 7.B.2: 2 kolumny) */
.mega { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); min-width: 560px; padding: 28px 32px; background: var(--c-bg-2); color: var(--c-ink); box-shadow: 0 16px 40px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.mega a { display: block; padding: 8px 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-small); }
.mega a:hover { color: var(--c-gold); }
.mega__foot { margin-top: 18px; }
.mega__foot a { display: inline-flex; border-bottom: 0; padding: 0; font-size: var(--fs-body); }

.nav__close, .nav__backdrop, .nav__extra { display: none; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { display: block; width: 24px; height: 2px; background: var(--c-bg-2); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--c-bg-2); transition: transform .25s; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.header__phone { display: none; }

@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  .burger { display: inline-flex; }
  .nav__backdrop[hidden] { display: none; } .nav__backdrop:not([hidden]) { display: block; }
  .header__phone { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: auto; }
  .header__phone svg { width: 20px; height: 20px; }
  .logo { width: 120px; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(86vw, 380px); background: var(--c-dark); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 72px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; box-shadow: -12px 0 40px rgba(0,0,0,.35); transition: transform .32s var(--ease), visibility 0s .32s; z-index: 120; }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav__close { display: grid; position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; place-items: center; color: var(--c-bg-2); }
  .nav__close svg { width: 22px; height: 22px; }
  .nav__backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s; }
  .nav__backdrop.is-open { opacity: 1; }
  .nav__extra { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 16px; }
  .nav__tel, .nav__mail { display: inline-flex; align-items: center; gap: 10px; }
  .nav__tel { font-size: 1.25rem; font-weight: 500; }
  .nav__mail { font-size: var(--fs-small); color: rgba(250,250,250,.8); }
  .nav__tel .ico, .nav__mail .ico { width: 18px; height: 18px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 1.125rem; border-bottom: 0; }
  .mega { position: static; transform: none; min-width: 0; padding: 0 0 16px; background: transparent; color: var(--c-bg-2); box-shadow: none; display: none; }
  .mega.is-open { display: block; transform: none; opacity: 1; visibility: visible; }
  .mega__grid { grid-template-columns: 1fr; gap: 0; }
  .mega a { border-bottom-color: rgba(255,255,255,.12); padding: 10px 0 10px 12px; }
  .mega__foot { display: none; }
  .nav__cta { margin-top: 24px; }
  .nav__extra { display: grid; }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   HERO (XD: obraz 1920x777, tekst od x=276, H1 48 light, 2 CTA)
   ========================================================================== */
.hero { position: relative; color: var(--c-bg-2); background: var(--c-ink); min-height: clamp(560px, 40.5vw, 777px); display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.45) 35%, rgba(0,0,0,.12) 62%, rgba(0,0,0,0) 80%); }
.hero__inner { padding-block: 64px; max-width: 760px; }
.hero .h1 { margin-bottom: 28px; text-wrap: balance; }
.hero__lead { max-width: 440px; margin-bottom: 36px; font-size: var(--fs-body); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { margin-top: 28px; font-size: var(--fs-small); color: rgba(250,250,250,.85); }
@media (max-width: 700px) { .hero { min-height: 70vh; } .hero__cta .btn { width: 100%; } }

/* ==========================================================================
   TRUST FLOW (XD: 4 komórki 487x413, ramka #BABABA, liczby 80/40 Inter Medium)
   ========================================================================== */
.trust { border-block: 1px solid var(--c-line-3); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__cell { padding: clamp(40px, 5vw, 96px) 24px; text-align: center; border-right: 1px solid var(--c-line-3); }
.trust__cell:last-child { border-right: 0; }
.trust__num { font-family: var(--f-inter); font-weight: 500; font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1; letter-spacing: -0.02em; }
.trust__cell--main .trust__num { font-size: var(--fs-num); }
.trust__num small { font-size: .5em; font-weight: 500; }
.trust__label { margin-top: 20px; font-family: var(--f-inter); font-size: var(--fs-body); color: var(--c-muted); }
.trust__label a { display: inline-flex; gap: 8px; align-items: center; color: var(--c-ink); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; margin-top: 6px; }
@media (max-width: 900px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__cell:nth-child(2) { border-right: 0; }
  .trust__cell:nth-child(-n+2) { border-bottom: 1px solid var(--c-line-3); }
  .trust__cell--main .trust__num { font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.5rem); }
}

/* pasek partnerów (XD: #242424, 82 px) */
.partners { background: var(--c-ink); color: var(--c-bg-2); }
.partners .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; min-height: 82px; padding-block: 16px; font-family: var(--f-inter); }
.partners__group { display: flex; align-items: center; gap: 28px; }
.partners__logo { font-weight: 700; letter-spacing: .02em; font-size: 1.125rem; opacity: .9; }
.partners__group img { height: 26px; width: auto; opacity: .95; transition: opacity .2s; }
.partners__group img[alt="Hettich"] { height: 34px; }
.partners__group img:hover { opacity: 1; }
@media (max-width: 900px) { .partners .container { justify-content: center; text-align: center; } .partners__group { flex-wrap: wrap; justify-content: center; } }

/* ==========================================================================
   PROBLEM / EMPATIA (XD: tekst 280..1180, zdjęcie 720x920 przyklejone do prawej)
   ========================================================================== */
.problem { position: relative; overflow: hidden; padding-top: 0; }
.problem__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 37.5%); gap: clamp(32px, 4vw, 80px); align-items: stretch; }
.problem__text { padding-top: var(--sec-y); }
.problem__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); margin-top: clamp(32px, 4vw, 56px); }
.problem__col .h3 { margin-bottom: 28px; }
.problem__col .btn { margin-top: 36px; }
.problem__img { position: relative; min-height: min(920px, 48vw); aspect-ratio: 720 / 920; }
.problem__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1101px) { .problem__img { margin-right: calc((100vw - var(--container)) / -2); } .problem__img img { width: calc(100% + 0px); } }
@media (max-width: 1100px) { .problem__wrap { grid-template-columns: 1fr; } .problem__img { min-height: 380px; order: -1; } .problem__text { padding-top: 0; } .problem__img + .problem__text { padding-top: 40px; } }
@media (max-width: 700px) { .problem__cols { grid-template-columns: 1fr; } }

/* ==========================================================================
   OFERTA (XD: zdjęcie 605x920 do lewej krawędzi, treść od x=740; 2 karty 440 px; chipy)
   ========================================================================== */
.offer__wrap { display: grid; grid-template-columns: minmax(0, 31.5%) minmax(0, 1fr); gap: clamp(32px, 4vw, 135px); align-items: stretch; }
.offer__img { position: relative; min-height: min(920px, 48vw); aspect-ratio: 605 / 920; }
.offer__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1101px) { .offer__img { margin-left: calc((100vw - var(--container)) / -2); } }
.offer__cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); margin-top: clamp(32px, 4vw, 64px); }
.offer-card .eyebrow { margin-bottom: 6px; }
.offer-card .h3 { font-weight: 600; margin-bottom: 20px; }
.offer-card__img { display: block; aspect-ratio: 325 / 209; overflow: hidden; margin-bottom: 20px; }
.offer-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.offer-card:hover .offer-card__img img { transform: scale(1.04); }
.offer-card p { margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a { display: inline-block; padding: 6px 10px; background: var(--c-chip); color: var(--c-muted); font-size: 0.8125rem; border-radius: var(--radius); transition: background .2s, color .2s; }
.chips a:hover { background: var(--c-ink); color: var(--c-bg-2); }
@media (max-width: 1100px) { .offer__wrap { grid-template-columns: 1fr; } .offer__img { min-height: 360px; order: -1; } }
@media (max-width: 700px) { .offer__cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROCES (XD: lewa kolumna 280..940, prawa lista kroków 970..1640 z liniami #DDDDDD)
   ========================================================================== */
.process__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 30px); }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--c-line-2); }
.step:first-child { padding-top: 0; }
.step__num, .step__title { font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; }
.step__body { font-size: var(--fs-small); }
.step__chip { display: block; margin-top: 10px; font-weight: 500; }
.process__close { margin-top: 40px; max-width: 640px; }
.process__close p { margin-bottom: 24px; }
@media (max-width: 1100px) { .process__wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .step { grid-template-columns: 44px 1fr; } .step__body { grid-column: 2; } }

/* ==========================================================================
   REALIZACJE (XD: siatka 2 kolumny 670x480, podpis 14 px)
   ========================================================================== */
.works__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px var(--col-gap); }
.work { display: block; }
.work__img { aspect-ratio: 670 / 480; overflow: hidden; background: var(--c-card); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work:hover .work__img img { transform: scale(1.05); }
.work__title { margin-top: 16px; font-size: var(--fs-small); }
.works__more { margin-top: 56px; }
@media (max-width: 700px) { .works__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================================================
   OPINIE (XD: 3 karty, gwiazdki, slider ze strzałkami)
   ========================================================================== */
.reviews__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: -24px; margin-bottom: 40px; }
.stars { color: var(--c-gold); letter-spacing: 2px; font-size: 1rem; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--col-gap)) / 3); gap: var(--col-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; padding: 28px; background: var(--c-card); border-radius: var(--radius); display: grid; gap: 14px; align-content: start; }
.review__text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-expanded .review__text { display: block; }
.review__more { justify-self: start; font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 3px; color: var(--c-muted); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-ink); color: var(--c-bg-2); display: grid; place-items: center; font-weight: 500; }
.review__name { font-weight: 600; }
.review__meta { font-size: var(--fs-small); color: var(--c-muted); }
.review__text { font-size: var(--fs-body); }
.reviews__nav { display: flex; gap: 8px; margin-top: 24px; }
.reviews__nav button { width: 44px; height: 44px; border: 1px solid var(--c-line-3); display: grid; place-items: center; transition: background .2s, color .2s; }
.reviews__nav button:hover { background: var(--c-ink); color: var(--c-bg-2); }
.reviews__nav svg { width: 16px; height: 16px; }
@media (max-width: 1000px) { .reviews__track { grid-auto-columns: calc((100% - var(--col-gap)) / 2); } }
@media (max-width: 640px) { .reviews__track { grid-auto-columns: 88%; } }

/* ==========================================================================
   O FIRMIE (XD: zdjęcie 835x920 do lewej krawędzi, treść od x=970, lista, portrety 152x190)
   ========================================================================== */
.about__wrap { display: grid; grid-template-columns: minmax(0, 43.5%) minmax(0, 1fr); gap: clamp(32px, 4vw, 135px); align-items: center; }
@media (max-width: 1100px) { .offer__img, .about__img { min-height: min(520px, 90vw); } }
.about__img { position: relative; min-height: min(920px, 48vw); }
.about__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1101px) { .about__img { margin-left: calc((100vw - var(--container)) / -2); } }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); margin-top: 32px; }
.about__story p + p { margin-top: 16px; }
.about__team { display: flex; gap: 20px; margin-top: 40px; }
.about__team figure { width: 152px; }
.about__team img { aspect-ratio: 152 / 190; object-fit: cover; width: 100%; }
.about__team figcaption { font-size: var(--fs-small); color: var(--c-muted); margin-top: 8px; }
@media (max-width: 1100px) { .about__wrap { grid-template-columns: 1fr; } .about__img { min-height: 380px; } }
@media (max-width: 640px) { .about__cols { grid-template-columns: 1fr; } }

/* ==========================================================================
   CENNIK (XD: 3 karty 440x286 #F1F1F1 z rysunkiem, tytuł 22, widełki 16 medium, opis 14)
   ========================================================================== */
.pricing__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: end; margin-bottom: clamp(40px, 4vw, 64px); }
.price-card__img { aspect-ratio: 440 / 286; background: var(--c-card); overflow: hidden; display: grid; place-items: center; margin-bottom: 24px; }
.price-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.price-card .h3 { margin-bottom: 16px; }
.price-card__range { font-weight: 500; margin-bottom: 12px; }
.price-card__desc { font-size: var(--fs-small); color: var(--c-muted); }
.pricing__factors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; margin-top: clamp(48px, 5vw, 80px); align-items: start; }
.pricing__factors .h3 { font-size: 1.75rem; font-weight: 400; margin-bottom: 24px; }
.pricing__note p { margin-bottom: 24px; }
@media (max-width: 900px) { .pricing__head, .pricing__factors { grid-template-columns: 1fr; } }

/* ==========================================================================
   ZASIĘG (XD: tekst 280..980, mapa 388x369 po prawej; listy dzielnic 14 px)
   ========================================================================== */
.area__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.area__lists { display: grid; gap: 28px; margin-top: 36px; }
.area__lists h3 { font-size: var(--fs-small); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.area__lists ul { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-small); }
.area__lists li + li::before { content: "·"; margin: 0 8px; color: var(--c-muted); }
.area__lists a { padding: 2px 4px; margin: -2px -4px; transition: background .2s, color .2s; }
.area__lists a:hover { background: var(--c-ink); color: var(--c-bg-2); }
.area__map { display: flex; justify-content: center; }
.area__map img { width: min(100%, 420px); }
@media (max-width: 900px) { .area__wrap { grid-template-columns: 1fr; } .area__map { order: -1; } .area__map img { width: min(100%, 300px); } }

/* ==========================================================================
   DLA ARCHITEKTÓW (XD: tekst 280..900, zdjęcie 670x599 po prawej 970..1640)
   ========================================================================== */
.b2b__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.b2b__text .lead { margin-bottom: 36px; }
.b2b__text .btn { margin-top: 40px; }
.b2b__img { aspect-ratio: 670 / 599; }
.b2b__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .b2b__wrap { grid-template-columns: 1fr; } .b2b__img { order: -1; } }

/* ==========================================================================
   BLOG (XD: 3 karty 440x320, tytuł 22 semibold)
   ========================================================================== */
.blog__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: end; margin-bottom: clamp(40px, 4vw, 64px); }
.post { display: block; }
.post__img { aspect-ratio: 440 / 320; overflow: hidden; background: var(--c-card); margin-bottom: 20px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__cat { display: inline-block; font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; background: var(--c-chip); color: var(--c-muted); margin-bottom: 10px; }
.post__title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; }
.post__meta { margin-top: 8px; font-size: var(--fs-small); color: var(--c-muted); }
.blog__more { margin-top: 48px; }
@media (max-width: 900px) { .blog__head { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ (XD: H2 32 Inter po lewej 280..900, akordeon po prawej 970..1640, ikona kwadrat)
   ========================================================================== */
.faq__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.faq__wrap .h2 { font-family: var(--f-inter); }
.faq details { border-bottom: 1px solid var(--c-line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 0; font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--c-ink); border-radius: 2px; transition: transform .2s; }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq__a { padding: 0 0 20px 24px; font-size: var(--fs-small); max-width: 62ch; }
.faq__a a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .faq__wrap { grid-template-columns: 1fr; } }

/* ==========================================================================
   KONTAKT (XD: dane 280..900, formularz 970..1410 (440 px), pola 56 px #D4D4D4, submit złoty)
   ========================================================================== */
.contact__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.contact__info { margin-top: 40px; display: grid; gap: 24px; }
.contact__lines a { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h3); font-weight: 500; margin-bottom: 12px; }
.contact__lines .ico { width: 18px; height: 18px; }
.contact__meta { display: grid; gap: 16px; font-size: var(--fs-body); }
.form { max-width: 440px; display: grid; gap: 12px; }
.field { display: block; }
.field input, .field textarea { width: 100%; min-height: 56px; padding: 16px; border: 1px solid var(--c-line); background: var(--c-bg-2); font: inherit; color: var(--c-ink); border-radius: var(--radius); transition: border-color .2s; }
.field textarea { min-height: 156px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--c-ink); outline: 0; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-muted); }
.fieldset { border: 0; padding: 0; margin: 12px 0 4px; }
.fieldset legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-body); padding: 4px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--c-ink); flex: none; }
.check--rodo { font-size: var(--fs-small); color: var(--c-muted); margin-top: 8px; }
.form .btn { margin-top: 12px; }
.form__note { font-size: var(--fs-small); color: var(--c-muted); }
.form__note a { text-decoration: underline; }
.form__status { font-size: var(--fs-small); min-height: 1.4em; }
.form__status.is-error { color: #B3261E; }
.form__status.is-ok { color: #2E6B3A; }
@media (max-width: 900px) { .contact__wrap { grid-template-columns: 1fr; } .form { max-width: none; } }

/* ==========================================================================
   STOPKA (XD: #040707, 484 px, logo 282 px, 4 kolumny od x=740, linia #707070)
   ========================================================================== */
.footer { background: var(--c-dark); color: var(--c-bg-2); padding-top: clamp(56px, 5vw, 72px); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) repeat(4, minmax(0, 1fr)); gap: 40px 30px; }
.footer__brand img { width: 180px; }
.footer__brand p { margin-top: 24px; max-width: 34ch; font-size: var(--fs-body); }
.footer__brand .footer__nip { margin-top: 12px; }
.footer__social { margin-top: 24px; }
.footer h3 { font-size: var(--fs-h4); font-weight: 500; letter-spacing: .02em; margin-bottom: 20px; }
.footer h3 + h3, .footer ul + h3 { margin-top: 28px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--c-gold); }
.footer__bottom { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--c-line-4); padding: 24px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: var(--fs-small); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer__credit { font-size: var(--fs-small); color: var(--c-muted-2); }
.footer__credit a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .footer__right { align-items: flex-start; } }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* sticky CTA na mobile (brief 7.C.1) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; height: 56px; align-items: center; justify-content: center; background: var(--c-gold); color: #fff; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transform: translateY(100%); transition: transform .3s var(--ease); }
.sticky-cta.is-visible { transform: none; }
@media (max-width: 980px) { .sticky-cta { display: flex; } body { padding-bottom: 0; } }

/* animacje wejścia (GSAP nadpisuje; bez JS wszystko widoczne) */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
