/* =========================================================================
   Protan Elmark - strona główna
   Frontend odtworzony 1:1 z projektu graficznego home-desktop.pdf
   Struktura: 1) tokeny  2) reset  3) typografia  4) komponenty  5) sekcje
              6) responsywność  7) a11y / motion
   ========================================================================= */

/* ------------------------------------------------------------------ 1. Tokeny */
:root {
  /* Kolory z projektu (próbkowane z PDF) */
  --navy:          #11344f;
  --navy-600:      #1e4a72;   /* karta na granatowym tle */
  --navy-400:      #4a90c4;   /* stanowisko / podpis w opinii */
  --blue:          #0070ba;
  --blue-dark:     #005a95;
  --blue-050:      #e8f3fa;
  --blue-100:      #cbebff;
  --grey-050:      #f9f9f9;
  --grey-100:      #f4f4f4;
  --grey-200:      #e6e6e6;
  --grey-300:      #d9d9d9;
  --grey-500:      #8a8a8a;
  --ink:           #11344f;
  --ink-muted:     #4b5b68;
  --white:         #fff;
  --gold:          #ffc72e;

  /* Typografia */
  --font-heading: "Rubik", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container:    1348px;      /* zmierzone z projektu: 80px -> 1428px */
  --gutter:       24px;         /* odstęp w siatkach */
  --pad-x:        clamp(16px, 5.29vw, 82px);
  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    16px;
  --radius-pill:  999px;

  /* Rytm pionowy sekcji */
  --section-y:    clamp(56px, 6vw, 96px);

  --shadow-sm:    0 2px 8px rgba(17, 52, 79, .08);
  --shadow:       0 8px 28px rgba(17, 52, 79, .12);
  --shadow-lg:    0 18px 48px rgba(17, 52, 79, .18);

  --header-h:     72px;
  --ease:         cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ 2. Reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }

p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

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

/* ------------------------------------------------------------------ 3. Typografia */
.h1 { font-size: clamp(2.5rem, 5.3vw, 4.5rem); letter-spacing: -.01em; text-transform: uppercase; }
.h2 { font-size: clamp(1.75rem, 2.65vw, 2.5rem); }
.h3 { font-size: clamp(1.375rem, 1.85vw, 1.75rem); }
.h4 { font-size: 1.125rem; }

.eyebrow {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--blue);
}

.lead {
  max-width: 76ch;
  margin-inline: auto;
  color: var(--ink-muted);
}

.section-head { margin-bottom: clamp(28px, 3vw, 44px); text-align: center; }
/* akapit domykający sekcję – pod siatką lub przyciskiem */
.section-note { max-width: 76ch; margin: clamp(28px, 3vw, 44px) auto 0; color: var(--ink-muted); text-align: center; }
.section-head--left { text-align: left; }
.section-head .h2 + .lead { margin-top: 12px; }

/* ------------------------------------------------------------------ 4. Komponenty */

/* -- Kontener ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad-x));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); }
.section--grey { background: var(--grey-100); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy .lead { color: rgba(255, 255, 255, .82); }
.section--tight { padding-block: clamp(40px, 4vw, 64px); }

/* -- Przyciski ----------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 700;
  text-align: center;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover  { background: color-mix(in srgb, var(--btn-bg) 88%, #000); }
.btn:active { transform: translateY(1px); }

.btn--navy  { --btn-bg: var(--navy); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); box-shadow: var(--shadow-sm); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border: 2px solid currentColor;
}
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 20px; font-size: .875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 40px); }

/* -- Okrągłe strzałki / ikony -------------------------------------- */
.icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--blue);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn--blue  { background: var(--blue); color: #fff; }
.icon-btn--white { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.icon-btn:hover  { background: var(--blue); color: #fff; }

/* Znaczek z ikoną w kółku (sekcje "Dlaczego...") */
.icon-badge {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.icon-badge svg { width: 28px; height: 28px; }

/* -- Karta ze zdjęciem (oferta) ------------------------------------ */
.tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--grey-100);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.tile__media { position: relative; aspect-ratio: 662 / 262; overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.04); }

.tile__arrow { position: absolute; right: 16px; bottom: 16px; }

.tile__body { padding: 18px 24px 24px; }
.tile__title { color: var(--blue); font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; }
.tile__text  { margin-top: 4px; color: var(--ink-muted); font-size: .9375rem; }

/* -- Karta tekstowa (karuzele "Dlaczego") -------------------------- */
.feature {
  height: 100%;
  padding: clamp(24px, 2.4vw, 34px) clamp(20px, 2vw, 28px);
  border-radius: var(--radius);
  background: var(--grey-100);
  text-align: center;
}
.feature__title { margin-bottom: 10px; color: var(--blue); font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; }
.feature__text  { color: var(--ink-muted); font-size: .9375rem; }

/* -- Karuzela ------------------------------------------------------ */
.carousel { position: relative; }

.carousel__viewport {
  overflow: hidden;
  /* miejsce na strzałki po bokach na dużych ekranach */
  margin-inline: 0;
}

.carousel__track {
  display: flex;
  gap: var(--gutter);
  transition: transform .45s var(--ease);
  will-change: transform;
}

.carousel__slide { flex: 0 0 calc((100% - 2 * var(--gutter)) / 3); }
.carousel[data-carousel-per-view="1"] .carousel__slide { flex-basis: 100%; }

.carousel__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: background-color .2s var(--ease), opacity .2s var(--ease);
  z-index: 2;
}
.carousel__nav svg { width: 14px; height: 14px; }
.carousel__nav:hover { background: var(--navy); }
.carousel__nav[disabled] { opacity: .35; cursor: default; }
.carousel__nav--prev { left: calc(-1 * clamp(16px, 3.2vw, 48px)); }
.carousel__nav--next { right: calc(-1 * clamp(16px, 3.2vw, 48px)); }

.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: var(--radius-pill);
  background: var(--grey-300);
  transition: width .25s var(--ease), background-color .25s var(--ease);
}
.carousel__dot[aria-current="true"] { width: 26px; background: var(--blue); }

/* -- Zakładki numerowane (poszycia / konstrukcje) ------------------ */
.numtabs { --numtabs-cols: 4; }
.numtabs--3 { --numtabs-cols: 3; }
.numtabs--2 { --numtabs-cols: 2; }

.numtabs__list {
  display: grid;
  grid-template-columns: repeat(var(--numtabs-cols), 1fr);
  gap: var(--gutter);
}

.numtabs__tab { text-align: left; }
.numtabs__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--grey-500);
  transition: color .2s var(--ease);
}
.numtabs__label {
  display: block;
  font-weight: 700;
  font-size: .9375rem;
  color: var(--ink-muted);
  transition: color .2s var(--ease);
}
.numtabs__tab[aria-selected="true"] .numtabs__num,
.numtabs__tab[aria-selected="true"] .numtabs__label { color: var(--blue); }
.numtabs__tab[aria-selected="true"] .numtabs__label { color: var(--navy); }
.numtabs__tab:hover .numtabs__num { color: var(--blue); }

.numtabs__rail {
  position: relative;
  height: 4px;
  margin-top: 14px;
  border-radius: var(--radius-pill);
  background: var(--grey-300);
  overflow: hidden;
}
.numtabs__rail::after {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: calc(100% / var(--numtabs-cols));
  border-radius: inherit;
  background: var(--blue);
  translate: calc(var(--active, 0) * 100%) 0;
  transition: translate .3s var(--ease);
}

.numtabs__panels { margin-top: clamp(28px, 3vw, 44px); }
.numtabs__panel[hidden] { display: none; }

.split {
  display: grid;
  grid-template-columns: 662fr 662fr;
  gap: var(--gutter);
  align-items: start;
}
.split__body { padding-top: clamp(8px, 4vw, 64px); }
.split__body .h3 { color: var(--blue); }
.split__body p { margin-top: 12px; color: var(--ink-muted); }
.split__body .btn { margin-top: 28px; }

/* -- Panel wideo (poster + lista) ---------------------------------- */
.videoplayer {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  aspect-ratio: 640 / 360;
}
.videoplayer img { width: 100%; height: 100%; object-fit: cover; }
.videoplayer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.videoplayer__play {
  position: absolute; inset: 0; margin: auto;
  display: grid; place-items: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--blue);
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.videoplayer__play svg { width: 26px; height: 26px; margin-left: 4px; }
.videoplayer:hover .videoplayer__play { transform: scale(1.08); background: #fff; }

.videoplayer__caption {
  position: absolute; inset: auto 0 0 0;
  padding: 24px 24px 20px;
  background: linear-gradient(to top, rgba(17, 52, 79, .85), transparent);
  color: #fff;
}
.videoplayer__caption strong { display: block; font-size: 1.0625rem; }
.videoplayer__caption span   { font-size: .875rem; opacity: .85; }

.videolist__label { margin-bottom: 14px; color: var(--ink-muted); font-size: .875rem; }
.videolist__items { display: flex; flex-direction: column; gap: 12px; }

.videolist__item {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 8px;
  border-radius: var(--radius);
  text-align: left;
  transition: background-color .2s var(--ease);
}
.videolist__item:hover { background: var(--grey-100); }
.section--navy .videolist__item:hover { background: rgba(255, 255, 255, .08); }

.videolist__thumb {
  position: relative;
  flex: none;
  width: 136px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.videolist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.videolist__thumb::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230070ba'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.videolist__title { flex: 1; font-weight: 700; font-size: .9375rem; }
.videolist__item > svg { flex: none; width: 16px; height: 16px; color: var(--grey-500); }

/* -- Akordeon ------------------------------------------------------ */
.accordion__item { border-bottom: 1px solid var(--grey-200); }
.accordion__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.accordion__trigger .icon-btn { transition: rotate .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.accordion__trigger[aria-expanded="true"] .icon-btn { rotate: 90deg; background: var(--blue); color: #fff; }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.accordion__panel > div { overflow: hidden; }
.accordion__trigger[aria-expanded="true"] + .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel p { padding-bottom: 22px; color: var(--ink-muted); font-size: .9375rem; }

/* -- Lista linków z okrągłą strzałką (województwa) ---------------- */
.linklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px var(--gutter); }
.linklist__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background-color .2s var(--ease);
}
.linklist__item:hover { background: var(--grey-100); }

/* -- Formularz ----------------------------------------------------- */
.field { display: block; }
.field + .field { margin-top: 18px; }
.field__label { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 700; color: var(--navy); }
.field__label em { font-style: normal; color: var(--blue); }

.input,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder,
.textarea::placeholder { color: var(--grey-500); }
.input:hover,
.textarea:hover { border-color: var(--grey-300); }
.input:focus,
.textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-050);
}
.textarea { min-height: 148px; resize: vertical; }

.field__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px var(--gutter); }
.field__row .field + .field { margin-top: 0; }

.checkbox { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.checkbox + .checkbox { margin-top: 14px; }
.checkbox input {
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.checkbox span { color: var(--ink-muted); font-size: .8125rem; line-height: 1.5; }
.checkbox a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* -- Chip ---------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
  padding: 6px 16px;
  border: 1px solid var(--blue);
  border-radius: var(--radius-pill);
  color: var(--blue);
  font-size: .875rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { background: var(--blue); color: #fff; }

/* ------------------------------------------------------------------ 5. Sekcje */

/* -- 5.1 Pasek informacyjny ---------------------------------------- */
.topbar {
  background: var(--grey-100);
  font-size: .875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  min-height: 78px;
}

.topbar__contact { display: flex; align-items: center; gap: 14px; }
.topbar__contact-icon {
  display: grid; place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue);
}
.topbar__contact-icon svg { width: 20px; height: 20px; }
.topbar__contact-label { display: block; color: var(--ink-muted); line-height: 1.35; }
.topbar__contact-value { display: block; color: var(--navy); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; }
.topbar__contact-value--blue { color: var(--blue); }

.topbar__links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  margin-left: auto;
}
.topbar__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.topbar__link svg { width: 14px; height: 14px; color: var(--blue); }
.topbar__link:hover { color: var(--blue); }
.topbar__divider { width: 1px; height: 24px; background: var(--grey-300); }

/* -- 5.2 Nagłówek / nawigacja -------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 40px);
  min-height: var(--header-h);
}

.header__logo img { width: clamp(150px, 12.5vw, 190px); }

.nav { margin-right: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 28px); }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-weight: 700;
  font-size: .9375rem;
  color: var(--navy);
  transition: color .2s var(--ease);
}
.nav__link svg { width: 12px; height: 12px; transition: rotate .2s var(--ease); }
.nav__link:hover { color: var(--blue); }

.nav__item--has-menu { position: relative; }
.nav__item--has-menu[data-open="true"] > .nav__link { color: var(--blue); }
.nav__item--has-menu[data-open="true"] > .nav__link svg { rotate: 180deg; }

.nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  min-width: 250px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  translate: 0 -8px;
  transition: opacity .2s var(--ease), translate .2s var(--ease), visibility .2s;
}
.nav__item--has-menu[data-open="true"] > .nav__menu { opacity: 1; visibility: visible; translate: 0 0; }
.nav__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav__menu a:hover { background: var(--grey-100); color: var(--blue); }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* CTA w nawigacji tylko w menu mobilnym (odblokowane w @media max-width: 991px) */
.nav__cta { display: none; }

.burger {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  color: var(--navy);
}
.burger svg { width: 24px; height: 24px; }

/* -- 5.3 Hero ------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(806px, calc(100vh - var(--header-h)));
  padding-block: clamp(48px, 6vw, 88px);
  color: #fff;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11, 32, 51, .78) 0%, rgba(11, 32, 51, .5) 42%, rgba(11, 32, 51, .18) 70%);
}

/* blok treści przy lewej krawędzi kontenera (nie wyśrodkowany) */
.hero__inner { max-width: 720px; margin-inline: 0 auto; }

.hero__title { text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero__subtitle {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid rgba(255, 255, 255, .55);
  font-size: clamp(1rem, 1.45vw, 1.375rem);
}
.hero .btn { margin-top: clamp(28px, 3.5vw, 48px); }

.hero__badges { display: flex; flex-direction: column; gap: 14px; margin-top: clamp(40px, 5vw, 72px); }
.hero__badge {
  display: flex;
  align-items: baseline;
  gap: 14px;
  align-self: flex-start;
  max-width: 100%;
  padding: 14px 26px 14px 20px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__badge b { font-family: var(--font-heading); font-size: clamp(1.125rem, 1.6vw, 1.5rem); white-space: nowrap; }
.hero__badge span { font-size: .9375rem; line-height: 1.35; }

/* -- 5.4 Oferta ---------------------------------------------------- */
.offer__grid  { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.offer__grid + .offer__grid { margin-top: var(--gutter); grid-template-columns: repeat(3, 1fr); }
.offer__grid + .offer__grid .tile__media { aspect-ratio: 433 / 200; }
.offer__grid--3 { grid-template-columns: repeat(3, 1fr); }
.offer__grid--3 .tile__media { aspect-ratio: 433 / 200; }

/* -- 5.5 Wybrane realizacje ---------------------------------------- */
.cases {
  display: grid;
  grid-template-columns: 662fr 662fr;
  gap: var(--gutter);
}
.cases__feature .tile__media { aspect-ratio: 662 / 517; }
.cases__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); align-content: start; }

.thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 320 / 122;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.thumb:hover img { transform: scale(1.06); }
.thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17, 52, 79, .72), rgba(17, 52, 79, .06) 62%);
}
.thumb__label {
  position: absolute;
  inset: auto 16px 12px 16px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

/* -- 5.6 Opinie ---------------------------------------------------- */
.reviews {
  display: grid;
  grid-template-columns: 546fr 778fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.reviews__intro .h2 { max-width: 12ch; }
.reviews__intro p { margin-top: 14px; color: rgba(255, 255, 255, .82); }
.reviews__intro .btn { margin-top: 30px; }

.reviews__logos { display: flex; gap: 14px; margin-top: clamp(32px, 4vw, 56px); }
.reviews__logo {
  display: grid; place-items: center;
  width: 84px; height: 84px;
  padding: 14px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.reviews__logo img { max-height: 100%; object-fit: contain; }

.review-card {
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--navy-600);
}
.review-card__head { display: flex; align-items: center; gap: 20px; }
.review-card__avatar {
  display: grid; place-items: center;
  flex: none;
  width: 92px; height: 92px;
  padding: 16px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.review-card__company { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; }
.review-card__person  { margin-top: 2px; color: var(--navy-400); font-weight: 700; font-size: .9375rem; }
.review-card__role    { color: rgba(255, 255, 255, .7); font-size: .875rem; }

.review-card__quote { margin-top: 22px; color: rgba(255, 255, 255, .9); font-size: .9375rem; }
.review-card__quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-heading);
  font-size: 3.25rem;
  line-height: .7;
  color: rgba(255, 255, 255, .55);
}
.review-card__quote p { margin-top: 14px; }

.review-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.stars { display: flex; gap: 4px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.review-card__next { color: #fff; }
.review-card__next svg { width: 22px; height: 22px; }

/* -- 5.7 Case study ------------------------------------------------ */
.casestudy {
  display: grid;
  grid-template-columns: 662fr 662fr;
  gap: var(--gutter);
  align-items: start;
}
.casestudy__panel {
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--grey-100);
}
.casestudy__panel .h2 { color: var(--blue); }
.casestudy__panel > p { margin-top: 12px; color: var(--ink-muted); }
.casestudy__panel .videoplayer { margin-top: 26px; }
.casestudy__panel .tile { margin-top: var(--gutter); background: transparent; }

.casestudy__card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 614 / 268; }
.casestudy__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.casestudy__card:hover img { transform: scale(1.05); }
.casestudy__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 52, 79, .8), transparent 65%); }
.casestudy__card-caption { position: absolute; inset: auto 24px 20px; z-index: 1; color: #fff; }
.casestudy__card-caption strong { display: block; font-size: 1.0625rem; }
.casestudy__card-caption span { font-size: .875rem; opacity: .85; }

.aboutus {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
}
.aboutus .h2 { margin-bottom: 24px; }

/* -- 5.8 Proces / etapy -------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: 590fr 734fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.process__intro p { margin-top: 16px; color: var(--ink-muted); }
.process__intro .videoplayer { margin-block: 26px; }

.steps__title { margin-bottom: 34px; color: var(--blue); text-align: center; }

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px var(--gutter);
}

.step { position: relative; text-align: center; }
/* linia łącząca kolejne kroki w rzędzie */
.step:not(:nth-child(3n)):not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  border-top: 2px dashed var(--grey-300);
}

.step__bullet {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border: 2px solid var(--grey-300);
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--blue);
}
.step__bullet svg { width: 26px; height: 26px; }
.step--done   .step__bullet { border-color: var(--navy); background: var(--navy); color: #fff; }
.step--active .step__bullet { border-color: var(--blue); background: var(--blue); color: #fff; }

.step__label { font-weight: 700; font-size: .9375rem; color: var(--navy); }
.step--active .step__label { color: var(--blue); }

.step__note {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--grey-100);
  color: var(--ink-muted);
  font-size: .875rem;
}

/* -- 5.9 Hale dopasowane (zakładki z ikonami) ---------------------- */
.icontabs__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px var(--gutter);
}
.icontabs__tab {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: left;
  transition: background-color .2s var(--ease);
}
.icontabs__tab:hover { background: var(--grey-050); }
.icontabs__tab[aria-selected="true"] { background: var(--grey-100); }

.icontabs__icon {
  display: grid; place-items: center;
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  color: var(--blue);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icontabs__icon svg { width: 30px; height: 30px; }
.icontabs__tab[aria-selected="true"] .icontabs__icon { background: var(--blue); color: #fff; }

.icontabs__label { flex: 1; font-weight: 700; color: var(--navy); }
.icontabs__tab > svg { flex: none; width: 16px; height: 16px; color: var(--grey-500); }
.icontabs__tab[aria-selected="true"] > svg { display: none; }
.icontabs__tab[aria-selected="true"] .icon-btn--blue { display: grid; }
.icontabs__tab .icon-btn--blue { display: none; }

.icontabs__panels { margin-top: var(--gutter); }
.icontabs__panel[hidden] { display: none; }

.usecase {
  display: grid;
  grid-template-columns: 662fr 662fr;
  gap: var(--gutter);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grey-100);
}
.usecase__media { aspect-ratio: 662 / 358; }
.usecase__media img { width: 100%; height: 100%; object-fit: cover; }
.usecase__body { padding: clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px) 0; }
.usecase__body .h4 { color: var(--blue); }
.usecase__body p { margin-top: 10px; color: var(--ink-muted); font-size: .9375rem; }
.usecase__body strong { display: block; margin-top: 18px; color: var(--blue); font-size: .9375rem; }

/* -- 5.10 FAQ ------------------------------------------------------ */
.faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px var(--gutter); align-items: start; }
.faq .accordion__item { border-bottom: 0; }
.faq .accordion__trigger { align-items: center; }

/* -- 5.11 Stopka --------------------------------------------------- */
.footer { background: var(--navy); color: #fff; }

.footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__cta img { width: 190px; }
.footer__cta-actions { display: flex; gap: 12px; }

.footer__main {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr)) minmax(220px, 1.2fr) auto;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(40px, 4vw, 60px);
}
.footer__list { display: flex; flex-direction: column; gap: 18px; }
.footer__list a { font-weight: 700; font-size: .9375rem; transition: color .2s var(--ease); }
.footer__list a:hover { color: var(--navy-400); }

.footer__company strong { display: block; margin-bottom: 14px; font-size: .9375rem; }
.footer__company p { color: rgba(255, 255, 255, .82); font-size: .9375rem; }
.footer__company p + p { margin-top: 14px; }
.footer__company a { text-decoration: underline; text-underline-offset: 3px; }

.footer__social { display: flex; gap: 14px; }
.footer__social a { display: grid; place-items: center; width: 36px; height: 36px; transition: opacity .2s var(--ease); }
.footer__social a:hover { opacity: .7; }
.footer__social svg { width: 30px; height: 30px; }

.footer__seo { padding-bottom: clamp(40px, 4vw, 64px); text-align: center; }
.footer__seo h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 400; }
.footer__seo p { max-width: 116ch; margin: 22px auto 0; color: rgba(255, 255, 255, .78); font-size: .9375rem; }

/* -- 5.12 Hero podstrony ------------------------------------------- */
.hero--sub { min-height: min(700px, calc(100vh - var(--header-h))); }
.hero--sub .hero__inner { max-width: 780px; }
.hero--sub .hero__subtitle { max-width: 58ch; }
.hero--sub .hero__badges { gap: 12px; margin-top: clamp(32px, 4vw, 56px); }

/* -- 5.13 Konfigurator 3D ------------------------------------------ */
.configurator {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grey-100);
  box-shadow: var(--shadow-sm);
}
.configurator img { display: block; width: 100%; height: auto; }
.configurator__bar {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: center;
  padding: clamp(16px, 2vw, 28px);
  background: linear-gradient(to top, rgba(17, 52, 79, .82), transparent);
}
.configurator__bar .btn { pointer-events: none; }
.configurator:hover .btn { background: var(--blue-dark); }

/* -- 5.14 Zakładki płaskie (wyposażenie, standardy) ---------------- */
.flattabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px var(--gutter);
  align-items: start;
}
.flattabs__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  text-align: left;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--navy);
  transition: background-color .2s var(--ease);
}
.flattabs__tab:hover { background: var(--grey-050); }
.flattabs__tab[aria-selected="true"] { background: var(--grey-100); }
.flattabs__tab > svg { flex: none; width: 16px; height: 16px; color: var(--grey-500); }
.flattabs__tab[aria-selected="true"] > svg { display: none; }
.flattabs__tab .icon-btn--blue { display: none; }
.flattabs__tab[aria-selected="true"] .icon-btn--blue { display: grid; }

.flattabs__panel { grid-column: 1 / -1; margin-block: 4px 12px; }
.flattabs__panel[hidden] { display: none; }

/* Panel tekstowy w szarej ramce */
.infobox { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); background: var(--grey-100); }
.infobox__title { color: var(--blue); font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; }
.infobox p { margin-top: 8px; color: var(--ink-muted); font-size: .9375rem; }

/* Panel ze zdjęciem i listą definicji */
.mediabox {
  display: grid;
  grid-template-columns: 662fr 686fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--grey-100);
}
.mediabox__media { aspect-ratio: 662 / 265; }
.mediabox__media img { width: 100%; height: 100%; object-fit: cover; }
.mediabox__body { margin: 0; padding: clamp(20px, 2.4vw, 28px); }
.mediabox__body dd { margin-inline-start: 0; }
.mediabox__body dt { color: var(--blue); font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; }
.mediabox__body dd { margin-top: 4px; color: var(--ink-muted); font-size: .9375rem; }
.mediabox__body dd + dt { margin-top: 16px; }

/* -- 5.15 Kafle zastosowań na granacie ----------------------------- */
.navycards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.navycard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 212px;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--radius);
  background: var(--navy-600);
  color: #fff;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.navycard:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--navy-600) 86%, #fff); }
.navycard__title { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; }
.navycard p { color: rgba(255, 255, 255, .82); font-size: .9375rem; }
.navycard__arrow { margin-top: auto; align-self: flex-end; color: var(--navy-400); }
.navycard__arrow svg { width: 26px; height: 26px; }

/* -- 5.16 Karta z numerem (karuzela „Co wyróżnia nas”) ------------- */
.feature__num {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
}
.feature__kicker { display: block; margin-bottom: 6px; color: var(--ink-muted); font-size: .9375rem; }

/* -- 5.17 Pozwolenie na budowę ------------------------------------- */
.permit { display: grid; gap: var(--gutter); }
.permit__row { display: grid; grid-template-columns: 662fr 686fr; gap: var(--gutter); align-items: stretch; }
.permit__box { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); background: var(--grey-100); }
.permit__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.permit__meta { margin-top: 10px; color: var(--grey-500); font-size: .875rem; }
.permit__box p { margin-top: 16px; color: var(--ink-muted); font-size: .9375rem; }
.permit__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--blue); font-weight: 700; font-size: .9375rem; }
.permit__link svg { width: 20px; height: 20px; }
.permit__link:hover { color: var(--navy); }
.permit .videoplayer { height: 100%; }

.pill {
  display: inline-flex; align-items: center;
  min-height: 34px;
  padding: 4px 18px;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill--outline { border: 1px solid var(--blue); color: var(--blue); }
.pill--navy { background: var(--navy); color: #fff; }

/* -- 5.18 Blok tekstowy ------------------------------------------- */
.textblock { max-width: 112ch; }
.textblock .h2 { margin-bottom: 18px; }
.textblock p { color: var(--ink-muted); }
.textblock p + p { margin-top: 16px; }

/* -- 5.19 Kontakt -------------------------------------------------- */
/* Karta akcji: ikona + nazwa kanału + wyróżniona wartość */
.feature--action { display: block; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature--action:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__value {
  display: block;
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 700;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.feature--action:hover .feature__value { color: var(--blue); }

/* Formularz + karta z danymi */
.contact { display: grid; grid-template-columns: 734fr 590fr; gap: var(--gutter); align-items: start; }
.contact__form { padding: clamp(24px, 3vw, 44px); border-radius: var(--radius-lg); background: var(--grey-100); }
.contact__form .btn { margin-top: 26px; }

.contact__aside {
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
}
.contact__aside .h3 { margin-bottom: 22px; }
.contact__item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.contact__item + .contact__item { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact__item .icon-badge { width: 44px; height: 44px; background: var(--navy-600); }
.contact__item .icon-badge svg { width: 22px; height: 22px; }
.contact__label { display: block; color: var(--navy-400); font-size: .8125rem; }
.contact__value { display: block; margin-top: 4px; font-weight: 700; font-size: .9375rem; }
.contact__value a:hover { color: var(--navy-400); }
.contact__note { margin-top: 4px; color: rgba(255, 255, 255, .7); font-size: .8125rem; }

/* Siatka osób w dziale */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.person { padding: clamp(18px, 2vw, 24px); border-radius: var(--radius); background: var(--grey-100); }
.person__name { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.person__role { margin-top: 2px; color: var(--blue); font-size: .875rem; font-weight: 700; }
.person__contact { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.person__contact a,
.person__contact span { display: flex; gap: 8px; color: var(--ink-muted); font-size: .875rem; overflow-wrap: anywhere; }
.person__contact b { flex: none; width: 18px; color: var(--grey-500); font-weight: 700; }
.person__contact a:hover { color: var(--blue); }

/* Dane rejestrowe i numery kont */
.details { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); align-items: start; }
.datalist { margin: 14px 0 0; }
.datalist > div { display: grid; grid-template-columns: 132px 1fr; gap: 8px var(--gutter); padding-block: 10px; }
.datalist > div + div { border-top: 1px solid var(--grey-200); }
.datalist dt { color: var(--ink-muted); font-size: .875rem; }
.datalist dd { margin: 0; color: var(--navy); font-size: .9375rem; font-weight: 700; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ 6. Responsywność */

/* Poniżej szerokości projektu strzałki karuzeli chowamy do środka */
@media (max-width: 1500px) {
  .carousel__nav--prev { left: 4px; }
  .carousel__nav--next { right: 4px; }
}

@media (max-width: 1200px) {
  .topbar__contact:nth-of-type(2) { display: none; }
  .nav__list { gap: 14px; }
  .nav__link { font-size: .875rem; }
  .header__actions .btn { padding-inline: 18px; font-size: .875rem; }
}

@media (max-width: 1100px) {
  .cases       { grid-template-columns: 1fr; }
  .process     { grid-template-columns: 1fr; }
  .reviews     { grid-template-columns: 1fr; }
  .reviews__intro .h2 { max-width: none; }
  .casestudy   { grid-template-columns: 1fr; }
  .carousel__slide { flex-basis: calc((100% - var(--gutter)) / 2); }
}

/* Menu mobilne */
@media (max-width: 991px) {
  .topbar { display: none; }
  .burger { display: grid; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 55;
    margin: 0;
    padding: 24px var(--pad-x) 40px;
    background: #fff;
    overflow-y: auto;
    translate: 0 -100%;
    visibility: hidden;
    transition: translate .3s var(--ease), visibility .3s;
  }
  .nav.is-open { translate: 0 0; visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--grey-200); }
  .nav__link { justify-content: space-between; width: 100%; padding: 16px 0; font-size: 1.0625rem; }

  .nav__menu {
    position: static;
    min-width: 0;
    padding: 0 0 12px 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    display: none;
  }
  .nav__item--has-menu[data-open="true"] > .nav__menu { display: block; }

  .nav__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
  .header__actions .btn { display: none; }

  .split { grid-template-columns: 1fr; }
  .split__body { padding-top: 0; }
  .usecase { grid-template-columns: 1fr; }
  .usecase__body { padding: 0 clamp(20px, 4vw, 28px) clamp(24px, 4vw, 32px); }
  .icontabs__list { grid-template-columns: repeat(2, 1fr); }
  .flattabs { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .mediabox { grid-template-columns: 1fr; }
  .permit__row { grid-template-columns: 1fr; }
  .navycards { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: repeat(2, 1fr); }
  .footer__social { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }

  .h1 { font-size: clamp(2rem, 9vw, 2.75rem); }

  .hero { min-height: 0; }
  .hero__badge { width: 100%; }

  .offer__grid,
  .offer__grid + .offer__grid,
  .offer__grid--3 { grid-template-columns: 1fr; }
  .offer__grid + .offer__grid .tile__media,
  .offer__grid--3 .tile__media,
  .cases__feature .tile__media { aspect-ratio: 16 / 9; }

  .flattabs { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
  .field__row { grid-template-columns: 1fr; }
  .datalist > div { grid-template-columns: 1fr; gap: 2px; }
  .flattabs__tab { padding: 16px 14px; }
  .navycards { grid-template-columns: 1fr; }
  .permit__head { flex-direction: column; align-items: flex-start; gap: 12px; }

  .carousel__slide { flex-basis: 100%; }
  .carousel__nav { display: none; }

  .numtabs { --numtabs-cols: 2; }
  .numtabs__list { gap: 16px; }
  .numtabs__rail { display: none; }
  .numtabs__tab { padding: 12px; border-radius: var(--radius-sm); background: var(--grey-100); }
  .numtabs__tab[aria-selected="true"] { background: var(--blue-050); box-shadow: inset 0 0 0 2px var(--blue); }

  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }

  .faq { grid-template-columns: 1fr; }
  .faq .accordion__item { border-bottom: 1px solid var(--grey-200); }

  .linklist { grid-template-columns: 1fr; }
  .linklist__item { padding-inline: 12px; }

  .review-card__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .reviews__logo { width: 68px; height: 68px; }

  .footer__cta { justify-content: center; text-align: center; }
  .footer__cta-actions { width: 100%; flex-direction: column; }
  .footer__main { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .numtabs { --numtabs-cols: 1; }
  .icontabs__list { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .videolist__thumb { width: 104px; }
}

/* ------------------------------------------------------------------ 7. A11y / motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Delikatne wejście sekcji przy przewijaniu (JS dodaje .is-visible) */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.reveal.is-visible { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: 0 0; } }

/* Blokada przewijania przy otwartym menu */
body.is-locked { overflow: hidden; }
