/* =========================================================================
   SAP SERWIS — arkusz stylów
   Paleta jest zdefiniowana raz, na :root. Motyw ciemny nadpisuje tylko tokeny.
   ========================================================================= */

:root {
  /* Kolory — biały marmur, ciepły beż i firmowy pomarańcz */
  --bg:            #f1ece2;   /* beż jak spoina między płytami */
  --bg-alt:        #e8e0d2;
  --surface:       #fdfcf9;   /* polerowana biel marmuru */
  --surface-2:     #f5f0e6;
  --ink:           #262019;   /* ciepła czerń kamienia */
  --ink-2:         #574d43;
  --ink-3:         #6b5f54;
  --line:          #e2d8c8;
  --line-strong:   #cbbca6;
  --vein:          #ab9c86;   /* żyłka w kamieniu */
  --marble-op:     .62;

  --brand:         #e2670c;   /* pomarańcz z logo SAP SERWIS */
  --accent-btn:    #b34708;   /* wypełnienie przycisków — biały tekst potrzebuje ciemniejszego */
  --accent:        #e2670c;
  --accent-deep:   #a1440a;
  --accent-soft:   #fdeadb;
  --deep:          #6b2f07;   /* tło pod białym tekstem — stałe w obu motywach */
  --accent-ink:    #ffffff;
  --gold:          #8a5f1e;
  --gold-soft:     #f8ecd7;
  --sky:           #c98a2e;  /* druga barwa akcentu: ciepły bursztyn */


  --shadow-sm: 0 1px 2px rgba(58, 46, 30, .06), 0 2px 8px rgba(58, 46, 30, .05);
  --shadow-md: 0 4px 12px rgba(58, 46, 30, .07), 0 14px 34px rgba(58, 46, 30, .09);
  --shadow-lg: 0 8px 20px rgba(58, 46, 30, .10), 0 30px 70px rgba(58, 46, 30, .15);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --maxw: 1180px;
  --pad: clamp(18px, 4vw, 40px);

  --ff: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ff-num: "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  --ease: cubic-bezier(.22, .74, .28, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #16130f;
    --bg-alt:      #1d1914;
    --surface:     #231e18;
    --surface-2:   #2b251d;
    --ink:         #f3ede2;
    --ink-2:       #c8bcab;
    --ink-3:       #9d9284;
    --line:        #383026;
    --line-strong: #4d4335;
    --vein:        #6f6353;
    --marble-op:   .5;

    --brand:       #ff8b3d;
  --accent-btn:  #ff8b3d;
    --accent-btn:  #ff8b3d;
    --brand:       #ff8b3d;
  --accent-btn:  #ff8b3d;
    --accent-btn:  #ff8b3d;
  --accent:      #ff8b3d;
    --accent-deep: #ffb27c;
    --accent-soft: #3a2311;
    --deep:        #8a4110;
    --accent-ink:  #241004;
    --gold:        #e6bc7a;
    --gold-soft:   #3b2c18;
    --sky:         #e8b36a;


    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, .45);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .55);
  }
}

:root[data-theme="dark"] {
  --bg:          #16130f;
  --bg-alt:      #1d1914;
  --surface:     #231e18;
  --surface-2:   #2b251d;
  --ink:         #f3ede2;
  --ink-2:       #c8bcab;
  --ink-3:       #9d9284;
  --line:        #383026;
  --line-strong: #4d4335;
  --vein:        #6f6353;
  --marble-op:   .5;

  --brand:       #ff8b3d;
  --accent-btn:  #ff8b3d;
  --accent:      #ff8b3d;
  --accent-deep: #ffb27c;
  --accent-soft: #3a2311;
  --deep:        #8a4110;
  --accent-ink:  #241004;
  --gold:        #e6bc7a;
  --gold-soft:   #3b2c18;
  --sky:         #e8b36a;


  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, .45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .55);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* =========================================================================
   MARMUR
   --marble ustawia assets/marble.js (blob z canvasu). Dopóki go nie ma,
   strona wygląda jak zwykły beż — tekstura tylko ją wzbogaca.
   ========================================================================= */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--marble, none) center / cover no-repeat;
  opacity: 0; transition: opacity .8s var(--ease);
}
body.marble-on::before { opacity: var(--marble-op, .6); }

/* Kamień jest przypięty do okna (`fixed`), nie do dokumentu — cała strona jest
   jedną płytą, po której przesuwa się treść, zamiast kafelków w każdej sekcji.
   Dlatego sekcje i karty są półprzezroczyste: przepuszczają kamień. */
#kalkulator, #jak { background: color-mix(in srgb, var(--bg-alt) 82%, transparent); }
.stats { background: color-mix(in srgb, var(--surface-2) 72%, transparent); }
.hdr { background: color-mix(in srgb, var(--bg) 78%, transparent); }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.022em; font-weight: 700; text-wrap: balance; }
p, li { text-wrap: pretty; }
/* wszystkie kwoty w jednej siatce — jak w drukowanej tabeli cen */
.row__p, .pricelist b, .tile b, .line__p, .result__price, .stats b,
.breakdown span, .sum-row span, .range-val, .chk .cost {
  font-variant-numeric: tabular-nums;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
[disabled] { cursor: not-allowed; }
mark { background: var(--gold-soft); color: var(--gold); border-radius: 4px; padding: 0 2px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Odnośnik dla klawiatury: 142 elementy fokusowalne to za dużo, żeby
   dochodzić do treści tabulatorem przez całą nawigację. */
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-160%);
  background: var(--deep); color: #fff; padding: 11px 18px; border-radius: 100px;
  font-size: .9rem; font-weight: 650; transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }
#main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.num { font-family: var(--ff-num); font-variant-numeric: tabular-nums; }

/* ---------- typografia sekcji ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 7px 14px; border-radius: 100px;
}
.sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 46px); }
.sec-head h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin: 16px 0 12px; }
.sec-head p { color: var(--ink-2); font-size: 1.04rem; }

section { padding-block: clamp(56px, 8vw, 108px); }

/* ---------- przyciski ---------- */
.btn {
  --btn-bg: var(--accent-btn); --btn-fg: var(--accent-ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 100px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: .96rem; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { --btn-bd: var(--accent); }
.btn--sm { padding: 9px 16px; font-size: .86rem; }

/* =========================================================================
   HEADER
   ========================================================================= */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 18px; height: 72px; }

.logo { display: flex; align-items: center; gap: 11px; }
/* logo — znak SAP SERWIS: litery biorą kolor tekstu, daszek jest firmowy */
.logo__word { height: 27px; width: auto; flex: none; color: var(--ink); overflow: visible; }
.logo__txt { display: flex; flex-direction: column; gap: 1px; }
.logo__name {
  display: flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 600; letter-spacing: .34em; color: var(--ink);
}
.logo__name::before, .logo__name::after {
  content: ""; width: 10px; height: 2px; background: var(--brand); flex: none;
}
.logo__txt small {
  font-size: .57rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); padding-left: 16px;
}
.logo { transition: opacity .2s var(--ease); }
.logo:hover { opacity: .75; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 13px; border-radius: 100px; font-size: .92rem; font-weight: 550; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }

.hdr__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr .nav + .hdr__act { margin-left: 14px; }

.icon-btn {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; transition: border-color .2s, transform .2s, background .2s;
}
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }

/* przełącznik motywu pokazuje dokładnie jedną ikonę */
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}

.burger { display: none; }

/* Telefon to główny kanał sprzedaży, więc numer stoi w nagłówku otwartym
   tekstem — nie jako sama ikona, po której nie wiadomo, co się stanie. */
.call-btn { gap: 8px; }
.call-btn svg { width: 16px; height: 16px; flex: none; }
.call-btn__num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding-block: clamp(40px, 7vw, 84px) clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob--1 { width: 460px; height: 460px; top: -160px; right: -80px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%);
  animation: float 18s var(--ease) infinite; }
.blob--2 { width: 380px; height: 380px; bottom: -140px; left: -100px;
  background: radial-gradient(circle, color-mix(in srgb, var(--sky) 42%, transparent), transparent 70%);
  animation: float 22s var(--ease) infinite reverse; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, 36px) scale(1.12); }
}

.bubbles { position: absolute; inset: 0; overflow: hidden; }
.bubbles i {
  position: absolute; bottom: -60px; display: block; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
    color-mix(in srgb, var(--surface) 85%, transparent),
    color-mix(in srgb, var(--accent) 22%, transparent) 60%, transparent 72%);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(.6); opacity: 0; }
  12%  { opacity: .75; }
  100% { transform: translateY(-105vh) translateX(var(--dx, 30px)) scale(1); opacity: 0; }
}

/* brudna szyba nad heroem — kursor ją ściera */
.wipe {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 1; transition: opacity .9s var(--ease);
}
.wipe.is-gone { opacity: 0; }
.wipe-hint {
  position: absolute; z-index: 4; left: 50%; bottom: clamp(16px, 4vw, 34px);
  transform: translateX(-50%); display: flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 100px; pointer-events: none;
  background: var(--ink); color: var(--bg); font-size: .82rem; font-weight: 600;
  box-shadow: var(--shadow-md); opacity: 0; transition: opacity .6s var(--ease);
  animation: nudge 2.6s var(--ease) infinite;
}
.wipe-hint.is-on { opacity: .92; }
.wipe-hint svg { width: 15px; height: 15px; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(30px, 5vw, 64px); align-items: center;
}
.hero h1 { font-size: clamp(2.15rem, 5.6vw, 4rem); margin: 20px 0 18px; letter-spacing: -.035em; }
/* Wyróżnienie w nagłówku. Gradient z dwóch pomarańczy czytał się jak plama
   (odcienie różniły się o 1.16:1), a jaśniejszy koniec dawał tylko 2.7:1 na
   kamieniu. Zamiast tego: mocny kolor marki i firmowa kreska pod tekstem. */
.hero h1 em {
  font-style: normal; white-space: nowrap; color: var(--accent-deep);
  background: linear-gradient(var(--brand), var(--brand)) no-repeat 0 92% / 100% .07em;
  padding-bottom: .04em;
}
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--ink-2); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust div { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--ink-2); }
.trust b { color: var(--ink); font-weight: 700; }
.trust .ico { width: 19px; height: 19px; color: var(--accent-deep); }

/* karta „od 149” */
.hero__card {
  position: relative; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg);
}
.hero__card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 40%, transparent), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.hero__card .card-h { font-size: 1.02rem; display: flex; align-items: center; gap: 9px; }
.hero__card .card-h .ico { width: 19px; height: 19px; color: var(--accent-deep); }
.pricelist { margin-top: 18px; display: grid; gap: 2px; }
.pricelist li {
  display: flex; align-items: baseline; gap: 10px; padding: 11px 0;
  border-bottom: 1px dashed var(--line); font-size: .93rem;
}
.pricelist li:last-child { border-bottom: 0; }
.pricelist .dot { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.pricelist b { font-weight: 750; white-space: nowrap; }
.pricelist .accent { color: var(--accent-deep); }
.hero__card .btn { width: 100%; margin-top: 20px; }
.hero__card .fineprint { margin-top: 12px; font-size: .78rem; color: var(--ink-3); text-align: center; }

.ribbon {
  position: absolute; top: -14px; right: 22px;
  background: var(--gold-soft); color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  padding: 6px 14px; border-radius: 100px; font-size: .74rem; font-weight: 750;
  letter-spacing: .04em; box-shadow: var(--shadow-sm);
}

/* pasek logotypów / liczb */
.stats { border-block: 1px solid var(--line); background: var(--surface-2); padding-block: 26px; }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent-deep); }
.stats span { font-size: .82rem; color: var(--ink-3); }

/* =========================================================================
   KALKULATOR
   ========================================================================= */
#kalkulator { background: var(--bg-alt); }
.calc {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(20px, 3vw, 34px); align-items: start;
}
.panel {
  background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-md);
}
.field + .field { margin-top: 26px; }
.field > label, .field__label {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 12px;
}

.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.seg button {
  padding: 13px 12px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--surface-2); cursor: pointer; text-align: left; line-height: 1.25;
  transition: border-color .2s, background .2s, transform .18s var(--ease);
}
.seg button:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.seg button b { display: block; font-size: .92rem; font-weight: 650; }
.seg button small { color: var(--ink-3); font-size: .76rem; }
.seg button[aria-pressed="true"] {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.seg button[aria-pressed="true"] small { color: var(--accent-deep); }

.range-row { display: flex; align-items: center; gap: 16px; }
.range-val {
  min-width: 108px; text-align: center; padding: 10px 6px; border-radius: var(--r-sm);
  background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; font-size: 1.1rem;
}
input[type="range"] {
  flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 100px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 40%), var(--line) var(--fill, 40%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--accent); cursor: grab;
  box-shadow: var(--shadow-sm); transition: transform .15s;
}
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--surface);
  border: 3px solid var(--accent); cursor: grab;
}
.ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: .74rem; color: var(--ink-3); }

.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.chk {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2);
  cursor: pointer; font-size: .88rem; transition: border-color .2s, background .2s;
  user-select: none;
}
.chk:hover { border-color: var(--line-strong); }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk .box {
  width: 19px; height: 19px; flex: none; border-radius: 6px; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; background: var(--surface); transition: .18s var(--ease);
}
.chk .box::after {
  content: ""; width: 9px; height: 5px; border-left: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) scale(0); transition: transform .18s var(--ease);
  margin-top: -2px;
}
.chk input:checked ~ .box { background: var(--accent); border-color: var(--accent); }
.chk input:checked ~ .box::after { transform: rotate(-45deg) scale(1); }
.chk:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.chk .x-ico { width: 18px; height: 18px; color: var(--ink-3); transition: color .18s; }
.chk:has(input:checked) .x-ico { color: var(--accent-deep); }
.chk .lbl { flex: 1; min-width: 0; }
.chk .cost { font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.chk:has(input:checked) .cost { color: var(--accent-deep); font-weight: 650; }

/* wynik */
.result { position: sticky; top: 92px; }
.result__box {
  background: linear-gradient(165deg, var(--deep), color-mix(in srgb, var(--deep) 52%, #1c0f2b));
  color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.result__box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--marble, none) center / 150% no-repeat;
  mix-blend-mode: soft-light; opacity: .55;
}
.result__box::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -70px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%); border-radius: 50%;
}
.result__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.result__price { font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin-top: 6px; }
.result__price small { font-size: .34em; font-weight: 600; opacity: .8; margin-left: 6px; }
.result__save {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  background: rgba(255,255,255,.16); padding: 6px 13px; border-radius: 100px; font-size: .82rem; font-weight: 650;
}
.result__save .ico { width: 16px; height: 16px; }
.result__save[hidden] { display: none; }
.breakdown { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; display: grid; gap: 9px; position: relative; }
.breakdown li { display: flex; justify-content: space-between; gap: 14px; font-size: .88rem; opacity: .92; }
.breakdown li.total { border-top: 1px solid rgba(255,255,255,.18); padding-top: 11px; margin-top: 4px; font-weight: 750; opacity: 1; }
.result .btn { width: 100%; margin-top: 22px; --btn-bg: #fff; --btn-fg: var(--deep); }
.result__note { font-size: .76rem; opacity: .7; margin-top: 12px; text-align: center; position: relative; }

/* =========================================================================
   CENNIK
   ========================================================================= */
.pricing__tools {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 26px; position: sticky; top: 72px; z-index: 40;
  padding-block: 14px; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
}
.search { position: relative; flex: 1 1 280px; }
.search input {
  width: 100%; padding: 13px 16px 13px 44px; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-3); }
.search__clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: var(--surface-2); border-radius: 50%; width: 28px; height: 28px;
  cursor: pointer; color: var(--ink-3); display: none;
}
.search__clear svg { width: 13px; height: 13px; }
.search.has-value .search__clear { display: grid; place-items: center; }

.chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chips::-webkit-scrollbar { height: 4px; }
.chips::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }
.chip {
  white-space: nowrap; padding: 9px 15px; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--surface); cursor: pointer; font-size: .86rem; font-weight: 550;
  transition: .2s var(--ease);
}
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.cats { display: grid; gap: 16px; }
.cat {
  background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: box-shadow .3s, border-color .3s;
}
.cat:hover { box-shadow: var(--shadow-md); }
.cat__head {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px clamp(16px, 2.5vw, 26px);
  background: none; border: 0; cursor: pointer; text-align: left;
}
/* ikony: rysowane SVG, kolor dziedziczą po rodzicu */
.ico { width: 20px; height: 20px; flex: none; }

.cat__ico {
  width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep);
}
.cat__ico .ico { width: 23px; height: 23px; }
.cat__t { flex: 1; min-width: 0; }
.cat__t h3 { font-size: 1.1rem; }
.cat__t p { font-size: .86rem; color: var(--ink-3); margin-top: 3px; }
.cat__meta { display: flex; align-items: center; gap: 12px; flex: none; }
.cat__count { font-size: .78rem; color: var(--ink-3); background: var(--surface-2); padding: 4px 10px; border-radius: 100px; }
.cat__hl { font-size: .74rem; font-weight: 700; color: var(--gold); background: var(--gold-soft); padding: 5px 11px; border-radius: 100px; }
.cat__arrow { width: 20px; height: 20px; color: var(--ink-3); transition: transform .3s var(--ease); }
.cat[open] .cat__arrow, .cat.is-open .cat__arrow { transform: rotate(180deg); }

.cat__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.cat.is-open .cat__body { grid-template-rows: 1fr; }
.cat__inner { overflow: hidden; }
.cat__pad { padding: 0 clamp(16px, 2.5vw, 26px) 22px; }

.grp + .grp { margin-top: 22px; }
.grp__t {
  font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.row {
  display: flex; align-items: center; gap: 14px; padding: 12px 12px; margin-inline: -12px;
  border-radius: var(--r-sm); transition: background .2s;
}
.row:hover { background: var(--surface-2); }
.row__n { flex: 1; min-width: 0; font-size: .95rem; }
.row__n small { display: block; color: var(--ink-3); font-size: .8rem; }
.row__p { font-weight: 700; white-space: nowrap; font-size: .95rem; }
.row__p.est { color: var(--accent-deep); }
.tag {
  display: inline-block; margin-left: 8px; font-size: .68rem; font-weight: 750; vertical-align: 2px;
  padding: 2px 8px; border-radius: 100px; background: var(--gold-soft); color: var(--gold);
}
.add {
  width: 32px; height: 32px; flex: none; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--ink-2);
  transition: .18s var(--ease); opacity: .55;
}
.row:hover .add { opacity: 1; }
.add:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); transform: scale(1.08); }
.add.is-added { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); opacity: 1; }
.add[disabled] { opacity: .2; cursor: not-allowed; }

.grid-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.tile {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px;
  background: var(--surface-2); cursor: pointer; text-align: left; transition: .2s var(--ease);
}
.tile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tile span { display: block; font-size: .78rem; color: var(--ink-3); }
.tile b { font-size: 1.05rem; font-weight: 750; }

.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty b { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }

/* =========================================================================
   KROKI / FAQ / KONTAKT
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 18px; }
.step { position: relative; padding: 26px 22px; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); border-radius: var(--r-md); }
.step b { display: block; font-family: var(--ff-num); font-size: .82rem; color: var(--accent-deep); letter-spacing: .1em; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .89rem; color: var(--ink-2); }

.faq { display: grid; gap: 10px; max-width: 820px; }
.qa { background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.qa summary {
  padding: 18px 22px; cursor: pointer; font-weight: 650; display: flex; gap: 14px; align-items: center;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; margin-left: auto; font-size: 1.4rem; font-weight: 400; color: var(--accent);
  transition: transform .3s var(--ease); line-height: 1;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 22px 20px; color: var(--ink-2); font-size: .93rem; }

.cta-band {
  background: linear-gradient(150deg, var(--deep), color-mix(in srgb, var(--deep) 45%, #1c0f2b));
  color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--marble, none) center / 130% no-repeat;
  mix-blend-mode: soft-light; opacity: .5;
}
.cta-band::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -90px; bottom: -140px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%); border-radius: 50%;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); position: relative; }
.cta-band p { opacity: .85; margin-top: 12px; max-width: 46ch; position: relative; }
.cta-band__act { display: flex; flex-direction: column; gap: 10px; position: relative; align-items: stretch; }
.cta-band__act .social-btn { align-self: flex-start; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--deep); }
.cta-band .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }

.ftr { border-top: 1px solid var(--line); padding-block: 44px 30px; background: var(--surface-2); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.ftr .ftr-h { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ftr li + li { margin-top: 4px; }
.ftr a { display: inline-block; padding: 3px 0; font-size: .9rem; color: var(--ink-2); }
.ftr a:hover { color: var(--accent-deep); }
/* Przycisk-znak: kwadrat z samym logotypem serwisu, w językach strony
   (obrys marki, wypełnienie na najechaniu) — bez firmowego gradientu Instagrama,
   który gryzłby się z marmurem i pomarańczem. */
.social-btn {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  border-radius: 15px; border: 1.5px solid rgba(255, 255, 255, .45); color: #fff;
  transition: transform .18s var(--ease), background .2s, border-color .2s;
}
.social-btn .ico { width: 24px; height: 24px; }
.social-btn:hover { background: #fff; color: var(--deep); border-color: #fff; transform: translateY(-2px); }

.ftr__social { display: inline-flex; align-items: center; gap: 8px; }
.ftr__social .ico { width: 17px; height: 17px; color: var(--brand); }
.cta-band__act .btn .ico { width: 17px; height: 17px; }

.ftr__bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; color: var(--ink-3);
}

/* =========================================================================
   KOSZYK WYCENY (drawer + pasek)
   ========================================================================= */
.bar {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%);
  z-index: 70; display: flex; align-items: center; gap: 16px;
  background: var(--ink); color: var(--bg); padding: 11px 12px 11px 22px;
  border-radius: 100px; box-shadow: var(--shadow-lg);
  transition: transform .42s var(--ease); max-width: calc(100vw - 32px);
}
.bar.is-on { transform: translate(-50%, 0); }
.bar__sum { font-size: .86rem; white-space: nowrap; }
.bar__sum b { font-size: 1.06rem; display: block; letter-spacing: -.02em; }
.bar .btn { --btn-bg: var(--accent-btn); --btn-fg: var(--accent-ink); }

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); z-index: 90;
  background: var(--surface); border-left: 1px solid var(--line);
  transform: translateX(101%); transition: transform .42s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-on { transform: none; }
.drawer__head { padding: 22px 24px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.drawer__head h3 { font-size: 1.15rem; flex: 1; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 24px 24px; background: var(--surface-2); }

.line { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.line__n { flex: 1; min-width: 0; font-size: .9rem; }
.line__n small { display: block; color: var(--ink-3); font-size: .76rem; }
.qty { display: flex; align-items: center; gap: 2px; background: var(--surface-2); border-radius: 100px; padding: 3px; }
.qty button {
  width: 26px; height: 26px; border: 0; background: none; border-radius: 50%; cursor: pointer;
  color: var(--ink-2); font-size: 1rem; line-height: 1; transition: background .18s;
}
.qty button:hover { background: var(--line); color: var(--ink); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; font-size: .88rem; }
.line__p { font-weight: 700; font-size: .9rem; white-space: nowrap; min-width: 68px; text-align: right; }

.sum-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink-2); }
.sum-row + .sum-row { margin-top: 7px; }
.sum-row.big { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.28rem; font-weight: 800; color: var(--ink); }
.drawer__foot .btn { width: 100%; margin-top: 14px; }
.drawer__foot .btn--ghost { margin-top: 8px; }
.drawer__note { font-size: .76rem; color: var(--ink-3); margin-top: 12px; text-align: center; }

.scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(28, 15, 43, .55);
  backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s;
}
.scrim.is-on { opacity: 1; pointer-events: auto; }

.toast {
  position: fixed; left: 50%; top: 88px; transform: translate(-50%, -180%);
  background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: 100px;
  font-size: .88rem; font-weight: 600; z-index: 100; box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease); white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis;
}
.toast.is-on { transform: translate(-50%, 0); }

/* =========================================================================
   ASYSTENT (Iskra)
   ========================================================================= */
.ai-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 75;
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(150deg, var(--accent), var(--deep));
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 45%, transparent), var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), bottom .35s var(--ease);
}
.ai-fab:hover { transform: translateY(-3px) scale(1.04); }
.ai-fab svg { width: 25px; height: 25px; transition: opacity .2s, transform .3s var(--ease); }
.ai-fab__close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.ai-fab.is-on .ai-fab__open { opacity: 0; transform: rotate(90deg); }
.ai-fab.is-on .ai-fab__close { opacity: 1; transform: none; }
.ai-fab__dot {
  position: absolute; top: 2px; right: 2px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); border: 2.5px solid var(--bg);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

.ai {
  position: fixed; right: 20px; bottom: 90px; z-index: 76;
  width: min(392px, calc(100vw - 40px)); height: min(560px, calc(100vh - 140px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none;
  transform-origin: bottom right;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.ai.is-on { opacity: 1; transform: none; pointer-events: auto; }

.ai__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-bottom: 1px solid var(--line); background: var(--surface-2); flex: none;
}
.ai__gem { width: 26px; height: 26px; flex: none; display: grid; place-items: center; }
.ai__gem svg { width: 100%; height: 100%; }
.ai__who { flex: 1; min-width: 0; line-height: 1.25; }
.ai__who b { font-size: .98rem; }
.ai__who small { display: block; font-size: .74rem; color: var(--ink-3); }
.ai__head .icon-btn { width: 32px; height: 32px; border-radius: 9px; }
.ai__head .icon-btn svg { width: 15px; height: 15px; }

.ai__log {
  flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.ai__log::-webkit-scrollbar { width: 6px; }
.ai__log::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }

.ai-msg { max-width: 86%; animation: pop .32s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.ai-msg p {
  margin: 0; padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.5;
}
.ai-msg--bot { align-self: flex-start; }
.ai-msg--bot p { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.ai-msg--me { align-self: flex-end; }
.ai-msg--me p { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 5px; }
.ai-msg.is-bare { max-width: 100%; align-self: stretch; }

.ai-dots { display: inline-flex; gap: 4px; padding: 14px 16px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 16px 16px 16px 5px; }
.ai-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1.3s infinite; }
.ai-dots i:nth-child(2) { animation-delay: .18s; }
.ai-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.ai-cards { display: grid; gap: 6px; }
.ai-card {
  display: flex; align-items: center; gap: 10px; padding: 10px 13px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.ai-card__n { flex: 1; min-width: 0; font-size: .88rem; line-height: 1.35; }
.ai-card__n small { display: block; font-weight: 750; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.ai-card button {
  width: 28px; height: 28px; flex: none; border-radius: 9px; border: 1.5px solid var(--accent);
  background: var(--accent-soft); color: var(--accent-deep); cursor: pointer;
  font-size: 1rem; line-height: 1; transition: .18s var(--ease);
}
.ai-card button:hover { background: var(--accent); color: var(--accent-ink); }
.ai-card button:disabled { border-color: var(--line); background: var(--surface); color: var(--ink-3); cursor: default; }
.ai-card button svg { width: 15px; height: 15px; margin: auto; }

.ai-act {
  padding: 9px 16px; border-radius: 100px; border: 1.5px solid var(--accent);
  background: var(--accent-soft); color: var(--accent-deep); font-size: .84rem; font-weight: 650; cursor: pointer;
  transition: .18s var(--ease);
}
.ai-act:hover { background: var(--accent); color: var(--accent-ink); }

.ai__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; flex: none; }
.ai__chips:empty { display: none; }
.ai__chips button {
  padding: 7px 13px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--surface);
  font-size: .8rem; cursor: pointer; transition: .18s var(--ease);
}
.ai__chips button:hover { border-color: var(--accent); color: var(--accent-deep); }

.ai__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line);
  background: var(--surface-2); flex: none; }
.ai__form input {
  flex: 1; min-width: 0; padding: 11px 16px; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--surface); font-size: .92rem;
}
.ai__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ai__send {
  width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  transition: .18s var(--ease);
}
.ai__send:hover { background: var(--accent-deep); transform: scale(1.06); }
.ai__send svg { width: 18px; height: 18px; }

/* ---------- animacja wejścia ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSYWNOŚĆ
   ========================================================================= */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .calc { grid-template-columns: 1fr; }
  .result { position: static; }
  .cta-band { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; padding: 12px var(--pad) 22px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .35s var(--ease); z-index: -1;
  }
  .nav.is-on { transform: none; }
  .nav a { padding: 13px 6px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .burger { display: grid; }
  .hdr__act { margin-left: auto; }
  .hdr .nav + .hdr__act { margin-left: auto; }
  .hdr__act .btn { display: none; }
  /* na telefonie zostaje sama słuchawka — numer nie mieściłby się obok menu */
  .hdr__act .call-btn { display: inline-flex; padding: 0; width: 40px; height: 40px; border-radius: 12px; }
  .call-btn__num { display: none; }
  .stats__in { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pricing__tools { position: static; }
  .cat__count { display: none; }
  .bar { left: 12px; right: 12px; transform: translateY(140%); max-width: none; }
  .bar.is-on { transform: none; }
  .has-bar .ai-fab { bottom: 88px; }
  .ai {
    right: 10px; left: 10px; bottom: 88px; width: auto;
    height: min(74vh, calc(100vh - 150px)); transform-origin: bottom center;
  }
  .has-bar .ai { bottom: 156px; height: min(64vh, calc(100vh - 220px)); }
  .ftr__grid { grid-template-columns: 1fr; }
}
/* na wąskich ekranach logo musi zwolnić miejsce dla przełącznika i menu:
   pełny lockup ma 190 px, a nagłówek przy 320 px ma do rozdania ~240 px */
@media (max-width: 400px) {
  .logo__word { height: 22px; }
  .logo__txt small { display: none; }
  .logo__name { font-size: .6rem; letter-spacing: .24em; }
  .logo__name::before, .logo__name::after { width: 7px; }
  .hdr__in { gap: 10px; }
}

/* Przy 360 px pełne logo (155) + trzy przyciski (120) + odstępy jeszcze się mieszczą.
   Dopiero poniżej trzeba oddać napis SERWIS, żeby zmieścił się telefon. */
@media (max-width: 359px) {
  .logo__name { display: none; }
}

@media (max-width: 520px) {
  .cat__ico { width: 38px; height: 38px; font-size: 1.1rem; border-radius: 11px; }
  .hero__cta .btn { flex: 1; }
  .row { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}

@media print {
  .hdr, .bar, .drawer, .scrim, .hero__bg, .pricing__tools, .cta-band, .toast { display: none !important; }
  .cat__body { grid-template-rows: 1fr !important; }
  body { background: #fff; }
}
