/* ============================================================
   /mapa-v1/ — pierwszy projekt strony mapy, dokończony pod Mapę V2.
   Rytm kolorów: atrament (hero + liczby) -> krem (progi + karuzela A4)
   -> atrament (zaufanie z fartuchem) -> finał.
   Korzysta ze zmiennych i przycisków z css/style.css?v=11.
   ============================================================ */

.m1-body { background: var(--ink-deep); color: var(--ivory); }
.m1-body main { overflow-x: clip; }
.m1-nowrap { white-space: nowrap; }

/* ---------- nagłówek minimalny (tylko wordmark) ---------- */
.m1-topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: center;
  padding: 1.15rem 1.25rem 0;
}

/* ---------- HERO: centralny złoty nagłówek + 2 kolumny (ciemna karta zapisu | Adrian → + wachlarz Mapy V2) + pasek faktów ---------- */
.m1-hero {
  position: relative; overflow: hidden;
  padding: clamp(3.85rem, 3.35rem + 1.3vw, 4.7rem) clamp(1.25rem, 2.5vw, 3rem) 0;
}
.m1-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 64% 48% at 50% 13%, rgba(224, 138, 60, .22), transparent 68%),
    radial-gradient(ellipse 52% 44% at 78% 68%, rgba(63, 201, 214, .1), transparent 72%);
  pointer-events: none;
}
.m1-hero #constellation {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: .5; pointer-events: none;
}
.m1-hero-head {
  position: relative; z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto clamp(1.3rem, .95rem + 1.1vw, 2.05rem);
  text-align: center;
}
.m1-hero-grid {
  position: relative; z-index: 1;
  width: min(1540px, 100%); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: clamp(1.4rem, 2.6vw, 3.6rem);
  align-items: end;
  padding-bottom: 0;
}
.m1-hero-col {
  align-self: center;
  padding-bottom: clamp(1.5rem, 1.1rem + 1vw, 2.3rem);
}
@media (max-width: 1280px) and (min-width: 900px) {
  .m1-hero-grid { grid-template-columns: minmax(0, 505px) minmax(0, 1fr); gap: 1.6rem; }
}
@media (max-width: 899px) {
  .m1-hero { padding: 3.35rem 1.25rem 0; }
  .m1-hero-head { text-align: left; margin-bottom: 1rem; }
  .m1-hero-grid { grid-template-columns: 1fr; gap: 1.35rem; }
  .m1-hero-col { padding-bottom: 0; }
}

.m1-eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ember);
}
.m1-hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 1.38rem + 2.38vw, 3.55rem);
  line-height: 1.16; letter-spacing: -.015em;
  max-width: 24ch;
  padding-block: .06em .18em; /* pełne miejsce na polskie ogonki ą, ę, g, j przy background-clip: text */
  margin: 0 auto .56rem;
  text-wrap: balance;
  background-image: linear-gradient(180deg, #FCE0A8 0%, #EB9E44 100%);
  background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 28px rgba(224, 138, 60, .16));
}
.m1-hero h1 em { font-style: italic; color: inherit; white-space: nowrap; }
.m1-authority {
  font-size: clamp(.92rem, .89rem + .21vw, 1.03rem); line-height: 1.54; color: #C7CFDC;
  max-width: 78ch; margin: 0 auto;
  text-wrap: balance;
}
@media (max-width: 899px) {
  .m1-hero h1 {
    max-width: none; margin: 0 0 .45rem;
    font-size: clamp(1.82rem, 6.1vw, 2.45rem);
    line-height: 1.13; padding-block: .04em .14em;
  }
  .m1-authority { margin: 0; font-size: .89rem; line-height: 1.46; text-wrap: pretty; }
}
.m1-authority a {
  color: var(--ivory); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(63, 201, 214, .55); padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease, text-shadow .2s ease;
}
.m1-authority a:hover, .m1-authority a:focus-visible {
  color: var(--cyan); border-bottom-color: var(--cyan);
  text-shadow: 0 0 14px rgba(63, 201, 214, .35);
}
.m1-authority a::after {
  content: "\00a0↗"; font-size: .78em; font-weight: 500;
  color: var(--cyan); opacity: .82;
}
.m1-authority a:hover::after { opacity: 1; }
.m1-authority strong { color: var(--ivory); font-weight: 600; }

/* ---------- FORMULARZ — dolny #zapis zostaje jasny kremowy F3C, a górny #gora ma ciemną kartę ze złotym obrysem ---------- */
.m1-zapis-wrap { width: min(560px, 100%); }
.m1-zapis-wrap--center { margin-inline: auto; text-align: left; }
#zapis .m1-zapis-wrap { width: min(650px, 100%); }

.m1-form {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FDFBF6 0%, #F4EFE4 100%);
  border: 1px solid #DED5C2;
  border-radius: 20px;
  padding: 1.25rem 1.32rem 1.05rem;
  text-align: left;
  box-shadow:
    0 34px 72px -22px rgba(0, 0, 0, .84),
    0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.m1-form[hidden] { display: none; }
.m1-form-strip {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
}
.m1-form-strip i:nth-child(1) { background: var(--prog-50); }
.m1-form-strip i:nth-child(2) { background: var(--prog-70); }
.m1-form-strip i:nth-child(3) { background: var(--prog-90); }

.m1-form-top {
  display: flex; align-items: center; justify-content: space-between; gap: .65rem;
  margin-bottom: .42rem;
}
.m1-form-head {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.12rem; line-height: 1.18; margin: 0; color: #181B24;
}
.m1-form-badge {
  flex: none;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .04em; padding: .22rem .58rem; border-radius: 999px;
  background: var(--ink); color: #7CEAF4; white-space: nowrap;
}
.m1-form-perks {
  display: flex; flex-wrap: wrap; gap: .32rem .88rem;
  list-style: none; margin: 0 0 .82rem; padding: 0;
}
.m1-form-perks li {
  display: inline-flex; align-items: center; gap: .32rem;
  font-size: .77rem; font-weight: 500; line-height: 1.25; color: #544D3F;
}
.m1-form-perks li i {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--pc, #4B967A);
}

/* Etykieta pola dostępna dla czytników ekranu */
.m1-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.m1-form-bar {
  background: #fff; border: 1.5px solid #D4C9B3; border-radius: 14px;
  padding: .34rem;
  box-shadow: 0 8px 22px -14px rgba(24, 27, 36, .28);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.m1-form-bar:focus-within {
  border-color: #A8459B; box-shadow: 0 0 0 3px rgba(168, 69, 155, .16);
}
.m1-input-wrap { position: relative; margin-bottom: .34rem; }
.m1-input-ico {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #8A806B; pointer-events: none;
}
.m1-form input[type="email"] {
  width: 100%; min-width: 0;
  background: transparent; border: 0; border-radius: 10px;
  padding: .76rem .85rem .76rem 2.45rem;
  font-family: var(--font-body); font-size: 1rem; color: #1f1c17;
  margin-bottom: 0;
}
.m1-form input[type="email"]::placeholder { color: #9c927a; }
.m1-form input[type="email"]:focus-visible { outline: none; }

.m1-form .btn {
  position: relative; overflow: hidden;
  width: 100%; justify-content: center; text-align: center;
  font-size: clamp(.88rem, .78rem + .42vw, .98rem);
  padding: .88rem .95rem; border-radius: 10px;
  background: linear-gradient(135deg, #D273C6 0%, #B049A3 100%);
  color: #FAF8F4; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow:
    0 14px 28px -10px rgba(168, 69, 155, .64),
    inset 0 1px 0 rgba(255, 255, 255, .36);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.m1-form .btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .26) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .55s ease;
  pointer-events: none;
}
.m1-form .btn:hover {
  transform: translateY(-1.5px); filter: brightness(1.06);
  box-shadow:
    0 18px 34px -10px rgba(168, 69, 155, .78),
    inset 0 1px 0 rgba(255, 255, 255, .48);
}
.m1-form .btn:hover::after { transform: translateX(120%); }
.m1-btn-arr { display: inline-block; margin-left: .38rem; transition: transform .2s ease; }
.m1-form .btn:hover .m1-btn-arr { transform: translateX(3px); }
.m1-form .btn[disabled] { opacity: .72; cursor: progress; transform: none; }

@media (min-width: 640px) {
  #zapis .m1-form-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .38rem; align-items: center;
  }
  #zapis .m1-input-wrap { margin-bottom: 0; }
  #zapis .m1-form .btn { width: auto; white-space: nowrap; padding: .86rem 1.25rem; font-size: .92rem; }
}

.m1-form-trust {
  display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap;
  margin-top: .56rem; font-family: var(--font-mono); font-size: .64rem;
  color: #635B4A; letter-spacing: .02em;
}
.m1-form-note {
  font-size: .71rem; color: #746B58; text-align: center;
  margin-top: .48rem; line-height: 1.44;
}
.m1-form-note a { color: #2d2922; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- GÓRNY FORMULARZ W HERO (#gora): ciemna karta ze złotym obrysem (spójna ze złotym H1 i Mapą; #zapis u dołu zostaje jasny kremowy!) ---------- */
#gora .m1-form {
  border-radius: 22px;
  padding: 1.65rem 1.7rem 1.35rem;
  background:
    radial-gradient(ellipse 80% 62% at 92% 4%, rgba(235, 158, 68, .17), transparent 64%),
    radial-gradient(ellipse 64% 58% at 8% 96%, rgba(196, 101, 184, .14), transparent 66%),
    rgba(14, 22, 41, .94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(235, 158, 68, .42);
  box-shadow:
    0 38px 82px -22px rgba(0, 0, 0, .9),
    0 0 48px -18px rgba(235, 158, 68, .24),
    0 0 0 1px rgba(255, 255, 255, .05) inset;
}
#gora .m1-form-head { font-size: 1.46rem; color: var(--ivory); }
#gora .m1-form-badge {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  background: rgba(235, 158, 68, .16);
  color: #FCE0A8;
  border: 1px solid rgba(235, 158, 68, .5);
  padding: .3rem .74rem;
  font-size: .72rem;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
#gora .m1-form-badge:hover {
  background: rgba(235, 158, 68, .28);
  border-color: #FCE0A8;
  color: #FFF7E8;
  transform: translateY(-1px);
}
#gora .m1-form-perks {
  gap: .45rem;
  margin: .65rem 0 1.08rem;
}
#gora .m1-form-perks li {
  padding: .26rem .68rem;
  border-radius: 999px;
  font-size: .78rem;
  color: #D2DAE7;
  background: rgba(242, 237, 228, .06);
  border: 1px solid rgba(242, 237, 228, .12);
}
#gora .m1-form-bar {
  background: #FAF8F4;
  border-color: rgba(255, 255, 255, .24);
  padding: .44rem;
  border-radius: 16px;
}
#gora .m1-input-wrap { margin-bottom: .42rem; }
#gora .m1-input-ico { left: .95rem; width: 18px; height: 18px; }
#gora .m1-form input[type="email"] {
  padding: .92rem 1rem .92rem 2.65rem;
  font-size: 1.03rem;
}
#gora .m1-form .btn {
  padding: 1.02rem 1.15rem;
  font-size: 1.02rem;
  border-radius: 12px;
}
#gora .m1-form-trust { margin-top: .72rem; font-size: .69rem; color: #A0ABC0; }
#gora .m1-form-note { margin-top: .54rem; font-size: .74rem; line-height: 1.46; color: #8B96AA; }
#gora .m1-form-note a { color: #DAE2F0; }

@media (max-width: 480px) {
  .m1-form { padding: 1.12rem .95rem .95rem; }
  .m1-form-perks { gap: .24rem .62rem; margin-bottom: .72rem; }
  .m1-form-perks li { font-size: .72rem; gap: .25rem; }
  .m1-form .btn {
    font-size: clamp(.78rem, 3.55vw, .9rem);
    padding: .84rem .6rem;
  }
  .m1-btn-arr { margin-left: .28rem; }
  .m1-form-trust { font-size: .56rem; gap: .26rem; letter-spacing: 0; }

  #gora .m1-form { padding: 1.08rem .95rem .92rem; border-radius: 18px; }
  #gora .m1-form-head { font-size: 1.16rem; }
  #gora .m1-form-badge { padding: .22rem .58rem; font-size: .64rem; }
  #gora .m1-form-perks { margin: .46rem 0 .74rem; gap: .3rem; }
  #gora .m1-form-perks li { padding: .18rem .5rem; font-size: .69rem; }
  #gora .m1-form-bar { padding: .34rem; border-radius: 13px; }
  #gora .m1-input-wrap { margin-bottom: .32rem; }
  #gora .m1-input-ico { left: .82rem; width: 16px; height: 16px; }
  #gora .m1-form input[type="email"] { padding: .72rem .8rem .72rem 2.35rem; font-size: .96rem; }
  #gora .m1-form .btn { padding: .84rem .65rem; font-size: clamp(.82rem, 3.65vw, .94rem); border-radius: 10px; }
  #gora .m1-form-trust { margin-top: .5rem; font-size: .58rem; }
  #gora .m1-form-note { margin-top: .42rem; font-size: .69rem; line-height: 1.4; }
}

/* komunikaty i ekran „Co dalej” po zapisie */
.m1-wynik:empty { display: none; }
.m1-blad {
  margin-top: .65rem; padding: .65rem .85rem; border-radius: 10px;
  background: rgba(217, 72, 107, .16); border: 1px solid rgba(217, 72, 107, .55);
  color: #FFB4C4; font-size: .88rem; line-height: 1.45;
}
.m1-ok {
  background: rgba(116, 180, 155, .14);
  border: 1px solid rgba(116, 180, 155, .5);
  border-radius: 14px; padding: 1.05rem 1.15rem;
  color: var(--ivory); font-size: .95rem; line-height: 1.55;
}
.m1-ok a {
  color: var(--accent-bright); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
.co-dalej { margin-top: 1.1rem; }
.cd-mono {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--slate); margin-bottom: .55rem;
}
.cd-glowny {
  display: grid; gap: .32rem;
  padding: 1.05rem 1.15rem; border-radius: 14px;
  background: var(--ink-panel); border: 1px solid var(--ink-line);
  border-left: 4px solid var(--accent);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.cd-glowny:hover { border-color: var(--accent-bright); transform: translateY(-2px); }
.cd-glowny b { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ivory); }
.cd-glowny span { color: #C9CFDA; font-size: .9rem; line-height: 1.45; }
.cd-glowny .cd-btn {
  justify-self: start; margin-top: .45rem;
  padding: .62rem 1.15rem; border-radius: 10px;
  background: var(--accent); color: var(--ink-deep); font-weight: 600; font-size: .92rem;
}
.cd-inne { list-style: none; display: grid; gap: .45rem; margin-top: .85rem; }
.cd-inne a { color: #C9CFDA; font-size: .9rem; border-bottom: 1px solid var(--ink-line); }
.cd-inne a:hover { color: var(--ivory); border-color: var(--slate); }

/* ---------- ZIELONY BENZEN LASEROWY EDYCJI 2027–2031 (prawy górny róg Hero, przechylony +15°) ---------- */
@keyframes m1EdycjaSpin { to { transform: rotate(360deg); } }
@keyframes m1EdycjaFlow { to { stroke-dashoffset: -120; } }
@keyframes m1EdycjaFloat {
  0%, 100% { transform: rotate(15deg) translateY(0); }
  50% { transform: rotate(15deg) translateY(-5px); }
}
@keyframes m1EdycjaSheen {
  0%, 62% { transform: translateX(-160%) skewX(-22deg); opacity: 0; }
  74% { opacity: .55; }
  88%, 100% { transform: translateX(220%) skewX(-22deg); opacity: 0; }
}
@keyframes m1EdycjaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(116, 180, 155, .65); }
  50% { box-shadow: 0 0 0 6px rgba(116, 180, 155, 0); }
}
.m1-edycja {
  position: absolute;
  top: clamp(.9rem, 1.6vw, 2rem);
  right: clamp(1rem, 2.6vw, 3.1rem);
  z-index: 8;
  pointer-events: auto;
}
.m1-edycja-benzen {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(186px, 13.8vw, 232px);
  height: clamp(186px, 13.8vw, 232px);
  cursor: default;
  transform: rotate(15deg);
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .68)) drop-shadow(0 0 28px rgba(45, 212, 160, .26));
  transition: transform .35s var(--ease), filter .35s ease;
  animation: m1EdycjaFloat 6.5s ease-in-out infinite;
}
.m1-edycja-benzen:hover {
  animation-play-state: paused;
  transform: rotate(12deg) scale(1.06);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .72)) drop-shadow(0 0 42px rgba(45, 212, 160, .48));
}
.m1-edycja-benzen svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.m1-benzen-ghost {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: m1EdycjaSpin 60s linear infinite;
}
.m1-benzen-flow {
  stroke-dasharray: 28 92;
  animation: m1EdycjaFlow 3.4s linear infinite;
}
.m1-benzen-flow-2 {
  stroke-dasharray: 18 102;
  stroke-dashoffset: -60;
  animation: m1EdycjaFlow 3.4s linear infinite;
}
.m1-benzen-sheen {
  position: absolute;
  inset: 14%;
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.m1-benzen-sheen::after {
  content: "";
  position: absolute;
  inset: -20%;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(196, 255, 232, .36), transparent);
  animation: m1EdycjaSheen 5.5s ease-in-out infinite;
}
.m1-benzen-txt {
  position: relative;
  z-index: 3;
  text-align: center;
  display: grid;
  gap: 2px;
}
.m1-benzen-txt small {
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7CF2C6;
  text-shadow: 0 0 12px rgba(52, 211, 153, .6);
}
.m1-benzen-txt b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.18rem, .98rem + .44vw, 1.5rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, #FFFFFF 0%, #9EF5D2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.m1-benzen-txt span {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #B4E5D2;
  margin-top: 2px;
}
.m1-benzen-tag {
  font-style: normal;
  margin: 4px auto 0;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .16);
  border: 1px solid rgba(110, 231, 183, .42);
  font-family: var(--font-mono);
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #D7FFF0;
}
.m1-edycja-pill { display: none; }

@media (max-width: 1380px) and (min-width: 1080px) {
  .m1-edycja { top: .9rem; right: 1rem; transform: scale(.84); transform-origin: top right; }
}
@media (max-width: 1079px) {
  .m1-edycja {
    position: static;
    display: flex;
    justify-content: center;
    margin: 0 auto .52rem;
    pointer-events: none;
  }
  .m1-edycja-benzen { display: none; }
  .m1-edycja-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .28rem .72rem;
    border-radius: 999px;
    background: rgba(14, 24, 38, .88);
    border: 1px solid rgba(116, 180, 155, .48);
    font-family: var(--font-mono);
    font-size: .61rem;
    letter-spacing: .05em;
    color: #CDE6DC;
    white-space: nowrap;
  }
  .m1-edycja-pill i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #74B49B;
    animation: m1EdycjaPulse 2.4s ease-out infinite;
  }
  .m1-edycja-pill b { color: #E3F9F0; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  .m1-edycja-benzen,
  .m1-benzen-ghost,
  .m1-benzen-flow,
  .m1-benzen-flow-2,
  .m1-benzen-sheen::after,
  .m1-edycja-pill i { animation: none; }
}

/* ---------- ADRIAN WSKAZUJĄCY → NA WACHLARZ STRON MAPY V2 (prawa kolumna hero) ---------- */
.m1-hero-stage {
  position: relative;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
}
.m1-hero-showcase {
  position: relative;
  flex: 0 0 auto;
  width: clamp(185px, 15.2vw, 250px);
  margin-right: clamp(-1.4rem, -1vw, -.45rem);
  z-index: 2;
  pointer-events: none;
  align-self: flex-end;
}
.m1-hero-showcase::before {
  content: ""; position: absolute; inset: 16% -14% 0;
  background: radial-gradient(closest-side, rgba(196, 101, 184, .24), rgba(63, 201, 214, .11) 60%, transparent);
  z-index: 0;
}
.m1-hero-showcase img {
  position: relative; z-index: 1; width: 100%; height: auto; display: block;
  filter: drop-shadow(8px 12px 24px rgba(0, 0, 0, .62));
}
.m1-hero-visual {
  flex: 1 1 420px;
  max-width: 490px;
  min-width: 0;
  margin-bottom: clamp(1.1rem, .85rem + .85vw, 1.85rem);
  margin-right: clamp(-1.2rem, -.8vw, 0rem);
  position: relative;
  z-index: 1;
}
.m1-hero-visual-link {
  display: block;
  position: relative;
  cursor: pointer;
  border-radius: 14px;
  transition: transform .28s var(--ease), filter .28s var(--ease);
}
.m1-hero-visual-link:hover {
  transform: translateY(-4px) scale(1.015);
  filter: drop-shadow(0 0 26px rgba(235, 158, 68, .22));
}
.m1-hero-visual-link:focus-visible {
  outline: 2px solid #FCE0A8;
  outline-offset: 6px;
}
.m1-hero-visual img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, .56));
}
@media (prefers-reduced-motion: no-preference) {
  .m1-hero-visual img { animation: m1Float 7s ease-in-out infinite; }
  @keyframes m1Float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
  }
}
@media (max-width: 1280px) and (min-width: 900px) {
  .m1-hero-showcase { width: clamp(165px, 14vw, 210px); margin-right: -1rem; }
}
@media (max-width: 899px) {
  .m1-hero-stage { justify-content: center; gap: .15rem; padding-top: .25rem; }
  .m1-hero-showcase { width: 34%; max-width: 155px; margin-right: -.45rem; }
  .m1-hero-visual { flex: 1 1 64%; max-width: 340px; margin-bottom: 1rem; margin-right: 0; }
}

/* ---------- PASEK LICZB MAPY V2 (dolny pas hero) ---------- */
.m1-fakty {
  position: relative; z-index: 1;
  border-top: 1px solid var(--ink-line);
  background: rgba(16, 24, 43, .78);
  margin-inline: calc(-1 * clamp(1.25rem, 2.5vw, 3rem));
  padding: clamp(1.25rem, 1rem + .9vw, 1.75rem) clamp(1.25rem, 2.5vw, 3rem) clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
}
@media (max-width: 899px) {
  .m1-fakty { margin-inline: -1.25rem; padding-inline: 1.25rem; }
}
.m1-fakty-tytul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  width: min(1140px, 100%);
  margin: 0 auto 1.1rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #A8B5CB;
}
.m1-fakty-tytul::before,
.m1-fakty-tytul::after {
  content: "";
  height: 1px;
  flex: 1 1 0;
  max-width: 140px;
  background: linear-gradient(90deg, transparent, rgba(235, 158, 68, .42));
}
.m1-fakty-tytul::after {
  background: linear-gradient(90deg, rgba(235, 158, 68, .42), transparent);
}
.m1-fakty-lista {
  list-style: none;
  width: min(1140px, 100%); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem 1.5rem;
}
@media (max-width: 820px) {
  .m1-fakty-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
}
.m1-fakty-lista li { display: grid; gap: .2rem; align-content: start; }
.m1-fakty-lista b {
  font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); line-height: 1;
  color: var(--cyan);
}
.m1-fakty-lista li:nth-child(2) b { color: var(--accent-bright); }
.m1-fakty-lista li:nth-child(3) b { color: var(--ember); }
.m1-fakty-lista li:nth-child(4) b { color: var(--prog-50); }
.m1-fakty-lista span { font-size: .88rem; line-height: 1.4; color: #C9CFDA; }
.m1-fakty-dopisek {
  width: min(1140px, 100%); margin: 1.1rem auto 0;
  padding-top: .95rem; border-top: 1px solid rgba(42, 53, 80, .75);
  font-size: .86rem; color: var(--slate); text-align: center;
}

/* ---------- KREMOWY PAPIER — szkicownik naukowy K2B (kropki + struktury po obu bokach) ---------- */
.m1-paper {
  position: relative; overflow: hidden;
  background: #f4efe4; color: #181b24;
  padding: clamp(1.6rem, 1.25rem + 1.35vw, 2.75rem) 0 clamp(3.2rem, 2.4rem + 3vw, 5.5rem);
}
.m1-paper-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.m1-paper-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 38% 28% at 6% 18%, rgba(116, 180, 155, .13), transparent 68%),
    radial-gradient(ellipse 38% 28% at 94% 26%, rgba(232, 157, 70, .12), transparent 68%),
    radial-gradient(ellipse 40% 30% at 8% 76%, rgba(196, 101, 184, .1), transparent 68%),
    radial-gradient(ellipse 40% 30% at 92% 82%, rgba(63, 201, 214, .11), transparent 68%);
}
.m1-paper-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(116, 102, 78, .25) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image:
    radial-gradient(ellipse 46% 36% at 50% 24%, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .95) 85%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
          mask-image:
    radial-gradient(ellipse 46% 36% at 50% 24%, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .95) 85%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.m1-paper-sketch { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 820px) {
  .m1-paper-sketch { opacity: .45; }
}
.m1-paper > :not(.m1-paper-bg) { position: relative; z-index: 1; }

.m1-section-head {
  text-align: center; max-width: 700px;
  margin: 0 auto clamp(2rem, 1.6rem + 1.5vw, 3rem);
  padding-inline: 1.25rem;
}
.m1-section-head--sub { margin-top: clamp(2.8rem, 2.2rem + 2.2vw, 4.2rem); }
.m1-section-head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.8rem); color: #181b24; line-height: 1.12;
}
.m1-section-head h2 em { font-style: italic; color: #A8459B; }
.m1-section-head p { color: #575246; margin-top: .65rem; font-size: 1.03rem; line-height: 1.55; text-wrap: balance; }

/* schody progów 50 -> 70 -> 90 (rosnąca wysokość + checklisty jak kratki w PDF-ie) */
.goal-ladder {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem;
  align-items: end;
  width: min(1080px, 100% - 2.5rem); margin: 0 auto;
}
.goal-step {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #d6cdb8;
  border-bottom: 4px solid var(--c);
  border-radius: 18px;
  padding: 1.7rem 1.55rem 1.6rem;
  box-shadow: 0 20px 44px -30px rgba(16, 24, 43, .3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.goal-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px -26px rgba(16, 24, 43, .42);
}
.goal-step.c50 { --c: var(--prog-50); --cd: #4B967A; min-height: 444px; }
.goal-step.c70 { --c: var(--prog-70); --cd: #C97324; min-height: 494px; }
.goal-step.c90 { --c: var(--prog-90); --cd: #C43759; min-height: 544px; }

/* pieczęć progu (znacznik progów z marka/wyglad.md): kręci się tylko obwód z napisem, liczba w środku stoi */
.goal-step-glowa { display: flex; align-items: center; gap: 1rem; margin-bottom: .85rem; }
.goal-seal { flex: none; width: 132px; height: 132px; overflow: visible; }
.goal-seal-tlo { fill: color-mix(in srgb, var(--c) 9%, #fff); stroke: var(--c); stroke-width: 3; }
.goal-seal-kropki { fill: none; stroke: var(--c); stroke-width: 1.4; stroke-dasharray: 2 4; }
.goal-seal-obwod { font-family: var(--font-mono); font-size: 15px; font-weight: 700; fill: var(--cd); }
.goal-seal-liczba { font-family: var(--font-display); font-weight: 600; font-size: 58px; fill: var(--c); }
.goal-seal-ring {
  transform-box: view-box; transform-origin: 100px 100px;
  animation: goal-seal-kreci 7s linear infinite; animation-play-state: paused;
}
.goal-step:hover .goal-seal-ring, .goal-step:focus-within .goal-seal-ring { animation-play-state: running; }
/* telefon (bez najechania): jeden obrót, kiedy kafelek wjeżdża na ekran (js/mapa-v1.js) */
.goal-step.goal-step--obrot .goal-seal-ring { animation: goal-seal-raz 1.8s var(--ease) 1 both; }
@keyframes goal-seal-kreci { to { transform: rotate(360deg); } }
@keyframes goal-seal-raz { from { transform: rotate(-240deg); } to { transform: rotate(0deg); } }
.goal-step-pkt { display: grid; gap: .2rem; }
.goal-step-pkt b { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1; color: var(--cd); }
.goal-step-pkt span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #756e5e; }

/* cały kafelek prowadzi do okna progu na głównej (/?prog=N#metoda) */
.goal-step-link {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: 1.15rem;
  font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--cd); text-decoration: none;
}
.goal-step-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.goal-step:hover .goal-step-link { text-decoration: underline; text-underline-offset: 4px; }
.goal-step-link:focus-visible { outline: none; }
.goal-step:focus-within { outline: 3px solid #A8459B; outline-offset: 3px; }
.goal-step h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.24rem; color: #181b24; margin: 0 0 .6rem; line-height: 1.2;
}
.goal-step p { font-size: .93rem; line-height: 1.58; color: #575246; margin: 0 0 1rem; }
.goal-step p strong { color: #181b24; font-weight: 600; }

.goal-checks {
  list-style: none; display: grid; gap: .42rem;
  border-top: 1px dashed #d6cdb8; padding-top: .85rem; margin: 0;
}
.goal-checks li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .84rem; color: #181b24; line-height: 1.42;
}
.goal-checks li::before {
  content: "✓"; flex: none; width: 18px; height: 18px; border-radius: 5px;
  display: grid; place-items: center; font-size: .7rem; font-weight: 700;
  background: color-mix(in srgb, var(--c) 20%, transparent);
  color: var(--cd); margin-top: 1px;
}
@media (max-width: 860px) {
  .goal-ladder { grid-template-columns: 1fr; max-width: 480px; }
  .goal-step.c50, .goal-step.c70, .goal-step.c90 { min-height: auto; }
}

.m1-progi-uwaga {
  max-width: 660px; margin: 1.6rem auto 0; text-align: center;
  font-size: .92rem; color: #575246; line-height: 1.55; padding-inline: 1.25rem;
}

/* ---------- KARUZELA 4 PEŁNYCH STRON A4 — OTWARTE „BIURKO” NA PEŁNĄ SZEROKOŚĆ ---------- */
.m1-carousel { width: 100%; }

.m1-tabs {
  display: flex; justify-content: center; gap: .4rem 1.5rem; flex-wrap: wrap;
  width: fit-content; max-width: calc(100% - 2.5rem);
  margin: 0 auto .65rem; padding-bottom: .55rem;
  border-bottom: 1px solid rgba(24, 27, 36, .12);
}
.m1-tabs button {
  display: inline-flex; align-items: center;
  padding: .2rem .1rem .45rem; margin-bottom: -.62rem;
  border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  font-family: var(--font-body); font-size: .92rem; font-weight: 500;
  background: transparent; color: #6B6456;
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.m1-tabs button:hover { color: #181b24; }
.m1-tabs button[aria-pressed="true"] {
  color: #181b24; font-weight: 600; border-bottom-color: #A8459B;
}

.m1-carousel-stage { position: relative; width: 100%; }
.m1-track {
  position: relative;
  display: flex; gap: clamp(1rem, 2.2vw, 2.4rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.35rem calc(50% - min(360px, 43vw)) 1.15rem;
  scrollbar-width: none;
}
.m1-track::-webkit-scrollbar { display: none; }
.m1-track:focus-visible { outline: 2px solid #A8459B; outline-offset: -4px; }

.m1-slide {
  flex: none;
  width: min(720px, 86vw);
  scroll-snap-align: center;
  display: grid; gap: .95rem;
  opacity: .52;
  transform: scale(.91) rotate(2deg);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.m1-slide.is-prev { transform: scale(.91) rotate(-2deg); }
.m1-slide.is-active { opacity: 1; transform: scale(1) rotate(0deg); }
@media (prefers-reduced-motion: reduce) {
  .m1-slide, .m1-slide.is-prev { transform: scale(.95); }
}

.m1-slide-btn {
  position: relative; display: block; width: 100%;
  aspect-ratio: 1200 / 848;
  border-radius: 14px; overflow: hidden;
  background: var(--ink-deep);
  border: 1px solid rgba(16, 24, 43, .16);
  box-shadow: 0 26px 52px -26px rgba(16, 24, 43, .45), 0 4px 14px -4px rgba(16, 24, 43, .14);
  cursor: pointer; padding: 0;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.m1-slide.is-active .m1-slide-btn { cursor: zoom-in; }
.m1-slide.is-active .m1-slide-btn:hover {
  transform: translateY(-4px);
  border-color: #A8459B;
  box-shadow: 0 32px 60px -24px rgba(16, 24, 43, .55);
}
.m1-slide-btn:focus-visible { outline: 3px solid #A8459B; outline-offset: 3px; }
.m1-slide-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m1-zoom {
  position: absolute; right: .75rem; bottom: .75rem;
  padding: .4rem .78rem; border-radius: 999px;
  background: rgba(11, 17, 32, .88); color: var(--ivory);
  border: 1px solid rgba(242, 237, 228, .28);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em;
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.m1-slide.is-active .m1-zoom { opacity: 1; }
.m1-slide.is-active .m1-slide-btn:hover .m1-zoom {
  background: var(--accent); color: var(--ink-deep); border-color: var(--accent);
}

.m1-slide figcaption {
  display: grid; gap: .2rem; text-align: center;
  padding-inline: .5rem;
  transition: opacity .3s var(--ease);
}
.m1-slide:not(.is-active) figcaption { opacity: 0; pointer-events: none; }
.m1-slide-tag {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: #A8459B;
}
.m1-slide figcaption strong {
  font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; color: #181b24;
}
.m1-slide figcaption > span:last-child {
  font-size: .94rem; color: #575246; max-width: 54ch; margin-inline: auto; line-height: 1.5;
}

.m1-arrow {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 4;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid #d6cdb8;
  background: #fcf9f2; color: #181b24;
  font-size: 1.15rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -12px rgba(16, 24, 43, .36);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.m1-arrow:hover {
  transform: translateY(-50%) scale(1.07);
  border-color: var(--ink-deep); background: var(--ink-deep); color: var(--ivory);
}
.m1-arrow--prev { left: max(1rem, calc(50% - 420px)); }
.m1-arrow--next { right: max(1rem, calc(50% - 420px)); }

/* kropki 1–4 na stronach biurka: na stronie same numery, opis w dymku po najechaniu (komputer) albo dotknięciu (telefon, js/mapa-v1.js).
   Warstwa leży nad przyciskiem powiększenia, bo przycisk nie może mieć w środku innych przycisków. */
.m1-slide { position: relative; }
.m1-kropki {
  position: absolute; left: 0; top: 0; z-index: 3; width: 100%; aspect-ratio: 1200 / 848;
  pointer-events: none; transition: transform .28s var(--ease);
}
/* strona i kropki unoszą się razem, czy kursor jest na stronie, czy na kropce */
.m1-slide.is-active:has(.m1-slide-btn:hover) .m1-kropki,
.m1-slide.is-active:has(.m1-kropka:hover) .m1-kropki,
.m1-slide.is-active:has(.m1-kropka:hover) .m1-slide-btn { transform: translateY(-4px); }
.m1-kropka {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border-radius: 50%; cursor: help;
  border: 2px solid var(--ink-deep); background: var(--ember); color: var(--ink-deep);
  font: 700 .74rem/1 var(--font-mono); display: grid; place-items: center;
  box-shadow: 0 0 0 3px rgba(224, 138, 60, .4), 0 4px 10px rgba(0, 0, 0, .45);
  opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), box-shadow .2s var(--ease);
}
.m1-slide.is-active .m1-kropka {
  opacity: 1; transform: scale(1); pointer-events: auto;
  transition-delay: calc(var(--i) * 90ms + 250ms), calc(var(--i) * 90ms + 250ms), 0s;
}
.m1-kropka:hover, .m1-kropka:focus-visible, .m1-kropka.is-on { box-shadow: 0 0 0 6px rgba(224, 138, 60, .55), 0 4px 10px rgba(0, 0, 0, .45); z-index: 2; }
.m1-kropka:focus-visible { outline: 2px solid #fffdf8; outline-offset: 3px; }
/* dymek: ciemny z pomarańczową ramką, widoczny i na granacie, i na białej kartce zadania */
.m1-dymek {
  position: absolute; top: calc(100% + 10px); left: -6px; z-index: 5;
  width: max-content; max-width: 250px; padding: .55rem .75rem; border-radius: 10px;
  background: var(--ink-deep); color: var(--ivory); border: 1.5px solid var(--ember);
  font: 500 .8rem/1.45 var(--font-body); text-align: left;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .75);
  opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; pointer-events: none;
}
.m1-kropka--gora .m1-dymek { top: auto; bottom: calc(100% + 10px); }
.m1-kropka--lewo .m1-dymek { left: auto; right: -6px; }
.m1-kropka--srodek .m1-dymek { left: 50%; transform: translateX(-50%); }
.m1-kropka:hover .m1-dymek, .m1-kropka:focus-visible .m1-dymek, .m1-kropka.is-on .m1-dymek { opacity: 1; visibility: visible; }
@media (max-width: 860px) {
  .m1-kropka { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: .7rem; }
  .m1-dymek { max-width: 210px; font-size: .78rem; }
}

.m1-desk-foot {
  display: flex; align-items: center; justify-content: center; gap: .85rem;
  margin-top: .35rem; padding-inline: 1.25rem;
}
.m1-dots { display: flex; align-items: center; gap: .25rem; }
.m1-dots button {
  position: relative; width: 32px; height: 32px;
  display: grid; place-items: center;
  border: none; padding: 0; cursor: pointer; background: transparent;
}
.m1-dots button::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: #c8bfa8;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.m1-dots button[aria-pressed="true"]::before {
  background: #A8459B; width: 24px;
}
.m1-counter {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em;
  color: #575246;
}

@media (max-width: 859px) {
  .m1-tabs {
    justify-content: flex-start; flex-wrap: nowrap; gap: 1.15rem;
    overflow-x: auto; scrollbar-width: none;
    width: auto; max-width: 100%; padding: 0 1.25rem .55rem;
  }
  .m1-tabs::-webkit-scrollbar { display: none; }
  .m1-tabs button { flex-shrink: 0; font-size: .84rem; padding: .2rem .05rem .45rem; }
  .m1-track { padding: 1rem calc(50% - 43vw) .85rem; gap: 1rem; }
  .m1-arrow {
    top: auto; bottom: -2.95rem; transform: none;
    width: 40px; height: 40px; font-size: 1rem;
  }
  .m1-arrow:hover { transform: scale(1.06); }
  .m1-arrow--prev { left: 1.25rem; }
  .m1-arrow--next { right: 1.25rem; }
  .m1-desk-foot { padding: .35rem 4.2rem 0; }
}

/* ---------- ZAUFANIE — ciemna sekcja, wycięty fartuch + tekst ---------- */
.m1-trust {
  position: relative; overflow: hidden;
  padding: clamp(3.2rem, 2.4rem + 3vw, 5.2rem) 1.25rem 0;
  background: var(--ink-deep);
}
.m1-trust::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("../img/molecules-dark-3.svg");
  background-size: 560px auto; background-repeat: repeat-y; background-position: left -160px top;
  opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 32%);
          mask-image: linear-gradient(90deg, #000 0%, transparent 32%);
}
.m1-trust-grid {
  position: relative; z-index: 1;
  width: min(980px, 100%); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.8rem, 1.4rem + 2.4vw, 3.6rem);
  align-items: end;
}
.m1-trust-foto {
  position: relative; justify-self: center;
  width: min(100%, 300px);
}
.m1-trust-foto::before {
  content: ""; position: absolute; inset: 14% -24% 0;
  background: radial-gradient(closest-side, rgba(196, 101, 184, .3), rgba(63, 201, 214, .1) 60%, transparent);
  z-index: 0; pointer-events: none;
}
.m1-trust-foto img { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.m1-trust-text { padding-bottom: clamp(2.8rem, 2.2rem + 2.5vw, 4.6rem); }
.m1-trust h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.45rem); color: var(--ivory);
  margin: .5rem 0 1rem;
}
.m1-trust p { color: #C1C8D6; font-size: 1rem; line-height: 1.7; margin: 0 0 1rem; max-width: 58ch; }
.m1-trust p strong { color: var(--ivory); font-weight: 600; }
.m1-bio-link {
  color: var(--ivory); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(63, 201, 214, .55);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease, text-shadow .2s ease;
}
.m1-bio-link:hover, .m1-bio-link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  text-shadow: 0 0 14px rgba(63, 201, 214, .35);
}
.m1-bio-link--ext::after {
  content: "\00a0↗";
  font-size: .78em; font-weight: 500;
  color: var(--cyan); opacity: .82;
  transition: opacity .2s ease;
}
.m1-bio-link--ext:hover::after { opacity: 1; }

.m1-trust-links {
  display: flex; flex-wrap: wrap; gap: .78rem .9rem;
  margin-top: 1.55rem;
}
.m1-cyan-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .58rem;
  padding: .7rem 1.18rem;
  border-radius: 12px;
  font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  letter-spacing: .005em; text-decoration: none;
  color: #8BEBF3;
  background: linear-gradient(135deg, rgba(63, 201, 214, .15), rgba(63, 201, 214, .05));
  border: 1px solid rgba(63, 201, 214, .5);
  box-shadow:
    0 0 24px -6px rgba(63, 201, 214, .46),
    0 10px 22px -14px rgba(0, 0, 0, .75),
    inset 0 1px 0 rgba(186, 246, 252, .22);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, color .22s ease;
}
.m1-cyan-ico {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--cyan); opacity: .92;
}
.m1-cyan-arr {
  display: inline-block; color: var(--cyan);
  transition: transform .22s ease;
}
.m1-cyan-btn:hover, .m1-cyan-btn:focus-visible {
  transform: translateY(-2px);
  color: #ECFDFF;
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(63, 201, 214, .26), rgba(63, 201, 214, .1));
  box-shadow:
    0 0 34px -4px rgba(63, 201, 214, .7),
    0 14px 28px -12px rgba(0, 0, 0, .82),
    inset 0 1px 0 rgba(205, 250, 255, .36);
}
.m1-cyan-btn:hover .m1-cyan-arr { transform: translateX(3px); }

/* Wariant C: mocniejszy przycisk kursu z jasnym cyjanowym obrysem i wyraźną poświatą */
.m1-cyan-btn--primary {
  background: linear-gradient(135deg, #4FD5E1, #2FB3C2);
  border-color: #84EDF6;
  color: #07131D; font-weight: 600;
  box-shadow:
    0 0 30px -4px rgba(63, 201, 214, .68),
    0 12px 24px -12px rgba(0, 0, 0, .8),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}
.m1-cyan-btn--primary .m1-cyan-ico,
.m1-cyan-btn--primary .m1-cyan-arr { color: #07131D; opacity: 1; }
.m1-cyan-btn--primary:hover, .m1-cyan-btn--primary:focus-visible {
  background: linear-gradient(135deg, #6CE1EC, #39C3D1);
  border-color: #B4F7FC;
  color: #050F18;
  box-shadow:
    0 0 42px -2px rgba(63, 201, 214, .85),
    0 16px 30px -12px rgba(0, 0, 0, .85),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}
@media (max-width: 560px) {
  .m1-cyan-btn { width: 100%; justify-content: center; }
}
@media (max-width: 780px) {
  .m1-trust-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .m1-trust-foto { order: 2; width: min(74%, 260px); }
  .m1-trust-text { order: 1; padding-bottom: 0; }
}

/* ---------- FINAŁ: GRA BŁĘDÓW (topografia + pieczęcie-atomy 50/70/90 z elektronami — 3A) ---------- */
.m1-final {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(4.2rem, 3.2rem + 4vw, 7rem) 1.25rem;
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
}
.m1-final::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 64% at 50% 105%, rgba(63, 201, 214, .16), transparent 70%),
    radial-gradient(ellipse 36% 44% at 13% 26%, rgba(116, 180, 155, .14), transparent 68%),
    radial-gradient(ellipse 36% 46% at 86% 48%, rgba(232, 157, 70, .13), transparent 68%),
    radial-gradient(ellipse 30% 38% at 17% 84%, rgba(217, 72, 107, .12), transparent 68%);
}
.m1-final-decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.m1-final-topo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .38;
  -webkit-mask-image: radial-gradient(ellipse 42% 54% at 50% 52%, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .74) 64%, #000 100%);
          mask-image: radial-gradient(ellipse 42% 54% at 50% 52%, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .74) 64%, #000 100%);
}
.m1-final-atoms {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}
.m1-atom-node {
  position: absolute; z-index: 3; pointer-events: none;
  width: var(--sz, 180px); height: var(--sz, 180px);
  display: grid; place-items: center;
  color: var(--ac);
}
.m1-atom-node--50 {
  --sz: clamp(146px, 13.5vw, 188px);
  --ac: #74B49B; --ac-glow: rgba(116, 180, 155, .46); --ac-ring: rgba(116, 180, 155, .45);
  left: clamp(3%, 7.5vw, 11%); top: 15%;
}
.m1-atom-node--70 {
  --sz: clamp(160px, 14.5vw, 206px);
  --ac: #E89D46; --ac-glow: rgba(232, 157, 70, .46); --ac-ring: rgba(232, 157, 70, .48);
  right: clamp(3%, 7.5vw, 10.5%); top: 34%;
}
.m1-atom-node--90 {
  --sz: clamp(132px, 11.8vw, 166px);
  --ac: #D9486B; --ac-glow: rgba(217, 72, 107, .48); --ac-ring: rgba(217, 72, 107, .48);
  left: clamp(6%, 11.5vw, 15.5%); bottom: 10%;
}
.m1-atom-seal {
  width: 100%; height: 100%;
  animation: m1-atom-spin var(--spd, 54s) linear infinite;
}
.m1-atom-seal--rev { animation-direction: reverse; }
.m1-atom-core {
  position: absolute; width: 48%; height: 48%; border-radius: 50%;
  background: radial-gradient(circle, var(--ac-glow) 0%, transparent 72%);
  border: 1px solid var(--ac-ring);
  box-shadow: 0 0 28px -4px var(--ac-glow), inset 0 0 18px -6px var(--ac-glow);
  display: grid; place-items: center;
}
.m1-atom-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: calc(var(--sz, 180px) * .20);
  letter-spacing: -.03em; color: var(--ac);
  text-shadow: 0 0 18px var(--ac-glow);
}
@keyframes m1-atom-spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .m1-atom-node--50 { left: 2%; }
  .m1-atom-node--70 { right: 2%; }
  .m1-atom-node--90 { display: none; }
}
@media (max-width: 860px) {
  .m1-atom-node { display: none; }
  .m1-final-topo { opacity: .24; }
}

.m1-final-core { position: relative; z-index: 4; max-width: 680px; margin-inline: auto; }
.m1-final .kicker {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ember);
}
.m1-final h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); line-height: 1.08;
  color: var(--ivory); max-width: 17ch; margin: .75rem auto 1rem;
}
.m1-final h2 em { font-style: italic; color: var(--cyan); }
.m1-final .sub { color: #C1C8D6; font-size: 1.03rem; max-width: 46ch; margin: 0 auto 1.9rem; text-wrap: balance; }

/* ---------- STOPKA MINIMALNA ---------- */
.m1-footer {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.2rem; flex-wrap: wrap;
  width: min(1140px, 100% - 2.5rem); margin-inline: auto;
  padding: 1.7rem 0 2.2rem;
  border-top: 1px solid var(--ink-line);
  font-size: .82rem; color: var(--slate);
}
.m1-footer a, .m1-footer button { color: var(--slate); font-size: inherit; }
.m1-footer a:hover, .m1-footer button:hover { color: var(--ivory); }
@media (max-width: 899px) {
  .m1-footer { padding-bottom: 5.2rem; } /* miejsce na mobilny pasek .m1-pasek */
}

/* ---------- PASEK NA TELEFONIE ---------- */
.m1-pasek {
  position: fixed;
  left: .75rem; right: .75rem;
  bottom: max(.75rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: block; text-align: center;
  padding: .92rem 1rem; border-radius: 12px;
  background: var(--accent); color: var(--ink-deep);
  font-weight: 600; font-size: .96rem;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .65);
}
.m1-pasek[hidden] { display: none; }
@media (min-width: 900px) { .m1-pasek { display: none !important; } }

/* ---------- PODGLĄD STRONY PDF-U (LIGHTBOX) ---------- */
.m1-podglad {
  margin: auto; max-width: min(1220px, 95vw); max-height: 92vh;
  padding: 0; border: 1px solid var(--ink-line); border-radius: 14px;
  background: var(--ink-deep); color: var(--ivory); overflow: hidden;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .75);
}
.m1-podglad::backdrop { background: rgba(5, 8, 16, .84); }
.m1-podglad-ramka { position: relative; display: grid; max-height: 92vh; }
.m1-podglad img {
  width: auto; max-width: 100%; max-height: calc(92vh - 4.2rem);
  height: auto; display: block; margin-inline: auto; object-fit: contain;
}
.m1-podglad-x {
  position: absolute; top: .55rem; right: .55rem; z-index: 2;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(11, 17, 32, .88); color: var(--ivory);
  font-size: 1.5rem; line-height: 1; border: 1px solid var(--ink-line);
  display: grid; place-items: center;
}
.m1-podglad-x:hover { background: var(--ink-panel); border-color: var(--accent-bright); }
.m1-podglad-podpis {
  padding: .85rem 1.2rem; border-top: 1px solid var(--ink-line);
  font-size: .88rem; color: #C9CFDA; background: #0E1528;
}

@media (prefers-reduced-motion: reduce) {
  .goal-card, .goal-card:hover,
  .m1-slide-btn, .m1-slide-btn:hover,
  .cd-glowny, .cd-glowny:hover,
  .m1-cyan-btn, .m1-cyan-btn:hover, .m1-cyan-arr,
  .m1-form .btn, .m1-form .btn:hover, .m1-form .btn::after, .m1-btn-arr { transition: none; transform: none; }
  .goal-seal-ring, .goal-step.goal-step--obrot .goal-seal-ring,
  .m1-atom-seal { animation: none; }
  .m1-kropki, .m1-kropka, .m1-dymek { transition: none; }
  .m1-slide.is-active:has(.m1-slide-btn:hover) .m1-kropki,
  .m1-slide.is-active:has(.m1-kropka:hover) .m1-kropki,
  .m1-slide.is-active:has(.m1-kropka:hover) .m1-slide-btn { transform: none; }
}
