/* Wielki Mistrz 2026 — ta sama koncepcja co PROkid/PROspace (hero z animowanym tłem i orbami,
   sekcje .section, karty kroków, karta formularza), w barwach "mistrzowskich": granat + żółty + czerwony. */

.hero--wm { position: relative; overflow: hidden; background: #0d1829; }
.hero--wm .hero__gradient-bg {
  position: absolute; inset: 0;
  background: linear-gradient(-45deg, #0d1829, #145d9a, #0d1829, #1e7ccc, #f1e216, #145d9a, #0d1829);
  background-size: 400% 400%;
  animation: wm-flow 30s ease infinite;
  opacity: .9;
}
@keyframes wm-flow {
  0% { background-position: 0% 50%; } 25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; } 75% { background-position: 50% 100%; } 100% { background-position: 0% 50%; }
}
.hero--wm .orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero--wm .orb--yellow { width: 460px; height: 460px; background: radial-gradient(circle, #f1e216 0%, transparent 70%); top: -140px; right: -80px; opacity: .55; animation: wm-drift-1 16s ease-in-out infinite alternate; }
.hero--wm .orb--red { width: 380px; height: 380px; background: radial-gradient(circle, #e61140 0%, transparent 70%); bottom: -120px; left: 10%; opacity: .5; animation: wm-drift-2 20s ease-in-out infinite alternate; }
.hero--wm .orb--blue { width: 420px; height: 420px; background: radial-gradient(circle, #1e7ccc 0%, transparent 70%); top: 30%; left: 40%; opacity: .5; animation: wm-drift-1 24s ease-in-out infinite alternate-reverse; }
@keyframes wm-drift-1 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,50px) scale(1.15); } 100% { transform: translate(40px,-30px) scale(.95); } }
@keyframes wm-drift-2 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px,-40px) scale(1.1); } 100% { transform: translate(-30px,30px) scale(1); } }
.hero--wm .hero__overlay { position: absolute; inset: 0; background: rgba(8,14,28,.35); }
.hero--wm .hero__label { color: #f1e216; }
.hero--wm .hero__label::before { background: #f1e216; }
.hero--wm .hero__title { color: #fff; }
.hero--wm .hero__title em { color: #f1e216; font-style: normal; }
.hero--wm .hero__sub { color: rgba(255,255,255,.8); }
.hero--wm .hero__stats { border-top-color: rgba(255,255,255,.18); }
.hero--wm .hero__stat-num { color: #f1e216; }
.hero--wm .hero__stat-label { color: rgba(255,255,255,.65); }
@media (prefers-reduced-motion: reduce) { .hero--wm .hero__gradient-bg, .hero--wm .orb { animation: none; } }

/* Karty korzyści (odpowiednik .benefit-card z PROkid, z ikoną emoji zamiast zdjęcia) */
.wm-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.wm-card { background: #fff; border: 2px solid #145d9a; border-radius: var(--r-xl); padding: 1.4rem; transition: all var(--t); }
.wm-card:hover { border-color: #f1e216; box-shadow: 0 8px 28px rgba(241,226,22,.25); transform: translateY(-3px); }
.wm-card__ico { font-size: 2.2rem; margin-bottom: .6rem; }
.wm-card__title { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: .3rem; color: #0a0a0a; }
.wm-card__desc { font-size: .88rem; color: #555; line-height: 1.55; }

.wm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.wm-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .75rem; }
.wm-list li { display: flex; gap: .75rem; align-items: center; font-size: .95rem; }
.wm-list li span { width: 24px; height: 24px; border-radius: 50%; background: #f7de10; color: #1a1200; display: flex; align-items: center; justify-content: center; font-size: .7rem; flex-shrink: 0; }

/* Ambasador */
.wm-ambassador { background: linear-gradient(135deg, #0d1829, #145d9a); color: #fff; border-radius: var(--r-xl); padding: 2.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; }
.wm-ambassador__badge { width: 110px; height: 110px; border-radius: 50%; background: #f1e216; color: #0a0a0a; display: flex; align-items: center; justify-content: center; font-size: 3rem; border: 4px solid #fff; }
.wm-ambassador h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: .5rem; }
.wm-ambassador p { color: rgba(255,255,255,.82); line-height: 1.7; }

/* Formularz — ta sama karta co wizard PROkid */
.wm-form-section { background: #fffbeb; padding: 5rem 0; }
.wm-form-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; max-width: 760px; margin: 0 auto; border: 1.5px solid #fde68a; }
.wm-form-head { background: linear-gradient(135deg, #f1e216 0%, #e8d000 100%); padding: 1.4rem 2rem; border-bottom: 3px solid #e61140; }
.wm-form-head h3 { font-family: var(--font-heading); font-size: 1.4rem; color: #0a0a0a; }
.wm-form-head p { font-size: .85rem; color: rgba(0,0,0,.65); margin-top: .2rem; }
.wm-form-body { padding: 2rem; }
.wm-fieldset { margin-bottom: 1.75rem; }
.wm-fieldset__title { font-family: var(--font-heading); font-size: 1rem; letter-spacing: .04em; color: #145d9a; margin-bottom: .9rem; text-transform: uppercase; }
.wm-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.wm-field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; color: #333; }
.wm-field input[type=text], .wm-field input[type=email], .wm-field input[type=tel], .wm-field input[type=date], .wm-field select { width: 100%; padding: .7rem .85rem; border: 1.5px solid #d6dbe4; border-radius: 10px; font-family: inherit; font-size: .95rem; background: #fff; }
.wm-field input:focus, .wm-field select:focus { outline: none; border-color: #145d9a; box-shadow: 0 0 0 3px rgba(20,93,154,.15); }
.wm-forms { display: grid; gap: .6rem; }
.wm-radio { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; border: 1.5px solid #d6dbe4; border-radius: 12px; cursor: pointer; font-size: .92rem; }
.wm-radio:has(input:checked) { border-color: #145d9a; background: #eff6ff; }
.wm-radio input { margin-top: .2rem; }
.wm-consents { display: grid; gap: .8rem; }
.wm-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .84rem; line-height: 1.55; color: #333; cursor: pointer; }
.wm-check input { margin-top: .25rem; flex-shrink: 0; width: 18px; height: 18px; }
.wm-check small { color: #777; }
.wm-error { color: #b91c1c; font-size: .8rem; margin-top: .3rem; }
.wm-alert { background: #fee2e2; border: 1px solid #fecaca; color: #991b1b; padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.25rem; font-size: .9rem; }
.wm-thanks { text-align: center; padding: 3rem 2rem; }
.wm-thanks__ico { font-size: 3rem; margin-bottom: .75rem; }
.wm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wm-docs { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }

@media (max-width: 900px) {
  .wm-two { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .wm-ambassador { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 2rem 1.5rem; }
  .wm-ambassador__badge { margin: 0 auto; }
}
@media (max-width: 560px) {
  .wm-row { grid-template-columns: minmax(0, 1fr); }
  .wm-cards { grid-template-columns: minmax(0, 1fr); }
  .wm-form-body { padding: 1.25rem; }
  .wm-form-head { padding: 1.1rem 1.25rem; }
  .wm-form-section { padding: 3rem 0; }
}

/* Karty kroków — ta sama stylistyka co PROkid (.step-card) */
.step-card { background: #fff; border-radius: var(--r-xl); padding: 2rem; border: 2.5px solid #145d9a; text-align: center; position: relative; transition: all var(--t); }
.step-card:hover { border-color: #f1e216; box-shadow: 0 8px 32px rgba(241,226,22,.25); transform: translateY(-3px); }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: #f1e216; color: #0a0a0a; font-family: var(--font-heading); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; border: 2px solid #0a0a0a; }
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.step-title { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: .6rem; color: #0a0a0a; }
.step-desc { font-size: .9rem; color: #555; line-height: 1.6; }

/* Kapsułka „Ambasador projektu” — żółte tło, czarne litery (Rafał 2026-09-25: biel na żółci była nieczytelna). */
.wm-capsule { display: inline-flex; align-items: center; background: #f1e216; color: #0a0a0a; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .4rem 1rem; border-radius: var(--r-full); margin-bottom: 1rem; }

/* Akapity pod nagłówkami wyśrodkowane razem z nagłówkiem (wcześniej trzymały się lewej krawędzi) */
.wm-sub { margin-left: auto; margin-right: auto; text-align: center; color: #555; }

/* Formularz dwukolumnowy: po lewej formularz, po prawej informacje uzupełniające */
.wm-form-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: start; max-width: 1120px; margin: 0 auto; }
.wm-form-main .wm-form-card { max-width: none; margin: 0; }
.wm-side { display: grid; gap: 1rem; position: sticky; top: 130px; }
.wm-side__card { background: #fff; border: 1.5px solid #fde68a; border-radius: var(--r-xl); padding: 1.4rem; }
.wm-side__card--accent { background: #0d1829; border-color: #0d1829; color: #fff; }
.wm-side__title { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: .8rem; color: #0a0a0a; }
.wm-side__card--accent .wm-side__title { color: #f1e216; }
.wm-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; counter-reset: t; }
.wm-timeline li { counter-increment: t; position: relative; padding-left: 2.4rem; font-size: .86rem; line-height: 1.5; }
.wm-timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #f1e216; color: #0a0a0a; font-family: var(--font-heading); display: flex; align-items: center; justify-content: center; font-size: .85rem; border: 2px solid #0a0a0a; }
.wm-timeline b { display: block; color: #0a0a0a; }
.wm-timeline span { color: #555; }
.wm-side__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .86rem; line-height: 1.55; color: rgba(255,255,255,.88); }
.wm-side__list b { color: #fff; }
@media (max-width: 960px) {
  .wm-form-grid { grid-template-columns: minmax(0, 1fr); }
  .wm-side { position: static; }
}
.wm-field input[type=password] { background: #fff !important; }
