:root {
  --navy: #102f49;
  --navy-deep: #092438;
  --blue: #2d489b;
  --red: #ef3423;
  --orange: #f15a2a;
  --cream: #f2ecde;
  --paper: #fbf8f1;
  --mint: #7adbd4;
  --ink: #102f49;
  --font-display: ui-rounded, "SF Pro Rounded", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.site-shell { min-height: 100vh; overflow: hidden; background: var(--navy); }
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(100% - 48px, 1420px);
  height: 96px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.brand { width: 126px; display: block; }
.brand img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.desktop-nav { justify-self: center; display: flex; gap: 24px; font-size: 13px; font-weight: 650; }
.desktop-nav a { padding: 12px 0; opacity: .82; transition: opacity .2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { opacity: 1; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 20px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}
.header-cta span { color: var(--red); font-size: 20px; }
.mobile-menu { display: none; }
.mobile-menu__nav { display: grid; }

.hero {
  position: relative;
  min-height: 860px;
  padding: 148px max(24px, calc((100vw - 1420px) / 2)) 84px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: 70px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0 0 auto auto;
  width: 47vw;
  height: 100%;
  background: var(--blue);
  border-bottom-left-radius: 46% 28%;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -190px;
  border: 1px solid rgba(122,219,212,.55);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(122,219,212,.04), 0 0 0 104px rgba(122,219,212,.025);
}
.hero-grid {
  position: absolute;
  z-index: -4;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, black, transparent 68%);
}
.orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.orbit-one { width: 14px; height: 14px; left: 46%; top: 21%; background: var(--red); box-shadow: 0 0 0 10px rgba(239,52,35,.12); }
.orbit-two { width: 10px; height: 10px; left: 4%; bottom: 17%; border: 2px solid var(--mint); }

.hero-copy { max-width: 680px; position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mint);
}
.eyebrow span { color: var(--red); font-size: 15px; }
.eyebrow[hidden] { display: none; }
h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(56px, 5.25vw, 88px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 800;
}
h1 em { color: var(--cream); font-style: normal; position: relative; }
h1 em::after {
  content: "";
  position: absolute;
  left: 1%; right: 0; bottom: -.12em;
  height: 8px;
  background: var(--red);
  border-radius: 99px;
  transform: rotate(-1deg);
}
.hero-lead {
  max-width: 650px;
  margin: 36px 0 0;
  color: rgba(251,248,241,.76);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
  min-height: 58px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 4px;
  font-weight: 850;
  font-size: 15px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 16px 38px rgba(6,24,37,.34); }
.button-primary:hover { background: var(--orange); }
.button-ghost { border: 1px solid rgba(255,255,255,.25); color: var(--paper); }
.button-ghost:hover { border-color: var(--mint); color: var(--mint); }
.subject-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 38px; }
.subject-row span { display: inline-flex; align-items: center; gap: 7px; color: rgba(251,248,241,.74); font-size: 13px; font-weight: 650; }
.subject-row b { color: var(--mint); font-size: 10px; letter-spacing: .08em; }

.hero-visual { position: relative; min-height: 590px; align-self: stretch; display: flex; align-items: center; }
.photo-frame {
  position: absolute;
  top: 78px;
  left: 4%;
  right: 0;
  aspect-ratio: 1.42;
  overflow: hidden;
  background: #0d2639;
  border-radius: 34% 9% 9% 9% / 19% 9% 9% 9%;
  box-shadow: 0 30px 70px rgba(5,22,34,.36);
}
.photo-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(to top, rgba(6,25,39,.88) 0, transparent 40%);
  pointer-events: none;
}
.photo-crop { position: absolute; inset: 0; overflow: hidden; }
.photo-crop img {
  position: absolute;
  top: 0;
  left: 0;
  width: 186.2%;
  height: auto;
  max-width: none;
  transform: translate(-40.8%, -44.1%);
}
.photo-caption { position: absolute; z-index: 3; left: 30px; right: 32px; bottom: 24px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
.photo-caption span { color: var(--mint); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.photo-caption strong { font-size: 15px; line-height: 1.35; max-width: 350px; }
.level-card {
  position: absolute;
  z-index: 5;
  right: -18px;
  bottom: 24px;
  width: 244px;
  min-height: 154px;
  padding: 20px 58px 20px 22px;
  background: var(--red);
  color: white;
  border-radius: 30px 4px 4px 4px;
  box-shadow: 0 22px 50px rgba(6,24,37,.34);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.level-card span { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; opacity: .8; }
.level-card strong { margin-top: 7px; font-size: 23px; line-height: 1.05; }
.level-card small { margin-top: 5px; font-size: 13px; }
.level-card i { position: absolute; right: 19px; bottom: 19px; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--red); display: grid; place-items: center; font-style: normal; font-size: 19px; }
.scribble-note {
  position: absolute;
  z-index: 5;
  left: -34px;
  top: 66px;
  width: 142px;
  height: 142px;
  padding: 26px 14px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 50%;
  transform: rotate(-7deg);
  text-align: center;
  box-shadow: 0 14px 40px rgba(6,24,37,.25);
}
.scribble-note span { display: block; color: var(--red); font-size: 12px; text-transform: uppercase; font-weight: 900; }
.scribble-note b { display: block; margin-top: 4px; font-family: "Comic Sans MS", cursive; font-size: 13px; line-height: 1.05; }
.formula { position: absolute; z-index: 4; color: rgba(255,255,255,.8); font-family: "Comic Sans MS", cursive; font-weight: 700; transform: rotate(-6deg); }
.formula-a { right: 28px; top: 52px; font-size: 26px; }
.formula-c { right: -12px; top: 46%; font-size: 18px; color: var(--cream); transform: rotate(8deg); }

.promise-strip {
  min-height: 142px;
  padding: 24px max(24px, calc((100vw - 1420px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: var(--cream);
  color: var(--ink);
}
.promise-strip p { margin: 0; padding: 12px 32px; display: grid; grid-template-columns: auto 1fr; gap: 0 15px; align-items: baseline; border-right: 1px solid rgba(16,47,73,.16); }
.promise-strip p:first-child { padding-left: 0; }
.promise-strip p:last-child { border: 0; }
.promise-strip span { grid-row: 1 / 3; color: var(--red); font-size: 12px; font-weight: 900; }
.promise-strip strong { font-size: 17px; }
.promise-strip small { margin-top: 4px; color: rgba(16,47,73,.65); font-size: 12px; line-height: 1.45; }

.section-shell { width: min(100% - 48px, 1420px); margin-inline: auto; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-kicker span {
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
}

.vision-section {
  position: relative;
  padding: 138px 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.vision-section::before {
  content: "";
  position: absolute;
  left: -150px;
  bottom: -170px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(45,72,155,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(45,72,155,.035), 0 0 0 104px rgba(45,72,155,.02);
}
.vision-layout {
  display: grid;
  grid-template-columns: minmax(380px, .78fr) minmax(560px, 1.22fr);
  gap: 100px;
  align-items: center;
}
.vision-heading h2,
.scope-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 5.6vw, 88px);
  line-height: .96;
  letter-spacing: -.055em;
}
.vision-heading h2,
.scope-heading h2,
.voices-heading h2,
.trial-copy h2,
.faq-heading h2 { font-weight: 650; }
.vision-heading > p:not(.section-kicker) {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(16,47,73,.7);
  font-size: 17px;
  line-height: 1.72;
}
.vision-heading > p + p { margin-top: 16px; }
.vision-board {
  position: relative;
  min-height: 590px;
  padding: 56px 62px 50px;
  background: var(--blue);
  color: white;
  border-radius: 9% 42% 8% 8% / 10% 13% 8% 8%;
  box-shadow: 0 30px 80px rgba(16,47,73,.22);
  isolation: isolate;
}
.vision-board::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px);
  background-size: 38px 38px;
  border-radius: inherit;
}
.board-note {
  display: inline-block;
  position: relative;
  margin: 0;
  color: rgba(255,255,255,.66);
  font-family: "Comic Sans MS", cursive;
  font-size: 18px;
  transform: rotate(-2deg);
}
.board-note::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 51%;
  height: 4px;
  background: var(--red);
  border-radius: 99px;
  transform: rotate(2deg);
}
.board-answer {
  position: absolute;
  top: 34px;
  right: 70px;
  margin: 0;
  color: var(--mint);
  font-family: "Comic Sans MS", cursive;
  font-size: 20px;
  font-weight: 700;
  transform: rotate(6deg);
}
.vision-steps { list-style: none; padding: 0; margin: 54px 0 0; display: grid; gap: 12px; }
.vision-steps li {
  min-height: 92px;
  padding: 17px 22px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(9,36,56,.5);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 4px;
}
.vision-steps li:nth-child(2) { margin-left: 7%; margin-right: -3%; background: var(--cream); color: var(--ink); transform: rotate(-.6deg); }
.vision-steps li > span { color: var(--mint); font-size: 11px; font-weight: 900; }
.vision-steps li:nth-child(2) > span { color: var(--red); }
.vision-steps li div { display: grid; gap: 3px; }
.vision-steps strong { font-size: 22px; }
.vision-steps small { color: rgba(255,255,255,.65); font-size: 13px; }
.vision-steps li:nth-child(2) small { color: rgba(16,47,73,.65); }
.board-result {
  margin-top: 22px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.25);
}
.board-result > span { color: var(--red); font-size: 30px; }
.board-result p { margin: 0; display: grid; gap: 3px; }
.board-result small { color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.board-result strong { font-size: 17px; }
.board-orbit { position: absolute; border-radius: 50%; }
.board-orbit-a { width: 18px; height: 18px; right: 26px; bottom: 35%; border: 3px solid var(--mint); }
.board-orbit-b { width: 11px; height: 11px; left: 28px; bottom: 19%; background: var(--red); box-shadow: 0 0 0 9px rgba(239,52,35,.14); }

.scope-section {
  position: relative;
  padding: 136px 0 116px;
  background: var(--navy-deep);
  color: var(--paper);
  overflow: hidden;
}
.scope-section::before {
  content: "05";
  position: absolute;
  top: -90px;
  right: -18px;
  color: rgba(255,255,255,.025);
  font-family: var(--font-display);
  font-size: 370px;
  line-height: 1;
  font-weight: 900;
}
.section-kicker-light { color: var(--mint); }
.scope-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(340px, .56fr);
  gap: 90px;
  align-items: end;
  margin-bottom: 62px;
}
.scope-heading h2 em { color: var(--mint); font-style: normal; }
.scope-heading > p {
  margin: 0 0 5px;
  color: rgba(251,248,241,.66);
  font-size: 17px;
  line-height: 1.65;
}
.scope-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  align-items: start;
}
.scope-card {
  position: relative;
  grid-column: span 4;
  height: 348px;
  padding: 0;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  border-radius: 4px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.scope-card:nth-child(2) { background: var(--red); color: white; }
.scope-card:nth-child(3) { background: var(--blue); color: white; }
.scope-card:nth-child(4) { grid-column: span 6; background: var(--mint); }
.scope-card:nth-child(5) { grid-column: span 6; background: var(--paper); }
.scope-card__toggle {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.scope-card__number { font-size: 11px; font-weight: 900; opacity: .58; }
.scope-card__heading { margin-top: auto; display: flex; flex-direction: column; transition: transform .36s cubic-bezier(.2,.8,.2,1); }
.scope-card__label { font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; opacity: .58; }
.scope-card__heading strong { max-width: 92%; margin-top: 9px; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.02; letter-spacing: -.035em; }
.scope-card__toggle i {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 20px;
  font-style: normal;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.scope-card.is-active .scope-card__toggle i { transform: rotate(45deg); background: currentColor; color: var(--cream); }
.scope-card:nth-child(2).is-active .scope-card__toggle i,
.scope-card:nth-child(3).is-active .scope-card__toggle i { color: var(--navy); }
.scope-card__body {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 28px 26px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
  transition: transform .36s cubic-bezier(.2,.8,.2,1), opacity .24s ease;
}
.scope-card__body p { margin: 0; max-width: 620px; font-size: 13px; line-height: 1.55; opacity: .76; }
.scope-card__body a { display: inline-flex; align-items: center; gap: 14px; margin-top: 13px; font-size: 13px; font-weight: 900; }
.scope-card__body a span { font-size: 20px; }
.scope-card:hover .scope-card__heading,
.scope-card:focus-within .scope-card__heading,
.scope-card.is-active .scope-card__heading { transform: translateY(-132px); }
.scope-card:hover .scope-card__body,
.scope-card:focus-within .scope-card__body,
.scope-card.is-active .scope-card__body { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scope-card:hover .scope-card__toggle i,
.scope-card:focus-within .scope-card__toggle i { transform: rotate(45deg); }
.voices-section {
  position: relative;
  padding: 0 0 138px;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.voices-ticker {
  width: max-content;
  min-width: 100%;
  padding: 19px 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 34px;
  background: var(--red);
  color: white;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: uppercase;
  transform: rotate(-1deg) scale(1.02);
  transform-origin: center;
}
.voices-ticker i { color: var(--cream); font-style: normal; }
.voices-layout {
  padding-top: 128px;
  display: grid;
  grid-template-columns: minmax(390px, .8fr) minmax(580px, 1.2fr);
  gap: 92px;
  align-items: center;
}
.voices-heading h2,
.trial-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: .96;
  letter-spacing: -.055em;
}
.voices-heading h2 em { color: var(--blue); font-style: normal; }
.voices-heading > p:not(.section-kicker) {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(16,47,73,.7);
  font-size: 17px;
  line-height: 1.72;
}
.voices-board {
  position: relative;
  min-height: 570px;
  padding: 64px 54px 48px;
  background: var(--cream);
  border: 1px solid rgba(16,47,73,.12);
  border-radius: 5% 5% 36% 5% / 6% 6% 16% 6%;
  box-shadow: 0 28px 80px rgba(16,47,73,.15);
  isolation: isolate;
}
.voices-board::before {
  content: "“";
  position: absolute;
  z-index: -1;
  right: 24px;
  top: -62px;
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 240px;
  line-height: 1;
  opacity: .62;
}
.voices-board__note {
  margin: 0 0 26px;
  color: var(--red);
  font-family: "Comic Sans MS", cursive;
  font-size: 18px;
  font-weight: 700;
  transform: rotate(-2deg);
}
.trust-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust-grid li {
  position: relative;
  min-height: 124px;
  padding: 22px 28px 22px 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  border: 1px solid rgba(16,47,73,.1);
  box-shadow: 0 10px 30px rgba(16,47,73,.07);
}
.trust-grid li:nth-child(2) { margin-left: 7%; margin-right: -4%; background: var(--blue); color: white; transform: rotate(.7deg); }
.trust-grid li > span { position: absolute; left: 24px; top: 26px; color: var(--red); font-size: 10px; font-weight: 900; }
.trust-grid li:nth-child(2) > span { color: var(--mint); }
.trust-grid strong { font-size: 22px; letter-spacing: -.025em; }
.trust-grid p { margin: 6px 0 0; color: rgba(16,47,73,.66); font-size: 13px; line-height: 1.5; }
.trust-grid li:nth-child(2) p { color: rgba(255,255,255,.68); }
.voices-seal {
  position: absolute;
  right: -28px;
  bottom: -35px;
  width: 122px;
  height: 122px;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--red);
  color: white;
  border-radius: 50%;
  transform: rotate(-8deg);
  box-shadow: 0 18px 42px rgba(16,47,73,.2);
}
.voices-seal span { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.voices-seal strong { font-size: 22px; line-height: 1; }

.trial-section {
  position: relative;
  padding: 138px 0;
  background: var(--blue);
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.trial-section::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .11;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, black, transparent 70%);
}
.trial-section::after {
  content: "0 zł";
  position: absolute;
  z-index: -1;
  right: -34px;
  bottom: -86px;
  color: rgba(255,255,255,.06);
  font-family: var(--font-display);
  font-size: clamp(190px, 25vw, 410px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.08em;
  white-space: nowrap;
}
.trial-layout { display: grid; grid-template-columns: minmax(400px, .9fr) minmax(520px, 1.1fr); gap: 100px; align-items: center; }
.trial-copy h2 em { color: var(--mint); font-style: normal; }
.trial-copy > p:not(.section-kicker) { max-width: 620px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.trial-plan {
  position: relative;
  min-height: 570px;
  padding: 56px 58px 46px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 42% 8% 8% 8% / 14% 8% 8% 8%;
  box-shadow: 0 30px 80px rgba(5,22,34,.3);
}
.trial-plan__eyebrow { margin: 0 0 34px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; text-align: right; }
.trial-plan ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trial-plan li { min-height: 108px; padding: 20px 22px; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 18px; background: var(--paper); border: 1px solid rgba(16,47,73,.11); }
.trial-plan li:nth-child(2) { margin-left: -7%; margin-right: 7%; background: var(--navy); color: white; transform: rotate(-.7deg); }
.trial-plan li > span { color: var(--red); font-size: 11px; font-weight: 900; }
.trial-plan li:nth-child(2) > span { color: var(--mint); }
.trial-plan li div { display: grid; gap: 5px; }
.trial-plan strong { font-size: 21px; }
.trial-plan small { color: rgba(16,47,73,.64); font-size: 13px; line-height: 1.45; }
.trial-plan li:nth-child(2) small { color: rgba(255,255,255,.64); }
.trial-plan__result { margin: 28px 0 0; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; }
.trial-plan__result span { width: 34px; height: 34px; display: grid; place-items: center; background: var(--mint); border-radius: 50%; color: var(--navy); }
.trial-orbit { position: absolute; z-index: -1; border-radius: 50%; }
.trial-orbit-a { width: 18px; height: 18px; top: 15%; left: 4%; background: var(--red); box-shadow: 0 0 0 11px rgba(239,52,35,.17); }
.trial-orbit-b { width: 460px; height: 460px; right: -260px; top: -230px; border: 1px solid rgba(122,219,212,.34); box-shadow: 0 0 0 60px rgba(122,219,212,.035), 0 0 0 120px rgba(122,219,212,.018); }

.faq-section {
  position: relative;
  padding: 126px 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.faq-section::before {
  content: "?";
  position: absolute;
  left: -28px;
  bottom: -155px;
  color: rgba(45,72,155,.05);
  font-family: var(--font-display);
  font-size: 420px;
  line-height: 1;
  font-weight: 900;
}
.faq-layout { position: relative; display: grid; grid-template-columns: minmax(380px, .75fr) minmax(560px, 1.25fr); gap: 96px; align-items: start; }
.faq-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(50px, 5vw, 78px);
  line-height: .97;
  letter-spacing: -.055em;
}
.faq-heading h2 em { color: var(--blue); font-style: normal; }
.faq-heading > p:not(.section-kicker) { margin: 25px 0 0; color: rgba(16,47,73,.64); font-size: 16px; }
.faq-list { display: grid; border-top: 1px solid rgba(16,47,73,.18); }
.faq-list details { border-bottom: 1px solid rgba(16,47,73,.18); }
.faq-list summary { min-height: 112px; padding: 24px 8px; display: grid; grid-template-columns: 48px 1fr 42px; gap: 18px; align-items: center; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--red); font-size: 10px; font-weight: 900; }
.faq-list summary strong { font-size: 21px; letter-spacing: -.02em; }
.faq-list summary i { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(16,47,73,.4); border-radius: 50%; font-size: 20px; font-style: normal; transition: transform .25s ease, background .25s ease, color .25s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: white; }
.faq-list details > p { max-width: 700px; margin: 14px 68px 30px 66px; color: rgba(16,47,73,.68); font-size: 14px; line-height: 1.7; }

.site-footer { padding: 84px 0 24px; background: var(--navy-deep); color: var(--paper); }
.footer-layout { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 84px; padding-bottom: 72px; }
.footer-brand .brand { width: 132px; }
.footer-brand p { margin: 24px 0 0; color: rgba(251,248,241,.62); font-size: 15px; line-height: 1.65; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-nav::before { content: "Na skróty"; margin-bottom: 8px; color: var(--mint); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav > span, .footer-contact > span { margin-bottom: 8px; color: var(--mint); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav a, .footer-contact a { position: relative; font-size: 14px; font-weight: 600; color: rgba(251,248,241,.78); }
.footer-nav a::after, .footer-contact a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--red); transition: right .25s ease; }
.footer-nav a:hover::after, .footer-contact a:hover::after { right: 0; }
.footer-bottom { min-height: 62px; padding-top: 20px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; border-top: 1px solid rgba(255,255,255,.13); color: rgba(251,248,241,.48); }
.footer-credit { display: inline-flex; align-items: baseline; gap: 5px; color: rgba(251,248,241,.34); font-size: 10px; letter-spacing: .015em; white-space: nowrap; }
.footer-credit a { position: relative; display: inline-flex; align-items: center; gap: 5px; color: rgba(251,248,241,.66); font-size: 11px; font-weight: 600; transition: color .2s ease; }
.footer-credit a::after { content: ""; position: absolute; right: 0; bottom: -4px; left: 0; height: 1px; background: var(--mint); opacity: .45; transform: scaleX(.28); transform-origin: right; transition: opacity .2s ease, transform .25s ease; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: var(--paper); }
.footer-credit a:hover::after, .footer-credit a:focus-visible::after { opacity: 1; transform: scaleX(1); transform-origin: left; }
.footer-credit i { color: var(--mint); font-size: 12px; font-style: normal; }
.footer-top-link { justify-self: end; display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 650; }
.footer-top-link span { color: var(--mint); font-size: 18px; }

.subpage-shell { min-height: 100vh; background: var(--navy); color: var(--paper); overflow: hidden; }
.subpage-hero {
  position: relative;
  min-height: 100vh;
  padding: 160px max(24px, calc((100vw - 1420px) / 2)) 90px;
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(500px, 1.1fr);
  gap: 96px;
  align-items: center;
  isolation: isolate;
}
.subpage-hero::before { content: ""; position: absolute; z-index: -3; inset: 0 0 0 auto; width: 48%; background: var(--blue); border-bottom-left-radius: 48% 28%; }
.subpage-grid { position: absolute; z-index: -4; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, black, transparent 72%); }
.subpage-copy { max-width: 720px; }
.subpage-copy h1 { font-size: clamp(58px, 6vw, 94px); }
.subpage-copy > p:not(.section-kicker) { max-width: 650px; margin: 32px 0 0; color: rgba(251,248,241,.72); font-size: 18px; line-height: 1.7; }
.subpage-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.subpage-card { position: relative; min-height: 540px; padding: 62px 56px 48px; background: var(--cream); color: var(--ink); border-radius: 40% 8% 8% 8% / 15% 7% 7% 7%; box-shadow: 0 32px 80px rgba(5,22,34,.32); overflow: hidden; }
.subpage-card > p { margin: 0 0 40px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-align: right; text-transform: uppercase; }
.subpage-card ol { position: relative; z-index: 2; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.subpage-card li { min-height: 108px; padding: 22px 24px; display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: center; background: var(--paper); border: 1px solid rgba(16,47,73,.11); }
.subpage-card li:nth-child(2) { margin-left: -7%; margin-right: 7%; background: var(--navy); color: white; transform: rotate(-.7deg); }
.subpage-card li span { color: var(--red); font-size: 10px; font-weight: 800; }
.subpage-card li:nth-child(2) span { color: var(--mint); }
.subpage-card li strong { font-size: 20px; font-weight: 650; line-height: 1.25; }
.subpage-card > i { position: absolute; right: -8px; bottom: -72px; color: rgba(45,72,155,.08); font-family: var(--font-display); font-size: 260px; font-weight: 800; font-style: normal; line-height: 1; }
.subpage-orbit { position: absolute; z-index: -1; border-radius: 50%; }
.subpage-orbit-a { width: 16px; height: 16px; left: 4%; bottom: 14%; background: var(--red); box-shadow: 0 0 0 10px rgba(239,52,35,.14); }
.subpage-orbit-b { width: 420px; height: 420px; right: -230px; top: -210px; border: 1px solid rgba(122,219,212,.42); box-shadow: 0 0 0 54px rgba(122,219,212,.035); }

@media (hover: hover) {
  .scope-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(1,14,22,.34); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .promise-strip p, .vision-steps li, .trust-grid li, .trial-plan li, .faq-list summary { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .3s ease; }
  .promise-strip p:hover { transform: translateY(-4px); }
  .vision-steps li:hover { transform: translateX(10px) rotate(.8deg); box-shadow: 0 18px 38px rgba(9,36,56,.23); }
  .vision-steps li:nth-child(2):hover { transform: translateX(-7px) rotate(-2deg) scale(1.025); }
  .trust-grid li:hover { transform: translateX(-10px) rotate(-1.2deg) scale(1.018); box-shadow: 0 20px 44px rgba(16,47,73,.15); }
  .trust-grid li:nth-child(2):hover { transform: translateX(12px) rotate(2.2deg) scale(1.025); }
  .trial-plan li:hover { position: relative; z-index: 2; transform: translateX(13px) rotate(1.5deg) skewX(-2deg) scale(1.025); box-shadow: 0 24px 50px rgba(16,47,73,.2); }
  .trial-plan li:nth-child(2):hover { transform: translateX(-15px) rotate(2.4deg) skewX(2deg) scale(1.035); box-shadow: 0 28px 56px rgba(9,36,56,.34); }
  .faq-list summary:hover { transform: translateX(8px); background: rgba(122,219,212,.12); }
  .button:hover span, .header-cta:hover span { transform: rotate(45deg); }
  .button span, .header-cta span { transition: transform .25s ease; }
}

@media (max-width: 1100px) {
  .site-header { width: calc(100% - 40px); grid-template-columns: 150px 1fr auto; }
  .desktop-nav { gap: 14px; font-size: 11px; }
  .hero { grid-template-columns: .9fr 1.1fr; gap: 36px; }
  .scribble-note { left: -10px; }
  .photo-caption { grid-template-columns: 1fr; gap: 4px; }
  .vision-layout { grid-template-columns: minmax(340px, .8fr) minmax(500px, 1.2fr); gap: 52px; }
  .vision-board { padding-inline: 42px; }
  .scope-heading { gap: 46px; }
  .voices-layout { grid-template-columns: minmax(340px, .8fr) minmax(500px, 1.2fr); gap: 52px; }
  .trial-layout { gap: 52px; }
  .faq-layout { grid-template-columns: minmax(330px, .75fr) minmax(500px, 1.25fr); gap: 54px; }
  .subpage-hero { grid-template-columns: minmax(360px, .85fr) minmax(480px, 1.15fr); gap: 48px; }
}

@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { position: absolute; height: 78px; width: calc(100% - 32px); grid-template-columns: 1fr auto; }
  .brand { width: 104px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); display: grid; place-content: center; gap: 7px; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 20px; height: 2px; background: white; transition: transform .2s ease; }
  .mobile-menu[open] summary span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; right: 0; top: 56px; width: 220px; padding: 10px; display: grid; background: var(--paper); color: var(--ink); box-shadow: 0 20px 50px rgba(3,18,28,.28); }
  .mobile-menu nav a { padding: 14px 12px; font-weight: 750; border-bottom: 1px solid rgba(16,47,73,.12); }
  .mobile-menu nav a:last-child { background: var(--red); color: white; border: 0; margin-top: 8px; }

  .hero { min-height: auto; padding: 112px 20px 54px; grid-template-columns: 1fr; gap: 40px; }
  .hero::before { width: 100%; height: 48%; top: auto; bottom: 0; border-radius: 42% 42% 0 0 / 12% 12% 0 0; }
  .hero-grid { mask-image: linear-gradient(to bottom, black, transparent 65%); }
  h1 { font-size: clamp(48px, 13.5vw, 70px); }
  .hero-lead { font-size: 16px; line-height: 1.6; }
  .subject-row { gap: 14px 20px; }
  .hero-visual { min-height: 560px; }
  .photo-frame { top: 68px; left: 0; right: 0; aspect-ratio: 1.12; }
  .photo-crop img { width: 236%; }
  .scribble-note { left: -8px; top: 2px; width: 116px; height: 116px; padding-top: 22px; }
  .level-card { right: -3px; bottom: 4px; }
  .formula-a { top: 8px; right: 6px; }
  .formula-b { left: 4px; }
  .promise-strip { grid-template-columns: 1fr; padding: 22px 20px; }
  .promise-strip p, .promise-strip p:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(16,47,73,.15); }
  .section-shell { width: calc(100% - 40px); }
  .vision-section, .scope-section, .trial-section, .faq-section { padding: 92px 0; }
  .vision-layout { grid-template-columns: 1fr; gap: 54px; }
  .vision-heading h2, .scope-heading h2, .voices-heading h2, .trial-copy h2 { font-size: clamp(48px, 12vw, 68px); }
  .vision-board { min-height: 560px; }
  .scope-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 42px; }
  .scope-heading > p { max-width: 600px; }
  .scope-card, .scope-card:nth-child(4), .scope-card:nth-child(5) { grid-column: span 6; }
  .voices-section { padding-bottom: 92px; }
  .voices-layout { padding-top: 92px; grid-template-columns: 1fr; gap: 60px; }
  .voices-board { min-height: 540px; }
  .trial-layout { grid-template-columns: 1fr; gap: 60px; }
  .trial-plan { min-height: 540px; }
  .faq-layout { grid-template-columns: 1fr; gap: 46px; }
  .footer-layout { grid-template-columns: 1.2fr .8fr 1fr; gap: 42px; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 12px 20px; }
  .footer-credit { grid-column: 1 / -1; grid-row: 2; justify-self: start; white-space: normal; }
  .footer-top-link { grid-column: 2; grid-row: 1; }
  .subpage-hero { min-height: auto; padding: 120px 20px 76px; grid-template-columns: 1fr; gap: 54px; }
  .subpage-hero::before { width: 100%; top: auto; height: 48%; border-radius: 42% 42% 0 0 / 12% 12% 0 0; }
  .subpage-card { min-height: 520px; }
}

.subpage-content { max-width: 650px; margin-top: 24px; color: rgba(251,248,241,.76); font-size: 16px; line-height: 1.7; }
.subpage-content p { margin: 0 0 14px; }
.nanomatma-post-list { margin-top: 36px; display: grid; gap: 20px; }
.nanomatma-post-list article { padding: 22px; background: rgba(255,255,255,.08); }
.nanomatma-post-list h2 { margin: 0 0 10px; font-size: 24px; }

@media (max-width: 520px) {
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .subject-row { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 510px; margin-inline: -4px; }
  .photo-frame { top: 68px; aspect-ratio: 1.02; border-radius: 30% 7% 7% 7% / 16% 6% 6% 6%; }
  .photo-crop img { width: 252%; }
  .photo-caption { left: 22px; right: 20px; bottom: 22px; }
  .photo-caption strong { font-size: 13px; max-width: 220px; }
  .level-card { width: 210px; min-height: 132px; padding-left: 18px; }
  .level-card strong { font-size: 20px; }
  .scribble-note { width: 102px; height: 102px; padding-top: 18px; }
  .scribble-note b { font-size: 11px; }
  .formula-c { right: 2px; }
  .section-shell { width: calc(100% - 32px); }
  .vision-section, .scope-section, .trial-section, .faq-section { padding: 76px 0; }
  .vision-heading > p:not(.section-kicker), .scope-heading > p, .voices-heading > p:not(.section-kicker), .trial-copy > p:not(.section-kicker) { font-size: 15px; }
  .vision-board { min-height: 530px; padding: 48px 22px 32px; border-radius: 8% 30% 6% 6% / 7% 10% 5% 5%; }
  .board-answer { top: 25px; right: 28px; font-size: 17px; }
  .board-note { font-size: 15px; }
  .vision-steps { margin-top: 45px; }
  .vision-steps li { min-height: 88px; padding: 15px 16px; grid-template-columns: 32px 1fr; gap: 12px; }
  .vision-steps li:nth-child(2) { margin-left: 3%; margin-right: -2%; }
  .vision-steps strong { font-size: 19px; }
  .vision-steps small { font-size: 12px; }
  .board-result { padding-inline: 8px; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-card, .scope-card:nth-child(4), .scope-card:nth-child(5) { grid-column: 1; height: 320px; }
  .scope-card__toggle { padding: 23px 22px 25px; }
  .scope-card__heading strong { font-size: 29px; }
  .scope-card__body { padding-left: 22px; padding-right: 22px; }
  .scope-card:hover .scope-card__heading,
  .scope-card:focus-within .scope-card__heading,
  .scope-card.is-active .scope-card__heading { transform: translateY(-120px); }
  .voices-section { padding-bottom: 76px; }
  .voices-ticker { justify-content: flex-start; padding-inline: 22px; font-size: 16px; }
  .voices-layout { padding-top: 76px; gap: 48px; }
  .voices-board { min-height: 520px; padding: 52px 20px 42px; border-radius: 5% 5% 24% 5% / 5% 5% 10% 5%; }
  .voices-board::before { top: -44px; right: 8px; font-size: 180px; }
  .trust-grid li { min-height: 118px; padding: 20px 18px 20px 58px; }
  .trust-grid li:nth-child(2) { margin-left: 2%; margin-right: -1%; }
  .trust-grid li > span { left: 19px; }
  .trust-grid strong { font-size: 19px; }
  .voices-seal { right: -8px; bottom: -44px; width: 106px; height: 106px; }
  .voices-seal strong { font-size: 19px; }
  .trial-plan { min-height: 520px; padding: 48px 20px 34px; border-radius: 26% 6% 6% 6% / 9% 5% 5% 5%; }
  .trial-plan__eyebrow { margin-right: 10px; }
  .trial-plan li { min-height: 105px; padding: 18px 16px; grid-template-columns: 32px 1fr; gap: 11px; }
  .trial-plan li:nth-child(2) { margin-left: -2%; margin-right: 2%; }
  .trial-plan strong { font-size: 18px; }
  .faq-heading h2 { font-size: clamp(46px, 11.5vw, 62px); }
  .faq-list summary { min-height: 96px; padding: 20px 2px; grid-template-columns: 30px 1fr 38px; gap: 11px; }
  .faq-list summary strong { font-size: 17px; }
  .faq-list details > p { margin: 11px 40px 24px 41px; font-size: 13px; }
  .site-footer { padding-top: 68px; }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 46px 28px; padding-bottom: 52px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-credit { display: block; line-height: 1.65; }
  .footer-credit span { margin-right: 3px; }
  .subpage-copy h1 { font-size: clamp(48px, 13vw, 68px); }
  .subpage-copy > p:not(.section-kicker) { font-size: 15px; }
  .subpage-actions { display: grid; }
  .subpage-card { min-height: 500px; padding: 48px 20px 34px; border-radius: 28% 6% 6% 6% / 10% 5% 5% 5%; }
  .subpage-card li { min-height: 102px; padding: 18px 16px; grid-template-columns: 32px 1fr; gap: 11px; }
  .subpage-card li:nth-child(2) { margin-left: -2%; margin-right: 2%; }
  .subpage-card li strong { font-size: 17px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .65s both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .photo-frame { animation: reveal .8s .14s both; }
  .scribble-note { animation: pop .6s .5s both; }
  .level-card { animation: rise .6s .56s both; }
  .formula-a, .formula-c { animation: float-note 5s ease-in-out infinite; }
  .board-orbit-a, .trial-orbit-a { animation: pulse-orbit 3.8s ease-in-out infinite; }
  .board-orbit-b { animation: float-dot 4.5s ease-in-out infinite; }
  .photo-crop img { animation: photo-breathe 9s ease-in-out infinite alternate; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes reveal { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
  @keyframes pop { from { opacity: 0; transform: rotate(-7deg) scale(.78); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }
  @keyframes float-note { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
  @keyframes pulse-orbit { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.22; opacity: .7; } }
  @keyframes float-dot { 0%, 100% { translate: 0 0; } 50% { translate: 7px -9px; } }
  @keyframes photo-breathe { from { transform: translate(-40.8%, -44.1%) scale(1); } to { transform: translate(-40.8%, -44.1%) scale(1.035); } }
}

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

/* Podstrona FAQ: granatowy pas pod menu (menu jest absolute, białe) */
.nanomatma-faq-page main { padding-top: 96px; background: var(--navy); }
@media (max-width: 820px) {
  .nanomatma-faq-page main { padding-top: 78px; }
}
/* ============================================================
   STRONA GŁÓWNA — nadpisania przeniesione z „Dodatkowy CSS”
   (Wygląd → Dostosuj). Muszą być na końcu pliku, żeby wygrać
   z regułami powyżej.
   ============================================================ */

.hero-visual .photo-crop img {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  transform: none !important;
  object-fit: cover !important;
  object-position: center !important;
  animation: none !important;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.5rem) !important; /* dostosuj górną wartość do gustu */
}

.hero-copy h1 em {
  display: inline-block;
  white-space: nowrap;              /* wymusza jedną linię */
  font-style: normal;
}

.promise-strip span {
  display: none;
}

.promise-strip p {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.promise-strip strong,
.promise-strip small {
  display: block;
  width: 100%;
}

.hero-visual .formula {
  display: none;
}
.subject-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subject-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 28px;
}

.subject-block__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cream, #f0e9df);
  margin: 0 0 12px 0;
}

.subject-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream, #f0e9df);
}

.vision-board .board-note {
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 90, 70, 0.55);
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin: 0 0 26px 0;
  white-space: normal;
}

.vision-board .board-note::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 3px;
  background: rgba(255, 90, 70, 0.9);
  transform: translateY(-50%) rotate(-2.5deg);
  border-radius: 3px;
}

.vision-heading p:not(.section-kicker) {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(20, 30, 45, 0.85);
}

.vision-heading p:not(.section-kicker) strong {
  font-weight: 800;
  color: var(--navy, #102f49);
}

.vision-heading .section-kicker {
  font-size: 1.4rem;
}

.vision-steps li {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.vision-steps li > div {
  overflow: hidden;
}

.vision-steps .step-more {
  position: relative;
  max-height: 2.8em;
  overflow: hidden;
  margin: 6px 0 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: inherit;
  text-align: left;
  transition: max-height 0.4s ease;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.vision-steps li:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.vision-steps li:hover .step-more {
  max-height: 220px;
  -webkit-mask-image: none;
  mask-image: none;
}

.vision-board {
  overflow: visible;
}

.scope-heading > p.scope-kicker-main {
  font-size: 1.6rem !important;
  color: var(--mint) !important;
}

.trial-contact-link {
  margin-top: 20px;
}

/* Płynne przewijanie do kotwic (np. przyciski przedmiotów na /oferta) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============================================================
   BLOG — lista wpisów, archiwa, pojedynczy wpis
   Szablony: index.php + gałąź „blog” w page.php.
   ============================================================ */

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

/* --- Kompaktowy nagłówek na granacie (zamiast pełnego hero) --- */

.blog-head {
  position: relative;
  padding: 136px 0 56px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--paper);
}
.blog-head--compact { padding-bottom: 48px; }
.blog-head__grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}
.blog-head__orbit {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -230px;
  top: -210px;
  border: 1px solid rgba(122,219,212,.42);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(122,219,212,.035);
}
.blog-head__mark {
  position: absolute;
  z-index: -1;
  right: -.05em;
  bottom: -.3em;
  color: rgba(122,219,212,.07);
  font-family: var(--font-display);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
}
.blog-head__inner { position: relative; z-index: 2; }
.blog-head__crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; color: rgba(251,248,241,.55); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blog-head__crumbs a { color: var(--mint); transition: color .2s ease; }
.blog-head__crumbs a:hover { color: var(--paper); }
.blog-head h1 {
  max-width: 900px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: .98;
}
.blog-head__lead { max-width: 620px; margin: 20px 0 0; color: rgba(251,248,241,.7); font-size: 16px; line-height: 1.7; }

/* --- Meta wpisu (kategoria · data · czas czytania) --- */

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  color: rgba(16,47,73,.55);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.post-meta > * + *::before { content: "·"; margin-right: 10px; opacity: .5; }
.post-meta__cat { color: var(--red); transition: color .2s ease; }
.post-meta__cat:hover { color: var(--blue); }
.blog-head .post-meta { margin-top: 28px; color: rgba(251,248,241,.6); }
.blog-head .post-meta__cat,
.post-card--featured .post-meta__cat { color: var(--mint); }
.blog-head .post-meta__cat:hover,
.post-card--featured .post-meta__cat:hover { color: var(--paper); }

/* --- Treść listy na jasnym tle --- */

.blog-body {
  position: relative;
  padding: 56px 0 120px;
  background: var(--paper);
  color: var(--ink);
}

.blog-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.blog-topics a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(16,47,73,.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.blog-topics a small { font-size: 10px; opacity: .5; }
.blog-topics a:hover { border-color: var(--navy); transform: translateY(-2px); }
.blog-topics a.is-current { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.blog-topics a.is-current small { color: var(--mint); opacity: 1; }

/* --- Siatka i karty --- */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(16,47,73,.12);
  border-radius: 4px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:nth-child(4n) { background: var(--cream); }
.post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.post-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(45,72,155,.16);
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 900;
  letter-spacing: -.04em;
  background-image: linear-gradient(rgba(16,47,73,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(16,47,73,.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.post-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 28px; }
.post-card__title {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.post-card__title a { transition: color .2s ease; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt { margin: 0; color: rgba(16,47,73,.7); font-size: 14px; line-height: 1.6; }
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
  font-weight: 900;
}
.post-card__more span { color: var(--red); font-size: 20px; transition: transform .25s ease; }
.post-card__more:hover span { transform: translateX(4px); }

/* Wyróżniony, najnowszy wpis — pełna szerokość, granatowy */
.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
  box-shadow: 0 32px 80px rgba(5,22,34,.24);
}
.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 440px; background: var(--blue); }
.post-card--featured .post-glyph { color: rgba(122,219,212,.22); font-size: clamp(120px, 14vw, 220px); background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; }
.post-card--featured .post-card__body { padding: 52px 56px; justify-content: center; }
.post-card--featured .post-meta { color: rgba(251,248,241,.6); }
.post-card--featured .post-card__title { max-width: 560px; margin: 18px 0 16px; font-size: clamp(30px, 3.1vw, 44px); letter-spacing: -.04em; line-height: 1.02; }
.post-card--featured .post-card__title a:hover { color: var(--mint); }
.post-card--featured .post-card__excerpt { max-width: 520px; color: rgba(251,248,241,.72); font-size: 16px; line-height: 1.65; }
.post-card--featured .post-card__more { margin-top: 30px; padding-top: 0; }
.post-card--featured .post-card__more span { color: var(--mint); }

/* --- Pusta lista --- */

.blog-empty {
  max-width: 640px;
  padding: 44px 48px;
  background: var(--cream);
  border: 2px dashed rgba(239,52,35,.45);
  border-radius: 4px;
}
.blog-empty strong { display: block; font-family: var(--font-display); font-size: clamp(28px, 3vw, 36px); line-height: 1.05; letter-spacing: -.035em; }
.blog-empty p:last-child { margin: 0; color: rgba(16,47,73,.7); font-size: 15px; line-height: 1.65; }

/* --- Stronicowanie --- */

.blog-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 60px 0 0; padding: 0; list-style: none; }
.blog-pagination .page-numbers {
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(16,47,73,.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.blog-pagination a.page-numbers:hover { border-color: var(--navy); transform: translateY(-2px); }
.blog-pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.blog-pagination .page-numbers.dots { border: 0; opacity: .5; }
.blog-pagination .prev span[aria-hidden],
.blog-pagination .next span[aria-hidden] { color: var(--red); font-size: 18px; }

/* ============================================================
   POJEDYNCZY WPIS
   ============================================================ */

.blog-head--post { padding-top: 150px; }
.blog-head--post h1 { max-width: 1000px; font-size: clamp(40px, 4.6vw, 72px); }
.post.has-post-thumbnail .blog-head--post { padding-bottom: 160px; }

.post-body { padding: 0 0 100px; background: var(--paper); color: var(--ink); }
.post-layout { display: grid; gap: 44px; }

.post-cover {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  margin: -100px auto 0;
}
.post-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; box-shadow: 0 32px 80px rgba(5,22,34,.28); }
.post-cover figcaption { margin-top: 12px; color: rgba(16,47,73,.55); font-size: 12px; text-align: right; }

.post-content { width: min(100%, 760px); margin: 0 auto; font-size: 18px; line-height: 1.75; color: rgba(16,47,73,.88); }
.post-layout > .post-content:first-child { padding-top: 72px; }

.post-content > * { margin: 0 0 1.4em; }
.post-content > *:last-child { margin-bottom: 0; }
.post-content h2,
.post-content h3,
.post-content h4 { margin: 1.9em 0 .6em; font-family: var(--font-display); color: var(--ink); line-height: 1.06; letter-spacing: -.035em; font-weight: 750; }
.post-content h2 { font-size: clamp(30px, 3vw, 40px); }
.post-content h3 { font-size: clamp(23px, 2.2vw, 28px); }
.post-content h4 { font-size: 19px; letter-spacing: -.02em; }
.post-content > h2:first-child,
.post-content > h3:first-child { margin-top: 0; }
.post-content a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(45,72,155,.35); text-underline-offset: 4px; transition: color .2s ease; }
.post-content a:hover { color: var(--red); text-decoration-color: currentColor; }
.post-content strong { color: var(--ink); font-weight: 800; }
.post-content ul,
.post-content ol { padding-left: 1.35em; }
.post-content li { margin: .4em 0; }
.post-content li::marker { color: var(--red); font-weight: 900; }
.post-content blockquote {
  margin: 2em 0;
  padding: 24px 30px;
  background: var(--cream);
  border-left: 4px solid var(--red);
  border-radius: 0 4px 4px 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--ink);
}
.post-content blockquote p { margin: 0; }
.post-content blockquote p + p { margin-top: .8em; }
.post-content blockquote cite { display: block; margin-top: 12px; font-family: inherit; font-size: 12px; font-weight: 800; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.post-content code { padding: 2px 7px; background: var(--cream); border-radius: 3px; font-size: .88em; }
.post-content pre { padding: 24px; overflow-x: auto; background: var(--navy-deep); color: var(--paper); border-radius: 4px; font-size: 14px; line-height: 1.6; }
.post-content pre code { padding: 0; background: transparent; font-size: inherit; }
.post-content img { max-width: 100%; height: auto; border-radius: 4px; }
.post-content figure { margin: 2em 0; }
.post-content figure img { margin: 0 auto; }
.post-content figcaption { margin-top: 10px; color: rgba(16,47,73,.55); font-size: 13px; text-align: center; }
.post-content iframe,
.post-content video { max-width: 100%; }
.post-content hr { height: 1px; margin: 2.6em 0; border: 0; background: rgba(16,47,73,.14); }
.post-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.post-content th,
.post-content td { padding: 12px 14px; border-bottom: 1px solid rgba(16,47,73,.14); text-align: left; vertical-align: top; }
.post-content th { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: rgba(16,47,73,.6); }
.post-content .wp-block-table { overflow-x: auto; }
.post-content .has-text-align-center { text-align: center; }
.post-content .alignwide { width: min(100vw - 48px, 1120px); margin-inline: calc(50% - min(50vw - 24px, 560px)); }

.post-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2.5em; font-size: 13px; font-weight: 800; }
.post-pages a,
.post-pages > span:not(:first-child) { min-width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid rgba(16,47,73,.2); border-radius: 50%; text-decoration: none; }
.post-pages > span:not(:first-child) { background: var(--navy); color: var(--paper); border-color: var(--navy); }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: min(100%, 760px); margin: 0 auto; padding-top: 34px; border-top: 1px solid rgba(16,47,73,.14); }
.post-tags > span { margin-right: 6px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.post-tags a { padding: 8px 13px; border: 1px solid rgba(16,47,73,.2); border-radius: 999px; font-size: 12px; font-weight: 800; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.post-tags a:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }

/* --- Poprzedni / następny --- */

.post-nav { background: var(--cream); color: var(--ink); border-top: 1px solid rgba(16,47,73,.12); }
.post-nav__grid { display: grid; grid-template-columns: 1fr 1fr; }
.post-nav__link { display: grid; align-content: start; gap: 12px; padding: 44px 0; transition: color .2s ease; }
.post-nav__link--prev { padding-right: 40px; }
.post-nav__link--next { padding-left: 40px; border-left: 1px solid rgba(16,47,73,.14); text-align: right; }
.post-nav__link--empty { padding: 0; }
.post-nav__link > span { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.post-nav__link--next > span { justify-content: flex-end; }
.post-nav__link i { font-style: normal; font-size: 16px; transition: transform .25s ease; }
.post-nav__link strong { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); font-weight: 750; line-height: 1.15; letter-spacing: -.03em; }
.post-nav__link:hover strong { color: var(--blue); }
.post-nav__link--prev:hover i { transform: translateX(-4px); }
.post-nav__link--next:hover i { transform: translateX(4px); }

/* --- CTA pod wpisem --- */

.post-cta { position: relative; padding: 100px 0; overflow: hidden; isolation: isolate; background: var(--navy-deep); color: var(--paper); }
.post-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -190px;
  border: 1px solid rgba(122,219,212,.5);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(122,219,212,.04), 0 0 0 104px rgba(122,219,212,.025);
}
.post-cta__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 60px; align-items: center; }
.post-cta h2 { margin: 0; max-width: 640px; font-family: var(--font-display); font-size: clamp(38px, 4.2vw, 60px); font-weight: 800; line-height: .98; letter-spacing: -.05em; }
.post-cta h2 em { color: var(--mint); font-style: normal; }
.post-cta__layout > div > p:not(.section-kicker) { max-width: 560px; margin: 24px 0 0; color: rgba(251,248,241,.72); font-size: 17px; line-height: 1.7; }
.post-cta__actions { display: grid; gap: 12px; justify-content: end; }

.post-comments { padding: 0 0 90px; background: var(--paper); color: var(--ink); }
.post-comments > .section-shell { width: min(100% - 48px, 760px); }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */

@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--featured .post-card__body { padding: 40px; }
}

@media (max-width: 820px) {
  .blog-head { padding: 112px 0 44px; }
  .blog-head--post { padding-top: 124px; }
  .post.has-post-thumbnail .blog-head--post { padding-bottom: 120px; }
  .post-cover { margin-top: -70px; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card__media { aspect-ratio: 16 / 9; min-height: 0; }
  .post-card--featured .post-card__body { padding: 32px 28px 36px; }
  .post-content { font-size: 17px; }
  .post-layout > .post-content:first-child { padding-top: 56px; }
  .post-nav__grid { grid-template-columns: 1fr; }
  .post-nav__link { padding: 30px 0; }
  .post-nav__link--prev { padding-right: 0; border-bottom: 1px solid rgba(16,47,73,.14); }
  .post-nav__link--next { padding-left: 0; border-left: 0; text-align: left; }
  .post-nav__link--next > span { justify-content: flex-start; }
  .post-nav__link--empty { display: none; }
  .post-cta { padding: 80px 0; }
  .post-cta__layout { grid-template-columns: 1fr; gap: 36px; }
  .post-cta__actions { justify-content: start; }
}

@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-topics { margin-bottom: 32px; }
  .blog-topics a { padding: 9px 13px; font-size: 11px; }
  .blog-body { padding: 44px 0 90px; }
  .blog-head h1 { font-size: clamp(38px, 11vw, 56px); }
  .blog-head__lead { font-size: 15px; }
  .post-card__body { padding: 20px 20px 24px; }
  .post-content { font-size: 16px; line-height: 1.7; }
  .post-content blockquote { padding: 20px 22px; font-size: 18px; }
  .blog-empty { padding: 32px 24px; }
  .post-cta__actions { grid-template-columns: 1fr; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .post-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(16,47,73,.14); }
  .post-card--featured:hover { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(5,22,34,.3); }
  .post-card:hover .post-card__media img { transform: scale(1.045); }
}

/* ============================================================
   KONTAKT — przełącznik „Zadzwoń / Napisz” + formularz (Contact Form 7)
   Szablon: gałąź „kontakt” w page.php.
   ============================================================ */

.contact-hero {
  position: relative;
  padding: 150px 0 96px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--paper);
}
.contact-hero__inner { position: relative; z-index: 2; }
.contact-hero h1 { max-width: 900px; font-size: clamp(42px, 5vw, 76px); line-height: .96; }
.contact-hero__lead { max-width: 620px; margin: 22px 0 0; color: rgba(251,248,241,.72); font-size: 17px; line-height: 1.7; }

.contact-body { padding: 0 0 120px; background: var(--paper); color: var(--ink); }

/* --- Dwie duże karty wyboru, nachodzące na granat --- */

.contact-switch {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: -48px;
}
.contact-switch__option {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 16px;
  padding: 26px 28px;
  text-align: left;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(16,47,73,.12);
  border-radius: 4px;
  box-shadow: 0 22px 50px rgba(5,22,34,.18);
  cursor: pointer;
  font: inherit;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.contact-switch__option strong { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.contact-switch__option small { grid-column: 1; color: rgba(16,47,73,.62); font-size: 13px; line-height: 1.4; }
.contact-switch__option i {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 18px;
  font-style: normal;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.contact-switch__option:hover { transform: translateY(-3px); border-color: var(--navy); }
.contact-switch__option[aria-expanded="true"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.contact-switch__option[aria-expanded="true"] small { color: rgba(251,248,241,.62); }
.contact-switch__option[aria-expanded="true"] i { background: var(--mint); border-color: var(--mint); color: var(--navy); transform: rotate(45deg); }

/* --- Panele --- */

.contact-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 18px; margin-top: 22px; animation: contact-reveal .35s cubic-bezier(.2,.8,.2,1) both; }
.contact-panel[hidden] { display: none; }
.contact-panel:focus { outline: none; }
@keyframes contact-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .contact-panel { animation: none; } }
.contact-card { padding: 40px 44px; background: white; border: 1px solid rgba(16,47,73,.12); border-radius: 4px; }
.contact-card--accent { background: var(--cream); }
.contact-card__label { margin: 0 0 20px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.contact-card__note { max-width: 480px; margin: 20px 0 0; color: rgba(16,47,73,.66); font-size: 15px; line-height: 1.65; }
.contact-card__note a { color: var(--blue); font-weight: 800; }
.contact-card__note a:hover { color: var(--red); }

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  transition: color .2s ease;
}
.contact-phone i { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 22px; font-style: normal; transition: transform .25s ease, background .25s ease, color .25s ease; }
.contact-phone:hover { color: var(--blue); }
.contact-phone:hover i { background: var(--red); border-color: var(--red); color: white; transform: rotate(45deg); }
.contact-card__person { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: 14px; font-weight: 700; }
.contact-card__person span { width: 34px; height: 34px; display: grid; place-items: center; background: var(--red); color: white; border-radius: 50%; font-size: 13px; font-weight: 900; }
.contact-email { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--blue); font-size: 15px; font-weight: 800; transition: color .2s ease; }
.contact-email span { font-size: 20px; transition: transform .25s ease; }
.contact-email:hover { color: var(--red); }
.contact-email:hover span { transform: translateX(4px); }

.contact-list,
.contact-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { position: relative; padding: 14px 16px 14px 34px; display: grid; gap: 3px; background: var(--paper); border: 1px solid rgba(16,47,73,.1); }
.contact-list li::before { content: "→"; position: absolute; left: 14px; top: 14px; color: var(--red); font-weight: 900; }
.contact-list strong { font-size: 15px; }
.contact-list span { color: rgba(16,47,73,.62); font-size: 13px; line-height: 1.45; }
.contact-steps li { padding: 14px 16px; display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; align-items: center; background: var(--paper); border: 1px solid rgba(16,47,73,.1); }
.contact-steps li:nth-child(2) { margin-inline: -4% 4%; background: var(--navy); color: white; transform: rotate(-.6deg); }
.contact-steps span { grid-row: 1 / 3; color: var(--red); font-size: 10px; font-weight: 900; }
.contact-steps li:nth-child(2) span { color: var(--mint); }
.contact-steps strong { font-size: 15px; }
.contact-steps small { color: rgba(16,47,73,.62); font-size: 12px; }
.contact-steps li:nth-child(2) small { color: rgba(255,255,255,.62); }

/* --- Formularz (Contact Form 7) --- */

.contact-form__fallback { display: grid; gap: 12px; justify-items: start; }
.contact-form__fallback strong { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.05; }
.contact-form__fallback p { margin: 0; color: rgba(16,47,73,.66); font-size: 15px; }
.contact-form__fallback .button { margin-top: 8px; }

.contact-form .wpcf7 form { display: grid; gap: 16px; }
.contact-form .wpcf7 form p { margin: 0; display: grid; gap: 6px; }
.contact-form .wpcf7 form p br { display: none; }
.contact-form .wpcf7 label { display: grid; gap: 6px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: rgba(16,47,73,.66); }
.contact-form .wpcf7 .contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form .wpcf7 textarea,
.contact-form .wpcf7 select {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(16,47,73,.22);
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form .wpcf7 textarea { min-height: 150px; resize: vertical; }
.contact-form .wpcf7 input:focus,
.contact-form .wpcf7 textarea:focus,
.contact-form .wpcf7 select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(122,219,212,.4); }
.contact-form .wpcf7 input[type="submit"] {
  min-height: 58px;
  padding: 0 26px;
  justify-self: start;
  background: var(--red);
  color: white;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(6,24,37,.2);
  transition: transform .2s ease, background .2s ease;
}
.contact-form .wpcf7 input[type="submit"]:hover { background: var(--orange); transform: translateY(-2px); }
.contact-form .wpcf7 input[type="submit"]:disabled { opacity: .6; cursor: wait; transform: none; }
.contact-form .wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; }
.contact-form .wpcf7 .wpcf7-acceptance label,
.contact-form .wpcf7 .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: rgba(16,47,73,.72); line-height: 1.5; }
.contact-form .wpcf7 .wpcf7-list-item { margin: 0; }
.contact-form .wpcf7 input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.contact-form .wpcf7 .wpcf7-not-valid-tip { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.contact-form .wpcf7 .wpcf7-not-valid { border-color: var(--red); }
.contact-form .wpcf7 .wpcf7-response-output { margin: 0; padding: 14px 16px; border: 1px solid rgba(16,47,73,.2); border-radius: 4px; font-size: 14px; font-weight: 700; }
.contact-form .wpcf7 form.sent .wpcf7-response-output { background: rgba(122,219,212,.2); border-color: var(--mint); }
.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-form .wpcf7 form.failed .wpcf7-response-output,
.contact-form .wpcf7 form.aborted .wpcf7-response-output,
.contact-form .wpcf7 form.spam .wpcf7-response-output { background: rgba(239,52,35,.08); border-color: var(--red); color: var(--red); }

@media (max-width: 820px) {
  .contact-hero { padding: 118px 0 78px; }
  .contact-switch { grid-template-columns: 1fr; gap: 10px; margin-top: -36px; }
  .contact-switch__option { padding: 20px 22px; }
  .contact-panel { grid-template-columns: 1fr; gap: 14px; }
  .contact-card { padding: 30px 26px; }
  .contact-steps li:nth-child(2) { margin-inline: 0; }
  .contact-form .wpcf7 .contact-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .contact-hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .contact-hero__lead { font-size: 15px; }
  .contact-card { padding: 24px 20px; }
  .contact-phone { font-size: clamp(30px, 9vw, 40px); gap: 12px; }
  .contact-phone i { width: 40px; height: 40px; font-size: 18px; }
  .contact-form .wpcf7 input[type="submit"] { width: 100%; }
}
