/* ============================================================
   FULLBAX LP — style wg brandbooka (07.2024)
   Kolory, fonty i zasady: patrz README.md
   ============================================================ */

/* ---------- Fonty (self-hosted) ---------- */
@font-face { font-family: 'Panchang'; src: url('../fonts/panchang-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Panchang'; src: url('../fonts/panchang-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Panchang'; src: url('../fonts/panchang-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Panchang'; src: url('../fonts/panchang-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi';  src: url('../fonts/satoshi-400.woff2')  format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi';  src: url('../fonts/satoshi-500.woff2')  format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi';  src: url('../fonts/satoshi-700.woff2')  format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Monoton';  src: url('../fonts/monoton-400.woff2')  format('woff2'); font-weight: 400; font-display: swap; }

/* ---------- Design tokens (brandbook) ---------- */
:root {
  --black:       #050101; /* bazowa czerń */
  --black-deep:  #1C0706; /* ciemniejszy czarny — na kremach i toffi */
  --brown:       #554544;
  --brown-light: #998F8F;
  --cream:       #F8F6F0; /* jasnokremowy — tła */
  --cream-2:     #FBFAF6;
  --ivory:       #FEFDFC; /* kość słoniowa — treści na toffi */
  --white:       #FFFFFF;
  --red:         #FE4139;
  --toffi:       #DBA977;

  --font-head: 'Panchang', 'Trebuchet MS', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --font-deco: 'Monoton', cursive;

  --topbar-h: 64px;
  --maxw: 1140px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --hairline: 1px solid rgba(85, 69, 68, .22);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; interpolate-size: allow-keywords; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--black-deep);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); text-wrap: balance; }
/* Panchang Medium jak na fullbax.pl — lżejszy krój i luźniejsza interlinia czytają się naturalniej */
h1 { font-weight: 500; font-size: clamp(2.1rem, 5.4vw, 3.7rem); line-height: 1.18; }
h2 { font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.35rem); line-height: 1.22; }
h3 { font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.3; }

::selection { background: var(--red); color: var(--white); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--black); color: var(--white); padding: .6em 1em;
}
.skip-link:focus { left: 0; }

/* delikatna papierowa faktura tła */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(85, 69, 68, .05) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- Pasek postępu scrolla ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- Przyciski ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 500; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: .95em 1.7em; border: 1.5px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(130%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 8px 22px -10px rgba(254, 65, 57, .55); }
.btn--red:hover { background: #e83028; }
.btn--ghost { border-color: var(--black-deep); color: var(--black-deep); background: transparent; }
.btn--ghost:hover { background: var(--black-deep); color: var(--cream); }
.btn--ghost-light { border-color: var(--ivory); color: var(--ivory); background: transparent; }
.btn--ghost-light:hover { background: var(--ivory); color: var(--black-deep); }
.btn--sm { padding: .7em 1.2em; font-size: .74rem; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: var(--hairline);
  transition: box-shadow .3s;
}
.topbar.is-scrolled { box-shadow: 0 10px 30px -18px rgba(5, 1, 1, .35); }
.topbar__logo img { height: 24px; width: auto; }
.topbar__actions { display: flex; align-items: center; gap: 22px; }
.topbar__phone {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 500; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.topbar__phone:hover { color: var(--red); }
.topbar__phone-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254, 65, 57, .45); }
  55%      { box-shadow: 0 0 0 7px rgba(254, 65, 57, 0); }
}
.topbar__menu {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.topbar__menu span { width: 22px; height: 2px; background: var(--black-deep); transition: transform .25s var(--ease), opacity .2s; }
.topbar__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topbar__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobilny spis treści ---------- */
.mobile-nav {
  position: fixed; inset: var(--topbar-h) 0 0 0; z-index: 90;
  background: var(--cream); padding: 8vh var(--pad);
  overflow-y: auto;
}
.mobile-nav__list { list-style: none; counter-reset: mnav; }
.mobile-nav__list a {
  counter-increment: mnav;
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.35rem;
  text-decoration: none; padding: .55em 0; border-bottom: var(--hairline);
}
.mobile-nav__list a::before {
  content: counter(mnav, decimal-leading-zero);
  font-size: .7rem; color: var(--red); letter-spacing: .1em;
}
.mobile-nav__foot { margin-top: 5vh; color: var(--brown); font-size: .9rem; }

/* ---------- Boczny spis treści (desktop) ---------- */
.side-nav {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 4px;
}
.side-nav a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  text-decoration: none; padding: 5px 0;
}
.side-nav .label {
  font-family: var(--font-head); font-weight: 400; font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brown);
  opacity: 0; transform: translateX(6px);
  transition: opacity .2s, transform .25s var(--ease), color .2s;
  white-space: nowrap;
}
.side-nav .dot {
  width: 8px; height: 8px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--brown-light); background: transparent;
  transition: background .2s, border-color .2s, transform .2s;
}
.side-nav a:hover .label, .side-nav:hover .label { opacity: 1; transform: none; }
.side-nav a.is-active .dot { background: var(--red); border-color: var(--red); transform: scale(1.25); }
.side-nav a.is-active .label { opacity: 1; transform: none; color: var(--black-deep); }
.side-nav.on-dark .label { color: var(--brown-light); }
.side-nav.on-dark a.is-active .label { color: var(--ivory); }

/* ---------- Sekcje — wspólne ---------- */
.section {
  position: relative;
  padding: clamp(64px, 10vh, 120px) var(--pad);
  scroll-margin-top: var(--topbar-h);
}
.section__inner { max-width: var(--maxw); margin: 0 auto; }
.section__head { max-width: 720px; margin-bottom: clamp(30px, 5vh, 56px); }
.section__no {
  display: block; font-family: var(--font-head); font-weight: 400;
  font-size: .7rem; letter-spacing: .28em; color: var(--red); margin-bottom: 14px;
}
.section__no::after {
  content: ""; display: inline-block; width: 44px; height: 1px; background: var(--red);
  margin-left: 12px; vertical-align: middle;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .9s var(--ease) .35s;
}
.section__head.in-view .section__no::after { transform: scaleX(1); }
.section__lead { margin-top: 16px; color: var(--black-deep); max-width: 60ch; }

/* reveal przy scrollu — kaskada wg --i (ustawiane w app.js) */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.s-hero { padding-top: calc(var(--topbar-h) + clamp(48px, 10vh, 110px)); min-height: 92vh; display: flex; align-items: center; }
.s-hero .section__inner { width: 100%; }
.s-hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--black-deep);
  border: 1px solid var(--toffi); padding: .55em 1.1em; border-radius: 999px;
  background: color-mix(in srgb, var(--toffi) 14%, transparent);
  margin-bottom: 28px;
}
.s-hero__kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.s-hero h1 { max-width: 16ch; }
.s-hero h1 .accent { display: block; color: var(--toffi); }
.s-hero__text { margin-top: 26px; max-width: 54ch; font-size: 1.06rem; color: var(--black-deep); }
.s-hero__bullets { list-style: none; margin-top: 30px; display: grid; gap: 10px; }
.s-hero__bullets li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.s-hero__bullets li::before { content: "→"; color: var(--red); font-weight: 700; }
.s-hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
/* dekoracja: znak "skrzydeł" / linie manifestu */
.s-hero__deco {
  position: absolute; right: max(6vw, 70px); top: 50%; transform: translateY(-50%);
  width: min(30vw, 380px); aspect-ratio: 1; pointer-events: none;
  border: 1px solid rgba(85, 69, 68, .18); border-radius: 50%;
}
.s-hero__deco::before, .s-hero__deco::after {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  border: 1px solid rgba(85, 69, 68, .13);
}
.s-hero__deco::after { inset: 26%; border: 1px dashed rgba(254, 65, 57, .4); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.s-hero__deco .glyph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-deco); font-size: clamp(3rem, 7vw, 5.5rem); color: var(--toffi);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Ticker (pasek haseł) ---------- */
.ticker {
  overflow: hidden; background: var(--cream-2);
  border-top: var(--hairline); border-bottom: var(--hairline);
  padding: 14px 0;
}
.ticker__track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__row { display: flex; align-items: center; flex: none; }
.ticker__item {
  font-family: var(--font-head); font-weight: 400; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brown);
  white-space: nowrap; padding: 0 26px;
}
.ticker__dot { color: var(--red); font-size: .45rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- STATS (ciemna) ---------- */
.s-stats { background: var(--black); color: var(--ivory); }
.s-stats .section__no { color: var(--toffi); }
.s-stats .section__no::after { background: var(--toffi); }
.s-stats h2 { color: var(--white); }
.s-stats__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px;
  background: rgba(153, 143, 143, .25); border: 1px solid rgba(153, 143, 143, .25);
}
.s-stats__cell { background: var(--black); padding: clamp(22px, 3.5vw, 40px); }
.s-stats__value {
  font-family: var(--font-deco); font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1; color: var(--toffi);
  white-space: nowrap;
}
.s-stats__value .suffix { font-family: var(--font-head); font-weight: 500; font-size: .38em; color: var(--red); margin-left: .35em; letter-spacing: .06em; }
.s-stats__label { margin-top: 12px; font-size: .92rem; color: var(--brown-light); }

/* ---------- SERVICES (wiersze edytorskie) ---------- */
.s-services__list { list-style: none; border-top: var(--hairline); }
.srow {
  display: grid; grid-template-columns: 56px 46px minmax(220px, 290px) 1fr;
  gap: 12px clamp(18px, 3vw, 40px); align-items: start;
  padding: clamp(22px, 3.5vh, 34px) 12px; border-bottom: var(--hairline);
  transition: background .25s;
}
.srow:hover { background: var(--ivory); }
.srow__no {
  font-family: var(--font-head); font-weight: 400; font-size: .7rem;
  letter-spacing: .2em; color: var(--red); padding-top: 6px;
}
.srow__ico { width: 30px; height: 30px; color: var(--brown); transition: color .25s, transform .3s var(--ease); }
.srow__ico svg { width: 100%; height: 100%; }
.srow:hover .srow__ico { color: var(--red); transform: translateY(-2px); }
.srow h3 { padding-top: 3px; }
.srow p { color: var(--black-deep); max-width: 62ch; }

/* ---------- PROCESS ---------- */
.s-process { background: var(--cream-2); border-top: var(--hairline); border-bottom: var(--hairline); }
.s-process__list { list-style: none; display: grid; gap: 0; }
.s-process__step {
  display: grid; grid-template-columns: 110px 1fr; gap: clamp(16px, 4vw, 56px);
  padding: clamp(24px, 4vh, 40px) 0; border-bottom: var(--hairline);
}
.s-process__step:last-child { border-bottom: 0; }
.s-process__no {
  font-family: var(--font-deco); font-size: clamp(2rem, 4vw, 3rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--toffi);
  transition: color .4s var(--ease);
}
.s-process__step:hover .s-process__no { color: var(--toffi); }
.s-process__step h3 { margin-bottom: 8px; }
.s-process__step p { color: var(--black-deep); max-width: 62ch; }

/* ---------- AUDIENCE (2×2, ikona + treść) ---------- */
.s-audience__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.s-audience .tile {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start;
  border-top: 3px solid var(--toffi); background: var(--ivory);
  padding: 28px 26px; border-radius: var(--radius);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.s-audience .tile:hover {
  border-top-color: var(--red); transform: translateY(-4px);
  box-shadow: 0 24px 44px -26px rgba(28, 7, 6, .25);
}
.tile__ico {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--toffi); border-radius: 50%; color: var(--red);
  background: color-mix(in srgb, var(--toffi) 10%, transparent);
}
.tile__ico svg { width: 26px; height: 26px; }
.s-audience .tile h3 { margin-bottom: 8px; }
.s-audience .tile p { font-size: 1rem; color: var(--black-deep); }

/* ---------- WHY ---------- */
.s-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 44px) clamp(24px, 5vw, 64px); }
.s-why__item { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; }
.s-why__mark {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--white); font-weight: 700; font-size: .85rem;
  box-shadow: 0 6px 16px -6px rgba(254, 65, 57, .6);
}
.s-why__item h3 { margin-bottom: 6px; }
.s-why__item p { font-size: 1rem; color: var(--black-deep); }

/* ---------- TESTIMONIALS ---------- */
.s-testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.s-testimonials .quote {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--ivory); border: var(--hairline); border-radius: var(--radius);
  padding: 28px 26px;
}
.s-testimonials .quote blockquote { flex: 1; font-size: 1.02rem; }
.s-testimonials .quote blockquote::before {
  content: "„"; display: block;
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: .4;
  color: var(--red); margin-bottom: 14px;
}
.s-testimonials .quote figcaption {
  border-top: var(--hairline); padding-top: 14px; font-size: .88rem; color: var(--brown);
}
.s-testimonials .quote figcaption strong { display: block; font-weight: 700; color: var(--black-deep); }

/* ---------- FAQ ---------- */
.s-faq { background: var(--cream-2); border-top: var(--hairline); }
.s-faq__list { max-width: 780px; }
.s-faq details { border-bottom: var(--hairline); }
.s-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  align-items: center; padding: 20px 0;
  font-family: var(--font-head); font-weight: 500; font-size: 1.02rem;
}
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1.5px solid var(--brown-light); border-radius: 50%;
  color: var(--brown); font-family: var(--font-body); font-size: 1.1rem;
  transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s;
}
.s-faq details[open] summary::after { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: var(--white); }
.s-faq details p { padding: 0 44px 20px 0; color: var(--black-deep); max-width: 68ch; }
/* płynne rozwijanie (nowe przeglądarki; starsze otwierają natychmiast) */
.s-faq details::details-content {
  opacity: 0; block-size: 0; overflow: clip;
  transition: block-size .4s var(--ease), opacity .35s var(--ease), content-visibility .4s allow-discrete;
}
.s-faq details[open]::details-content { opacity: 1; block-size: auto; }

/* ---------- CONTACT (ciemna) ---------- */
.s-contact { background: linear-gradient(160deg, var(--black) 55%, #170503); color: var(--ivory); }
.s-contact .section__no { color: var(--toffi); }
.s-contact .section__no::after { background: var(--toffi); }
.s-contact h2 { color: var(--white); }
.s-contact .section__lead { color: var(--brown-light); }
.s-contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.s-contact__note {
  display: inline-block; margin-top: 18px; padding: .5em .9em;
  border: 1px dashed var(--toffi); color: var(--toffi); font-size: .85rem; letter-spacing: .02em;
}
.s-contact__channels { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.s-contact__channels a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  font-family: var(--font-head); font-weight: 500; font-size: 1.05rem;
  padding: 14px 16px; border: 1px solid rgba(153, 143, 143, .3); border-radius: var(--radius);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.s-contact__channels a:hover { border-color: var(--red); background: rgba(254, 65, 57, .07); transform: translateX(4px); }
.s-contact__channels .ico { color: var(--red); font-size: 1.2rem; }
.s-contact__offices { margin-top: 34px; display: grid; gap: 14px; font-size: .88rem; color: var(--brown-light); }
.s-contact__offices strong { display: block; color: var(--ivory); font-weight: 500; }

/* formularz */
.form { background: var(--ivory); color: var(--black-deep); padding: clamp(24px, 3.5vw, 40px); border-radius: 3px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form h3 { font-weight: 600; margin-bottom: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; margin-bottom: 14px; font-size: .8rem; font-weight: 500; letter-spacing: .03em; }
.form input, .form textarea {
  width: 100%; margin-top: 6px; padding: .8em .9em;
  font: inherit; font-size: .95rem; color: var(--black-deep);
  background: var(--cream); border: 1px solid rgba(85, 69, 68, .3); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(254, 65, 57, .15);
}
.form textarea { resize: vertical; min-height: 96px; }
.form__hp { position: absolute; left: -5000px; opacity: 0; pointer-events: none; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__trust { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.form__trust li {
  display: flex; align-items: baseline; gap: 7px;
  font-size: .78rem; font-weight: 500; color: var(--brown);
}
.form__trust li::before { content: "✓"; color: var(--red); font-weight: 700; }
.form__status { margin-top: 12px; font-size: .88rem; min-height: 1.4em; }
.form__status.ok { color: #1a7d3c; }
.form__status.err { color: var(--red); }
.form__rodo { margin-top: 10px; font-size: .72rem; color: var(--brown-light); }
.form__rodo a { color: inherit; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black); color: var(--brown-light);
  padding: 28px var(--pad) calc(28px + 64px); /* zapas na pasek kontaktu na mobile */
  border-top: 1px solid rgba(153, 143, 143, .2);
  font-size: .82rem;
}
@media (min-width: 861px) { .footer { padding-bottom: 28px; } }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.footer__inner img { height: 20px; width: auto; }
.footer a { color: var(--ivory); text-decoration: none; }
.footer a:hover { color: var(--red); }
.footer .sep { opacity: .4; margin: 0 .5em; }

/* ---------- Pasek kontaktu (mobile) ---------- */
.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--black-deep);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -12px 30px -18px rgba(5, 1, 1, .6);
}
.contact-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 4px 9px; text-decoration: none;
  color: var(--ivory); font-size: .64rem; letter-spacing: .03em; text-transform: uppercase;
  min-width: 0; white-space: nowrap; overflow: hidden;
  font-family: var(--font-head); font-weight: 500;
}
.contact-bar a + a { border-left: 1px solid rgba(153, 143, 143, .25); }
.contact-bar__ico { font-size: 1.05rem; color: var(--red); font-family: var(--font-body); }
.contact-bar a:active { background: rgba(254, 65, 57, .15); }

/* ---------- noscript ---------- */
.noscript { padding: 120px var(--pad) 80px; max-width: var(--maxw); margin: 0 auto; }

/* ---------- Responsywność ---------- */
@media (max-width: 1180px) {
  .side-nav { display: none; }
  .s-hero__deco { display: none; }
}
@media (max-width: 860px) {
  .topbar__phone span[data-slot], .topbar__actions .btn { display: none; }
  .topbar__menu { display: flex; }
  .contact-bar { display: grid; }
  .s-contact__grid, .s-why__grid, .s-audience__grid { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 40px 34px 1fr; }
  .srow h3 { grid-column: 3; }
  .srow p { grid-column: 1 / -1; }
  .s-process__step { grid-template-columns: 64px 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .s-hero { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .section__no::after { transform: none; }
  .ticker__track { animation: none !important; flex-wrap: wrap; width: auto; }
}
