/* SecurHUB — styl strony. Kolory z logo (złoto/pomarańcz na grafitowym tle). */
:root {
  --bg: #08070a;
  --bg-tint: #100d08;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f2ea;
  --muted: #a8a196;
  --faint: #6f6a60;
  --gold: #f7b500;
  --gold-2: #ffcd2e;
  --gold-pale: #ffd96a;
  --orange: #c87400;
  --line: #8d7c55;
  --grad: linear-gradient(95deg, #c87400 0%, #f7b500 55%, #ffcd2e 100%);
  --grad-text: linear-gradient(95deg, #ffd96a 0%, #ffcd2e 45%, #f7b500 100%);
  --on-gold: #140f02;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: rgba(247, 181, 0, 0.35); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
}

/* ───────── Przyciski ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .3s, border-color .3s;
  text-align: center;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn--primary { background: var(--grad); color: var(--on-gold); box-shadow: 0 10px 30px -10px rgba(247,181,0,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(247,181,0,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: rgba(247,181,0,.5); background: rgba(247,181,0,.08); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(24, 19, 8, .7);
  font-size: .82rem; font-weight: 500; color: #e6dfcf; white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 12px var(--gold-2); flex: none; }

/* ───────── Nawigacja ───────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .5s var(--ease-out), border-color .5s; }
.nav.is-scrolled, .nav.is-open { background: rgba(8,7,10,.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 33px; }
.brand b { font-weight: 800; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: .93rem; color: var(--muted); }
.nav__links a { transition: color .3s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__lang { border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.nav__lang:hover { color: var(--text); border-color: var(--text); }
.nav__toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-strong); color: var(--text); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .3s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }

/* ───────── Sekcje ───────── */
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 18%, var(--bg-tint) 82%, var(--bg) 100%); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__lead { color: var(--muted); font-size: 1.08rem; margin-top: 18px; max-width: 680px; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out) var(--d, 0ms), transform 1.3s var(--ease-out) var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 60% at 75% 45%, rgba(247,181,0,.12), transparent 70%),
  radial-gradient(40% 50% at 10% 90%, rgba(200,116,0,.10), transparent 70%); pointer-events: none; }
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 60% 45%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 30%, transparent 80%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__lead { color: var(--muted); font-size: 1.12rem; margin: 26px 0 36px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__art { position: relative; aspect-ratio: 1280 / 1100; }
.hero__art .logo-hero { width: 118%; height: auto; margin-left: -9%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }

/* ───────── Usługi (zakładki) ───────── */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab { font: 500 .92rem var(--font-body); color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: color .3s, border-color .3s, background-color .3s; }
.tab:hover { color: var(--text); border-color: var(--border-strong); }
.tab[aria-selected="true"] { color: var(--on-gold); background: var(--grad); border-color: transparent; font-weight: 600; }
.panel__lead { color: var(--muted); max-width: 720px; margin-bottom: 32px; }
.panel__title { font-size: 1.5rem; margin-bottom: 10px; }
.js .panel[hidden] { display: none; }
.no-js .panel { margin-bottom: 64px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .4s, transform .6s var(--ease-out), background-color .4s;
  display: flex; flex-direction: column;
}
.card:hover { border-color: rgba(247,181,0,.35); transform: translateY(-4px); background: var(--surface-2); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(247,181,0,.1); border: 1px solid rgba(247,181,0,.25); color: var(--gold-2); margin-bottom: 18px; }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .92rem; color: #d9d2c3; }
.card li { display: flex; gap: 10px; align-items: flex-start; }
.card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(247,181,0,.6); margin-top: .62em; flex: none; }
.card__more { margin-top: auto; padding-top: 20px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--gold-2); display: inline-flex; align-items: center; gap: 6px; }
.card__more:hover { color: var(--gold-pale); }
.soon { padding: 48px; border: 1px dashed var(--border-strong); border-radius: var(--radius); text-align: center; color: var(--muted); }

/* ───────── Kroki ───────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: krok; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; margin-bottom: 18px; }
.step p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* ───────── Dlaczego ───────── */
.why { display: grid; gap: 28px; }
.why__item { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why__item:nth-child(even) .why__media { order: 2; }
.why__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 10; position: relative; }
.why__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.why__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(247,181,0,.12), transparent 50%, rgba(8,7,10,.5)); }
.why__num { font-family: var(--font-head); font-weight: 700; color: var(--gold-2); font-size: .9rem; letter-spacing: .14em; margin-bottom: 10px; }
.why__item h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 14px; }
.why__item p { color: var(--muted); }

/* ───────── Liczby ───────── */
.stats { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 18px; }
.stat { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; white-space: nowrap; }
.stat__label { margin-top: 12px; font-family: var(--font-head); font-weight: 600; }
.stat__desc { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ───────── Zespół ───────── */
.team { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.team__quote { margin: 32px 0 0; padding: 28px 30px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(247,181,0,.08), transparent); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; color: #e9e2d2; }
.team__quote footer { margin-top: 14px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--gold-2); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team__card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.team__card::before { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; background: radial-gradient(circle, rgba(247,181,0,.18), transparent 70%); }
.team__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; background: #15120b; border: 1px solid var(--line); color: var(--gold-2); }
.team__avatar svg { width: 20px; height: 20px; }
.team__card p { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* ───────── Certyfikaty / partnerzy ───────── */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logo-tile { background: #f4f1ea; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 16px; transition: transform .5s var(--ease-out), box-shadow .5s; position: relative; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(247,181,0,.5); }
.logo-tile img { max-height: 100%; max-width: 100%; object-fit: contain; }
.logo-tile figcaption { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; font-size: .78rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logos--cert { row-gap: 46px; }
.logos--partners { grid-template-columns: repeat(4, 1fr); }
.logos--partners .logo-tile { aspect-ratio: 16 / 9; padding: 0; overflow: hidden; background: #111; border: 1px solid var(--border); }
.logos--partners .logo-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ───────── Newsy ───────── */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: border-color .4s, transform .6s var(--ease-out); }
.post:hover { border-color: rgba(247,181,0,.35); transform: translateY(-4px); }
.post__img { aspect-ratio: 16 / 9; overflow: hidden; background: #15120b; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { font-size: .8rem; color: var(--faint); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.post__cat { color: var(--gold-2); font-weight: 600; }
.post h3 { font-size: 1.08rem; line-height: 1.3; }
.post p { color: var(--muted); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__cta { margin-top: 32px; text-align: center; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; align-items: center; }
.filter input { flex: 1 1 260px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; }

/* ───────── Artykuł / podstrony ───────── */
.page-head { padding: 150px 0 40px; position: relative; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 70% 0%, rgba(247,181,0,.10), transparent 70%); pointer-events: none; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 920px; }
.page-head__lead { color: var(--muted); font-size: 1.1rem; margin-top: 18px; max-width: 760px; }
.crumbs { font-size: .85rem; color: var(--faint); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }
.article-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 48px; aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 760px; margin: 0 auto; font-size: 1.06rem; line-height: 1.75; color: #e4ddcd; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; color: var(--text); }
.prose h3 { font-size: 1.25rem; margin-top: 1.7em; color: var(--text); }
.prose h4 { font-size: 1.05rem; margin-top: 1.5em; color: var(--text); }
.prose a { color: var(--gold-2); text-decoration: underline; text-decoration-color: rgba(255,205,46,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold-2); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: rgba(247,181,0,.06); border-radius: 0 12px 12px 0; color: var(--text); }
.prose code { font-size: .9em; background: rgba(255,255,255,.07); padding: .15em .4em; border-radius: 6px; }
.prose pre { background: #0f0d0a; border: 1px solid var(--border); border-radius: 12px; padding: 18px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose img { border-radius: 12px; border: 1px solid var(--border); margin-left: auto; margin-right: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border-strong); padding: 10px 12px; text-align: left; }
.prose th { background: rgba(247,181,0,.08); color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.5em 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; margin: 48px auto 0; }
.author-box { max-width: 760px; margin: 40px auto 0; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); display: flex; gap: 16px; align-items: center; }
.author-box .team__avatar { margin: 0; flex: none; }
.author-box small { color: var(--faint); display: block; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s; }
.faq details[open] { border-color: rgba(247,181,0,.35); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-family: var(--font-head); font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold-2); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ───────── Kontakt ───────── */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact__info { display: grid; gap: 14px; margin-top: 32px; }
.contact__row { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
.contact__row svg { width: 20px; height: 20px; color: var(--gold-2); flex: none; }
.contact__row small { display: block; color: var(--faint); font-size: .78rem; }
.form { padding: 32px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); display: grid; gap: 16px; }
.form h3 { font-size: 1.3rem; }
.form label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.form input, .form textarea, .form select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(0,0,0,.35); color: var(--text); font: inherit; font-size: .98rem; }
.form textarea { min-height: 140px; resize: vertical; }
.form select option { background: #15120b; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .8rem; color: var(--faint); }
.form__note a { text-decoration: underline; }

/* ───────── CTA i stopka ───────── */
.cta-band { border-radius: 28px; padding: 64px 48px; text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(247,181,0,.18), rgba(247,181,0,.02) 70%), var(--surface); border: 1px solid rgba(247,181,0,.25); }
.cta-band p { color: var(--muted); margin: 16px auto 28px; max-width: 560px; }
.footer { border-top: 1px solid var(--border); padding: 72px 0 40px; margin-top: 40px; color: var(--muted); font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text); margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--text); }
.footer__tag { margin-top: 16px; max-width: 300px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-strong); display: grid; place-items: center; }
.footer__social svg { width: 17px; height: 17px; }
.footer__legal { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 24px; font-size: .82rem; color: var(--faint); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ───────── Responsywność ───────── */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(8,7,10,.96); border-bottom: 1px solid var(--border); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav__toggle { display: block; }
  .nav__inner > .btn { display: none; }
  .hero { padding-top: 100px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero__art .logo-hero { width: 100%; margin: 0; }
  .why__item, .team, .contact { grid-template-columns: 1fr; gap: 28px; }
  .why__item:nth-child(even) .why__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 84px 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .steps, .posts, .stats, .team__grid, .form__row { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos--partners { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 22px; }
  .form { padding: 22px; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card, .post, .logo-tile, .btn { transition: none; }
}

/* poprawki po pierwszym przeglądzie */
.logos > * { min-width: 0; }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.card__more svg, .btn svg { width: 1em; height: 1em; flex: none; }
.hero__art .logo-hero { width: 128%; margin-left: -14%; }
.logo-tile { aspect-ratio: 4 / 3; height: auto; }
.logo-tile img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.logos--partners .logo-tile { background: #0d0b08; }
.logos--partners .logo-tile img { inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stats { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.stat__num { white-space: normal; font-size: clamp(2rem, 3.4vw, 3rem); }
.stat__suf { font-size: .55em; letter-spacing: 0; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .hero__art .logo-hero { width: 100%; margin: 0; } }

/* Okno zgody na cookies (tylko gdy włączona analityka) */
.zgoda { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 560px; margin-left: auto;
  padding: 20px 22px; border: 1px solid var(--border-strong); border-radius: 16px; background: rgba(16,13,8,.97);
  box-shadow: 0 20px 60px rgba(0,0,0,.5); font-size: .92rem; color: var(--muted); }
.zgoda[hidden] { display: none; }
.zgoda h2 { font-size: 1.05rem; color: var(--text); margin: 0 0 8px; }
.zgoda p { margin: 0 0 16px; line-height: 1.55; }
.zgoda a { color: var(--text); text-decoration: underline; }
.zgoda__przyciski { display: flex; gap: 10px; flex-wrap: wrap; }
.zgoda__przyciski .btn { flex: 1 1 140px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--text); }
