/* ==========================================================================
   BashoM Marketing – style (mobile first)
   ========================================================================== */

:root {
  --blue: #004dff;
  --blue-dark: #0038c2;
  --ink: #0a0a0a;
  --text: #22262f;
  --muted: #555c6b;
  --bg: #ffffff;
  --bg-soft: #f4f7ff;
  --line: #e1e7f5;
  --field-border: #c3cde4;
  --cta: #ff7a00;
  --cta-hover: #e86a00;
  --error: #b3001e;
  --error-bg: #fff2f3;

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 16px;
  --header-h: 64px;
  --nav-h: 0px;
  --radius: 16px;
}

@media (min-width: 600px) {
  :root { --gutter: 24px; }
}

@media (min-width: 960px) {
  :root { --gutter: 32px; --header-h: 84px; --nav-h: 51px; }
}

/* --- Podstawy ------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* sekcja, do której przewinął link, dostaje fokus bez obramowania */
[tabindex="-1"]:focus { outline: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Przyciski -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta {
  background: var(--cta);
  color: var(--ink);
}
.btn-cta:hover {
  background: var(--cta-hover);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(232, 106, 0, 0.28);
  transform: translateY(-1px);
}
.btn-cta:active { transform: translateY(0); box-shadow: none; }

.btn-lg {
  min-height: 60px;
  padding: 16px 24px;
  font-size: 1.125rem;
}

@media (min-width: 600px) {
  .btn-lg { padding: 16px 40px; }
}

.btn-block { width: 100%; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-button:hover { color: var(--blue); }

@media (max-width: 599px) {
  .btn-mobile-block { width: 100%; }
}

/* --- Akcent z logo: napis między cienkimi niebieskimi liniami ----------------- */

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  flex: 0 1 36px;
  min-width: 12px;
  height: 2px;
  background: var(--blue);
}
/* równoważy odstęp po ostatniej literze */
.eyebrow span { margin-right: -0.3em; white-space: nowrap; }

.eyebrow--light { color: #fff; }
.eyebrow--light::before,
.eyebrow--light::after { background: rgba(255, 255, 255, 0.7); }

/* --- Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  height: var(--header-h);
}

.header-left {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-mark {
  display: inline-flex;
  border-radius: 6px;
}
.header-mark img { width: auto; height: 36px; }

/* przycisk menu (hamburger) – tylko na telefonie i tablecie */
.nav-toggle {
  display: inline-grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu: na telefonie rozwijany panel pod nagłówkiem, na komputerze rząd linków */
.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: fixed;
  top: calc(var(--header-h) + 1px);
  right: 0;
  left: 0;
  z-index: 49;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(10, 10, 10, 0.12);
}
.nav-list {
  margin: 0;
  padding: 4px 0 20px;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--blue); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
  }
  .nav-list {
    display: flex;
    justify-content: center;
    gap: 36px;
    padding: 0;
  }
  .nav-list a {
    position: relative;
    padding: 15px 0;
    border: 0;
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  /* cienka niebieska linia pod aktywną / wskazaną pozycją, jak w logo */
  .nav-list a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 9px;
    left: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }
  .nav-list a:hover::after,
  .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
}

.header-wordmark {
  justify-self: center;
  display: block;
  /* na telefonie napis dostaje tylko miejsce między znakiem a przyciskiem */
  width: min(160px, calc(100vw - 272px));
}
.header-wordmark img { width: 100%; }

.header-cta {
  grid-column: 3; /* zostaje w prawym rogu także wtedy, gdy napis jest ukryty */
  justify-self: end;
  padding: 0 16px;
  font-size: 0.875rem;
  white-space: nowrap;
}

.cta-long { display: none; }

@media (max-width: 359px) {
  .header-wordmark { display: none; }
}

@media (min-width: 600px) {
  .header-mark img { height: 44px; }
  .header-wordmark { width: 190px; }
  .header-cta { padding: 0 20px; font-size: 0.9375rem; }
}

@media (min-width: 960px) {
  .header-mark img { height: 52px; }
  .header-wordmark { width: 230px; }
  .header-cta { min-height: 48px; padding: 0 24px; }
  .cta-short { display: none; }
  .cta-long { display: inline; }
}

/* --- Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(94vh - var(--header-h) - var(--nav-h));
  min-height: calc(94svh - var(--header-h) - var(--nav-h));
  padding: 48px 0 56px;
  background: var(--bg-soft);
  overflow: hidden;
}

/* cienkie niebieskie linie w tle, jak w logo */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--blue);
  opacity: 0.18;
}
.hero::before { top: 18%; left: 0; width: 22%; }
.hero::after { bottom: 16%; right: 0; width: 26%; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  margin: 22px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 9.4vw, 4.5rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-title span { display: block; }

.accent { color: var(--blue); }

.hero-text {
  max-width: 640px;
  margin-bottom: 32px;
  font-size: 1.125rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero { padding: 72px 0 80px; }
  .hero-title { margin: 28px 0 28px; }
  .hero-text { margin-bottom: 40px; font-size: 1.25rem; }
}

/* --- Sekcje ----------------------------------------------------------------- */

.section { padding: 72px 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 8vw, 3.5rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .section { padding: 112px 0; }
}

/* --- O mnie ----------------------------------------------------------------- */

.about-grid {
  display: grid;
  gap: 48px;
  justify-items: center;
  text-align: center;
}

/* zdjęcie w cienkiej niebieskiej ramce, z odstępem jak w logo */
.about-photo {
  width: min(100%, 300px);
  padding: 10px;
  border: 2px solid var(--blue);
  border-radius: 30px;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  background: var(--bg-soft);
}

.about-text { max-width: 600px; }
.about-text .section-title { margin: 18px 0 20px; }
.about-text p:not(.eyebrow):not(.slogan) { font-size: 1.0625rem; }

.slogan {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 6vw, 2.125rem);
  line-height: 1.24;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.slogan .accent { display: block; }
.about-more { margin-top: 24px; }
.about-text p:not(.slogan):not(.about-more) + p:not(.slogan):not(.about-more) { margin-top: 14px; }

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 380px 1fr;
    align-items: center;
    gap: 88px;
    justify-items: start;
    text-align: left;
  }
  .about-photo { width: 100%; }
  .about-text .eyebrow { justify-content: flex-start; }
  .about-text .eyebrow::before { display: none; }
  .about-text p:not(.eyebrow):not(.slogan) { font-size: 1.125rem; }
}

/* --- Formularz -------------------------------------------------------------- */

.form-section {
  background: var(--blue);
  color: #fff;
  scroll-margin-top: var(--header-h);
}

.form-head { max-width: 640px; margin: 0 auto; text-align: center; }
.form-head .section-title { margin: 18px 0 16px; color: #fff; }
.form-head p:not(.eyebrow) { font-size: 1.0625rem; color: rgba(255, 255, 255, 0.92); }

.form-card {
  max-width: 560px;
  margin: 36px auto 0;
  padding: 28px 20px;
  background: #fff;
  color: var(--text);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 18, 77, 0.35);
}

.form-note {
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--muted);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.field input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem; /* 16px – iOS nie powiększa strony przy wpisywaniu */
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: #6b7285; }
.field input:hover { border-color: #98a6c7; }
.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 77, 255, 0.28);
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 0, 30, 0.22); }

.field-error {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.field-error::before { content: "!"; flex: 0 0 auto; font-weight: 800; }

/* pole zgody: kwadracik + tekst obok */
.field-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-items: start;
}
.field.field-check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.field.field-check input:focus { box-shadow: none; }
.field.field-check input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.field.field-check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.field.field-check label {
  margin: 0;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.field-check .field-error { grid-column: 1 / -1; }

/* pułapka na boty – niewidoczna dla ludzi i czytników ekranu */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form .btn-cta { margin-top: 6px; }
.lead-form .btn-cta:disabled { cursor: progress; transform: none; box-shadow: none; }

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(10, 10, 10, 0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.is-loading .spinner { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #f3c1c8;
  border-radius: 12px;
  background: var(--error-bg);
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
}

.form-legal {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

@media (min-width: 600px) {
  .form-card { padding: 40px; }
}

/* --- Strona podziękowania --------------------------------------------------- */

.thanks {
  display: flex;
  align-items: center;
  min-height: calc(80vh - var(--header-h));
  min-height: calc(80svh - var(--header-h));
  padding: 64px 0;
  background: var(--bg-soft);
}

.thanks-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.thanks-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.thanks-title {
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 9vw, 4.5rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.thanks-text {
  margin: 20px 0 36px;
  font-size: 1.25rem;
}

/* --- Polityka prywatności --------------------------------------------------- */

.legal-inner { max-width: 800px; }
.legal-inner .eyebrow { justify-content: flex-start; }
.legal-inner .eyebrow::before { display: none; }
.legal-inner h1 { margin: 18px 0 32px; }

.legal-lead { color: var(--muted); }

.legal-card {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  background: var(--bg-soft);
}
.legal-card p + p { margin-top: 6px; }
.legal-card span { color: var(--muted); }

.legal-section,
.legal-section h2 { margin-top: 44px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-section h2 { margin-top: 0; }
.legal-section h2 {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 700;
}
/* krótka niebieska kreska pod nagłówkiem, jak w logo */
.legal-section h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--blue);
}
.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul { margin-top: 14px; }
.legal-section ul { margin-bottom: 0; padding-left: 1.2em; }
.legal-section li + li { margin-top: 8px; }
.legal-section .btn { margin-top: 24px; }

.legal-updated {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

/* --- Sekcje z treścią (strona główna i podstrony) ------------------------------ */

.section--soft { background: var(--bg-soft); }

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head .section-title { margin: 18px 0 16px; }
.section-head p:not(.eyebrow) { font-size: 1.0625rem; }

.cards {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 16px;
  background: #fff;
}
.card h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.statement {
  max-width: 760px;
  margin: 40px auto 0;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 24px 24px 24px 84px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 20px;
  left: 26px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
}
.step h3,
.step h2 {
  margin-bottom: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}
.step p + p { margin-top: 10px; }

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 36px;
  text-align: center;
}
.more-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.more-link:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps--row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps--row .step { padding: 88px 28px 28px; }
  .steps--row .step::before { top: 24px; left: 28px; }
}

/* nagłówek podstrony */
.page-hero {
  padding: 40px 0 56px;
  background: var(--bg-soft);
}
.page-hero-inner { max-width: 860px; }
.page-hero .eyebrow { justify-content: flex-start; }
.page-hero .eyebrow::before { display: none; }
.page-title {
  margin: 18px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8.5vw, 4rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.page-lead { max-width: 680px; font-size: 1.125rem; }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  color: var(--muted);
  font-size: 0.875rem;
  list-style: none;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa3b8; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }

@media (min-width: 768px) {
  .page-hero { padding: 48px 0 80px; }
  .page-lead { font-size: 1.25rem; }
}

/* treść podstron */
.prose { max-width: 760px; }
.prose h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}
.prose p + p,
.prose p + ul,
.prose ul + p { margin-top: 14px; }
.prose ul { margin: 0; padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose-block + .prose-block { margin-top: 48px; }

.services {
  display: grid;
  gap: 20px;
}
.service {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.service h2 {
  position: relative;
  margin-bottom: 12px;
  padding-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
.service h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--blue);
}
.service p + p { margin-top: 10px; }

@media (min-width: 768px) {
  .services { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .service { padding: 32px; }
}

.note-box {
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  background: var(--bg-soft);
}
.note-box p + p { margin-top: 8px; }

/* FAQ – rozwijane pytania */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 0 22px; }
.faq-answer p + p { margin-top: 10px; }

/* niebieski pas z wezwaniem do działania na podstronach */
.cta-band {
  padding: 64px 0;
  background: var(--blue);
  color: #fff;
  text-align: center;
}
.cta-band .section-title { margin: 18px 0 14px; color: #fff; }
.cta-band p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.0625rem;
}

@media (min-width: 768px) {
  .cta-band { padding: 88px 0; }
}

/* --- Stopka ----------------------------------------------------------------- */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-top,
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-brand { color: var(--ink); font-weight: 700; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--blue); text-decoration: underline; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a,
.footer-links .link-button { color: var(--text); }
.footer-links a:hover,
.footer-links .link-button:hover { color: var(--blue); }

.footer-social {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.footer-social a:hover { color: var(--blue); background: var(--bg-soft); }

@media (min-width: 860px) {
  .footer-top,
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* --- Baner cookies ---------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
}

.cookie-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(10, 10, 10, 0.18);
  pointer-events: auto;
}

.cookie-title {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.cookie-text { font-size: 0.8125rem; line-height: 1.5; }
.cookie-state { margin-top: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--ink); }

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

/* oba przyciski celowo wyglądają identycznie */
.btn-choice {
  flex: 1 1 0;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-choice:hover { background: #2b2f38; border-color: #2b2f38; }

@media (min-width: 768px) {
  .cookie-banner { padding-bottom: 20px; }
  .cookie-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
  }
  .cookie-actions { flex: 0 0 auto; margin-top: 0; }
  .btn-choice { min-width: 136px; }
}

/* --- Ograniczony ruch ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
