/* =============================================================
   POMOC DROGOWA KOŁOBRZEG — Piotr Tolwaj
   base.css — układ, komponenty, responsywność
   -------------------------------------------------------------
   Kolory NIE są tutaj. Siedzą w theme.css.
   Ten plik jest identyczny w obu wariantach kolorystycznych.
   ============================================================= */

/* ============================ 1. RESET ====================== */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* offset dla kotwic, żeby nie chowały się pod nagłówkiem */
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* miejsce na przyklejony pasek alarmowy na telefonie */
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

:where(h1, h2, h3, h4, h5) {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.005em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ====================== 2. TOKENY UKŁADU ==================== */

:root {
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;

  --r-sm: 4px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 999px;

  --container: 1240px;
  --gutter: 1.25rem;

  --header-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: 240ms;

  --z-base: 1; --z-sticky: 40; --z-header: 60; --z-drawer: 80; --z-top: 100;
}

@media (min-width: 768px)  { :root { --gutter: 2rem; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 2.5rem; } }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

section { position: relative; }

.section     { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--sm { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--band { background: var(--band); }

/* ======================= 3. TYPOGRAFIA ====================== */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
  font-size: clamp(2.75rem, 10.5vw, 6rem);
}

.h1 { font-size: clamp(2.25rem, 7vw, 4rem);    text-transform: uppercase; line-height: .98; }
.h2 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); text-transform: uppercase; line-height: 1.0; }
.h3 { font-size: clamp(1.3rem, 3vw, 1.85rem);  text-transform: uppercase; }
.h4 { font-size: clamp(1.05rem, 2vw, 1.25rem); font-family: var(--font-body); font-weight: 700; text-transform: none; line-height: 1.35; }

.lead     { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-muted); line-height: 1.6; max-width: 62ch; }
.body-lg  { font-size: 1.0625rem; }
.small    { font-size: .875rem; }
.muted    { color: var(--text-muted); }
.tabular  { font-variant-numeric: tabular-nums; }

/* Nadtytuł sekcji — mała żółta etykieta z kreską */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--brand);
  flex: none;
}

.section-head { max-width: 66ch; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head .lead { margin-top: var(--s-4); }

/* Pas ostrzegawczy — sygnaturowy element marki */
.hazard {
  height: 6px;
  background: repeating-linear-gradient(-45deg,
    var(--brand) 0 14px, var(--on-brand) 14px 28px);
}
.hazard--thin { height: 4px; }

/* ========================= 4. IKONY ========================= */

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 32px; height: 32px; }
/* Logotypy marek (Facebook, TikTok) są wypełnione, nie obrysowane */
.icon--fill { fill: currentColor; stroke: none; }

/* ======================== 5. PRZYCISKI ====================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 52px;
  padding: .875rem 1.5rem;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform 120ms var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px) scale(.995); }

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { background: var(--brand-strong); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--solid {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--line);
}
.btn--solid:hover { border-color: var(--line-strong); background: var(--surface); }

.btn--lg { min-height: 60px; padding: 1rem 2rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* Duży przycisk telefonu — najważniejszy element strony */
.btn-call {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 76px;
  padding: .875rem 1.25rem;
  border-radius: var(--r-lg);
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
  transition: transform 140ms var(--ease), background var(--dur) var(--ease);
}
.btn-call:hover { background: var(--brand-strong); transform: translateY(-2px); }
.btn-call:active { transform: translateY(0); }

.btn-call__ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: var(--r-full);
  background: rgba(0,0,0,.14);
}
.btn-call__ico .icon { width: 26px; height: 26px; }
.btn-call__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.btn-call__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; opacity: .72;
}
.btn-call__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Wariant ciemny (drugi numer) */
.btn-call--dark {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-call--dark:hover { background: var(--surface); border-color: var(--brand); }
.btn-call--dark .btn-call__ico { background: var(--brand); color: var(--on-brand); }

/* ===================== 6. GÓRNY PASEK ======================= */

.topbar {
  position: relative;
  z-index: var(--z-header);
  background: var(--footer-bg);
  border-bottom: 1px solid var(--line);
  font-size: .8125rem;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 40px;
}
.topbar__status {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--text-muted); font-weight: 500;
}
.topbar__status b { color: var(--text); font-weight: 700; }
.pulse {
  width: 8px; height: 8px; border-radius: var(--r-full);
  background: var(--success); flex: none;
  box-shadow: 0 0 0 0 rgba(53, 208, 127, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(53,208,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); }
}
.topbar__right { display: flex; align-items: center; gap: var(--s-4); }

/* Ukryj tekst statusu na najmniejszych ekranach */
@media (max-width: 479px) { .topbar__status span { display: none; } }

/* ------- Przełącznik języka (flagi) ------- */
.langs { display: flex; align-items: center; gap: .25rem; }
.lang {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
/* Niewidoczne powiększenie pola dotyku do 44x44 px — flaga
   zostaje mała, ale palcem trafia się bez pudłowania. */
.lang::before, .social__link::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, 44px);
  height: 44px;
}
.lang svg { width: 24px; height: 17px; border-radius: 2px; display: block; }
.lang:hover { background: var(--surface-2); }
.lang[aria-current="true"] {
  border-color: var(--brand);
  background: var(--surface-2);
}
.lang[aria-current="true"] svg { box-shadow: 0 0 0 1px var(--brand); }

/* ------- Ikony social ------- */
.social { display: flex; align-items: center; gap: .25rem; }
.social__link {
  position: relative;
  display: grid; place-items: center;
  width: 36px; height: 34px;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.social__link:hover { color: var(--brand); background: var(--surface-2); }
.social__link[data-disabled="true"] {
  opacity: .35; pointer-events: none; cursor: default;
}
.social .icon { width: 19px; height: 19px; }

/* ======================= 7. NAGŁÓWEK ======================== */

.header {
  position: sticky; top: 0;
  z-index: var(--z-header);
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.header.is-scrolled { background: var(--header-bg-solid); border-color: var(--line-strong); }

.header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .75rem; flex: none; }
.brand__logo { height: 42px; width: auto; }
.brand__txt { display: none; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: .01em;
}
.brand__sub {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
}
@media (min-width: 420px) { .brand__txt { display: block; } }
@media (min-width: 768px) { .brand__logo { height: 48px; } }

/* ------- Nawigacja desktop ------- */
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  position: relative;
  display: block;
  padding: .625rem .875rem;
  border-radius: var(--r-sm);
  font-size: .9375rem; font-weight: 600;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link::after {
  content: ""; position: absolute;
  left: .875rem; right: .875rem; bottom: .3rem; height: 2px;
  background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { display: none; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ------- Hamburger ------- */
.burger {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.burger:hover { border-color: var(--brand); color: var(--brand); }
.burger__box { width: 22px; height: 16px; position: relative; }
.burger__box span {
  position: absolute; left: 0; height: 2px; width: 100%;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity 160ms var(--ease);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 7px; }
.burger__box span:nth-child(3) { top: 14px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------- Menu mobilne ------- */
.drawer {
  position: fixed; inset: 0;
  z-index: var(--z-drawer);
  display: grid; grid-template-rows: auto 1fr;
  background: var(--header-bg-solid);
  visibility: hidden; opacity: 0;
  transition: opacity 200ms var(--ease), visibility 200ms;
}
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
.drawer__body {
  overflow-y: auto;
  padding-block: var(--s-5) var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.drawer__list { display: flex; flex-direction: column; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem .25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .005em;
}
.drawer__link .icon { color: var(--brand); }
.drawer__link[aria-current="page"] { color: var(--brand); }
.drawer__foot { display: flex; flex-direction: column; gap: var(--s-3); }
.drawer__meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  padding-top: var(--s-4); border-top: 1px solid var(--line);
}
@media (min-width: 1024px) { .drawer { display: none; } }

/* ========================== 8. HERO ========================= */

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: var(--img-scrim);
}
@media (min-width: 900px) {
  .hero__media::after { background: var(--img-scrim-side); }
}

.hero__in {
  position: relative;
  padding-block: clamp(3rem, 11vw, 7rem) clamp(2.5rem, 7vw, 5rem);
  min-height: clamp(560px, 84svh, 780px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__content { max-width: 660px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .8rem .4rem .55rem;
  border-radius: var(--r-full);
  background: var(--brand); color: var(--on-brand);
  font-size: .75rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: var(--s-5);
}
.hero__badge .icon { width: 16px; height: 16px; }

.hero__title { margin-bottom: var(--s-4); }
.hero__title em { font-style: normal; color: var(--brand); display: block; }

.hero__sub {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.hero__calls { display: grid; gap: .75rem; max-width: 420px; }
@media (min-width: 620px) { .hero__calls { max-width: 640px; grid-template-columns: 1fr 1fr; } }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .8rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  font-size: .8125rem; font-weight: 600;
  color: var(--text);
}
.chip .icon { width: 15px; height: 15px; color: var(--brand); }

/* ==================== 9. PASEK ALARMOWY ===================== */
/* Przyklejony na dole na telefonie — kluczowy element UX.     */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -12px 30px -12px rgba(0,0,0,.9);
}
.callbar__main {
  display: flex; align-items: center; justify-content: center; gap: .625rem;
  min-height: 64px; padding: .5rem 1rem;
  background: var(--brand); color: var(--on-brand);
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.callbar__main .icon { width: 22px; height: 22px; }
.callbar__alt {
  display: grid; place-items: center;
  width: 68px; min-height: 64px;
  background: var(--surface-2); color: var(--text);
}
.callbar__alt:hover { color: var(--brand); }

@media (min-width: 1024px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }
}

/* ==================== 10. SZYBKIE KAFELKI =================== */

.quick {
  position: relative;
  margin-top: -2.5rem;
  z-index: var(--z-base);
}
.quick__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 860px) { .quick__grid { grid-template-columns: repeat(4, 1fr); } }

.quick__item {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .625rem;
  padding: 1.25rem 1rem;
  min-height: 132px;
  background: var(--surface);
  transition: background var(--dur) var(--ease);
}
.quick__item:hover { background: var(--surface-2); }
.quick__item .icon { color: var(--brand); width: 28px; height: 28px; }
.quick__name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; text-transform: uppercase;
  line-height: 1.05;
}
.quick__desc { font-size: .8125rem; color: var(--text-muted); line-height: 1.4; }
.quick__go {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
}
.quick__go .icon { width: 14px; height: 14px; }
@media (min-width: 640px) { .quick__item { padding: 1.5rem 1.25rem; min-height: 152px; } }

/* ====================== 11. KARTY USŁUG ===================== */

.cards {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 620px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  gap: .75rem;
  padding: 1.5rem 1.35rem 1.65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.card:hover::before { transform: scaleX(1); }

.card__ico {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--surface-inset);
  border: 1px solid var(--line);
  color: var(--brand);
  margin-bottom: .25rem;
}
.card__title { font-size: 1.3rem; text-transform: uppercase; }
.card__text { font-size: .9375rem; color: var(--text-muted); line-height: 1.55; }

/* ==================== 12. BLOKI OFERTY ====================== */

.offers { display: grid; gap: var(--s-5); }
@media (min-width: 720px)  { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .offers { grid-template-columns: repeat(3, 1fr); } }

.offer {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.offer:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.offer__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-inset); }
.offer__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease);
}
.offer:hover .offer__media img { transform: scale(1.04); }
.offer__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11,13,16,.75) 100%);
}
.offer__tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .7rem;
  border-radius: var(--r-full);
  background: var(--brand); color: var(--on-brand);
  font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.offer__body { padding: 1.35rem 1.35rem 1.6rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.offer__title { font-size: 1.45rem; text-transform: uppercase; }
.offer__list { display: flex; flex-direction: column; gap: .8rem; }
.offer__item { display: flex; gap: .7rem; }
.offer__item .icon { width: 18px; height: 18px; color: var(--brand); margin-top: .28rem; }
.offer__item b { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.35; }
.offer__item span { font-size: .875rem; color: var(--text-muted); line-height: 1.5; }

/* ====================== 13. PAS STATYSTYK =================== */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 700; line-height: 1;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: .5rem;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-muted);
}

/* ====================== 14. SPLIT (tekst+foto) ============== */

.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .split--reverse .split__media { order: -1; } }

.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Naklejka z liczbą lat na zdjęciu */
.badge-years {
  position: absolute; right: 1rem; bottom: 1rem;
  display: flex; flex-direction: column; align-items: center;
  padding: .9rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--brand); color: var(--on-brand);
  line-height: 1;
  box-shadow: var(--shadow-md);
}
.badge-years b { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.badge-years span { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-top: .2rem; }

.ticks { display: grid; gap: .875rem; margin-top: var(--s-5); }
.tick { display: flex; gap: .75rem; align-items: flex-start; }
.tick .icon {
  width: 22px; height: 22px; flex: none;
  color: var(--on-brand); background: var(--brand);
  border-radius: var(--r-full); padding: 3px;
  margin-top: .12rem;
}
.tick span { font-size: .9688rem; line-height: 1.5; }

/* ======================= 15. ZASIĘG ========================= */

.area__grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .area__grid { grid-template-columns: 1.05fr .95fr; align-items: center; } }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-5); }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: .875rem; font-weight: 600;
}
.pill .icon { width: 15px; height: 15px; color: var(--brand); }
.pill--brand { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.pill--brand .icon { color: var(--on-brand); }

/* ======================== 16. CYTAT ========================= */

.quote {
  position: relative;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 5rem; line-height: .6;
  color: var(--brand); opacity: .35;
}
.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  font-weight: 600; line-height: 1.22;
  margin-block: var(--s-4);
  text-wrap: balance;
}
.quote__by { display: flex; align-items: center; gap: .875rem; }
.quote__avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border-radius: var(--r-full);
  background: var(--brand); color: var(--on-brand);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
}
.quote__name { font-weight: 700; line-height: 1.3; }
.quote__role { font-size: .8125rem; color: var(--text-muted); }

/* ======================= 17. KONTAKT ======================== */

.contact__grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); } }

.info { display: grid; gap: var(--s-4); }
.info__row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease);
}
a.info__row:hover { border-color: var(--brand); }
.info__ico {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  border-radius: var(--r-sm);
  background: var(--surface-inset);
  border: 1px solid var(--line);
  color: var(--brand);
}
.info__label {
  font-size: .7rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-muted);
}
.info__value { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; margin-top: .15rem; }

/* ======================== 18. GALERIA-PAS =================== */

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s-3);
  scrollbar-width: thin;
}
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.strip__item {
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.strip__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px)  { .strip { grid-auto-columns: 42%; } }
@media (min-width: 1024px) { .strip { grid-auto-columns: 28%; } }

/* ==================== 18b. PYTANIA I ODPOWIEDZI ============= */
/* Rozwijane <details> — treść jest w HTML od razu, więc czytają
   ją zarówno Google, jak i boty AI, nawet bez JavaScriptu.     */

.faq { display: grid; gap: .625rem; max-width: 84ch; }

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq__item[open] { border-color: var(--line-strong); }

.faq__q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1.05rem 1.15rem;
  font-weight: 600;
  font-size: 1.0313rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--brand); }
.faq__q .icon {
  color: var(--brand);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] .faq__q { border-bottom: 1px solid var(--line); }
.faq__item[open] .faq__q .icon { transform: rotate(90deg); }

.faq__a {
  padding: 1rem 1.15rem 1.25rem;
  color: var(--text-muted);
  font-size: .9688rem;
  line-height: 1.68;
}
.faq__a p { margin: 0; }
.faq__a a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ========================= 19. CTA ========================== */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--on-brand);
}
.cta__in {
  display: grid; gap: var(--s-5);
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) { .cta__in { grid-template-columns: 1.15fr .85fr; gap: var(--s-8); } }
/* To nie jest nagłówek sekcji, tylko hasło — dlatego <p>,
   ale wygląda tak samo jak nagłówek. */
.cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5.5vw, 3.25rem);
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.cta__text { margin-top: .875rem; font-size: 1.0625rem; opacity: .82; max-width: 46ch; }
.cta__actions { display: grid; gap: .75rem; }
.cta .btn-call {
  background: var(--on-brand); color: var(--brand);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.6);
}
.cta .btn-call:hover { background: #14181D; }
.cta .btn-call__ico { background: rgba(255,255,255,.1); }

/* ======================== 20. STOPKA ======================== */

.footer { background: var(--footer-bg); border-top: 1px solid var(--line); }
.footer__grid {
  display: grid; gap: var(--s-6);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 720px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }

.footer__logo { height: 54px; width: auto; margin-bottom: var(--s-4); }
.footer__desc { font-size: .9375rem; color: var(--text-muted); max-width: 34ch; }
.footer__title {
  font-size: .75rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: var(--s-4);
}
.footer__list { display: grid; gap: .7rem; }
.footer__list a, .footer__list li { font-size: .9375rem; color: var(--text-muted); }
.footer__list a { transition: color var(--dur) var(--ease); }
.footer__list a:hover { color: var(--brand); }

/* Na telefonie odnośniki w stopce dostają wysokość wygodną
   do kliknięcia palcem (min. 44 px). */
@media (max-width: 767px) {
  .footer__list { gap: .1rem; }
  .footer__list a { display: block; padding-block: .8rem; }
}

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--text-faint);
}

/* Powrót na górę */
.totop {
  position: fixed;
  right: 1rem;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-sticky);
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { border-color: var(--brand); color: var(--brand); }
@media (min-width: 1024px) { .totop { bottom: 1.5rem; right: 1.5rem; } }

/* ============= 20b. PODPOWIEDŹ JĘZYKA (EN / DE) ============= */

.langhint {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-sticky);
  background: var(--surface-2);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transform: translateY(120%);
  transition: transform 320ms var(--ease);
}
.langhint.is-in { transform: none; }
.langhint__in {
  display: flex; align-items: center; gap: var(--s-4);
  flex-wrap: wrap;
  padding-block: .875rem;
}
.langhint__msg { font-size: .9375rem; font-weight: 600; flex: 1 1 200px; }
.langhint__cta {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: .55rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--brand); color: var(--on-brand);
  font-size: .875rem; font-weight: 700;
}
.langhint__cta:hover { background: var(--brand-strong); }
.langhint__x {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: var(--r-sm);
  color: var(--text-muted);
}
.langhint__x:hover { color: var(--text); background: var(--surface); }
@media (min-width: 1024px) { .langhint { bottom: 0; } }

/* ================== 21. PODSTRONA / NAGŁÓWEK ================ */

.pagehead { position: relative; isolation: isolate; overflow: hidden; }
.pagehead__media { position: absolute; inset: 0; z-index: -2; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__media::after { content: ""; position: absolute; inset: 0; background: var(--img-scrim); }
.pagehead__in { padding-block: clamp(3rem, 9vw, 5.5rem) clamp(2.5rem, 6vw, 4rem); }

.crumbs { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--text-muted); margin-bottom: var(--s-4); }
.crumbs a:hover { color: var(--brand); }
.crumbs .icon { width: 14px; height: 14px; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); text-transform: uppercase; margin-top: var(--s-7); }
.prose h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); text-transform: uppercase; margin-top: var(--s-6); }
.prose p  { color: var(--text-muted); line-height: 1.75; }
.prose strong { color: var(--text); font-weight: 600; }

/* ======================= 22. ANIMACJE ======================= */

/* WAŻNE: ukrywamy treść TYLKO wtedy, gdy JavaScript działa
   (klasa .js dodawana jest w <head>). Przy wyłączonym lub
   zablokowanym JS cała treść jest normalnie widoczna —
   strona pomocy drogowej nigdy nie może być pusta. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==================== 23. DOSTĘPNOŚĆ ======================== */

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

.skip {
  position: absolute; left: .5rem; top: -100px;
  z-index: var(--z-top);
  padding: .75rem 1.15rem;
  background: var(--brand); color: var(--on-brand);
  font-weight: 700; border-radius: var(--r-sm);
  transition: top 160ms var(--ease);
}
.skip:focus { top: .5rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ===================== 24. WYDRUK =========================== */

@media print {
  .topbar, .header, .callbar, .totop, .drawer, .cta { display: none !important; }
  body { padding-bottom: 0; background: #fff; color: #000; }
}
