/* ==========================================================
   Serwis Zmywarek Gastro Wrocław – dark industrial
   Fonty hostowane lokalnie (RODO), bez zewnętrznych zasobów.
   ========================================================== */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/barlow-condensed-800-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/barlow-condensed-800-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #16191d;
  --panel: #23282e;
  --panel-2: #1c2025;
  --accent: #4aa3ff;
  --accent-hi: #7dbcff;
  --text: #c9d1d9;
  --muted: #8b96a3;
  --line: #2d333a;
  --white: #eef2f6;
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --hdr-h: 60px;
  --cut: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hi); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }
strong, b { color: var(--white); font-weight: 600; }

h1, h2, h3, .h-cond {
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  color: var(--white);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 1.4em; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--bg); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

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

/* 12-kolumnowa siatka */
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.grid12 > * { grid-column: 1 / -1; min-width: 0; }

/* ---------- Przyciski: ostre narożniki, CTA ze ściętym rogiem ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--head); font-weight: 800; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none;
  border: 2px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-cta {
  background: var(--accent); color: var(--bg);
  padding-right: calc(22px + var(--cut) / 2);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.btn-cta:hover { background: var(--accent-hi); color: var(--bg); }
.btn-cta:focus-visible { clip-path: none; outline-color: var(--white); }
.btn-line { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-line:hover { background: rgba(74, 163, 255, .12); color: var(--accent-hi); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn-ghost:hover { border-color: var(--muted); color: var(--white); }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 1rem; padding-right: calc(16px + var(--cut) / 2); --cut: 10px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Nagłówek ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 25, 29, .96);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none;
  font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; line-height: 1.05; }
.logo b { color: var(--accent); font-weight: 800; }
.logo__mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.logo:hover { color: var(--white); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 10px; color: var(--muted); text-decoration: none;
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--accent); }
.hdr__act { display: flex; align-items: center; gap: 16px; }
.hdr__phone { color: var(--accent); font-weight: 600; text-decoration: none; letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdr__phone:hover { color: var(--accent-hi); text-decoration: underline; }

/* Menu mobilne: <details> → pełnoekranowa ciemna nakładka */
.mnav { display: none; margin-left: auto; }
.mnav > summary {
  list-style: none; cursor: pointer; position: relative; z-index: 3;
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px;
  border: 1px solid var(--line); color: var(--white);
  font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 1rem;
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav__ico, .mnav__ico::before, .mnav__ico::after { display: block; width: 20px; height: 2px; background: var(--accent); position: relative; }
.mnav__ico::before, .mnav__ico::after { content: ""; position: absolute; left: 0; }
.mnav__ico::before { top: -6px; } .mnav__ico::after { top: 6px; }
.mnav[open] .mnav__ico { background: transparent; }
.mnav[open] .mnav__ico::before { top: 0; transform: rotate(45deg); }
.mnav[open] .mnav__ico::after { top: 0; transform: rotate(-45deg); }
.mnav__close { display: none; }
.mnav[open] .mnav__open { display: none; }
.mnav[open] .mnav__close { display: inline; }
.mnav__panel {
  position: fixed; inset: 0; z-index: 2;
  background: var(--bg);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mnav__panel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mnav__panel li { border-bottom: 1px solid var(--line); background: var(--bg); }
.mnav__panel nav a {
  display: block; padding: 12px 0; color: var(--white); text-decoration: none;
  font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.1; letter-spacing: .02em;
}
.mnav__panel nav a[aria-current="page"] { color: var(--accent); }
.mnav__foot { display: grid; gap: 12px; margin-top: 32px; background: var(--bg); padding-top: 8px; }
.mnav__phone { color: var(--accent); font-family: var(--head); font-weight: 800; font-size: 1.8rem; text-decoration: none; letter-spacing: .04em; }

@media (max-width: 1080px) {
  .nav a { letter-spacing: .12em; padding: 8px 7px; }
}
@media (max-width: 960px) {
  .nav, .hdr__act { display: none; }
  .mnav { display: block; }
}

/* ---------- Okruszki i nagłówek strony ---------- */
.crumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); }
.page-head { border-bottom: 1px solid var(--line); padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 4vw, 48px);
  background: linear-gradient(90deg, rgba(74,163,255,.07), transparent 60%); }
.page-head h1 { max-width: 20ch; }
.kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .22em; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text); max-width: 62ch; margin: 0; }

/* ---------- Treść ---------- */
.prose-wide { padding-top: 40px; padding-bottom: 64px; }
.prose-wide > *:not(.full) { max-width: 820px; }
.article-grid { padding-top: 40px; padding-bottom: 64px; }
.col-main { grid-column: 1 / span 8 !important; }
.side { grid-column: 9 / span 4 !important; }
@media (max-width: 960px) { .col-main, .side { grid-column: 1 / -1 !important; } .side { margin-top: 32px; } }
.prose > h2:first-child, .prose-wide > h2:first-child { margin-top: 0; }
.prose ul, .prose ol, .prose-wide ul, .prose-wide ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li, .prose-wide li { margin-bottom: .45em; }
.prose li::marker, .prose-wide li::marker { color: var(--accent); }
.prose h2 { padding-top: 18px; border-top: 1px solid var(--line); }

.checklist { list-style: none; padding: 0 !important; border: 1px solid var(--line); background: var(--panel-2); }
.checklist li { padding: 12px 16px 12px 46px; margin: 0 !important; border-bottom: 1px solid var(--line); position: relative; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 14px; height: 14px; border: 2px solid var(--accent); }

.warn { border-left: 4px solid #e0a43a; background: var(--panel); padding: 16px 20px; margin: 24px 0; }
.warn p:last-child { margin: 0; }
.warn strong { color: #f2c46d; }
.note { border-left: 4px solid var(--accent); background: var(--panel); padding: 16px 20px; margin: 24px 0; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }

.cta-box {
  margin: 32px 0; padding: 24px; background: var(--panel); border: 1px solid var(--line);
  border-top: 3px solid var(--accent); position: relative;
}
.cta-box__title { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; color: var(--white); line-height: 1.1; margin-bottom: 8px; }

.side__box { border: 1px solid var(--line); background: var(--panel-2); padding: 20px; margin-bottom: 16px; }
.side__box--cta { background: var(--panel); border-top: 3px solid var(--accent); position: sticky; top: calc(var(--hdr-h) + 16px); }
@media (max-width: 960px) { .side__box--cta { position: static; } }
.side__title { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; color: var(--white); margin-bottom: 8px; letter-spacing: .03em; }
.side__box p { font-size: .95rem; }
.side__phone { display: block; margin-top: 14px; font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--accent); text-decoration: none; letter-spacing: .04em; }
.side__wa { font-size: .95rem; }
.side__list { list-style: none; margin: 0; padding: 0; }
.side__list li { border-top: 1px solid var(--line); }
.side__list a { display: block; padding: 10px 0; text-decoration: none; color: var(--text); font-size: .95rem; }
.side__list a::before { content: "› "; color: var(--accent); }
.side__list a:hover { color: var(--accent); }

/* ---------- Tabela diagnostyczna (karty usterek) ---------- */
.diag-wrap { border: 1px solid var(--line); background: var(--panel-2); margin: 24px 0; }
.diag { width: 100%; border-collapse: collapse; font-size: .97rem; }
.diag thead th {
  text-align: left; padding: 10px 16px; background: var(--panel); color: var(--muted);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 600; border-bottom: 1px solid var(--line);
}
.diag td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.diag tbody tr:last-child td { border-bottom: 0; }
.diag tbody tr { transition: background-color .15s; }
.diag tbody tr:hover { background: var(--panel); }
.diag td:first-child { width: 40%; }
.diag strong { display: block; font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; line-height: 1.1; letter-spacing: .02em; }
.diag__code { display: inline-block; font-size: .72rem; letter-spacing: .16em; color: var(--accent); border: 1px solid var(--line); padding: 1px 6px; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.diag__sub { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.diag td:nth-child(2) { color: var(--text); }
.diag__go { width: 1%; white-space: nowrap; text-align: right; }
.diag__go a {
  display: inline-block; padding: 8px 14px; border: 1px solid var(--accent); text-decoration: none;
  font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem;
}
.diag__go a:hover { background: var(--accent); color: var(--bg); }
@media (max-width: 720px) {
  .diag thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .diag, .diag tbody, .diag tr, .diag td { display: block; width: 100% !important; }
  .diag tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .diag tbody tr:last-child { border-bottom: 0; }
  .diag td { border: 0; padding: 6px 16px; }
  .diag td[data-label="Obszar"]::before { content: "Obszar: "; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; display: block; }
  .diag__go { text-align: left; padding-bottom: 14px !important; }
}

/* ---------- HERO 55/45 ---------- */
.hero { border-bottom: 1px solid var(--line); position: relative;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 30%, rgba(22,25,29,.82) 60%, rgba(22,25,29,.6)); pointer-events: none; }
.hero__in { position: relative; z-index: 1; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(32px, 5vw, 64px); align-items: center; }
.hero__text { grid-column: 1 / span 7 !important; } /* ~55% */
.hero__art { grid-column: 8 / span 5 !important; } /* ~45% */
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--accent); display: block; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 54ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 24px 0 0;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.hero__meta li::before { content: "■ "; color: var(--accent); }
.hero__phone { display: inline-block; margin-top: 18px; font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--accent); text-decoration: none; letter-spacing: .04em; }
@media (max-width: 960px) {
  .hero__text, .hero__art { grid-column: 1 / -1 !important; }
  .hero__art { margin-top: 32px; max-width: 520px; }
}

/* rysunek techniczny */
.tech { width: 100%; height: auto; display: block; }
.tech .m { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.tech .m2 { fill: none; stroke: var(--line); stroke-width: 1.2; }
.tech .mf { fill: var(--panel-2); stroke: var(--muted); stroke-width: 1.6; }
.tech .hi { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tech .dim { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 4; }
.tech .co { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s cubic-bezier(.6,.1,.3,1) forwards; }
.tech .dot { fill: var(--accent); opacity: 0; animation: fade .3s ease forwards; }
.tech .lbl { font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: .1em; fill: var(--white); text-transform: uppercase; opacity: 0; animation: fade .4s ease forwards; }
.tech .lbl-s { font-family: var(--body); font-size: 11px; letter-spacing: .12em; fill: var(--muted); opacity: 0; animation: fade .4s ease forwards; }
.tech .c1 { animation-delay: .3s; } .tech .c2 { animation-delay: .7s; } .tech .c3 { animation-delay: 1.1s; } .tech .c4 { animation-delay: 1.5s; }
.tech .l1 { animation-delay: 1.1s; } .tech .l2 { animation-delay: 1.5s; } .tech .l3 { animation-delay: 1.9s; } .tech .l4 { animation-delay: 2.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Ticker objawów ---------- */
.ticker { border-bottom: 1px solid var(--line); background: var(--panel); overflow: hidden; position: relative; }
.ticker__label { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; padding: 0 18px;
  background: var(--accent); color: var(--bg); font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .95rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 28px; }
.ticker__track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { border-right: 1px solid var(--line); }
.ticker a { display: flex; align-items: center; gap: 10px; padding: 14px 26px; white-space: nowrap; text-decoration: none; color: var(--text);
  font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem; }
.ticker a::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
.ticker a:hover { color: var(--accent); }
.ticker a:focus-visible { outline-offset: -3px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sekcje strony głównej ---------- */
.sec { padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.sec--panel { background: var(--panel-2); }
.sec__head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 32px; align-items: end; margin-bottom: 28px; }
.sec__head h2 { grid-column: 1 / span 7; margin: 0; }
.sec__head p { grid-column: 8 / span 5; margin: 0; color: var(--muted); }
@media (max-width: 860px) { .sec__head h2, .sec__head p { grid-column: 1 / -1; } .sec__head p { margin-top: 12px; } }
.sec__num { display: block; font-family: var(--body); font-size: .75rem; letter-spacing: .24em; color: var(--accent); margin-bottom: 10px; font-weight: 600; }

.types { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); }
.type { padding: 24px; border-right: 1px solid var(--line); background: var(--bg); }
.type:last-child { border-right: 0; }
.type svg { width: 100%; max-width: 150px; height: 90px; display: block; margin-bottom: 16px; }
.type h3 { margin-top: 0; font-size: 1.5rem; }
.type p { font-size: .95rem; margin: 0; }
.type__tag { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 960px) { .types { grid-template-columns: repeat(2, minmax(0,1fr)); } .type:nth-child(2) { border-right: 0; } .type:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } .type { border-right: 0; border-bottom: 1px solid var(--line); } .type:last-child { border-bottom: 0; } }

.steps { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; counter-reset: s; border-top: 2px solid var(--accent); }
.steps li { counter-increment: s; padding: 24px 24px 8px 0; margin: 0 !important; position: relative; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--head); font-weight: 800; font-size: 3.2rem; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.steps h3 { margin: 0 0 8px; font-size: 1.35rem; }
.steps p { font-size: .97rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.cols2 { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 32px; }
.cols2 > :first-child { grid-column: 1 / span 7; }
.cols2 > :last-child { grid-column: 9 / span 4; }
@media (max-width: 860px) { .cols2 > * { grid-column: 1 / -1 !important; } }

.area { border: 1px solid var(--line); padding: 20px; background: var(--panel); }
.area ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 16px; font-size: .95rem; }
.area li { padding: 4px 0; break-inside: avoid; }
.area li::before { content: "+ "; color: var(--accent); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative;
  font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; color: var(--white); line-height: 1.15; letter-spacing: .02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-size: 1.8rem; color: var(--accent); line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details > div { padding: 0 0 16px; max-width: 72ch; }
.faq-list h2 { font-size: inherit; margin: 0; display: inline; color: inherit; letter-spacing: inherit; }

.final { padding: clamp(48px, 7vw, 96px) 0; background: var(--panel); border-bottom: 1px solid var(--line); }
.final__in { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 32px; align-items: center; }
.final__in > :first-child { grid-column: 1 / span 7; }
.final__in > :last-child { grid-column: 9 / span 4; }
.final h2 { margin-top: 0; }
.final__phone { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--accent); text-decoration: none; letter-spacing: .03em; margin-bottom: 16px; }
@media (max-width: 860px) { .final__in > * { grid-column: 1 / -1 !important; } .final__in > :last-child { margin-top: 24px; } }

.cards-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.cards-list li { margin: 0 !important; border: 1px solid var(--line); background: var(--panel-2); padding: 22px; }
.cards-list h2, .cards-list h3 { margin-top: 0; font-size: 1.6rem; }
.cards-list a.more { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
@media (max-width: 720px) { .cards-list { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 8px 0 32px; }
.contact-grid > div { border: 1px solid var(--line); background: var(--panel); padding: 22px; }
.contact-grid .big { display: block; font-family: var(--head); font-weight: 800; font-size: 1.7rem; text-decoration: none; letter-spacing: .03em; margin: 6px 0 12px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */
.ftr { padding: 48px 0 32px; font-size: .95rem; color: var(--muted); }
.ftr__grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 32px; row-gap: 28px; }
.ftr__brand { grid-column: 1 / span 5; }
.ftr__col:nth-child(2) { grid-column: 6 / span 3; }
.ftr__col:nth-child(3) { grid-column: 9 / span 4; }
@media (max-width: 860px) { .ftr__grid > * { grid-column: 1 / -1 !important; } }
.ftr__name, .ftr__h { font-family: var(--head); font-weight: 800; text-transform: uppercase; color: var(--white); letter-spacing: .06em; font-size: 1.2rem; margin-bottom: 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { padding: 4px 0; }
.ftr a { color: var(--text); text-decoration: none; }
.ftr a:hover { color: var(--accent); text-decoration: underline; }
.ftr .ftr__phone { color: var(--accent); font-weight: 600; font-size: 1.2rem; }
.ftr .btn-cta { color: var(--bg); }

/* ---------- Dolny pasek mobilny ---------- */
.mbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mbar {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--bg); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar > a { min-height: 58px; display: flex; align-items: center; justify-content: center; text-decoration: none;
    font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; }
  .mbar__cta.btn { padding: 0 12px; min-height: 58px; font-size: 1.05rem; }
  .mbar__btn { color: var(--white); border-left: 1px solid var(--line); }
  .mbar__btn:hover { color: var(--accent); }
}

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tech .co { stroke-dasharray: none; stroke-dashoffset: 0; }
  .tech .dot, .tech .lbl, .tech .lbl-s { opacity: 1; }
  .ticker { overflow-x: auto; }
  .ticker__track { padding-left: 0; }
  .ticker__label { position: static; clip-path: none; padding: 10px 16px; }
  .ticker { display: block; }
  .ticker__track [aria-hidden="true"] { display: none; }
  .ticker ul { flex-wrap: wrap; }
  .ticker__track { width: auto; }
}

/* Wąskie ekrany: wielokolumnowe siatki → jedna kolumna (bez sumowania odstępów 12 kolumn) */
@media (max-width: 860px) {
  .sec__head, .cols2, .final__in, .ftr__grid { grid-template-columns: minmax(0, 1fr); }
}
