/* =========================================================
   Podstrona "SEO" – odtworzenie wizualne (HTML + CSS)
   ========================================================= */

:root {
  --bg: #fafbfc;
  --text: #1d1e1f;
  --muted: #55585c;
  --dark: #1d1e1f;
  --dark-2: #313233;
  --violet-bg: #f2f3fc;
  --violet: #d2d2f7;
  --violet-border: #c9cbf2;
  --gray-bg: #f2f4f7;
  --gray: #e0e2e5;
  --line: #c8c9cc;
  --mint: #a2f5e7;
  --mint-2: #83ebd9;
  --lime: #d9f56b;
  --white: #ffffff;

  --font-head: "Inter Tight", "PolySans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: 20px;
  --section-y: 80px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon { width: 20px; height: 20px; flex: none; }

.eyebrow {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.h2 {
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.section { padding: var(--section-y) 0; position: relative; }
.section--violet { background: var(--violet-bg); }
.section--gray { background: var(--gray-bg); }
.section--dark { background: var(--dark); color: var(--bg); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn .icon { width: 16px; height: 16px; }
.btn--dark { background: var(--dark-2); color: var(--bg); }
.btn--dark:hover { background: #000; }
.btn--mint { background: var(--mint); color: var(--text); }
.btn--mint:hover { background: var(--mint-2); }
.btn--violet { background: var(--violet); color: var(--text); }
.btn--violet:hover { background: #c1c1f2; }
.btn--disabled { background: var(--gray); color: var(--bg); cursor: not-allowed; }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 14px; }

.link-underline {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   Pasek ogłoszenia
   ========================================================= */
.topbar {
  background: var(--dark);
  color: var(--lime);
  font-size: 16px;
  line-height: 22px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 48px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.topbar__close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--lime);
  padding: 4px;
  display: grid;
  place-items: center;
}
.topbar.is-hidden { display: none; }

/* =========================================================
   Nagłówek
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: #eceef1; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo svg { width: 24px; height: 20px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 500;
  background: none;
  border: 0;
  border-radius: 8px;
  white-space: nowrap;
}
.nav__link:hover { background: var(--gray-bg); }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav__item:hover .nav__link .icon,
.nav__item:focus-within .nav__link .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 8px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(29, 30, 31, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
}
.dropdown a:hover { background: var(--violet-bg); }
.dropdown a small { display: block; color: var(--muted); font-size: 13px; line-height: 18px; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  font-weight: 500;
  padding: 8px;
}
.lang .icon { width: 16px; height: 16px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform .25s, background-color .25s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--mobile-menu-top, 80px);
  background: var(--bg);
  z-index: 49;
  overflow-y: auto;
  padding: 16px var(--gutter) 40px;
}
.menu-open .mobile-menu { display: block; }
.mobile-menu details { border-bottom: 1px solid #e6e8eb; }
.mobile-menu summary,
.mobile-menu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-family: var(--font-head);
  font-size: 22px;
  list-style: none;
  cursor: pointer;
}
.mobile-menu > a { border-bottom: 1px solid #e6e8eb; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu details a { display: block; padding: 8px 0 8px 12px; color: var(--muted); }
.mobile-menu details div { padding-bottom: 12px; }
.mobile-menu > a.btn { justify-content: center; border-bottom: 0; padding: 12px 20px; font-family: var(--font-body); font-size: 16px; width: 100%; margin-top: 24px; }

/* =========================================================
   Dekoracyjne "fale" z kresek
   ========================================================= */
.wave { position: absolute; pointer-events: none; z-index: 0; }
.wave svg { width: 100%; height: 100%; }

/* =========================================================
   HERO + formularz
   ========================================================= */
.hero { padding: 80px 0; position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 530px);
  gap: 120px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 8px 0 32px;
  max-width: 560px;
}
.hero__lead { max-width: 560px; }
.hero__lead strong { font-weight: 600; }
.hero .btn { margin-top: 40px; }
.hero .wave { left: 0; bottom: 0; width: 62%; height: 240px; }

.form-card {
  background: var(--violet-bg);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 20px 60px rgba(90, 96, 180, .08);
}
.form-card h2 { font-size: 34px; line-height: 38px; margin-bottom: 20px; }
.form-card hr { border: 0; border-top: 1px solid var(--violet-border); margin: 32px 0; }
.field {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--violet-border);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: #8f94c9; }
.field:focus { border-color: #8f94e9; box-shadow: 0 0 0 3px rgba(143, 148, 233, .2); }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 16px;
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid #b7bac6;
  border-radius: 3px;
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.check input:checked { background: var(--dark); border-color: var(--dark); }
.check input:checked::after {
  content: "";
  width: 5px; height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.check a { color: var(--text); text-decoration: underline; }
.form-card .btn--submit { margin-top: 32px; width: 210px; }
.form-card .btn--submit.is-ready { background: var(--dark-2); cursor: pointer; }

/* =========================================================
   Karuzela logotypów
   ========================================================= */
.clients { padding: 40px 0 80px; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.client-logo {
  color: #1d1e1f;
  white-space: nowrap;
  opacity: .92;
  display: flex;
  align-items: center;
  height: 64px;
}
.cl-1 { font-family: Georgia, serif; font-size: 30px; letter-spacing: .25em; font-weight: 300; }
.cl-2 { font-family: var(--font-head); font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.cl-3 { font-family: var(--font-body); font-size: 12px; line-height: 12px; letter-spacing: .04em; gap: 6px; }
.cl-3 b { font-size: 34px; line-height: 1; font-weight: 800; border: 3px solid currentColor; padding: 2px 6px; }
.cl-4 { font-family: var(--font-body); font-size: 30px; letter-spacing: .18em; font-weight: 400; }
.cl-5 { font-family: "Didot", "Bodoni 72", Georgia, serif; font-size: 30px; letter-spacing: .12em; }
.cl-6 { font-family: var(--font-head); font-size: 34px; font-weight: 500; letter-spacing: .06em; }
.cl-7 { font-family: Georgia, serif; font-size: 20px; letter-spacing: .3em; font-weight: 700; }
.cl-8 { font-family: var(--font-body); font-size: 44px; font-weight: 900; letter-spacing: -.02em; }
.cl-9 { font-family: var(--font-head); font-size: 26px; font-weight: 600; letter-spacing: .02em; font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Wyzwania (obraz + lista)
   ========================================================= */
.challenges__grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
}
.challenges__visual {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  min-height: 560px;
  background:
    radial-gradient(60% 45% at 50% 30%, rgba(210, 212, 255, .55), transparent 70%),
    radial-gradient(40% 70% at 20% 0%, rgba(210, 212, 255, .35), transparent 70%),
    radial-gradient(40% 70% at 80% 0%, rgba(210, 212, 255, .35), transparent 70%),
    linear-gradient(180deg, #595b6b 0%, #3a3b44 45%, #26272b 100%);
  position: sticky;
  top: 120px;
  align-self: start;
  height: min(640px, calc(100vh - 160px));
}
.challenges__visual::before,
.challenges__visual::after {
  content: "";
  position: absolute;
  bottom: -10%;
  width: 18%;
  height: 70%;
  background: linear-gradient(0deg, rgba(255,255,255,.55), rgba(255,255,255,0) 80%);
  filter: blur(18px);
  border-radius: 50%;
}
.challenges__visual::before { left: 10%; transform: rotate(4deg); }
.challenges__visual::after { right: 10%; transform: rotate(-4deg); }
.search-pill {
  position: absolute;
  left: 50%;
  top: 32%;
  transform: translateX(-50%);
  width: 58%;
  aspect-ratio: 1 / 1.25;
  border: 3px solid rgba(255,255,255,.95);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  display: grid;
  place-items: end center;
  padding-bottom: 32%;
  background: linear-gradient(180deg, rgba(20,20,24,0), rgba(20,20,24,.55));
}
.search-pill::before {
  content: "";
  position: absolute;
  left: -3px; right: -3px; top: -60%;
  height: 60%;
  border-left: 3px solid rgba(255,255,255,.95);
  border-right: 3px solid rgba(255,255,255,.95);
  -webkit-mask: linear-gradient(0deg, #000, transparent);
          mask: linear-gradient(0deg, #000, transparent);
}
.search-pill svg { width: 30%; height: auto; color: #fff; }

.challenges__content .h2 { font-size: 48px; line-height: 52px; margin-bottom: 56px; max-width: 720px; }
.x-list { display: grid; gap: 40px; }
.x-item h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 12px;
}
.x-item h3 .ico-box {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--white);
  display: grid;
  place-items: center;
}
.x-item p { font-size: 15px; line-height: 23px; color: #3b3d40; max-width: 680px; }

/* =========================================================
   Ciemne pasy CTA
   ========================================================= */
.cta-band { background: var(--dark); color: var(--bg); padding: 88px 0; text-align: center; }
.cta-band h2 { font-size: 48px; line-height: 52px; max-width: 900px; margin: 0 auto 40px; }
.hl { color: var(--mint); }

/* =========================================================
   Korzyści – karty
   ========================================================= */
.benefits .h2 { margin-bottom: 56px; }
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.b-card {
  background: var(--white);
  border-radius: 4px;
  padding: 24px 24px 40px;
  box-shadow: 0 1px 2px rgba(29,30,31,.03);
}
.b-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.ico-sq {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid #eef0f3;
}
.ico-sq .icon { width: 18px; height: 18px; }
.b-card h3 { font-size: 24px; line-height: 30px; margin-bottom: 24px; }
.b-card p { font-size: 15px; line-height: 24px; color: #3b3d40; }
.b-card__toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 6px;
  background: var(--bg);
  place-items: center;
}
.b-card__toggle .icon { transition: transform .25s; }
.b-card.is-open .b-card__toggle .icon { transform: rotate(45deg); }

/* =========================================================
   Case studies
   ========================================================= */
.cases .h2 { margin-bottom: 56px; max-width: 700px; }
.cases__slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.case__img {
  position: relative;
  aspect-ratio: 400 / 340;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 24px;
  background: linear-gradient(160deg, #a9dcca 0%, #8ecdb9 100%);
}
.case__img > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case__img:hover > svg { transform: scale(1.03); }
.case__img > svg { transition: transform .5s ease; }
.badges { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 1; }
.badge {
  background: var(--mint);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}
.case__brand {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  font-size: 22px;
  color: #1d1e1f;
}
.case h3 { font-size: 24px; line-height: 32px; }
.cases__nav { display: none; }

/* =========================================================
   Opinia klienta
   ========================================================= */
.quote { background: var(--dark); color: var(--bg); padding: 100px 0; text-align: center; }
.quote .eyebrow { font-size: 13px; }
.quote blockquote {
  margin: 24px auto 48px;
  max-width: 1000px;
  font-family: var(--font-head);
  font-size: 64px;
  line-height: 68px;
  letter-spacing: 0.005em;
  background: linear-gradient(180deg, #d2d2f7 0%, #c9e7f6 50%, #a2f5e7 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.quote__author { font-size: 15px; line-height: 22px; }
.quote__author strong { display: block; font-weight: 600; }
.quote__author span { color: #b3b5b8; }
.quote__author span b { color: var(--bg); font-weight: 500; }

/* =========================================================
   Proces
   ========================================================= */
.process { padding: 128px 0 0; overflow: hidden; position: relative; }
.process__head { max-width: 860px; margin-left: calc((100% - min(100%, var(--container) + var(--gutter) * 2)) / 2 + var(--gutter) + 28%); }
.process__head .h2 { font-size: 64px; margin-bottom: 40px; }
.process__head p { font-family: var(--font-head); font-size: 28px; line-height: 36px; max-width: 560px; }
.steps-wrap { position: relative; margin-top: 64px; padding-bottom: 120px; }
.steps-wrap .wave { left: 0; right: 0; bottom: 0; height: 280px; width: 100%; }
.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 360px;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-right: var(--gutter);
  border-top: 1px solid var(--line);
  cursor: grab;
}
.steps::-webkit-scrollbar { display: none; }
.step { position: relative; padding-top: 48px; scroll-snap-align: start; }
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--text);
}
.step__num { font-family: var(--font-head); font-size: 72px; line-height: 1; margin-bottom: 40px; }
.step h3 { font-family: var(--font-body); font-size: 16px; font-weight: 500; margin-bottom: 16px; }
.step p { font-size: 15px; line-height: 23px; color: #3b3d40; }

/* =========================================================
   Oferta – lista z ikonami
   ========================================================= */
.offer { padding: 128px 0 80px; }
.offer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 80px;
}
.offer__head { position: sticky; top: 140px; align-self: start; }
.offer__head .h2 { font-size: 56px; line-height: 60px; margin-bottom: 32px; max-width: 420px; }
.offer__list { display: grid; gap: 16px; }
.o-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: 4px;
  padding: 16px 24px 20px 16px;
}
.o-item .ico-sq { background: var(--white); border: 0; }
.o-item .icon { width: 24px; height: 24px; }
.o-item h3 { font-family: var(--font-body); font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.o-item p { font-size: 14px; line-height: 21px; color: #3b3d40; }

/* =========================================================
   Kontakt z ekspertem
   ========================================================= */
.team { padding: 80px 0 64px; overflow: hidden; position: relative; }
.team .h2 { font-size: 56px; line-height: 60px; margin-bottom: 56px; max-width: 620px; }
.team__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.person { max-width: 232px; }
.person__photo {
  position: relative;
  aspect-ratio: 232 / 290;
  background: linear-gradient(180deg, #f0f1f3, #e3e5e8);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}
.person__photo svg.avatar { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; }
.person__li {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 22px;
  height: 22px;
  z-index: 1;
}
.person strong { display: block; font-weight: 500; font-size: 16px; }
.person span, .person a { display: block; font-size: 13px; line-height: 19px; color: #3b3d40; }
.team__cta h3 { font-size: 40px; line-height: 44px; margin-bottom: 32px; max-width: 300px; }
.team .wave { left: 0; right: 0; bottom: 0; width: 100%; height: 190px; }

/* =========================================================
   Powiązane usługi
   ========================================================= */
.related .h2 { margin-bottom: 56px; }
.r-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 4px;
  padding: 24px;
  min-height: 330px;
  transition: box-shadow .2s, transform .2s;
}
.r-card:hover { box-shadow: 0 14px 40px rgba(29,30,31,.08); transform: translateY(-2px); }
.r-card .ico-sq { margin-bottom: 24px; }
.r-card h3 { font-size: 24px; line-height: 30px; margin-bottom: 20px; }
.r-card p { font-size: 15px; line-height: 23px; color: #3b3d40; flex: 1; }
.r-card .more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 500;
}
.r-card .more .icon { width: 14px; height: 14px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-top: 40px; }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(0, 1fr);
  gap: 64px;
}
.faq .h2 { margin-bottom: 56px; }
.faq__list { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border-radius: 4px;
  transition: box-shadow .2s;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 16px; height: 16px; transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 20px; font-size: 15px; line-height: 24px; color: #3b3d40; }
.faq__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
  gap: 32px;
}
.faq__aside .li { width: 22px; height: 22px; align-self: flex-start; margin-left: 12%; }
.faq__aside .bigmark { width: 180px; height: auto; }
.rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1.5px solid var(--text);
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
}
.rating .stars { display: flex; gap: 2px; }
.rating .stars .icon { width: 14px; height: 14px; }
.rating .rating__name { font-family: var(--font-head); font-size: 20px; letter-spacing: -.02em; }

/* =========================================================
   Stopka
   ========================================================= */
.footer { background: var(--dark); color: var(--bg); padding: 80px 0 0; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 64px; }
.footer__mark { width: 32px; height: 28px; }
.footer .rating { border-color: var(--bg); }
.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, auto));
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #3b3c3e;
}
.footer__claim h2 { font-size: 40px; line-height: 44px; margin-bottom: 40px; max-width: 360px; }
.f-col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 500; margin-bottom: 36px; color: #e6e7e9; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.f-col a { font-size: 14px; line-height: 20px; }
.f-col a:hover { color: var(--mint); }

.footer__info {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid #3b3c3e;
  font-size: 14px;
  line-height: 20px;
}
.footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)) minmax(0, 1fr);
  gap: 48px;
  padding: 40px 0;
  font-size: 13px;
  line-height: 20px;
}
.socials { display: flex; gap: 20px; }
.socials .icon { width: 22px; height: 22px; }
.socials a:hover { color: var(--mint); }
.footer__word {
  font-family: var(--font-head);
  font-weight: 600;
  color: #3d3e40;
  font-size: clamp(80px, 20.5vw, 300px);
  line-height: .78;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: center;
  margin-top: 16px;
  user-select: none;
}

/* ---------- Pływający przycisk kalendarza ---------- */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--violet);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(80, 84, 170, .25);
  z-index: 40;
  transition: transform .2s;
}
.fab:hover { transform: scale(1.06); }
.fab .icon { width: 30px; height: 30px; }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1280px) {
  .nav__link { padding: 10px 10px; font-size: 15px; }
  .hero__grid { gap: 64px; }
  .cards-4 { gap: 20px; }
}

@media (max-width: 1100px) {
  .nav, .header__actions .lang, .header__actions .btn { display: none; }
  .burger { display: grid; }
  .h2 { font-size: 52px; }
  .hero h1 { font-size: 60px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .challenges__grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; }
  .quote blockquote { font-size: 52px; line-height: 58px; }
  .process__head { margin-left: auto; margin-right: auto; padding: 0 var(--gutter); max-width: calc(var(--container) + var(--gutter) * 2); }
  .footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__claim { grid-column: 1 / -1; }
  .footer__info, .footer__bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --section-y: 64px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero .wave { width: 100%; height: 180px; bottom: auto; top: 560px; }
  .form-card { max-width: 640px; }
  .challenges__grid { grid-template-columns: 1fr; }
  .challenges__visual { position: relative; top: 0; height: 420px; min-height: 0; }
  .cases__slider {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 70%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
  }
  .cases__slider::-webkit-scrollbar { display: none; }
  .case { scroll-snap-align: start; }
  .cases__nav { display: flex; gap: 12px; margin-top: 32px; }
  .cases__nav button {
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: var(--dark-2); color: var(--bg); display: grid; place-items: center;
  }
  .offer__grid { grid-template-columns: 1fr; gap: 48px; }
  .offer__head { position: static; }
  .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .faq__aside { flex-direction: row; justify-content: space-between; align-items: center; padding-top: 0; }
  .faq__aside .li { margin: 0; align-self: center; }
  .faq__aside .bigmark { width: 90px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 56px; }
  body { font-size: 16px; }
  .topbar { font-size: 15px; }
  .topbar__inner { justify-content: flex-start; padding-right: 56px; text-align: left; }
  .header__inner { height: 72px; }
  .logo { font-size: 23px; }

  .h2 { font-size: 40px; line-height: 44px; }
  .eyebrow { font-size: 13px; }

  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 44px; line-height: 46px; margin-bottom: 24px; }
  .hero .wave { top: auto; bottom: auto; display: none; }
  .form-card { padding: 24px 20px; }
  .form-card h2 { font-size: 30px; line-height: 34px; }
  .form-card .btn--submit { width: 100%; }

  .clients { padding: 24px 0 56px; }
  .marquee__group { gap: 48px; padding-right: 48px; }
  .client-logo { transform: scale(.8); }

  .challenges__visual { height: 320px; }
  .challenges__content .h2 { font-size: 34px; line-height: 38px; margin-bottom: 40px; }
  .x-item h3 { font-size: 20px; line-height: 26px; }
  .x-list { gap: 32px; }

  .cta-band { padding: 64px 0; }
  .cta-band h2 { font-size: 32px; line-height: 38px; }

  .cards-4 { grid-template-columns: 1fr; gap: 20px; }
  .benefits .h2 { margin-bottom: 40px; }
  .b-card { padding: 24px 24px 28px; }
  .b-card h3 { margin-bottom: 0; font-size: 22px; }
  .b-card__toggle { display: grid; }
  .b-card p { display: none; margin-top: 16px; }
  .b-card.is-open p { display: block; }

  .cases .h2 { margin-bottom: 40px; }
  .cases__slider { grid-auto-columns: 86%; gap: 16px; }
  .case h3 { font-size: 20px; line-height: 28px; }

  .quote { padding: 72px 0; }
  .quote blockquote { font-size: 34px; line-height: 40px; }

  .process { padding-top: 72px; }
  .process__head .h2 { font-size: 40px; margin-bottom: 24px; }
  .process__head p { font-size: 22px; line-height: 30px; }
  .steps { grid-auto-columns: 82%; }
  .step__num { font-size: 56px; margin-bottom: 24px; }
  .steps-wrap { padding-bottom: 80px; }
  .steps-wrap .wave { height: 180px; }

  .offer { padding: 72px 0 56px; }
  .offer__head .h2 { font-size: 40px; line-height: 44px; }
  .o-item { grid-template-columns: 1fr; padding: 20px; }

  .team .h2 { font-size: 40px; line-height: 44px; margin-bottom: 40px; }
  .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .team__cta h3 { font-size: 32px; line-height: 36px; }
  .team .wave { height: 130px; }

  .related .h2 { margin-bottom: 40px; }
  .r-card { min-height: 0; }

  .faq .h2 { margin-bottom: 40px; }
  .faq summary { padding: 16px; }
  .faq details > div { padding: 0 16px 16px; }

  .footer { padding-top: 56px; }
  .footer__top { margin-bottom: 48px; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__claim h2 { font-size: 32px; line-height: 36px; }
  .f-col h4 { margin-bottom: 20px; }
  .f-col ul { gap: 16px; }
  .footer__info, .footer__bottom { grid-template-columns: 1fr; gap: 24px; }

  .fab { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .fab .icon { width: 26px; height: 26px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 40px; line-height: 42px; }
  .h2 { font-size: 36px; line-height: 40px; }
  .footer__main { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  html { scroll-behavior: auto; }
}
