/* ─────────────────────────────────────────────────────────────
   KS ONE — strona B2B (koncepcja klienta 2026-11)
   Jasna, techniczna, uporządkowana. Grafit tylko dla nagłówka, hero i stopki;
   czerwień wyłącznie jako akcent (CTA, etykiety, numeracja). Tokeny: docs/DESIGN_SYSTEM.md
   ───────────────────────────────────────────────────────────── */

@font-face {
  font-family: "InterVariable";
  src: url("/assets/fonts/inter-latin-min.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2032-2033, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: "InterVariable";
  src: url("/assets/fonts/inter-pl.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}

:root {
  /* paleta z koncepcji: #17191C · #EA3323 · #FFFFFF · #F3F4F6 */
  --ink: #17191c;          /* grafit: nagłówek, hero, stopka */
  --ink-2: #22252a;
  --ink-line: rgba(255, 255, 255, .12);
  --on-ink: #fff;
  --on-ink-muted: #a3a9b3; /* 7,4:1 na grafit */

  --bg: #fff;
  --bg-2: #f3f4f6;
  --surface: #fff;
  --surface-2: #f3f4f6;
  --surface-3: #e5e7eb;
  --line: #e3e5e8;
  --line-strong: #c9cdd2;
  --text: #17191c;
  --muted: #5b616b;        /* 6,2:1 na biel, 5,7:1 na #F3F4F6 */

  --red: #ea3323;          /* kolor marki — akcent, duże elementy (4,2:1) */
  --red-cta: #c8231a;      /* tło przycisku, biały tekst 5,7:1; czerwony tekst na jasnym */
  --red-cta-hi: #a81c14;
  --red-text: #c8231a;
  --red-on-ink: #ff5a4d;   /* czerwony tekst na grafit 5,7:1 */
  --focus: #0b57d0;
  --ice: var(--focus);     /* alias dla kalkulatora (stan aktywny) */
  --green: #15803d;
  --error: #b42318;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --radius-xl: 12px;
  --radius-lg: 10px;
  --radius: 8px;
  --radius-sm: 6px;
  --header-h: 72px;
  --nav-h: var(--header-h);

  --font: "InterVariable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-display: var(--font);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red-cta); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.on-ink :focus-visible, .site-header :focus-visible, .footer :focus-visible { outline-color: #fff; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: var(--radius-sm); transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter) * 2, 820px); margin-inline: auto; }
.muted, .muted-ink { color: var(--muted); }
.small { font-size: .875rem; }

/* ───────── Typografia ───────── */
.display, .h-xl, .h-lg, .h-md, .h-sm { font-weight: 700; text-wrap: balance; letter-spacing: -.02em; }
.display { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.05; letter-spacing: -.03em; }
.h-xl { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.08; }
.h-lg { font-size: clamp(1.875rem, 3.4vw, 2.625rem); line-height: 1.12; }
.h-md { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -.015em; }
.h-sm { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; }
/* etykieta w stylu deskryptora logo („REPAIR CENTER”) */
.eyebrow { display: block; font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); margin-bottom: 14px; }
.on-ink .eyebrow { color: var(--red-on-ink); }
.section-lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.on-ink .section-lead { color: var(--on-ink-muted); }
.caption { font-size: .875rem; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red-text); }
.on-ink .link-arrow { color: #fff; }
.link-arrow .icon { transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; } .link-arrow:hover .icon { transform: translateX(3px); } }
.prose { font-size: 1.0625rem; line-height: 1.75; color: #33373d; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; color: var(--text); margin-top: 1.9em; }
.prose h3 { font-size: 1.1875rem; font-weight: 700; color: var(--text); margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

/* ───────── Przyciski ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 1rem; font-weight: 600; line-height: 1.1; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 1.0625rem; }
.btn-primary { background: var(--red-cta); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-outline-light, .btn-glass { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); padding-inline: 8px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--red-cta-hi); }
  .btn-dark:hover { background: #000; }
  .btn-outline:hover { border-color: var(--text); }
  .btn-outline-light:hover, .btn-glass:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
  .btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── Nagłówek na całą szerokość ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--ink-line); }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.header-logo { display: flex; align-items: center; gap: 14px; flex: none; }
.header-logo img { height: 28px; width: auto; }
.header-descriptor { display: none; padding-left: 14px; border-left: 1px solid var(--ink-line); font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; color: var(--on-ink-muted); }
@media (min-width: 1500px) { .header-descriptor { display: block; } }
.header-nav { display: flex; gap: 4px; margin-left: auto; }
.header-nav a { position: relative; padding: 10px 12px; font-size: .9375rem; font-weight: 500; color: #e4e6ea; }
.header-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease-out); }
.header-nav a[aria-current="page"] { color: #fff; }
.header-nav a[aria-current="page"]::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .header-nav a:hover { color: #fff; } .header-nav a:hover::after { transform: none; } }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--ink-line); border-radius: var(--radius-sm); background: transparent; color: #fff; font-weight: 600; font-size: .9375rem; }
.burger { position: relative; width: 18px; height: 12px; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s var(--ease-out), top .2s var(--ease-out); }
.burger::before { top: 0; } .burger::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .burger::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { top: 5px; transform: rotate(-45deg); }
.mobile-menu { position: absolute; inset: var(--header-h) 0 auto; max-height: calc(100svh - var(--header-h)); overflow-y: auto; background: var(--ink); border-top: 1px solid var(--ink-line); padding: 8px 0 24px; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--ink-line); font-size: 1.125rem; font-weight: 600; }
.mobile-menu nav a[aria-current="page"] { color: var(--red-on-ink); }
.mobile-menu nav a .icon { color: var(--on-ink-muted); }
.mobile-menu-cta { display: grid; gap: 10px; margin-top: 20px; }
@media (max-width: 1180px) {
  .header-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (min-width: 1181px) { .mobile-menu { display: none !important; } }

/* ───────── Hero ───────── */
.hero { position: relative; background: var(--ink); color: var(--on-ink); isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,25,28,.96) 0%, rgba(23,25,28,.86) 38%, rgba(23,25,28,.35) 75%, rgba(23,25,28,.2) 100%); }
.hero-inner { min-height: min(78svh, 720px); display: grid; align-content: center; padding: clamp(64px, 9vw, 120px) 0; max-width: 680px; }
.hero-brand { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 18px; }
.hero-brand b { color: #fff; font-weight: 700; }
.hero-title { margin-bottom: 20px; }
.hero-slogan { display: block; font-size: .875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-on-ink); margin-bottom: 18px; }
.hero-lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: #d4d7dc; margin-bottom: 32px; max-width: 56ch; }
@media (max-width: 767px) {
  .hero-media img { object-position: 60% 40%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(23,25,28,.97) 30%, rgba(23,25,28,.75) 70%, rgba(23,25,28,.5)); }
  .hero-inner { min-height: 0; padding-top: 180px; }
  .hero-cta .btn { width: 100%; }
}

/* pasek odbiorców pod hero — szybkie wejście dla każdego typu klienta */
.audience { background: var(--ink-2); color: var(--on-ink); border-top: 1px solid var(--ink-line); }
.audience ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.audience li + li { border-left: 1px solid var(--ink-line); }
.audience a { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 22px 20px; height: 100%; transition: background-color .15s ease; }
.audience .icon { color: var(--red-on-ink); grid-row: span 2; }
.audience strong { font-size: 1rem; }
.audience span { grid-column: 2; font-size: .8125rem; color: var(--on-ink-muted); }
.audience .icon:last-child { grid-column: 3; grid-row: 1 / span 2; color: var(--on-ink-muted); }
@media (hover: hover) and (pointer: fine) { .audience a:hover { background: rgba(255,255,255,.05); } .audience a:hover .icon:last-child { color: #fff; } }
@media (max-width: 960px) { .audience ul { grid-template-columns: 1fr 1fr; } .audience li:nth-child(3) { border-left: 0; } .audience li:nth-child(n+3) { border-top: 1px solid var(--ink-line); } }
@media (max-width: 560px) { .audience ul { grid-template-columns: 1fr; } .audience li + li { border-left: 0; border-top: 1px solid var(--ink-line); } }

/* ───────── Sekcje ───────── */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-2); }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-row .section-head { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* lista z linią i numeracją (usługi, oferta) — bez kart */
.num-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; counter-reset: n; }
.num-item { display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; padding: 28px 0 32px; border-top: 1px solid var(--line-strong); }
.num-item::before { counter-increment: n; content: counter(n, decimal-leading-zero); font-size: .875rem; font-weight: 700; color: var(--red-text); padding-top: 4px; font-variant-numeric: tabular-nums; grid-row: span 3; }
.num-item h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.num-item h3 small { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 4px; }
.num-item p { color: var(--muted); }
.num-item .link-arrow { margin-top: 8px; }
@media (max-width: 760px) { .num-grid { grid-template-columns: 1fr; } }

/* proces — oś z numerami */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.process li { position: relative; padding-top: 56px; }
.process li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .9375rem; }
.process li::after { content: ""; position: absolute; top: 20px; left: 48px; right: -16px; height: 2px; background: var(--line-strong); }
.process li:last-child::after { display: none; }
.process h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.process p { font-size: .9375rem; color: var(--muted); }
.section-ink .process li::before { background: var(--red-cta); }
.section-ink .process li::after { background: var(--ink-line); }
.section-ink .process p { color: var(--on-ink-muted); }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { padding: 0 0 28px 60px; min-height: 64px; }
  .process li::after { top: 48px; bottom: 6px; left: 19px; right: auto; width: 2px; height: auto; }
  .process li:last-child { padding-bottom: 0; }
}

/* cechy (Dlaczego KS ONE) */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.features li { display: grid; gap: 10px; align-content: start; }
.features .icon { color: var(--red-text); margin-bottom: 4px; }
.features h3 { font-size: 1.125rem; font-weight: 700; }
.features p { color: var(--muted); font-size: .9375rem; }
.features-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .features, .features-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features, .features-3 { grid-template-columns: 1fr; } }

/* lista kontrolna */
.checklist { display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.checklist .icon { color: var(--green); margin-top: 3px; }
.on-ink .checklist .icon { color: var(--red-on-ink); }

/* dwie ścieżki: partnerzy / kariera */
.paths { display: grid; grid-template-columns: 1fr 1fr; }
.path { padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); display: grid; gap: 16px; align-content: start; justify-items: start; }
.path-ink { background: var(--ink); color: var(--on-ink); }
.path-alt { background: var(--bg-2); }
.path p { max-width: 46ch; color: var(--muted); }
.path-ink p { color: var(--on-ink-muted); }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* zdjęcie z podpisem */
.media-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-3); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-wide { aspect-ratio: 16 / 9; }

/* pasek dla klienta indywidualnego */
.retail { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.retail .icon { color: var(--red-text); }
.retail-copy { display: flex; gap: 16px; align-items: center; }
.retail strong { display: block; font-size: 1.0625rem; }
.retail p { color: var(--muted); font-size: .9375rem; }


/* ───────── FAQ ───────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px 72px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item:first-child { border-top: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: inherit; margin: 0; }
.faq-icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--red-text); transition: transform .2s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-body p { padding-bottom: 20px; color: var(--muted); max-width: 64ch; }

/* ───────── Karty (tylko klikalne elementy) ───────── */
.posts-grid, .cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .posts-grid, .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts-grid, .cases-grid { grid-template-columns: 1fr; } }
.post-card, .case-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color .15s ease; }
.post-img, .case-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.post-img img, .case-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body, .case-body { display: grid; gap: 8px; padding: 18px 20px 22px; }
.post-meta { font-size: .8125rem; color: var(--muted); }
.post-title, .case-title { font-size: 1.125rem; line-height: 1.35; font-weight: 700; }
.post-excerpt { font-size: .9375rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .post-card:hover, .case-card:hover { border-color: var(--text); } .post-card:hover .post-title, .case-card:hover .case-title { text-decoration: underline; text-underline-offset: 3px; } }

/* suwak przed/po */
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--surface-3); touch-action: pan-y; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.lamp-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: var(--radius-sm); background: rgba(23,25,28,.8); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lamp-tag-before { left: 12px; } .lamp-tag-after { right: 12px; }
.lamp-handle { position: absolute; top: 50%; left: var(--pos, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.35); cursor: grab; touch-action: none; }

/* ───────── CTA z formularzem ───────── */
.cta-form { display: grid; grid-template-columns: 1fr minmax(0, 1.25fr); gap: 40px 72px; align-items: start; }
.cta-form-copy { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 960px) { .cta-form { grid-template-columns: minmax(0, 1fr); } .cta-form-copy { position: static; } }
.cta-band { padding: clamp(48px, 6vw, 80px) 0; background: var(--ink); color: var(--on-ink); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.cta-band .section-lead { margin-top: 10px; }

/* ───────── Stopka ───────── */
.footer { padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--on-ink); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand { display: grid; gap: 16px; justify-items: start; align-content: start; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { color: var(--on-ink-muted); font-size: .9375rem; max-width: 38ch; }
.footer-slogan { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-on-ink) !important; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: .9375rem; }
.footer-col h2 { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 4px; }
.footer-col a, .footer-col span { color: #e4e6ea; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ink-line); font-size: .8125rem; color: var(--on-ink-muted); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* pasek kontaktu na telefonie */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--ink-line); transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease-out), visibility 0s .3s; }
.callbar .btn { flex: 1; }
.callbar.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease-out), visibility 0s; }
@media (max-width: 960px) { body:has(.callbar) .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 961px) { .callbar { display: none !important; } }

/* ───────── Strony wewnętrzne ───────── */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-hero .section-lead { margin-top: 18px; }
.page-hero-ink { background: var(--ink); color: var(--on-ink); border-bottom: 0; }
.page-hero-ink .section-lead { color: var(--on-ink-muted); }
.page-hero-ink .breadcrumbs, .page-hero-ink .breadcrumbs a { color: var(--on-ink-muted); }
.page-hero-ink .eyebrow { color: var(--red-on-ink); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: transparent; }
.breadcrumbs a:hover { text-decoration-color: currentColor; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 10px; font-size: .9375rem; padding-left: 16px; border-left: 2px solid var(--line); }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--text); }
.toc strong { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } .toc { position: static; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); display: grid; gap: 12px; justify-items: center; color: var(--muted); }
.empty h2, .empty h3 { color: var(--text); font-size: 1.25rem; font-weight: 700; }
.panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.section-alt .panel { border-color: var(--line-strong); }
.side-nav { display: grid; gap: 2px; font-size: .9375rem; }
.side-nav strong { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.side-nav a { padding: 8px 12px; border-left: 2px solid var(--line); color: var(--muted); }
.side-nav a[aria-current="page"] { border-color: var(--red); color: var(--text); font-weight: 600; }
.contact-list { display: grid; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--red-text); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .8125rem; }
.results li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.results a { font-size: 1.1875rem; font-weight: 700; }
.results p { color: var(--muted); }
.center-page { min-height: 60svh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.center-page .stack { display: grid; gap: 18px; justify-items: center; }
.icon-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--green); color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); font-size: .9375rem; font-weight: 500; transition: border-color .15s ease; }
.chip[aria-checked="true"], .chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--text); } }

/* ───────── Formularze ───────── */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; align-items: start; }
/* etykiety w jednym wierszu, żeby pola w parach były na tej samej wysokości */
.form-grid .field > label { display: flex; align-items: flex-end; min-height: 2.6em; }
.form-grid .field-wide > label { min-height: 0; }
@media (max-width: 600px) { .form-grid .field > label { min-height: 0; } }
.form-grid .field-wide { grid-column: 1 / -1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 600px) { .form-grid, .form-row { grid-template-columns: minmax(0, 1fr); } }
.form-title { font-size: 1.25rem; font-weight: 700; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: .875rem; font-weight: 600; }
.field .opt { color: var(--muted); font-weight: 400; }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid #8a9099; font-size: 1rem; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2317191c' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #767c85; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(11,87,208,.25); }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--error); }
.field-hint { font-size: .8125rem; color: var(--muted); }
.field-error { display: none; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--error); }
.field.has-error .field-error { display: flex; }
.file-input { font-size: .9375rem; max-width: 100%; }
.file-input::file-selector-button { margin-right: 12px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-2); font-weight: 600; cursor: pointer; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .875rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red-cta); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line-strong); font-size: .9375rem; }
.alert .icon { flex: none; margin-top: 2px; }
.alert-error { border-color: var(--error); background: #fef3f2; } .alert-error .icon { color: var(--error); }
.alert-demo { border-color: #f4b8b3; background: #fdf1f0; } .alert-demo .icon { color: var(--red-text); }
.alert-info .icon { color: var(--focus); }
.alert strong { display: block; }

/* zdjęcia w formularzu kalkulatora */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.photo-tile { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile button { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(23,25,28,.8); color: #fff; display: grid; place-items: center; }
.photo-add { position: relative; display: grid; place-items: center; gap: 6px; text-align: center; aspect-ratio: 1; border-radius: var(--radius-sm); border: 1px dashed #8a9099; color: var(--muted); font-size: .8125rem; cursor: pointer; padding: 8px; }
.photo-add:hover, .photo-add:focus-within { border-color: var(--focus); color: var(--text); }
.photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ───────── Kalkulator (ścieżka dla klienta indywidualnego) ───────── */
.calc { padding: clamp(32px, 5vw, 56px) 0 0; }
.calc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 32px; }
.calc-head .alert { max-width: 420px; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
.calc-map { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--radius-xl); background: var(--ink); color: var(--on-ink); }
.calc-map-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.calc-map-head h2 { padding-left: 12px; border-left: 3px solid var(--red); }
.calc-map .caption { color: var(--on-ink-muted); }
.calc-map-head h2, .list-toolbar h2 { font-size: 1.1875rem; font-weight: 700; }
/* mapa uszkodzeń: kafelki z ilustracjami części (partials/car-svg.php) */
.car-svg { width: 100%; height: auto; }
.car-svg .panel { cursor: pointer; }
.car-svg .panel-shape { fill: #2a2d33; stroke: rgba(255,255,255,.16); stroke-width: 1.5; transition: stroke .2s ease; }
.car-svg .part-art { pointer-events: none; }
.car-svg .part-art image { opacity: .92; transition: opacity .2s ease; }
.car-svg .panel-label { fill: #fff; font: 600 14px var(--font); pointer-events: none; }
.car-svg .panel.has-dents .panel-shape { stroke: var(--red); stroke-width: 3; }
.car-svg .panel.has-dents .shade { fill: rgba(200, 35, 26, .26); }
.car-svg .panel.is-active .panel-shape { stroke: #fff; stroke-width: 3; }
.car-svg .panel.is-excluded .panel-shape { stroke: #8a9099; stroke-dasharray: 6 5; }
.car-svg .panel.is-excluded .part-art image { opacity: .35; }
.car-svg .panel:focus-visible { outline: none; }
.car-svg .panel:focus-visible .panel-shape { stroke: #8ab4f8; stroke-width: 5; }
.car-svg .badge { opacity: 0; transition: opacity .2s ease; }
.car-svg .panel.has-dents .badge { opacity: 1; }
.car-svg .badge circle { fill: var(--red-cta); stroke: #fff; stroke-width: 1.5; }
.car-svg .badge text { fill: #fff; font: 700 12px var(--font); }
.car-svg .glass { fill: #101214; stroke: rgba(255,255,255,.14); }
.car-svg .car-body { fill: #1f2226; stroke: rgba(255,255,255,.1); stroke-width: 1.5; }
.car-svg .axis { fill: var(--on-ink-muted); font: 700 11px var(--font); letter-spacing: .14em; }
@media (max-width: 600px) { .car-svg .panel-label { font-size: 24px; } .car-svg .axis { font-size: 22px; } .car-svg .badge circle { r: 17px; } .car-svg .badge text { font-size: 17px; } }
@media (hover: hover) and (pointer: fine) { .car-svg .panel:hover .panel-shape { stroke: rgba(255,255,255,.6); } .car-svg .panel.has-dents:hover .panel-shape { stroke: #ff6b60; } .car-svg .panel:hover .part-art image { opacity: 1; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .8125rem; color: var(--on-ink-muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 16px; height: 12px; border-radius: 3px; border: 2px solid; display: inline-block; }

.el-list { display: grid; gap: 8px; }
.el { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease; }
.el.is-open { border-color: var(--line-strong); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.el.has-dents { border-left: 3px solid var(--red); }
.el.is-excluded { border-left: 3px solid #6b7079; }
.el-head { width: 100%; display: grid; grid-template-columns: 1fr auto 20px; gap: 16px; align-items: center; padding: 15px 18px; border: 0; background: transparent; text-align: left; border-radius: var(--radius); }
.el-name { font-weight: 600; }
.el-sum { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.el-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.el-price.is-muted { color: var(--muted); font-weight: 500; }
.el-chev { color: var(--muted); transition: transform .2s var(--ease-out); }
.el.is-open .el-chev { transform: rotate(180deg); }
.el-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease-out); }
.el.is-open .el-body { grid-template-rows: 1fr; }
.el-body-inner { overflow: hidden; visibility: hidden; transition: visibility 0s .25s; }
.el.is-open .el-body-inner { visibility: visible; transition: visibility 0s; }
.el-body-pad { padding: 4px 18px 18px; display: grid; gap: 18px; }
.el-counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .el-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.counter { display: grid; gap: 8px; }
.counter-label { display: flex; gap: 8px; align-items: center; font-size: .8125rem; font-weight: 600; }
.counter-label small { display: block; font-weight: 400; color: var(--muted); }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 48px; border-radius: var(--radius-sm); background: #fff; border: 1px solid #8a9099; }
.stepper-btn { height: 44px; border: 0; border-radius: var(--radius-sm); background: transparent; display: grid; place-items: center; }
@media (hover: hover) and (pointer: fine) { .stepper-btn:hover { background: var(--surface-2); } }
.stepper-value, .stepper input { width: 100%; text-align: center; font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; background: transparent; border: 0; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(11,87,208,.25); }
.counter.has-value .stepper { border-color: var(--ink); background: var(--surface-2); }
.flags-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.size-icon { width: 22px; height: 22px; flex: none; color: var(--muted); }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }

.summary { position: sticky; bottom: 0; z-index: 30; margin-top: 40px; background: var(--ink); color: var(--on-ink); padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); }
.summary-inner { display: flex; align-items: center; gap: 14px 32px; flex-wrap: wrap; }
.summary-stats { flex: 1; min-width: 220px; }
.summary-count { font-size: .8125rem; color: var(--on-ink-muted); }
.summary-amount { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.summary-net { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; transition: opacity .2s ease; }
.summary.is-busy .summary-net { opacity: .5; }
.summary-gross { font-size: .875rem; color: var(--on-ink-muted); }
.summary-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.summary .btn-ghost { color: #fff; }
@media (max-width: 700px) {
  .summary-actions { width: 100%; display: grid; grid-template-columns: auto 1fr 1.4fr; gap: 8px; }
  .summary-actions .btn { min-height: 46px; padding-inline: 12px; }
  .hide-sm { display: none; }
}
.calc-note { padding: 40px 0 96px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 64px; border-top: 1px solid var(--line); margin-top: 48px; }
.size-guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.size-guide div { display: grid; gap: 6px; font-size: .875rem; }
.size-guide small { color: var(--muted); }
@media (max-width: 900px) { .calc-layout, .calc-note { grid-template-columns: 1fr; } .calc-map { position: static; } .size-guide { grid-template-columns: repeat(2, 1fr); } }

/* modal (dialog) */
.modal { width: min(100% - 24px, 640px); max-height: min(92svh, 920px); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.35); overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(23,25,28,.6); }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.modal-head p { color: var(--muted); margin-top: 6px; font-size: .9375rem; }
.modal-close { width: 44px; height: 44px; flex: none; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.modal-body { padding: 18px 24px 24px; }
.quote-pill { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: .9375rem; }
.success { display: grid; gap: 16px; justify-items: start; padding: 28px 24px; }
@media (max-width: 600px) { .modal { width: 100%; max-height: 100svh; height: 100svh; border-radius: 0; margin: 0; } }

/* zapisana kalkulacja */
.lines { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.lines th, .lines td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.lines td:last-child, .lines th:last-child { text-align: right; white-space: nowrap; }
.lines thead th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.total { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 20px; flex-wrap: wrap; }
.total strong { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

@media print {
  .site-header, .footer, .callbar, .summary-actions, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3f444b; --line: #9aa0a8; --line-strong: #6b7079; --on-ink-muted: #d4d7dc; }
}
.features-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .features-2 { grid-template-columns: 1fr; } }
.split-top > .media-frame { aspect-ratio: 4 / 5; }
/* oferta według typu klienta (Dla biznesu) — wiersze z linią, bez kart */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px 72px; padding: 40px 0; border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header-h) + 16px); }
.offer:first-child { border-top: 0; padding-top: 0; }
.offer-head { display: grid; gap: 10px; align-content: start; }
.offer-head .icon { color: var(--red-text); }
.offer-head .eyebrow { margin: 6px 0 0; }
.offer .section-lead { margin-bottom: 20px; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }
.process-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .process-4 { grid-template-columns: 1fr; } }
.roles .offer:first-child { border-top: 1px solid var(--line-strong); padding-top: 40px; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 56px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line); }
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row-copy { display: grid; gap: 12px; justify-items: start; }
.service-row-copy .eyebrow { margin: 0; }
.service-row h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } }
/* ───────── Mapa sieci partnerskiej ───────── */
.netmap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.netmap-map { padding: clamp(12px, 2vw, 24px); border-radius: var(--radius-xl); background: var(--ink); }
.netmap-svg { width: 100%; height: auto; }
.netmap-svg .region { fill: #2a2d33; stroke: #17191c; stroke-width: 2; stroke-linejoin: round; transition: fill .2s ease; }
.netmap-svg .region.is-covered { fill: #353941; }
.netmap-svg .region.is-selected { fill: #4a2a28; }
.netmap-svg .pin { cursor: pointer; }
.netmap-svg .pin-dot { stroke: #fff; stroke-width: 3; }
.netmap-svg .pin-halo { fill: transparent; transition: fill .2s ease; }
.netmap-svg .pin-base .pin-dot { fill: var(--red); }
.netmap-svg .pin-partner .pin-dot { fill: #e4e6ea; stroke: #17191c; }
.netmap-svg .pin-mobile .pin-dot { fill: #8ab4f8; stroke: #17191c; }
.netmap-svg .pin-label { fill: #fff; font: 600 17px var(--font); paint-order: stroke; stroke: #17191c; stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.netmap-svg .pin.is-selected .pin-halo { fill: rgba(234, 51, 35, .35); }
.netmap-svg .pin.is-selected .pin-dot { stroke: #fff; stroke-width: 4; }
@media (hover: hover) and (pointer: fine) { .netmap-svg .pin:hover .pin-halo { fill: rgba(255,255,255,.18); } .netmap-svg .region.is-covered:hover { fill: #3e434c; } }
.netmap-side { display: grid; gap: 20px; }
.netmap-filters .chip { display: inline-flex; align-items: center; gap: 8px; }
.netmap-filters .chip[aria-pressed="true"] .muted { color: var(--on-ink-muted); }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; border: 2px solid var(--ink); }
.dot-base { background: var(--red); border-color: var(--red); }
.dot-partner { background: #e4e6ea; }
.dot-mobile { background: #8ab4f8; }
.netmap-card { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line-strong); border-left: 4px solid var(--red); display: grid; gap: 6px; }
.netmap-card .eyebrow { margin: 0; }
.netmap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 360px; overflow-y: auto; }
.netmap-list button { width: 100%; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-align: left; }
.netmap-list button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.netmap-list strong { display: block; font-size: .9375rem; }
.netmap-list small { display: block; color: var(--muted); font-size: .75rem; }
@media (hover: hover) and (pointer: fine) { .netmap-list button:hover { border-color: var(--text); } }
@media (max-width: 960px) { .netmap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .netmap-list { grid-template-columns: 1fr; } }
