/* NAMIL: style strony głównej. */

:root {
  --ink: #141412;
  --text: #33322E;
  --muted: #55544F;
  --label: #6B6A65;
  --soft: #B3B2AC;
  --line: #D9D6CE;
  --stone: #F3F1EC;
  --photo: #E9E6DF;
  --dark: #141412;
  --dark-line: #3E3D39;
  --dark-field: #232320;
  --dark-muted: #C9C8C2;
  --accent: #0B6FAE;
  --radius: 10px;
  --header: 72px;
  --font: 'Inter', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
section[id], div[id] { scroll-margin-top: var(--header); }
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }

/* Nagłówki: grubość 450 i krój Display (opsz 32), tak jak w prototypie. */
h1, h2, h3, .row-big { font-weight: 450 !important; font-variation-settings: "opsz" 32; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.sec { padding: 120px 0; }
.sec-stone { background: var(--stone); }

/* ---------- Typografia ---------- */
.label { font-size: 15px; line-height: 1.3; color: var(--label); }
.h2 { max-width: 22ch; font-size: clamp(36px, 5vw, 68px); line-height: 1.04; letter-spacing: -.025em; color: var(--ink); }
.h3 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -.025em; }
.soft { color: var(--soft); }
.lead { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.ph { white-space: nowrap; }

/* ---------- Przyciski ---------- */
.btn, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px;
  font-size: 17px; font-weight: 500; line-height: 1.1; text-align: center;
  text-decoration: none; cursor: pointer;
}
.btn { border: 0; background: var(--accent); color: #fff; }
.btn:hover { filter: brightness(.9); }
.btn-line { border: 1px solid currentColor; background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.dark .btn-line { color: #fff; }
.dark .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 18px; color: var(--accent); text-decoration: none;
}
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Przełączniki (segmenty i chipy) */
.chip {
  min-height: 48px; padding: 8px 16px;
  border: 1px solid var(--ink); border-radius: 8px;
  background: transparent; color: var(--ink);
  font-size: 16px; font-weight: 500; line-height: 1.1;
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip-sm { min-height: 44px; padding: 6px 14px; font-size: 15px; }
.dark .chip { border-color: var(--dark-line); background: var(--dark-field); color: #fff; }
.dark .chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.dark :focus-visible { outline-color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #fff; border-bottom: 1px solid #ECEAE4;
}
.header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; min-height: var(--header); }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 24px; font-weight: 600; letter-spacing: .08em; text-decoration: none; color: var(--ink);
}
.logo img { display: block; width: auto; height: 40px; }
.desk-nav { display: flex; align-items: center; gap: 24px; }
.desk-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 16px; text-decoration: none; white-space: nowrap;
}
.desk-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.header-tel { font-size: 16px; text-decoration: none; white-space: nowrap; }
.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
  border: 0; background: none; font-size: 16px; font-weight: 500; cursor: pointer;
}
.bars { display: inline-block; width: 22px; height: 9px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }

/* ---------- Menu mobilne ---------- */
.menu {
  position: fixed; inset: 0; z-index: 50; overflow-y: auto;
  background: #fff; color: var(--ink);
}
.menu-in { display: flex; flex-direction: column; min-height: 100%; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header); border-bottom: 1px solid #ECEAE4; }
.menu-close {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px;
  border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer;
}
.menu-close:hover { background: var(--stone); }
.menu-group { margin: 28px 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--label); }
.menu-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; border-bottom: 1px solid var(--line);
  font-size: 20px; font-weight: 500; line-height: 1.2; text-decoration: none; color: var(--ink);
}
.menu-list a:hover { color: var(--accent); }
.chev { flex: none; color: var(--label); }
.menu-contact { margin-top: auto; padding-top: 12px; }
.menu-tel { display: inline-block; padding: 4px 0; font-size: 26px; text-decoration: none; }
.menu-contact .label { margin-top: 2px; }
.menu-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 18px; }
.menu-actions .btn, .menu-actions .btn-line { width: 100%; padding: 0 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 780px; background: #2B2925; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24, 22, 18, .78), rgba(24, 22, 18, .3) 72%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end;
  padding-top: 80px; padding-bottom: 40px; color: #fff;
}
.hero h1 { max-width: 17ch; font-size: clamp(44px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -.035em; }
.hero-lead { font-size: 21px; line-height: 1.4; margin-top: 24px; max-width: 620px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 17px; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.g-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 22px; padding: 0 14px;
  border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: 15px;
}
.g-chip:hover { background: var(--stone); }
.stars { display: inline-flex; gap: 2px; }
.choices { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 112px; padding: 22px 24px; border-radius: var(--radius);
  background: #fff; color: var(--ink); text-decoration: none; font-size: 21px; line-height: 1.2;
}
.choice small { display: block; margin-top: 6px; font-size: 15px; line-height: 1.35; color: var(--label); }
.choice-main { background: var(--accent); color: #fff; }
.choice-main small { color: #fff; }
.choice:hover { filter: brightness(.95); }

/* ---------- Dlaczego NAMIL ---------- */
.why { padding: 48px 0 8px; }
.why-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 56px; margin: 0; padding: 0; list-style: none; }
.why-list li { display: flex; align-items: flex-start; gap: 14px; }
.why-list svg { flex: none; margin-top: 1px; }
.why-list h3 { font-size: 17px; line-height: 1.3; }
.why-list p { font-size: 15px; line-height: 1.45; color: var(--label); margin-top: 2px; }

/* ---------- Realizacje ---------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 40px; }
.sec-head .h2 { margin-top: 14px; }
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--photo); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.feature { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.feature .photo { aspect-ratio: 4 / 3; }
.ba {
  position: absolute; left: 14px; bottom: 14px;
  display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff;
}
.ba button {
  min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer;
}
.ba button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.feature-info { display: flex; flex-direction: column; min-width: 0; }
.feature-info h3 { font-size: 30px; line-height: 1.12; letter-spacing: -.015em; margin-top: 10px; }
.big-num { font-size: clamp(36px, 3.6vw, 52px); line-height: 1; font-weight: 300; letter-spacing: -.03em; margin-top: 8px; }
.facts-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 36px 0 32px; }
.facts-2 p + p, .kv p + p { margin-top: 4px; }
.facts-2 .v { font-size: 18px; }
.feature-info .btn-line { align-self: flex-start; margin-top: auto; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 24px; margin-top: 72px; }
.case .photo { aspect-ratio: 4 / 3; }
.case .label { margin-top: 16px; }
.case h3 { font-size: 22px; margin-top: 4px; }
.case-meta { font-size: 16px; color: var(--text); margin-top: 8px; }

/* ---------- Cennik ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tier { display: flex; flex-direction: column; padding: 0 28px; border-left: 1px solid var(--line); }
.tier:first-child { padding-left: 0; border-left: 0; }
.tag { align-self: flex-start; padding: 6px 10px; border: 1px solid var(--ink); border-radius: 6px; font-size: 15px; }
.tag-best { background: var(--ink); color: #fff; }
.tier h3 { font-size: 30px; line-height: 1.12; letter-spacing: -.015em; margin: 18px 0 14px; }
.incl { display: flex; flex-direction: column; gap: 8px; flex: 1; margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.4; color: var(--text); }
.incl li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.incl svg { margin-top: 2px; }
.tier-price { font-size: 30px; margin: 4px 0 20px; }
.tier .btn, .tier .btn-line { align-self: flex-start; }

/* Kalkulator */
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  margin-top: 96px; padding-top: 72px; border-top: 1px solid var(--line);
}
.calc .lead { margin-top: 18px; }
.calc .chips { margin-top: 28px; }
.area { margin-top: 28px; }
.area-row { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.range { flex: 1 1 auto; min-width: 0; height: 44px; accent-color: var(--accent); }
.num-wrap { display: flex; align-items: center; gap: 6px; flex: none; }
.num {
  width: 96px; min-height: 52px; padding: 0 10px;
  border: 1px solid #8B8A84; border-radius: 8px; background: #fff; color: var(--ink); font-size: 19px;
}
.tier-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.tier-pick .chip { min-height: 54px; font-size: 17px; }
.tier-note { font-size: 15px; line-height: 1.4; color: var(--muted); margin-top: 10px; }
.calc-card { min-width: 0; padding: 32px; border-radius: var(--radius); background: #fff; }
.total { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; font-weight: 300; letter-spacing: -.03em; margin-top: 8px; }
.total-sub { font-size: 16px; color: var(--text); margin-top: 8px; }
.calc-card .note { font-size: 14px; margin-top: 6px; }
.calc-card h3 { font-size: 34px; line-height: 1.1; }
.calc-card .text { font-size: 18px; line-height: 1.5; color: var(--muted); margin-top: 12px; }

/* Formularze */
.form { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.fields-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 15px; line-height: 1.3; color: var(--muted); }
.field input {
  width: 100%; min-height: 52px; padding: 0 14px;
  border: 1px solid #8B8A84; border-radius: 8px; background: #fff; color: var(--ink); font-size: 17px;
}
.field input[type=file] { display: flex; align-items: center; padding: 8px; font-size: 15px; cursor: pointer; }
.field input[type=file]::file-selector-button {
  min-height: 36px; margin-right: 12px; padding: 0 14px;
  border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit;
  font: inherit; font-weight: 500; cursor: pointer;
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.dark .field { color: var(--dark-muted); }
.dark .field input { background: var(--dark-field); border-color: var(--dark-line); color: #fff; }
.dark .field input:focus { outline-color: #fff; }
.legal { font-size: 14px; line-height: 1.4; color: var(--label); }
.dark .legal { color: var(--dark-muted); }
.g-mini { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; color: var(--muted); text-decoration: none; }

/* ---------- Usługi ---------- */
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) 28px; gap: 24px; margin-bottom: 48px; }
details.row { border-top: 1px solid var(--line); }
details.row:last-of-type { border-bottom: 1px solid var(--line); }
details.row summary {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) 28px; gap: 24px; align-items: center;
  padding: 24px 0; list-style: none; cursor: pointer;
}
details summary::-webkit-details-marker { display: none; }
.row-big { font-size: clamp(24px, 3vw, 36px); line-height: 1.1; letter-spacing: -.015em; color: var(--ink); }
.plus { font-size: 28px; font-weight: 300; line-height: 1; text-align: right; transition: transform .2s; }
details[open] > summary .plus { transform: rotate(45deg); }
.row-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) 28px; gap: 24px; padding: 0 0 28px; }
.row-body > div { grid-column: 2; max-width: 640px; }
.row-body p { font-size: 18px; line-height: 1.5; color: var(--muted); }
.row-body .link { font-size: 16px; margin-top: 6px; }
.row-body .chips { margin-top: 14px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 999px; font-size: 16px; text-decoration: none;
}
.pill:hover { background: var(--ink); color: #fff; }
.svc-cta { margin-top: 40px; }

/* ---------- Etapy ---------- */
.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.steps-photo { aspect-ratio: 5 / 4; margin-top: 40px; }
.steps { margin: 0; padding: 8px 0 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding-bottom: 40px; }
.step::before { content: ""; position: absolute; left: 23px; top: 40px; bottom: 0; width: 1px; background: #C9C6BD; }
.step:last-child::before { display: none; }
.step-n { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 8px; font-size: 15px; font-weight: 500; }
.step h3 { font-size: 27px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 8px; }
.step p { font-size: 17px; line-height: 1.5; color: var(--muted); }
.when { display: inline-block; margin-top: 8px; padding: 4px 8px; border-radius: 6px; background: var(--stone); font-size: 14px; }

/* ---------- Opinie ---------- */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.rating-num { font-size: clamp(54px, 7vw, 84px); line-height: 1; font-weight: 300; letter-spacing: -.03em; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; min-height: 270px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--photo); color: var(--muted); font-size: 17px; }
.review-name { font-size: 16px; font-weight: 500; }
.review blockquote { margin: 14px 0 16px; font-size: 18px; line-height: 1.5; color: var(--text); }
.review .link { margin-top: auto; font-size: 15px; }

/* ---------- Dla firm ---------- */
.biz-title { max-width: 28ch; margin-bottom: 48px; }
.biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.biz .lead { margin-top: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.biz-points { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 18px; color: var(--ink); }
.biz-points li { display: flex; align-items: center; gap: 10px; }
.biz-points svg { flex: none; color: var(--accent); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.fact { padding-top: 14px; border-top: 1px solid #C9C6BD; }
.fact .v { font-size: 30px; line-height: 1.1; font-weight: 300; letter-spacing: -.015em; }
.fact .k { font-size: 15px; color: var(--label); margin-top: 6px; }
.clients { margin-top: 28px; font-size: 16px; line-height: 1.5; color: var(--text); }
.clients .k { color: var(--label); }
.biz-more { margin-top: 32px; }
details.more { border-top: 1px solid var(--line); }
details.more:last-child { border-bottom: 1px solid var(--line); }
details.more summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; list-style: none; cursor: pointer; font-size: 17px; color: var(--ink); }
details.more summary .plus { font-size: 24px; }
.buyers { display: grid; gap: 6px; margin: 0; padding: 0 0 20px; list-style: none; font-size: 16px; line-height: 1.4; color: var(--muted); }
.pdf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; padding-bottom: 20px; }
.pdf .btn-line { min-height: 52px; }
.pdf-done { padding-bottom: 20px; font-size: 16px; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px; align-items: start; }
details.q { border-top: 1px solid var(--line); }
details.q:last-of-type { border-bottom: 1px solid var(--line); }
details.q summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 21px; line-height: 1.25; cursor: pointer; }
details.q p { padding: 0 0 22px; font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 720px; }

/* ---------- Kontakt ---------- */
.contact { padding: 112px 0; background: var(--dark); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.contact .h2 { color: #fff; }
.contact .lead { color: var(--dark-muted); margin-top: 20px; max-width: 480px; font-size: 20px; line-height: 1.45; }
.contact-tel { display: inline-block; margin-top: 20px; padding: 8px 0; font-size: 26px; text-decoration: none; }
.contact-hours { font-size: 16px; color: var(--dark-muted); margin-top: 4px; }
.keeper { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.keeper .avatar { width: 64px; height: 64px; background: var(--dark-line); color: #fff; font-size: 20px; }
.keeper-name { font-size: 17px; line-height: 1.35; }
.keeper-name small { display: block; color: var(--dark-muted); font-size: 17px; }
.contact-quote { max-width: 480px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--dark-line); font-size: 19px; line-height: 1.45; }
.contact-quote footer { margin-top: 8px; font-size: 15px; color: var(--dark-muted); }
.contact .form { gap: 20px; margin-top: 0; }
.group-label { display: block; margin-bottom: 8px; font-size: 15px; color: var(--dark-muted); }
.next { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 22px; padding: 0; list-style: none; font-size: 17px; line-height: 1.45; color: var(--dark-muted); }
.next li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.next b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--label); border-radius: 6px; font-size: 13px; font-weight: 500; color: #fff; }
.thanks h3 { font-size: 36px; line-height: 1.1; }

/* ---------- Stopka ---------- */
.site-footer { padding: 32px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }

.mobile-bar { display: none; }

/* ---------- Responsywność ---------- */
@media (max-width: 1280px) {
  .hide-lg { display: none !important; }
}

@media (max-width: 1040px) {
  .desk-nav { display: none; }
  .header-row { grid-template-columns: minmax(0, 1fr) auto; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .feature, .calc, .steps-grid, .biz, .contact-grid, .faq { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { gap: 48px; }
  .calc { gap: 40px; }
  .feature { gap: 28px; }
  .feature-info .btn-line { margin-top: 0; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier, .tier:first-child { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .tier:first-child { padding-top: 0; border-top: 0; }
  .why-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 720px) {
  :root { --header: 64px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 72px 0; }
  .hide-sm { display: none !important; }
  .logo img { height: 34px; }

  .hero { min-height: 0; }
  .hero-grid { gap: 28px; padding-top: 140px; padding-bottom: 20px; }
  .hero-lead { font-size: 18px; margin-top: 16px; }
  .choice { min-height: 84px; padding: 14px 18px; font-size: 19px; }

  .why { padding-top: 40px; }

  .sec-head { margin-bottom: 28px; }
  .cases { margin-top: 48px; }

  .calc { margin-top: 64px; padding-top: 48px; }
  .calc .chips .chip, #mode .chip { flex: 1 1 calc(50% - 4px); }
  .tier-pick .chip { min-height: 48px; font-size: 16px; padding: 6px 4px; }
  .calc-card { padding: 22px 18px; }

  .svc-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
  .svc-head .label { display: none; }
  details.row summary { grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; padding: 20px 0; }
  .row-sub { display: none; }
  .row-body { display: block; padding-bottom: 24px; }

  .steps-photo { margin-top: 28px; }

  .review { min-height: 0; }

  .biz { gap: 48px; }
  .actions .btn, .actions .btn-line { flex: 1 1 100%; }
  .pdf { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; }


  .contact { padding: 72px 0; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line);
  }
  .mobile-bar .btn, .mobile-bar .btn-line { min-height: 48px; padding: 0 8px; }

  /* Pojedyncze przyciski na całą szerokość */
  .btn, .btn-line { width: 100%; align-self: stretch; }
  .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plus { transition: none; }
}
