/*
Theme Name: Networking w biznesie
Theme URI: https://januszwala.pl
Author: Janusz Wala / Online Group
Author URI: https://onlinegroup.pl
Description: Motyw blokowy „Scena” dla marki osobistej Janusza Wali – szkolenia i warsztaty z networkingu w biznesie. Ciemny granat, reflektor sceniczny, pionowe karty z lekcjami wideo.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: networking-w-biznesie
*/

:root {
  --nwb-navy-deep: #03152F;
  --nwb-navy: #011D39;
  --nwb-surface: #0E264E;
  --nwb-electric: #0F56FA;
  --nwb-electric-bright: #4D82FF;
  --nwb-ice: #DEE5FE;
  --nwb-muted: #B9C6EA;
  --nwb-radius: 18px;
  --nwb-ease: cubic-bezier(.2, .7, .1, 1);
}

html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[id] { scroll-margin-top: 2rem; }
:focus-visible { outline: 2px solid var(--nwb-electric-bright); outline-offset: 3px; }

.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > footer { margin-block-start: 0; }

h1, h2, .hero-headline { font-variation-settings: "opsz" 96; }

/* ---------- Buttons ---------- */
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  white-space: nowrap;
  transition: transform .3s var(--nwb-ease), box-shadow .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
}
.wp-block-button:not(.button-ghost):not(.button-header):not(.button-light) .wp-block-button__link {
  box-shadow: 0 10px 30px -8px rgba(15, 86, 250, .7);
}
.wp-block-button:not(.button-ghost):not(.button-header):not(.button-light) .wp-block-button__link:hover,
.wp-block-button:not(.button-ghost):not(.button-header):not(.button-light) .wp-block-button__link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -6px rgba(15, 86, 250, .95), 0 0 0 4px rgba(15, 86, 250, .25);
}
.button-arrow .wp-block-button__link::after {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--nwb-ease);
}
.button-arrow .wp-block-button__link:hover::after { transform: translateX(4px); }

.button-ghost .wp-block-button__link {
  background: rgba(14, 38, 78, .35);
  color: #fff;
  border: 1.5px solid rgba(222, 229, 254, .4);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.button-ghost .wp-block-button__link:hover,
.button-ghost .wp-block-button__link:focus-visible {
  background: rgba(222, 229, 254, .1);
  border-color: var(--nwb-ice);
  color: #fff;
  transform: translateY(-3px);
}
.button-play .wp-block-button__link::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.button-header .wp-block-button__link {
  padding: .6rem 1.25rem;
  font-size: .93rem;
  background: #fff;
  color: var(--nwb-navy-deep);
}
.button-header .wp-block-button__link:hover,
.button-header .wp-block-button__link:focus-visible {
  background: var(--nwb-electric);
  color: #fff;
  box-shadow: 0 0 24px rgba(15, 86, 250, .6);
}
.button-light .wp-block-button__link {
  background: transparent;
  color: var(--nwb-navy-deep);
  border: 1.5px solid rgba(3, 21, 47, .2);
}
.button-light .wp-block-button__link:hover,
.button-light .wp-block-button__link:focus-visible {
  background: var(--nwb-navy-deep);
  border-color: var(--nwb-navy-deep);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part {
  position: absolute;
  top: var(--wp-admin--admin-bar--height, 0px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
}
.site-header {
  background: transparent;
  animation: header-drop 1s var(--nwb-ease) .2s both;
}
.site-header-inner { gap: 1.5rem; }
.site-logo { margin: 0; flex-shrink: 0; }
.site-logo img { height: 40px; width: auto; display: block; }
.header-right { gap: 2rem; }
.main-nav .wp-block-navigation__container { gap: 1.75rem; }
.main-nav .wp-block-navigation-item__content {
  position: relative;
  color: var(--nwb-ice);
  padding: .35rem 0;
  transition: color .3s ease;
}
.main-nav .wp-block-navigation__container .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--nwb-electric-bright);
  box-shadow: 0 0 10px var(--nwb-electric);
  transition: width .35s var(--nwb-ease), left .35s var(--nwb-ease);
}
.main-nav .wp-block-navigation-item__content:hover,
.main-nav .wp-block-navigation-item__content:focus-visible { color: #fff; }
.main-nav .wp-block-navigation__container .wp-block-navigation-item__content:hover::after,
.main-nav .wp-block-navigation__container .wp-block-navigation-item__content:focus-visible::after { width: 100%; left: 0; }
@media (min-width: 600px) {
  .main-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none !important; }
}
.main-nav .wp-block-navigation__responsive-container-open {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(222, 229, 254, .3);
  border-radius: 12px;
  color: #fff;
}
.main-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: rgba(3, 21, 47, .98) !important;
  color: #fff !important;
  padding: 2rem 1.5rem;
}
.main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 3rem;
}
.main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  gap: 1.25rem;
}
.main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-family: var(--wp--preset--font-family--display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.main-nav .wp-block-navigation__responsive-container-close { color: #fff; }

.social-round { gap: .4rem !important; }
.social-round .wp-social-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(222, 229, 254, .22);
  color: var(--nwb-ice);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--nwb-ease);
}
.social-round .wp-social-link a { padding: 0 !important; display: grid; place-items: center; width: 100%; height: 100%; line-height: 0; }
.social-round .wp-social-link svg { display: block; margin: 0; }
.social-round .wp-social-link svg { width: 16px; height: 16px; }
.social-round .wp-social-link:hover,
.social-round .wp-social-link:focus-within {
  background: var(--nwb-electric);
  border-color: var(--nwb-electric);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Eyebrows / shared ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nwb-ice);
}
.eyebrow::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nwb-electric-bright);
  box-shadow: 0 0 0 0 rgba(77, 130, 255, .7);
  animation: live-pulse 2.4s ease-out infinite;
}
.eyebrow.has-text-align-center { justify-content: center; }
.is-light-section .eyebrow { color: var(--nwb-electric); }
.section-lead { color: var(--nwb-muted); max-width: 40rem; }
.is-light-section .section-lead { color: #4A5878; }
.has-text-align-center.section-lead { margin-left: auto; margin-right: auto; }
.text-glow {
  color: var(--nwb-electric-bright) !important;
  background: none !important;
  text-shadow: 0 0 40px rgba(15, 86, 250, .65);
}
.is-light-section .text-glow { color: var(--nwb-electric) !important; text-shadow: none; }

/* ---------- Hero ---------- */
.stage-hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 !important;
  align-items: stretch !important;
  overflow: hidden;
  isolation: isolate;
  background: var(--nwb-navy-deep);
}
.stage-hero .wp-block-cover__image-background {
  object-position: right center !important;
  animation: lights-down 2.2s ease-out both;
}
.stage-hero .wp-block-cover__background,
.contact-stage .wp-block-cover__background {
  opacity: 1 !important;
  background:
    linear-gradient(90deg, rgba(3, 21, 47, .96) 0%, rgba(3, 21, 47, .78) 38%, rgba(3, 21, 47, .15) 70%, rgba(3, 21, 47, .35) 100%),
    linear-gradient(0deg, rgba(1, 29, 57, .95) 0%, rgba(1, 29, 57, 0) 30%) !important;
}
.stage-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 130, 255, .7), transparent);
  z-index: 3;
}
.stage-hero > .wp-block-cover__inner-container {
  display: flex;
  align-items: stretch;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.stage-hero-inner {
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 7.5rem;
  gap: 1rem !important;
  align-items: center !important;
}
.hero-copy { position: relative; z-index: 5; padding-bottom: 5rem; flex-basis: 52% !important; }
.hero-headline {
  font-size: clamp(2.6rem, 5.8vw, 4.9rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.035em !important;
  margin: 0 0 1.6rem !important;
}
.hero-subline {
  max-width: 30rem;
  font-size: 1.12rem;
  color: var(--nwb-muted);
  margin: 0 0 2.2rem !important;
}
.hero-subline strong { color: #fff; font-weight: 600; }
.hero-actions { gap: .9rem; }
.hero-quote {
  margin: 2.8rem 0 0 !important;
  padding: 0 0 0 1rem !important;
  border-left: 2px solid var(--nwb-electric) !important;
  max-width: 28rem;
  font-size: .95rem;
  color: var(--nwb-muted);
}
.hero-quote p { font-style: italic; margin: 0; }
.hero-quote cite {
  display: block;
  margin-top: .3rem;
  font-style: normal;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nwb-ice);
}

.hero-stage {
  position: relative;
  align-self: stretch !important;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.hero-stage::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  width: 70%;
  height: 120%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(222, 229, 254, .14), rgba(222, 229, 254, 0) 70%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
  animation: spotlight-on 2s ease-out .5s both;
}
.hero-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 125%;
  aspect-ratio: 1 / 1.05;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(15, 86, 250, .55), rgba(15, 86, 250, .18) 55%, transparent 75%);
  z-index: 0;
  pointer-events: none;
  animation: spotlight-on 2.4s ease-out .3s both, spotlight-breathe 7s ease-in-out 2.7s infinite;
}
.hero-portrait {
  position: relative;
  z-index: 2;
  margin: 0 !important;
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero-portrait img {
  width: auto !important;
  max-width: 115%;
  height: min(78vh, 700px) !important;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 60px rgba(15, 86, 250, .35));
  animation: portrait-reveal 1.6s var(--nwb-ease) .5s both;
}

/* reel cards */
.reel-card {
  position: absolute !important;
  z-index: 4;
  width: 150px;
  aspect-ratio: 9 / 16;
  margin: 0 !important;
  border-radius: var(--nwb-radius);
  overflow: hidden;
  background: var(--nwb-surface);
  border: 1px solid rgba(222, 229, 254, .22);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 6px rgba(14, 38, 78, .55);
  transition: box-shadow .45s ease;
}
.reel-card .wp-block-image { position: absolute; inset: 0; margin: 0; }
.reel-card .wp-block-image a { display: block; height: 100%; }
.reel-card .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--nwb-ease);
}
.reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 21, 47, 0) 45%, rgba(3, 21, 47, .95) 100%);
  pointer-events: none;
}
.reel-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, .7);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 4.5v15l12-7.5z'/%3E%3C/svg%3E") center / 16px no-repeat,
    rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  transition: background-color .3s ease, transform .3s var(--nwb-ease);
}
.reel-card p {
  position: relative;
  z-index: 2;
  margin: 0 .75rem !important;
  pointer-events: none;
}
.reel-card .reel-num {
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--nwb-ice);
  font-size: .64rem;
  margin-top: auto !important;
}
.reel-card .reel-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: .75rem !important;
}
.reel-card { display: flex; flex-direction: column; justify-content: flex-end; }
.reel-card:hover { box-shadow: 0 30px 70px -18px rgba(15, 86, 250, .8), 0 0 0 6px rgba(15, 86, 250, .35); }
.reel-card:hover .wp-block-image img { transform: scale(1.06); }
.reel-card:hover::before { transform: scale(1.1); background-color: var(--nwb-electric); }
.reel-card.has-rec .reel-num::before { content: none; }
.reel-rec {
  position: absolute !important;
  top: .6rem;
  left: .6rem;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .6rem !important;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(3, 21, 47, .7);
  color: #fff;
}
.reel-rec::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF4D5E;
  animation: rec-blink 1.4s steps(2, start) infinite;
}
.reel-card-left {
  left: -6%;
  bottom: 22%;
  --reel-tilt: -6deg;
  animation: card-enter 1.2s var(--nwb-ease) 1.9s both, card-drift 9s ease-in-out 3.1s infinite;
}
.reel-card-top {
  right: 2%;
  top: 14%;
  width: 132px;
  --reel-tilt: 5deg;
  animation: card-enter 1.2s var(--nwb-ease) 2.1s both, card-drift 11s ease-in-out 3.3s infinite reverse;
}
.reel-card-bottom {
  right: -3%;
  bottom: 8%;
  --reel-tilt: 3deg;
  animation: card-enter 1.2s var(--nwb-ease) 2.3s both, card-drift 10s ease-in-out 3.5s infinite;
}

/* hero entrance sequence */
.stage-in { animation: rise-in 1s var(--nwb-ease) both; }
.stage-in.d-1 { animation-delay: .7s; }
.stage-in.d-2 { animation-delay: 1s; }
.stage-in.d-3 { animation-delay: 1.6s; }
.stage-in.d-4 { animation-delay: 1.8s; }
.stage-in.d-5 { animation-delay: 2s; }
.headline-rise { animation: line-rise 1.1s var(--nwb-ease) .9s both; }

/* ---------- Sections ---------- */
.section { position: relative; overflow: hidden; }
.section-idea {
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(15, 86, 250, .18), transparent 70%),
    var(--nwb-navy);
}
.versus { gap: 1.5rem !important; }
.versus-card {
  height: 100%;
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 2.75rem) !important;
  border: 1px solid rgba(222, 229, 254, .14);
  background: rgba(14, 38, 78, .55);
}
.versus-card .versus-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nwb-muted);
}
.versus-card h3 { margin-top: .5rem; }
.versus-card p:last-child { color: var(--nwb-muted); }
.versus-card-strong {
  background: linear-gradient(150deg, #0F56FA 0%, #0B3FC0 100%);
  border-color: transparent;
  box-shadow: 0 30px 70px -25px rgba(15, 86, 250, .8);
}
.versus-card-strong .versus-label,
.versus-card-strong p:last-child { color: var(--nwb-ice); }

.big-quote {
  margin-top: clamp(3rem, 6vw, 5rem) !important;
  text-align: center;
  border: 0 !important;
  padding: 0 !important;
}
.big-quote p {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 96;
}
.big-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nwb-muted);
}
.principles { gap: 1.5rem !important; margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.principle {
  border-top: 1px solid rgba(222, 229, 254, .2);
  padding-top: 1.25rem !important;
}
.principle .principle-num {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  color: var(--nwb-electric-bright);
  font-size: 1rem;
  margin: 0;
}
.principle h3 { margin: .35rem 0 .5rem; font-size: 1.35rem; }
.principle p:last-child { color: var(--nwb-muted); margin: 0; }

/* lessons */
.section-lessons {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(15, 86, 250, .28), transparent 70%),
    var(--nwb-navy-deep);
}
.section-lessons::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(900px, 90%);
  height: 70%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(222, 229, 254, .08), rgba(222, 229, 254, 0) 80%);
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.lessons-row {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 250px);
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem .25rem 1.75rem !important;
  scrollbar-width: thin;
  scrollbar-color: var(--nwb-electric) rgba(222, 229, 254, .1);
}
.lessons-row > * { margin: 0 !important; scroll-snap-align: start; }
.lesson-card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.lesson-card .wp-block-video {
  margin: 0 0 .9rem !important;
  aspect-ratio: 9 / 16;
  border-radius: var(--nwb-radius);
  overflow: hidden;
  background: var(--nwb-surface);
  border: 1px solid rgba(222, 229, 254, .2);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 5px rgba(14, 38, 78, .6);
  transition: box-shadow .45s ease, transform .45s var(--nwb-ease);
}
.lesson-card .wp-block-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--nwb-surface);
}
.lesson-card:hover .wp-block-video {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -18px rgba(15, 86, 250, .8), 0 0 0 5px rgba(15, 86, 250, .35);
}
.lesson-num {
  margin: 0 !important;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nwb-electric-bright);
}
.lesson-title { margin: 0 !important; font-size: 1.2rem !important; line-height: 1.2 !important; }
.lesson-takeaway { margin: 0 !important; font-size: .95rem; color: var(--nwb-muted); line-height: 1.5; }
.lessons-follow {
  gap: 1rem 1.5rem;
  margin-top: 2rem !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: 999px;
  border: 1px solid rgba(222, 229, 254, .16);
  background: rgba(14, 38, 78, .45);
}
.lessons-follow p { margin: 0; font-weight: 600; }
.scroll-hint { font-size: .85rem; color: var(--nwb-muted); }

/* training (light) */
.is-light-section { color: var(--nwb-navy-deep); }
.is-light-section h2,
.is-light-section h3 { color: var(--nwb-navy-deep); }
.section-training {
  background:
    radial-gradient(50% 50% at 100% 0%, rgba(15, 86, 250, .1), transparent 70%),
    #F7F9FF;
}
.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}
.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.equal-cards .cta-bottom {
  margin-top: auto;
  padding-top: 1.25rem;
  justify-content: flex-start;
}
.training-card {
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 2.5rem) !important;
  background: #fff;
  border: 1px solid rgba(3, 21, 47, .08);
  box-shadow: 0 20px 50px -30px rgba(3, 21, 47, .35);
}
.training-card > * { margin-block: 0; }
.training-card > * + * { margin-block-start: 1rem; }
.card-num {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 2.6rem !important;
  line-height: 1;
  color: var(--nwb-electric);
  letter-spacing: -.04em;
}
.card-tag {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4A5878;
}
.training-card p { color: #4A5878; }
.card-list {
  list-style: none;
  padding: 0 !important;
}
.card-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
  font-weight: 500;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--nwb-electric);
  box-shadow: inset 0 0 0 4px #dfe8ff;
}
.training-card-featured {
  background: linear-gradient(160deg, #0E264E 0%, #03152F 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 40px 80px -30px rgba(15, 86, 250, .6);
}
.is-light-section .training-card-featured h3 { color: #fff; }
.training-card-featured p,
.training-card-featured .card-tag { color: var(--nwb-muted); }
.training-card-featured .card-num { color: var(--nwb-electric-bright); }
.training-card-featured .card-list li::before { box-shadow: inset 0 0 0 4px #1c3a70; }
.training-card-featured .button-light .wp-block-button__link { color: #fff; border-color: rgba(222, 229, 254, .4); }
.training-card-featured .button-light .wp-block-button__link:hover { background: var(--nwb-electric); border-color: var(--nwb-electric); }
.training-note {
  margin-top: 2.5rem !important;
  font-size: .95rem;
  color: #4A5878;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  background: rgba(15, 86, 250, .06);
  border: 1px dashed rgba(15, 86, 250, .3);
}

/* about */
.section-about {
  background:
    radial-gradient(45% 60% at 20% 60%, rgba(15, 86, 250, .25), transparent 70%),
    var(--nwb-navy);
}
.about-columns { gap: clamp(2rem, 5vw, 5rem) !important; }
.about-visual { position: relative; }
.about-stage {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(closest-side at 50% 85%, rgba(15, 86, 250, .6), rgba(15, 86, 250, .15) 60%, transparent 80%),
    linear-gradient(180deg, #0E264E 0%, #03152F 100%);
  border: 1px solid rgba(222, 229, 254, .12);
}
.about-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(222, 229, 254, .12), rgba(222, 229, 254, 0) 70%);
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.about-portrait { margin: 0 !important; position: relative; z-index: 1; }
.about-portrait img {
  display: block;
  max-height: 520px;
  width: auto !important;
  filter: drop-shadow(0 0 50px rgba(15, 86, 250, .35));
}
.about-mountain {
  position: absolute !important;
  right: -1.5rem;
  bottom: -2rem;
  width: 46%;
  max-width: 250px;
  margin: 0 !important;
  z-index: 3;
  transform: rotate(4deg);
  padding: .5rem .5rem .25rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  animation: card-drift-soft 10s ease-in-out infinite;
}
.about-mountain img { border-radius: 10px; display: block; width: 100%; height: auto; }
.about-mountain figcaption {
  margin: .4rem 0 .15rem !important;
  text-align: center;
  font-size: .78rem !important;
  font-weight: 600;
  color: var(--nwb-navy-deep) !important;
}
.about-copy p { color: var(--nwb-muted); }
.about-copy p.eyebrow { color: var(--nwb-ice); }
.about-copy strong { color: #fff; font-weight: 600; }
.facts {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem !important;
  margin-top: 2rem !important;
}
.facts > * { margin: 0 !important; }
.fact {
  padding: 1.15rem 1.25rem !important;
  border-radius: 16px;
  background: rgba(14, 38, 78, .6);
  border: 1px solid rgba(222, 229, 254, .14);
}
.fact .fact-title {
  margin: 0 !important;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff !important;
}
.fact .fact-text { margin: .2rem 0 0 !important; font-size: .9rem; color: var(--nwb-muted); }

/* clients */
.section-clients { background: #fff; }
.logo-wall {
  gap: 1rem !important;
  margin-top: 2.5rem !important;
}
.client-logo {
  margin: 0 !important;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.1rem;
  border-radius: 14px;
  background: #F7F9FF;
  border: 1px solid rgba(3, 21, 47, .06);
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s var(--nwb-ease);
}
.client-logo img {
  max-height: 52px;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .35s ease, opacity .35s ease;
}
.client-logo:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(15, 86, 250, .55);
}
.client-logo:hover img { filter: none; opacity: 1; }

/* contact */
.contact-stage {
  padding-top: var(--wp--preset--spacing--70) !important;
  padding-bottom: var(--wp--preset--spacing--70) !important;
}
.contact-stage .wp-block-cover__image-background { object-position: right center !important; }
.contact-columns { gap: clamp(2rem, 5vw, 4rem) !important; }
.contact-copy p { color: var(--nwb-muted); }
.contact-copy p.eyebrow { color: var(--nwb-ice); }
.follow-box {
  margin-top: 2.5rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid rgba(222, 229, 254, .18);
}
.follow-box p { margin: 0 0 .9rem; font-weight: 600; color: #fff !important; }
.social-pills { gap: .6rem !important; }
.social-pills .wp-social-link {
  border-radius: 999px;
  border: 1px solid rgba(222, 229, 254, .25);
  background: rgba(14, 38, 78, .5);
  color: #fff;
  transition: background-color .3s ease, border-color .3s ease, transform .3s var(--nwb-ease);
}
.social-pills .wp-social-link a { padding: .6rem 1.1rem !important; gap: .5rem; }
.social-pills .wp-social-link svg { width: 18px; height: 18px; }
.social-pills .wp-block-social-link-label { font-weight: 600; font-size: .95rem; }
.social-pills .wp-social-link:hover {
  background: var(--nwb-electric);
  border-color: var(--nwb-electric);
  transform: translateY(-2px);
}
.contact-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(14, 38, 78, .82);
  border: 1px solid rgba(222, 229, 254, .16);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.contact-card > .wp-block-image { margin: 0 !important; }
.contact-card > .wp-block-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.contact-card-body { padding: 1.75rem !important; }
.contact-card-body > * { margin-block: 0; }
.contact-card-body > * + * { margin-block-start: .85rem; }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--nwb-ice);
}
.contact-line::before {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  margin-top: .2rem;
  background: var(--nwb-electric-bright);
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
.contact-line a { color: #fff; font-weight: 600; }
.contact-line a:hover { color: var(--nwb-electric-bright); }
.line-phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.line-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.line-pin { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--nwb-navy-deep);
  border-top: 1px solid rgba(77, 130, 255, .25);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 130, 255, .8), transparent);
}
.footer-logo { margin: 0 !important; }
.footer-logo img { height: 40px; width: auto; }
.footer-tagline {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 18rem;
}
.footer-heading {
  font-size: .8rem !important;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nwb-muted);
  font-family: var(--wp--preset--font-family--body) !important;
}
.site-footer p { color: var(--nwb-ice); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--nwb-electric-bright); }
.footer-nav a { font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(222, 229, 254, .12);
  padding-top: 1.5rem !important;
  margin-top: 3rem !important;
  gap: 1rem;
}
.footer-bottom p { font-size: .85rem; color: var(--nwb-muted); margin: 0; }

/* ---------- Page template ---------- */
.page-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 90% at 75% 100%, rgba(15, 86, 250, .45), transparent 70%),
    linear-gradient(180deg, #03152F 0%, #011D39 100%);
}
.page-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 130, 255, .7), transparent);
}
.page-stage .wp-block-post-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
}
.page-content { color: var(--nwb-ice); }
.page-content a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Motion utilities ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--nwb-ease), transform .8s var(--nwb-ease);
}
.animate-on-scroll.is-visible { opacity: 1; transform: none; }
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--nwb-ease), transform .7s var(--nwb-ease);
}
.stagger-children.is-visible > * { opacity: 1; transform: none; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: .08s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: .16s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: .24s; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: .32s; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: .4s; }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: .48s; }
.stagger-children.is-visible > *:nth-child(n+8) { transition-delay: .5s; }
.hover-lift { transition: transform .35s var(--nwb-ease), box-shadow .35s ease; }
.hover-lift:hover { transform: translateY(-6px); }
.is-light-section .hover-lift:hover { box-shadow: 0 30px 60px -28px rgba(15, 86, 250, .55); }

/* ---------- Keyframes ---------- */
@keyframes header-drop { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes lights-down { from { opacity: 0; filter: brightness(1.8); } to { opacity: 1; filter: brightness(1); } }
@keyframes spotlight-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes spotlight-breathe {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: .78; transform: translateX(-50%) scale(1.05); }
}
@keyframes portrait-reveal {
  from { opacity: 0; transform: translateY(40px); filter: brightness(.2) drop-shadow(0 0 0 rgba(15, 86, 250, 0)); }
  to { opacity: 1; transform: none; filter: brightness(1) drop-shadow(0 0 60px rgba(15, 86, 250, .35)); }
}
@keyframes line-rise { from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes card-enter {
  from { opacity: 0; transform: translateY(60px) rotate(var(--reel-tilt)) scale(.9); }
  to { opacity: 1; transform: translateY(0) rotate(var(--reel-tilt)); }
}
@keyframes card-drift {
  0%, 100% { transform: translateY(0) rotate(var(--reel-tilt)); }
  50% { transform: translateY(-14px) rotate(calc(var(--reel-tilt) * -0.4)); }
}
@keyframes card-drift-soft {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(77, 130, 255, .7); }
  70% { box-shadow: 0 0 0 10px rgba(77, 130, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 130, 255, 0); }
}
@keyframes rec-blink { to { visibility: hidden; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav .wp-block-navigation__container { gap: 1.2rem; }
  .header-right { gap: 1.25rem; }
}
@media (max-width: 900px) {
  .stage-hero-inner { padding-top: 7rem; flex-wrap: wrap !important; }
  .stage-hero-inner > .wp-block-column { flex-basis: 100% !important; }
  .hero-copy { padding-bottom: 1rem; }
  .stage-hero .wp-block-cover__image-background { object-position: 75% center !important; }
  .stage-hero .wp-block-cover__background {
    background: linear-gradient(180deg, rgba(3, 21, 47, .92) 0%, rgba(3, 21, 47, .7) 45%, rgba(3, 21, 47, .2) 75%, rgba(1, 29, 57, .9) 100%) !important;
  }
  .hero-stage { min-height: 480px; height: 520px; }
  .hero-portrait img { height: 500px !important; max-height: none; }
  .reel-card-left { left: 2%; bottom: 14%; }
  .reel-card-top { right: 3%; top: 4%; }
  .reel-card-bottom { display: none !important; }
  .about-mountain { right: .5rem; bottom: -1.5rem; }
  .contact-stage .wp-block-cover__background {
    background: linear-gradient(180deg, rgba(3, 21, 47, .92) 0%, rgba(3, 21, 47, .85) 100%) !important;
  }
}
@media (max-width: 781px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .about-stage { min-height: 440px; }
  .about-portrait img { max-height: 440px; }
  .lessons-follow { border-radius: 20px; }
  .header-cta { display: none !important; }
}
@media (max-width: 600px) {
  .header-right { gap: .6rem; }
  .header-right > .main-nav { order: 3; }
  .site-header-inner { gap: .6rem; }
  .header-social.social-round { gap: .3rem !important; }
  .header-social.social-round .wp-social-link { width: 32px; height: 32px; }
  .header-social.social-round .wp-social-link svg { width: 14px; height: 14px; }
}
@media (max-width: 520px) {
  .site-logo img { height: 28px; }
  .hero-headline { font-size: 2.45rem !important; }
  .hero-subline { font-size: 1.02rem; }
  .hero-actions .wp-block-button { width: 100%; }
  .hero-actions .wp-block-button__link { width: 100%; }
  .hero-stage { height: 440px; min-height: 0; }
  .hero-portrait img { height: 430px !important; }
  .reel-card { width: 104px; border-radius: 14px; }
  .reel-card-top { width: 96px; }
  .reel-card .reel-title { font-size: .78rem; }
  .reel-card::before { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .reel-card-left { left: 0; }
  .reel-card-top { right: 0; }
  .facts { grid-template-columns: 1fr; }
  .lessons-row { grid-auto-columns: 78%; }
  .client-logo { height: 76px; padding: .7rem; }
  .about-mountain { width: 52%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .animate-on-scroll,
  .stagger-children > *,
  .stage-in,
  .headline-rise,
  .reel-card,
  .site-header,
  .hero-portrait img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ---------- Editor: keep animated content visible while editing ---------- */
.editor-styles-wrapper .animate-on-scroll,
.editor-styles-wrapper .stagger-children > *,
.editor-styles-wrapper .stage-in,
.editor-styles-wrapper .headline-rise,
.editor-styles-wrapper .site-header,
.editor-styles-wrapper .hero-portrait img,
.editor-styles-wrapper .stage-hero .wp-block-cover__image-background {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  clip-path: none !important;
}
.editor-styles-wrapper .reel-card {
  opacity: 1 !important;
  animation: none !important;
  transform: rotate(var(--reel-tilt, 0deg)) !important;
}
.editor-styles-wrapper .wp-block-template-part { position: relative !important; }
.editor-styles-wrapper .site-header { background: var(--nwb-navy-deep); }

/* ---------- Footer list ---------- */
.footer-nav { list-style: none; margin: 0; }
.footer-nav li { margin-bottom: .45rem; }

/* fixes: logo wall columns, reel titles */
.logo-wall.is-layout-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
@media (max-width: 1024px) { .logo-wall.is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .logo-wall.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.reel-card .reel-title { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 600px) {
  .reel-card, .reel-card-top { width: 112px; }
  .reel-card .reel-title { font-size: .72rem; }
}

/* lessons carousel arrows */
.lessons-carousel { position: relative; }
.lessons-carousel > .lessons-row { max-width: none; width: 100%; }
.lessons-arrow {
  position: absolute;
  top: 34%;
  z-index: 5;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(222, 229, 254, .28);
  background: rgba(14, 38, 78, .85);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  transition: background-color .3s ease, border-color .3s ease, transform .3s var(--nwb-ease), opacity .3s ease;
}
.lessons-arrow--prev { left: -76px; }
.lessons-arrow--next { right: -76px; }
.lessons-arrow:hover:not(:disabled),
.lessons-arrow:focus-visible {
  background: var(--nwb-electric);
  border-color: var(--nwb-electric);
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(15, 86, 250, .25), 0 14px 34px -10px rgba(15, 86, 250, .8);
}
.lessons-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lessons-arrow:disabled { opacity: .3; cursor: default; }
@media (max-width: 1340px) {
  .lessons-arrow--prev { left: -12px; }
  .lessons-arrow--next { right: -12px; }
}
@media (max-width: 600px) {
  .lessons-arrow { width: 42px; height: 42px; top: 30%; }
  .lessons-arrow--prev { left: -6px; }
  .lessons-arrow--next { right: -6px; }
  .lessons-arrow:disabled { opacity: 0; pointer-events: none; }
}

/* idea section: light warm variant for section rhythm */
.section-idea.is-light-section {
  background:
    radial-gradient(55% 70% at 100% 0%, rgba(15, 86, 250, .10), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(15, 86, 250, .06), transparent 70%),
    #F4F0ED;
  color: var(--nwb-navy-deep);
}
.section-idea.is-light-section .versus-card:not(.versus-card-strong) {
  background: #fff;
  border-color: rgba(3, 21, 47, .08);
  box-shadow: 0 24px 50px -32px rgba(3, 21, 47, .35);
}
.section-idea.is-light-section .versus-card:not(.versus-card-strong) .versus-label,
.section-idea.is-light-section .versus-card:not(.versus-card-strong) p:last-child { color: #4A5878; }
.section-idea.is-light-section .versus-card:not(.versus-card-strong) h3 { color: var(--nwb-navy-deep); }
.section-idea.is-light-section .versus-card-strong h3 { color: #fff; }
.section-idea.is-light-section .versus-card-strong { box-shadow: 0 30px 70px -28px rgba(15, 86, 250, .65); }
.section-idea.is-light-section .big-quote p { color: var(--nwb-navy-deep); }
.section-idea.is-light-section .big-quote p::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 auto 1.5rem;
  border-radius: 4px;
  background: var(--nwb-electric);
  box-shadow: 0 0 18px rgba(15, 86, 250, .6);
}
.section-idea.is-light-section .big-quote cite { color: var(--nwb-electric); }
.section-idea.is-light-section .principle { border-top-color: rgba(3, 21, 47, .14); }
.section-idea.is-light-section .principle .principle-num { color: var(--nwb-electric); }
.section-idea.is-light-section .principle p:last-child { color: #4A5878; }


/* hero rating badge */
.hero-rating {
  gap: 1rem !important;
  width: fit-content;
  margin-top: 2.25rem !important;
  padding: .85rem 1.1rem .85rem 1.4rem !important;
  border-radius: 18px;
  background: rgba(14, 38, 78, .55);
  border: 1px solid rgba(222, 229, 254, .16);
  backdrop-filter: blur(8px);
}
.hero-rating p { margin: 0 !important; line-height: 1.2; }
.hero-rating-score {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1 !important;
  color: #fff;
}
.hero-rating-meta { gap: .2rem !important; }
.hero-rating-stars { color: #F5A623; font-size: 1rem; letter-spacing: .1em; }
.hero-rating-label { font-size: .8rem; color: var(--nwb-muted); }
.hero-rating-count { padding-left: 1rem; border-left: 1px solid rgba(222, 229, 254, .2); }
.hero-rating-num { font-weight: 700; color: #fff; font-size: 1rem; }
.hero-rating-link a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: .25rem;
  border-radius: 50%;
  color: var(--nwb-ice);
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color .3s ease, color .3s ease, transform .3s var(--nwb-ease);
}
.hero-rating-link a:hover,
.hero-rating-link a:focus-visible { background: var(--nwb-electric); color: #fff; transform: translateX(3px); }

/* reviews carousel */
.reviews { scroll-margin-top: 2rem; }
.reviews-title { font-size: clamp(1.75rem, 3vw, 2.4rem) !important; margin: 0 0 1.5rem !important; }
.reviews-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: .9rem;
  border-radius: 3px;
  background: var(--nwb-electric);
}
.reviews-head { gap: 1rem !important; margin-bottom: 1.75rem !important; }
.reviews-summary {
  gap: 1.1rem !important;
  padding: 1.1rem 1.6rem !important;
  border-radius: 18px;
  background: #F7F9FF;
  border: 1px solid rgba(15, 86, 250, .1);
}
.reviews-summary p { margin: 0 !important; line-height: 1.3; }
.reviews-summary-score {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1 !important;
  color: var(--nwb-navy-deep);
}
.reviews-summary-meta { gap: .15rem !important; }
.reviews-summary-stars { color: #F5A623; letter-spacing: .1em; }
.reviews-summary-name { font-weight: 600; font-size: .92rem; color: var(--nwb-navy-deep); }
.reviews-summary-count { font-size: .82rem; color: #4A5878; }
.reviews-nav { gap: .6rem !important; }
.reviews-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(3, 21, 47, .15);
  background: #fff;
  color: var(--nwb-navy-deep);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--nwb-ease);
}
.reviews-arrow:hover:not(:disabled),
.reviews-arrow:focus-visible { background: var(--nwb-electric); border-color: var(--nwb-electric); color: #fff; transform: scale(1.06); }
.reviews-arrow:focus-visible { outline: 2px solid var(--nwb-electric); outline-offset: 3px; }
.reviews-arrow:disabled { opacity: .35; cursor: default; }
.reviews-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.5rem) / 3);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.reviews-row::-webkit-scrollbar { display: none; }
.reviews-row > * { margin: 0 !important; scroll-snap-align: start; }
@media (max-width: 1024px) { .reviews-row { grid-auto-columns: calc((100% - 1.25rem) / 2); } }
@media (max-width: 600px) { .reviews-row { grid-auto-columns: 86%; } }
.review-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.6rem 1.6rem 1.4rem !important;
  border-radius: 20px;
  background: #F4F0ED;
}
.review-card p { margin: 0 !important; }
.review-top { align-items: center !important; }
.review-stars { color: #F5A623; font-size: 1.05rem; letter-spacing: .12em; line-height: 1; }
.review-source {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: #fff;
  font-size: .8rem;
  font-weight: 600;
  color: var(--nwb-electric);
}
.review-source::before {
  content: "G";
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: .85rem;
}
.review-text { margin-top: 1.1rem !important; flex: 1; font-size: 1rem; line-height: 1.65; color: var(--nwb-navy-deep); }
.review-person {
  gap: .75rem !important;
  align-items: center !important;
  margin-top: 1.5rem !important;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(3, 21, 47, .1);
}
.review-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nwb-electric);
  color: #fff;
  font-weight: 700;
}
.review-card:nth-child(4n+2) .review-avatar { background: #0E264E; }
.review-card:nth-child(4n+3) .review-avatar { background: #1250CC; }
.review-card:nth-child(4n) .review-avatar { background: #3A4A66; }
.review-name { font-weight: 600; color: var(--nwb-navy-deep); }
.review-card-featured { background: linear-gradient(150deg, #0F56FA 0%, #0B3FC0 100%); }
.review-card-featured .review-text,
.review-card-featured .review-name { color: #fff; }
.review-card-featured .review-person { border-top-color: rgba(222, 229, 254, .25); }
.review-card-featured .review-avatar { background: #fff; color: var(--nwb-electric); }
.reviews-progress {
  position: relative;
  height: 3px;
  margin-top: 1.75rem;
  border-radius: 3px;
  background: rgba(3, 21, 47, .1);
  overflow: hidden;
}
.reviews-progress span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: var(--nwb-electric);
  transition: transform .2s linear, width .2s ease;
}
.reviews-note { margin-top: 1.25rem !important; font-size: .82rem; color: #4A5878; }

/* reviews: facebook, tabs */
.hero-rating-fb { color: #fff; font-size: 1rem; }
.hero-rating-fb strong { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.35rem; margin-right: .25rem; }
.hero-rating-check,
.reviews-summary-check,
.review-recommends { color: var(--nwb-electric-bright); font-weight: 700; font-size: .85rem; }
.hero-rating-check::before,
.reviews-summary-check::before,
.review-recommends::before { content: "✓"; margin-right: .3rem; font-weight: 800; }
.reviews-summary-check,
.review-recommends { color: var(--nwb-electric); }
.reviews-summaries { gap: 1rem !important; margin-bottom: 1.75rem !important; }
.reviews-summaries .reviews-summary { flex: 0 1 auto; }
.reviews-head { margin-bottom: 1.5rem !important; }
.reviews-tabs { gap: .6rem !important; }
.reviews-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(3, 21, 47, .15);
  background: #fff;
  color: var(--nwb-navy-deep);
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.reviews-tab-count { font-weight: 500; color: #4A5878; }
.reviews-tab--google .reviews-tab-label::before { content: "G"; margin-right: .45rem; font-family: var(--wp--preset--font-family--display); font-weight: 800; color: var(--nwb-electric); }
.reviews-tab--facebook .reviews-tab-label::before { content: "f"; margin-right: .45rem; font-family: var(--wp--preset--font-family--display); font-weight: 800; color: var(--nwb-electric); }
.reviews-tab:hover { border-color: var(--nwb-electric); }
.reviews-tab:focus-visible { outline: 2px solid var(--nwb-electric); outline-offset: 3px; }
.reviews-tab[aria-pressed="true"] { background: var(--nwb-electric); border-color: var(--nwb-electric); color: #fff; }
.reviews-tab[aria-pressed="true"] .reviews-tab-count,
.reviews-tab[aria-pressed="true"] .reviews-tab-label::before { color: rgba(255, 255, 255, .85); }
.review-facebook .review-source::before { content: "f"; }
.review-card[hidden] { display: none !important; }
.review-card-featured .review-recommends,
.review-card-featured .review-stars { color: #FFD27A; }
@media (max-width: 600px) {
  .hero-rating { gap: .75rem !important; padding: .75rem .9rem .75rem 1rem !important; }
  .hero-rating-score { font-size: 1.75rem; }
  .hero-rating-count { padding-left: .75rem; }
  .reviews-summaries .reviews-summary { flex: 1 1 100%; }
}
.hero-rating-score, .reviews-summary-score { white-space: nowrap; flex-shrink: 0; }
.hero-rating-meta { min-width: 0; }

/* review cards match summary + logo tiles */
.review-card:not(.review-card-featured) { background: #F7F9FF; border: 1px solid rgba(15, 86, 250, .1); }

/* clients: single scrollable logo row */
.logos-head { gap: 1rem !important; margin-bottom: 1.5rem !important; }
.logos-title { font-size: clamp(1.4rem, 2.2vw, 1.75rem) !important; margin: 0 !important; }
.logos-lead { margin: .4rem 0 0 !important; font-size: .95rem; color: #4A5878; }
.logos-nav { gap: .6rem !important; }
.logo-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 170px;
  gap: .9rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.logo-row::-webkit-scrollbar { display: none; }
.logo-row > .client-logo { margin: 0 !important; scroll-snap-align: start; height: 88px; }
@media (max-width: 600px) { .logo-row { grid-auto-columns: 140px; } }

/* logo row: slow continuous marquee to the right */
.logo-row.is-marquee {
  display: block;
  overflow: hidden;
  padding: .25rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-marquee 140s linear infinite;
}
.logo-track > .client-logo {
  flex: 0 0 170px;
  margin: 0 .9rem 0 0 !important;
  opacity: 1 !important;
  transform: none !important;
}
.logo-row.is-marquee:hover .logo-track,
.logo-row.is-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) { .logo-track > .client-logo { flex-basis: 140px; } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-row.is-marquee { overflow-x: auto; }
}

/* FAQ */
.section-faq { background: #F4F0ED; }
.faq-columns { gap: clamp(2rem, 5vw, 4.5rem) !important; }
.faq-intro { position: sticky; top: 2rem; align-self: flex-start; }
.faq-ask {
  margin-top: 2rem !important;
  padding: 1.5rem 1.6rem !important;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(3, 21, 47, .08);
}
.faq-ask p { margin: 0 !important; }
.faq-ask-title { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.2rem; color: var(--nwb-navy-deep); }
.faq-ask-text { margin-top: .35rem !important; color: #4A5878; }
.faq-ask .wp-block-buttons { margin-top: 1.1rem !important; }
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  margin: 0 !important;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(3, 21, 47, .08);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item[open] { border-color: rgba(15, 86, 250, .35); box-shadow: 0 20px 44px -30px rgba(15, 86, 250, .6); }
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 3.75rem 1.25rem 1.5rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--nwb-navy-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #F7F9FF;
  color: var(--nwb-electric);
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .3s var(--nwb-ease), background-color .3s ease, color .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--nwb-electric); color: #fff; }
.faq-item summary:hover { color: var(--nwb-electric); }
.faq-item summary:focus-visible { outline: 2px solid var(--nwb-electric); outline-offset: 3px; border-radius: 18px; }
.faq-item > p { margin: 0 !important; padding: 0 1.5rem 1.4rem; color: #4A5878; line-height: 1.7; }
@media (max-width: 781px) { .faq-intro { position: static; } }
.review-card.review-card-featured .review-avatar { background: #fff; color: var(--nwb-electric); }

/* test: training section on warm beige (2 light tones: white + beige) */
.section-training.is-light-section { background: #F4F0ED; }

/* logo row: JS-driven auto scroll + drag */
.logo-row.is-marquee {
  overflow-x: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x pan-y;
}
.logo-row.is-marquee::-webkit-scrollbar { display: none; }
.logo-row.is-marquee.is-dragging { cursor: grabbing; }
.logo-row.is-marquee .logo-track { animation: none; }
.logo-row.is-marquee img { -webkit-user-drag: none; pointer-events: none; }

/* hero stats band */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(1.5rem, 3vw, 2.5rem) !important;
  border-radius: 20px;
  background: rgba(14, 38, 78, .55);
  border: 1px solid rgba(222, 229, 254, .14);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 3;
}
.hero-stat { padding: 1.25rem 1.5rem !important; margin: 0 !important; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(222, 229, 254, .14); }
.hero-stat p { margin: 0 !important; }
.hero-stat-num {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label { margin-top: .3rem !important; font-size: .88rem; color: var(--nwb-muted); line-height: 1.35; }
@media (max-width: 781px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat:nth-child(3) { border-left: 0; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid rgba(222, 229, 254, .14); }
}

/* training: capacity */
.card-capacity {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: #F7F9FF;
  border: 1px solid rgba(15, 86, 250, .15);
  font-size: .85rem;
  font-weight: 600;
  color: var(--nwb-navy-deep) !important;
}
.card-capacity::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nwb-electric); }
.training-card-featured .card-capacity { background: rgba(222, 229, 254, .1); border-color: rgba(222, 229, 254, .2); color: #fff !important; }

/* process: jak pracuję */
.process-heading { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; margin: 0 0 1.5rem !important; }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.process-step {
  position: relative;
  margin: 0 !important;
  padding: 1.5rem !important;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(3, 21, 47, .08);
}
.process-step p, .process-step h4 { margin: 0 !important; }
.process-num {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--nwb-electric);
}
.process-title { margin-top: .5rem !important; font-size: 1.3rem !important; color: var(--nwb-navy-deep); }
.process-text { margin-top: .5rem !important; font-size: .95rem; line-height: 1.6; color: #4A5878; }
.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -.85rem;
  top: 50%;
  z-index: 2;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: -.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nwb-electric);
  color: #fff;
  font-size: .85rem;
}
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step::after { display: none; }
}
@media (max-width: 600px) { .process-steps { grid-template-columns: 1fr; } }

/* about: dlaczego ja */
.why-heading { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; margin: 0 0 1.5rem !important; color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.why-card {
  margin: 0 !important;
  padding: 1.5rem !important;
  border-radius: 20px;
  background: rgba(14, 38, 78, .55);
  border: 1px solid rgba(222, 229, 254, .14);
}
.why-card h4, .why-card p { margin: 0 !important; }
.why-title { font-size: 1.15rem !important; color: #fff; }
.why-title::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: .9rem;
  border-radius: 3px;
  background: var(--nwb-electric-bright);
}
.why-text { margin-top: .55rem !important; font-size: .93rem; line-height: 1.6; color: var(--nwb-muted); }
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* reviews: PARP summary link */
.reviews-summary-count a { color: var(--nwb-electric); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* hero: stack columns + stats band vertically */
.stage-hero > .wp-block-cover__inner-container { flex-direction: column; }
.stage-hero .stage-hero-inner { flex: 1 1 auto; }
.stage-hero .hero-copy { padding-bottom: 2.5rem; }
.stage-hero .hero-stats {
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 1280px);
  margin: -1rem auto 2rem !important;
}

/* PARP reviews */
.review-score { margin-left: .35rem; font-size: .8rem; font-weight: 600; letter-spacing: 0; color: var(--nwb-navy-deep); }
.review-source::before { content: none; }
.review-date { font-weight: 400; font-size: .82rem; color: #4A5878; }
.review-name { line-height: 1.3; }
.review-card.review-pracodawca .review-avatar { background: #0E264E; }
.review-card.review-uczestnik .review-avatar { background: var(--nwb-electric); }

/* hero phone line */
.hero-phone {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem .6rem;
  margin: 1.4rem 0 0 !important;
  font-size: 1rem;
  color: var(--nwb-muted);
}
.hero-phone a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.01em;
  color: #fff;
  text-decoration: none;
  transition: color .3s ease;
}
.hero-phone a::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nwb-electric) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 0 0 5px rgba(15, 86, 250, .2);
}
.hero-phone a:hover,
.hero-phone a:focus-visible { color: var(--nwb-electric-bright); }
.hero-phone + .hero-rating { margin-top: 1.4rem !important; }

/* sticky mobile call/write bar */
.mobile-cta-bar { display: none; }
@media (max-width: 781px) {
  .mobile-cta-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    margin: 0 !important;
    padding: 0 0 env(safe-area-inset-bottom) !important;
    background: #03152F;
    box-shadow: 0 -10px 30px -12px rgba(3, 21, 47, .6);
  }
  .mobile-cta-buttons { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 !important; margin: 0 !important; }
  .mobile-cta-buttons .wp-block-button { margin: 0 !important; width: 100%; }
  .mobile-cta-buttons .wp-block-button__link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    min-height: 56px;
    padding: 0 1rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 1rem !important;
    font-weight: 700;
    color: #fff !important;
    transform: none !important;
  }
  .mobile-cta-call .wp-block-button__link { background: #0F56FA !important; }
  .mobile-cta-mail .wp-block-button__link { background: #0E264E !important; }
  .mobile-cta-buttons .wp-block-button__link::before {
    content: "";
    width: 20px;
    height: 20px;
    background: center / 20px no-repeat;
  }
  .mobile-cta-call .wp-block-button__link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
  .mobile-cta-mail .wp-block-button__link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }
  .mobile-cta-buttons .wp-block-button__link::after { content: none !important; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* mobile bar: floating, rounded like the rest of the buttons */
@media (max-width: 781px) {
  .mobile-cta-bar {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 6px !important;
    border-radius: 999px;
    background: rgba(3, 21, 47, .92);
    border: 1px solid rgba(222, 229, 254, .14);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px -14px rgba(3, 21, 47, .75);
  }
  .mobile-cta-buttons { gap: 6px !important; }
  .mobile-cta-buttons .wp-block-button__link {
    min-height: 50px;
    border-radius: 999px !important;
  }
  .mobile-cta-call .wp-block-button__link { box-shadow: 0 8px 22px -8px rgba(15, 86, 250, .9) !important; }
  .mobile-cta-mail .wp-block-button__link { background: rgba(222, 229, 254, .1) !important; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* fix: header entrance animation must not leave a transform behind (it trapped the fixed mobile menu inside the header) */
.site-header { animation-fill-mode: backwards !important; }
.main-nav .wp-block-navigation__responsive-container.is-menu-open { background: #03152F !important; opacity: 1 !important; }

/* gains: co zyskasz po szkoleniu */
.gains-heading { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; margin: 0 0 1.5rem !important; }
.gains-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gain {
  margin: 0 !important;
  padding: 1.5rem !important;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(3, 21, 47, .08);
}
.gain h4, .gain p { margin: 0 !important; }
.gain-title { display: flex; align-items: flex-start; gap: .6rem; font-size: 1.12rem !important; line-height: 1.3; color: var(--nwb-navy-deep); }
.gain-title::before {
  content: "✓";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nwb-electric);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}
.gain-text { margin-top: .6rem !important; font-size: .95rem; line-height: 1.6; color: #4A5878; }
@media (max-width: 1024px) { .gains-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gains-grid { grid-template-columns: 1fr; } }

/* header phone (desktop) */
.header-phone { margin: 0 !important; white-space: nowrap; }
.header-phone a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  text-decoration: none;
  transition: color .3s ease;
}
.header-phone a::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D82FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.header-phone a:hover, .header-phone a:focus-visible { color: var(--nwb-electric-bright); }
@media (max-width: 1180px) { .header-phone { display: none; } }

/* address links open the map */
.contact-line a, .site-footer a[href*="google.com/maps"] { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(222, 229, 254, .35); }
.contact-line a:hover, .site-footer a[href*="google.com/maps"]:hover { color: var(--nwb-electric-bright); }
.reviews-note a { color: var(--nwb-electric); font-weight: 600; }

/* phone item in the mobile overlay menu only */
.main-nav .nav-phone { display: none !important; }
.main-nav .wp-block-navigation__responsive-container.is-menu-open .nav-phone {
  display: flex !important;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(222, 229, 254, .15);
}
.main-nav .is-menu-open .nav-phone .wp-block-navigation-item__content {
  display: inline-flex !important;
  align-items: center;
  gap: .8rem;
  font-size: 1.6rem !important;
  color: #fff !important;
}
.main-nav .is-menu-open .nav-phone .wp-block-navigation-item__content::before {
  content: "";
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--nwb-electric) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 0 0 6px rgba(15, 86, 250, .2);
}
.main-nav .is-menu-open .nav-phone .wp-block-navigation-item__content::after { content: none !important; }

/* contact: lines on the left */
.contact-lines { display: grid; gap: .7rem; margin: 1.75rem 0 2rem !important; }
.contact-lines .contact-line { margin: 0 !important; font-size: 1.05rem; font-weight: 600; }

/* contact: form card */
.form-card {
  padding: clamp(1.5rem, 3vw, 2.25rem) !important;
  border-radius: 24px;
  background: #fff;
  color: var(--nwb-navy-deep);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  scroll-margin-top: 2rem;
}
.form-card-title { margin: 0 !important; font-size: 1.6rem !important; color: var(--nwb-navy-deep) !important; }
.form-card-lead { margin: .5rem 0 1.25rem !important; color: #4A5878; font-size: .97rem; }
.form-card .wpcf7-form p { margin: 0 0 1rem; }
.form-card .wpcf7-form label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .92rem; color: var(--nwb-navy-deep); }
.form-card .nwb-optional { font-weight: 400; color: #4A5878; }
.form-card .wpcf7-form-control-wrap { display: block; }
.form-card input[type="text"], .form-card select, .form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid rgba(3, 21, 47, .18);
  border-radius: 14px;
  background: #F7F9FF;
  font: inherit;
  font-size: 1rem;
  color: var(--nwb-navy-deep);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-card textarea { min-height: 96px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none;
  border-color: var(--nwb-electric);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 86, 250, .15);
}
.form-card .nwb-submit {
  width: 100%;
  min-height: 54px;
  margin-top: .25rem;
  border: 0;
  border-radius: 999px;
  background: var(--nwb-electric);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 14px 34px -12px rgba(15, 86, 250, .8);
  transition: transform .3s var(--nwb-ease), background-color .3s ease;
}
.form-card .nwb-submit:hover, .form-card .nwb-submit:focus-visible { background: #1250CC; transform: translateY(-2px); }
.form-card .nwb-submit:focus-visible { outline: 2px solid var(--nwb-navy-deep); outline-offset: 3px; }
.form-card .wpcf7-spinner { display: block; margin: .6rem auto 0; }
.form-card .nwb-rodo { display: block; margin-top: 1rem; font-size: .76rem; line-height: 1.5; color: #4A5878; }
.form-card .nwb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card .wpcf7-not-valid { border-color: #C62828 !important; background: #FFF6F6 !important; }
.form-card .wpcf7-not-valid-tip { display: block; margin-top: .35rem; font-size: .85rem; font-weight: 600; color: #C62828; }
.form-card .wpcf7-response-output {
  margin: 1rem 0 0 !important;
  padding: .85rem 1rem !important;
  border-radius: 14px;
  border: 1px solid rgba(15, 86, 250, .25) !important;
  background: #F7F9FF;
  font-size: .92rem;
  color: var(--nwb-navy-deep);
}
.form-card .wpcf7 form.invalid .wpcf7-response-output,
.form-card .wpcf7 form.failed .wpcf7-response-output,
.form-card .wpcf7 form.spam .wpcf7-response-output { border-color: #C62828 !important; background: #FFF6F6; }
.form-card .wpcf7 form.sent .wpcf7-response-output { border-color: #1E8E3E !important; background: #F1FAF3; }
.form-card .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-card .wpcf7 form .wpcf7-response-output:empty { display: none; }
.form-card .wpcf7 .hidden-fields-container { display: none !important; border: 0; padding: 0; margin: 0; }
.form-card .wpcf7-form br { display: none; }
.form-card input[type="text"], .form-card select, .form-card textarea { box-sizing: border-box; max-width: 100%; }
.form-card .wpcf7-form p { margin: 0 0 1.1rem; }

/* hero: phone as secondary button */
.button-call .wp-block-button__link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.button-call .wp-block-button__link::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.stage-hero .hero-actions + .hero-rating { margin-top: 1.75rem !important; }

/* "Jak pracuję" as a compact strip */
.process-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin: clamp(2rem, 4vw, 2.75rem) auto 0 !important;
  max-width: var(--wp--style--global--wide-size, 1280px);
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(3, 21, 47, .08);
  font-size: .98rem;
  color: var(--nwb-navy-deep);
}
.process-strip-label { margin-right: .35rem; font-family: var(--wp--preset--font-family--display); font-weight: 800; }
.process-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: #F7F9FF;
  border: 1px solid rgba(15, 86, 250, .15);
  font-weight: 600;
}
.process-pill-num { font-size: .78rem; font-weight: 800; color: var(--nwb-electric); }
.process-arrow { color: var(--nwb-electric); font-weight: 700; }
@media (max-width: 600px) { .process-arrow { display: none; } }
.process-strip { box-sizing: border-box; width: 100%; }

/* contact: Wawel card in the left column */
.contact-card-inline { max-width: 520px; margin: 1.75rem 0 2rem !important; }
.contact-card-inline > .wp-block-image img { height: 180px; }
.contact-card-inline .contact-card-body h3 { font-size: 1.15rem; color: #fff; }
.contact-card-inline > .wp-block-image { margin-bottom: 0 !important; }
.contact-card-inline .contact-card-body { padding-top: 1.35rem !important; }
.contact-card-inline .contact-card-body > h3 { margin-top: 0 !important; }

/* header: YouTube icon only on wider screens, keeps the menu button visible on phones */
@media (max-width: 480px) { .header-social .wp-social-link-youtube { display: none !important; } }
/* very narrow phones: logo + menu button only, socials stay in the menu-less footer/contact */
@media (max-width: 400px) { .header-social { display: none !important; } }

/* eyebrow: keep the dot on the first line when the label wraps (phones) */
.eyebrow { align-items: flex-start; }
.eyebrow::before { margin-top: calc((1lh - 8px) / 2); }

/* lessons: cover with a play button until the video starts (tap anywhere to play) */
.lesson-video.wp-block-video { position: relative; }
.lesson-video.is-idle video { cursor: pointer; }
.lesson-video.is-idle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(15, 86, 250, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") 54% 50% / 28px no-repeat;
  box-shadow: 0 12px 30px -8px rgba(15, 86, 250, .8), 0 0 0 6px rgba(255, 255, 255, .18);
  pointer-events: none;
  transition: transform .3s ease;
}
.lesson-card:hover .lesson-video.is-idle::after { transform: scale(1.08); }

/* footer: "Projekt i wykonanie" credit with the Online Group logo */
.footer-credit { display: inline-flex; align-items: center; gap: .5rem; }
.footer-credit a { display: inline-flex; opacity: .75; transition: opacity .2s ease; }
.footer-credit a:hover, .footer-credit a:focus-visible { opacity: 1; }
.footer-credit-logo { width: 65px; height: auto; display: block; }

/* footer: privacy policy link in the bottom row */
.footer-bottom a:not(.footer-credit a) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:not(.footer-credit a):hover { color: #fff; }

/* subpages (privacy policy): calmer headings, readable body */
.page-content h2.wp-block-heading { font-size: clamp(1.35rem, 2.4vw, 1.7rem) !important; margin-top: 2.5rem !important; margin-bottom: .75rem !important; letter-spacing: -.01em; }
.page-content p, .page-content li { font-size: 1.02rem; line-height: 1.7; }
