/* ============================================================
   ADSKI — Design System
   Light body + dark hero/nav + yellow accent
   Fonts: Hanken Grotesk (headings) + Inter (body)
   ============================================================ */

/* Google Fonts — ładowane przez functions.php wp_enqueue_style */

/* ============================================================
   1. TOKENY
   ============================================================ */

:root {
  /* Kolory — body (jasne) */
  --c-bg:        #ffffff;
  --c-surface:   #f5f5f3;
  --c-surface-2: #ebebea;
  --c-surface-3: #e0e0de;
  --c-border:    #e2e2de;
  --c-yellow:    #ffd700;
  --c-yellow-dim: #e9c400;
  --c-yellow-bg: rgba(255, 215, 0, 0.12);
  --c-text:      #111110;
  --c-muted:     #6b6b68;
  --c-white:     #ffffff;

  /* Dark — hero i nav */
  --c-dark-bg:      #0f1010;
  --c-dark-surface: #191b1b;
  --c-dark-border:  rgba(255, 255, 255, 0.07);
  --c-dark-text:    #e2e2e2;
  --c-dark-muted:   #9a9a8e;

  /* Typografia */
  --f-heading: 'Hanken Grotesk', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;

  /* Rozmiary tekstu */
  --fs-xs:   12px;
  --fs-sm:   14px;
  --fs-base: 16px;
  --fs-md:   18px;
  --fs-lg:   24px;
  --fs-xl:   32px;
  --fs-2xl:  clamp(32px, 4vw, 48px);
  --fs-3xl:  clamp(40px, 5.5vw, 64px);

  /* Layout */
  --container: 1200px;
  --gap:       24px;
  --section:   100px;

  /* Radius */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-full: 9999px;

  /* Przejścia */
  --ease: 0.25s ease;
}

/* ============================================================
   2. RESET
   ============================================================ */

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

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

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Nagłówki — ciemne na jasnym tle */
h1, h2, h3, h4, h5, h6 {
  color: var(--c-text);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

/* ============================================================
   3. TYPOGRAFIA
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); font-weight: 700; }

p {
  color: var(--c-muted);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a6a00;
  margin-bottom: 12px;
}

/* eyebrow na ciemnym tle (hero, feature-band, cta) */
.hero-section .eyebrow,
.feature-band .eyebrow,
.cta-section .eyebrow,
.section--dark .eyebrow {
  color: var(--c-yellow);
}

.marker-word {
  color: var(--c-yellow);
}

/* ============================================================
   4. LAYOUT
   ============================================================ */

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.container--narrow {
  max-width: 760px;
  margin-inline: auto;
}

.section {
  padding: var(--section) 0;
}

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

.section--center {
  text-align: center;
}

/* ============================================================
   5. SKIP LINK
   ============================================================ */

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--c-yellow);
  color: #000;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: top var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ============================================================
   6. NAWIGACJA
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 20px 0;
  transition: padding 200ms ease;
}

/* Na stronie głównej nav startuje absolutnie nad hero */
.home .site-header {
  position: absolute;
}

.home .site-header.is-sticky {
  position: fixed;
}

.site-header.is-sticky {
  padding: 12px 0;
}

/* Pasek administracyjny WP (zalogowani): nav pod paskiem, nie pod nim */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* < 600px pasek WP przewija się razem ze stroną: offset liczony w main.js */
@media (max-width: 600px) {
  .admin-bar .site-header { top: var(--wpab-offset, 46px); }
}

/* Podstrony — content ma padding-top żeby nie chować się pod fixed nav */
body:not(.home) .site-main {
  padding-top: 100px;
}

/* Strony z pełnoekranowym hero od samej góry (klasa z adski_body_classes) */
body.has-top-hero .site-main {
  padding-top: 0;
}

/* Kapsułka nav — liquid glass */
.header-inner {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-full);
  padding-inline: 24px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 4px 24px rgba(0, 0, 0, 0.25);
}

/* Świetlny punkt obiegający krawędź kapsułki */
.header-inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-full);
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    transparent 330deg,
    rgba(255, 215, 0, 0.9) 345deg,
    rgba(255, 255, 255, 0.6) 355deg,
    rgba(255, 215, 0, 0.9) 360deg
  );
  animation: border-spin 4s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  z-index: 1;
}

/* Delikatne rozbłyski wewnętrzne */
.header-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 100%
  );
  border-radius: var(--r-full) var(--r-full) 0 0;
  pointer-events: none;
  z-index: 0;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
  to { --angle: 360deg; }
}

/* Na sticky (białe sekcje) */
.site-header.is-sticky .header-inner {
  background: rgba(10, 10, 8, 0.75);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Podstrony — header od razu ciemny, nie czeka na scroll */
body:not(.home) .site-header .header-inner {
  background: rgba(10, 10, 8, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 60px;
  isolation: isolate;
}

.header-inner > * {
  position: relative;
  z-index: 2;
}

/* Logo / brand */
.site-brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  text-decoration: none;
}

.custom-logo,
.site-brand img {
  max-height: 52px;
  width: auto;
}

.site-brand .brand-accent {
  color: var(--c-yellow);
}

.site-brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.custom-logo {
  max-height: 40px;
  width: auto;
}

/* Nav linki */
.primary-nav {
  flex: 1 1 auto;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--r-full);
  transition: color 200ms ease, background 200ms ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--c-yellow);
  background: rgba(255, 255, 255, 0.06);
}

/* Submenu */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 80;
  display: none;
  min-width: 220px;
  padding: 8px;
  padding-top: 16px; /* zakrywa gap żeby kursor nie tracił :hover */
  background: var(--c-dark-surface);
  border: 1px solid var(--c-dark-border);
  border-radius: var(--r-md);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  /* wizualny offset przez margin zamiast top */
  margin-top: 8px;
}

/* most — niewidoczny obszar między linkiem a dropdownem */
.primary-nav .menu-item-has-children::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.primary-nav li {
  position: relative;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  display: grid !important;
  gap: 2px;
}

.primary-nav .sub-menu a {
  width: 100%;
  border-radius: var(--r-sm);
}

.nav-sub-toggle { display: none; }

/* Header akcje */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--r-full);
  transition: color 200ms ease, background 200ms ease;
}

.icon-link:hover {
  color: var(--c-yellow);
  background: rgba(255, 255, 255, 0.06);
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--c-yellow);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  border-radius: var(--r-full);
  text-align: center;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-dark-border);
  background: var(--c-dark-surface);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--c-dark-text);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   7. PRZYCISKI
   ============================================================ */

.btn,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Żółty (primary) */
.btn--yellow,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--c-yellow);
  color: #000;
  border-color: var(--c-yellow);
}

.btn--yellow:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--c-yellow-dim);
  border-color: var(--c-yellow-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

/* Ghost / outline — jasny kontekst */
.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: rgba(0, 0, 0, 0.25);
}

.btn--ghost:hover {
  border-color: var(--c-text);
  color: var(--c-text);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}

.btn--outline:hover {
  border-color: var(--c-yellow);
  color: var(--c-yellow-dim);
  transform: translateY(-2px);
}

/* Ghost w dark sekcjach (hero, feature-band dark) */
.hero-section .btn--ghost,
.hero-showcase .btn--ghost,
.feature-band .btn--ghost {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-section .btn--ghost:hover,
.hero-showcase .btn--ghost:hover,
.feature-band .btn--ghost:hover {
  border-color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white);
}

/* Biały */
.btn--white {
  background: var(--c-white);
  color: #000;
  border-color: var(--c-white);
}

.btn--white:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  transform: translateY(-2px);
}

/* Mały */
.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: var(--fs-xs);
}

/* Duży */
.btn--lg {
  min-height: 56px;
  padding: 0 36px;
  font-size: var(--fs-base);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   8. HERO
   ============================================================ */

.hero-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, #1a1a1a 0%, #0a0a0a 60%, #000000 100%);
  color: var(--c-dark-text);
  isolation: isolate;
}

.hero-section h1 {
  color: var(--c-white);
}

.hero-section p {
  color: var(--c-dark-muted);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 75% 50%, rgba(255, 215, 0, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 20% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  position: relative;
  min-height: 640px;
  padding-top: 120px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
}

.hero-copy h1 {
  margin-bottom: 24px;
}

.hero-copy p {
  font-size: var(--fs-md);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-copy .button-row {
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stats__item strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--c-yellow);
  line-height: 1;
}

.hero-stats__item span {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.hero-portrait {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-portrait img {
  display: block;
  width: 90%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  object-position: bottom center;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 5%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 5%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--c-dark-muted);
  font-size: var(--fs-sm);
}

/* ============================================================
   9. TRUST STRIP — liczby w rzędzie
   ============================================================ */

.trust-strip {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  text-align: center;
}

.trust-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-grid strong {
  font-family: var(--f-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.trust-grid span {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin-top: 4px;
}

/* ============================================================
   10. SECTION HEADING
   ============================================================ */

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading p {
  max-width: 560px;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center p {
  margin-inline: auto;
}

/* ============================================================
   11. KARTY USŁUG (bento grid)
   ============================================================ */

/* ============================================================
   SEKCJA USŁUG — Signal animation
   ============================================================ */

#uslugi {
  position: relative;
  background: #fff;
  overflow: hidden;
}

#uslugi > .container {
  position: relative;
  z-index: 1;
}

/* Signal widget — ikony dryfujące */
.signal-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.signal-icon {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  animation: icon-drift 6s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
  will-change: transform;
}

.signal-icon img {
  width: var(--sz, 64px) !important;
  height: var(--sz, 64px) !important;
  display: block !important;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
}

@keyframes icon-drift {
  0%   { transform: translate(-50%, -50%) translateY(0px)   translateX(0px); }
  33%  { transform: translate(-50%, -50%) translateY(-8px)  translateX(4px); }
  66%  { transform: translate(-50%, -50%) translateY(-4px)  translateX(-5px); }
  100% { transform: translate(-50%, -50%) translateY(-10px) translateX(2px); }
}

@media (prefers-reduced-motion: reduce) {
  .signal-icon { animation: none; }
}

/* Fade-up — animacja wejścia */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 100ms; }
.fade-up:nth-child(3) { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .service-card {
    animation: none;
  }
}

/* ============================================================
   KARTY USŁUG
   ============================================================ */

.bento-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 36px;
  background: var(--c-white);
  border: 1.5px solid transparent;
  border-radius: var(--r-lg);
  box-shadow:
    0 2px 16px rgba(0,0,0,0.05),
    0 0 0 1.5px var(--c-border);
  transition: transform 250ms ease, box-shadow 250ms ease;
  cursor: pointer;
  animation: card-glow-pulse 3s ease-in-out infinite;
}

/* każda karta ma inne opóźnienie żeby nie pulsowały synchronicznie */
.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 1s; }
.service-card:nth-child(3) { animation-delay: 2s; }

@keyframes card-glow-pulse {
  0%   { box-shadow: 0 2px 16px rgba(0,0,0,0.05), 0 0 0 1.5px rgba(220,185,0,0.15); }
  50%  { box-shadow: 0 4px 24px rgba(255,215,0,0.12), 0 0 0 1.5px rgba(255,215,0,0.55), 0 0 20px rgba(255,215,0,0.1); }
  100% { box-shadow: 0 2px 16px rgba(0,0,0,0.05), 0 0 0 1.5px rgba(220,185,0,0.15); }
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1.5px rgba(255,215,0,0.7), 0 0 32px rgba(255,215,0,0.15);
  animation-play-state: paused;
}

.service-card--yellow {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
}

.service-card--yellow h3,
.service-card--yellow p {
  color: #111;
}

/* Ikona — większa, mocniejsza */
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 215, 0, 0.12);
  border: 1.5px solid rgba(255, 215, 0, 0.25);
  border-radius: 20px;
  flex-shrink: 0;
  transition: transform 250ms ease, background 250ms ease;
}

.service-card__icon .adski-icon {
  width: 48px;
  height: 48px;
}

.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-2deg);
  background: rgba(255, 215, 0, 0.2);
}

.service-card--yellow .service-card__icon {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

.service-card--yellow:hover .service-card__icon {
  background: rgba(0, 0, 0, 0.14);
}

.service-card h3 {
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
  color: var(--c-text);
}

.service-card p {
  flex: 1;
  color: #444;
  line-height: 1.65;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #8a6a00;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: gap var(--ease), color var(--ease);
}

.service-card a:hover {
  gap: 12px;
  color: #5a4500;
  text-decoration: none;
}

.service-card--yellow a {
  color: #111;
}

.service-card--yellow a:hover {
  color: #000;
}

/* Check list */
.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: #444;
  font-weight: 500;
}

.check-list li::before {
  content: '✓';
  color: var(--c-yellow-dim);
  font-weight: 800;
  flex-shrink: 0;
}

.service-card--yellow .check-list li {
  color: #111;
}

.service-card--yellow .check-list li::before {
  color: #111;
}

.check-list--compact {
  gap: 8px;
  margin: 4px 0 4px;
}

.check-list--compact li {
  font-size: 13px;
}

/* Chip row */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row span {
  padding: 5px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #111;
  background: rgba(0,0,0,0.06);
}

/* ============================================================
   12. FEATURE BAND (ciemna sekcja z CTA)
   ============================================================ */

.feature-band {
  background: var(--c-yellow);
  border-top: none;
  border-bottom: none;
  padding: var(--section) 0;
}

.feature-band h2 {
  color: #000;
}

.feature-band p {
  color: rgba(0, 0, 0, 0.7);
}

.feature-band .eyebrow {
  color: rgba(0, 0, 0, 0.5);
}

.feature-band .btn--yellow {
  background: #000;
  color: var(--c-yellow);
  border-color: #000;
}

.feature-band .btn--yellow:hover {
  background: #222;
  border-color: #222;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-band p {
  margin: 16px 0 32px;
}

.feature-visual {
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  font-family: var(--f-heading);
  font-size: 80px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.15);
}

/* ============================================================
   13. PROCESS STEPS
   ============================================================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: steps;
}

.process-step {
  padding: 32px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-yellow-bg);
  border: 1px solid rgba(255, 215, 0, 0.2);
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--c-yellow);
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: var(--fs-md);
  margin-bottom: 10px;
}

.process-step p {
  font-size: var(--fs-sm);
}

/* ============================================================
   14. CTA SEKCJA
   ============================================================ */

.cta-section {
  padding: var(--section) 0;
  background: var(--c-yellow);
}

.cta-box {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-box h2 {
  color: #000;
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 32px;
}

.cta-microtext {
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: rgba(0, 0, 0, 0.5);
}

.section-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* ============================================================
   OPINIE / TESTIMONIALE
   ============================================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-card--featured {
  background: var(--c-dark-bg);
  border-color: rgba(255, 215, 0, 0.25);
}

.testimonial-card--featured .testimonial-card__quote {
  color: var(--c-dark-text);
}

.testimonial-card--featured .testimonial-card__author strong {
  color: var(--c-white);
}

.testimonial-card--featured .testimonial-card__author span {
  color: var(--c-dark-muted);
}

.testimonial-card--featured .testimonial-card__avatar {
  background: rgba(255, 215, 0, 0.15);
  color: var(--c-yellow);
  border-color: rgba(255, 215, 0, 0.3);
}

.testimonial-card__quote {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--c-text);
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-muted);
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
}

.testimonial-card__author span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* ============================================================
   15. KARTY KURSÓW / PRODUKTÓW
   ============================================================ */

.card-grid {
  display: grid;
  gap: var(--gap);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   KARTY PRODUKTÓW WooCommerce
   ============================================================ */

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow 200ms ease, transform 200ms ease;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-color: rgba(255,215,0,0.4);
}

/* Okładka 1:1 */
.product-card__thumb {
  aspect-ratio: 1 / 1;
  background: var(--c-surface-2);
  overflow: hidden;
  display: block;
  position: relative;
}

.product-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__thumb img {
  transform: scale(1.04);
}

.product-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--c-surface-2) 0%, var(--c-surface-3) 100%);
}

/* Badge promocji */
.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--c-yellow);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
  z-index: 1;
}

/* Body */
.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
  gap: 6px;
}

/* Kategoria */
.product-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-yellow-dim);
}

/* Tytuł */
.product-card__title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-text);
  margin: 0;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--c-yellow-dim);
}

/* Opis */
.product-card__desc {
  font-size: 13px;
  line-height: 1.55;
  color: #555;
  flex: 1;
  margin: 0;
}

/* Footer */
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
}

.product-card__price {
  line-height: 1.2;
}

/* Ceny WooCommerce */
.product-card__price .price {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-card__price ins {
  text-decoration: none;
  font-family: var(--f-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-text);
}

.product-card__price del {
  font-size: 12px;
  color: #999;
}

.product-card__price del .amount {
  font-size: 12px;
  font-weight: 400;
  color: #999;
}

.product-card__price > .amount {
  font-family: var(--f-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-text);
}

/* Ukryj "Brutto" */
.product-card .woocommerce-price-suffix,
.product-card .includes_tax,
.product-card .excludes_tax {
  display: none;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   SKLEP CTA baner
   ============================================================ */

.shop-cta {
  background: var(--c-dark-bg);
  padding: 64px 0;
  margin-top: 80px;
}

.shop-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.shop-cta__copy h2 {
  color: var(--c-white);
  margin-bottom: 12px;
}

.shop-cta__copy p {
  color: var(--c-dark-muted);
  max-width: 420px;
}

.shop-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.shop-cta__note {
  font-size: var(--fs-sm);
  color: var(--c-dark-muted);
}

/* ============================================================
   16. POST CARDS (blog)
   ============================================================ */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.posts-footer {
  margin-top: 48px;
  text-align: center;
}

.post-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--c-surface-2);
  overflow: hidden;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.04);
}

.post-card__title {
  font-size: var(--fs-md);
  line-height: 1.3;
}

.post-card__title a {
  color: var(--c-text);
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--c-yellow-dim);
}

.post-card__excerpt {
  font-size: var(--fs-sm);
  flex: 1;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}

.post-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-4px);
}

.post-card__image {
  aspect-ratio: 16 / 9;
  background: var(--c-surface-2);
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  gap: 10px;
}

.post-card__cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-card h3 {
  font-size: var(--fs-md);
  line-height: 1.3;
}

.post-card p {
  font-size: var(--fs-sm);
  flex: 1;
}

.post-card__date {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* ============================================================
   17. CASE STUDY KARTY
   ============================================================ */

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 10px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 24px 60px -24px rgba(17,17,16,0.25);
}

.case-card__body {
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.case-card__body .eyebrow {
  font-size: var(--fs-xs);
}

.case-card__body h2,
.case-card__body h3 {
  font-size: var(--fs-md);
  line-height: 1.25;
  margin: 0;
}

.case-card__body h2 a,
.case-card__body h3 a {
  color: inherit;
}

.case-card__body p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card__result,
.case-feature__result {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
  background: var(--c-yellow-bg);
  padding: 8px 14px;
  border-radius: var(--r-full);
}

.case-card__result::before,
.case-feature__result::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-yellow-dim);
}

/* ------------------------------------------------------------
   Mockup realizacji — wspólny dla kart i wyróżnionej realizacji
   --full:   grafika z tłem, wypełnia kafel
   --cutout: PNG bez tła, unosi się na scenie z cieniem
   ------------------------------------------------------------ */

.case-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--r-lg) - 8px);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-surface-2);
}

.case-media img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}

.case-media--full img {
  object-fit: cover;
  object-position: center;
}

.case-media--cutout {
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(45% 40% at 85% 100%, rgba(255,215,0,0.22) 0%, rgba(255,215,0,0) 70%),
    linear-gradient(160deg, var(--c-surface) 0%, var(--c-surface-2) 100%);
}

.case-media--cutout img {
  object-fit: contain;
  padding: 7% 8% 9%;
  filter: drop-shadow(0 28px 30px rgba(17,17,16,0.22));
}

.case-media__cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-dark-bg);
  background: var(--c-yellow);
  border-radius: var(--r-full);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease);
}

.case-card:hover .case-media--full img,
.case-feature:hover .case-media--full img {
  transform: scale(1.04);
}

.case-card:hover .case-media--cutout img,
.case-feature:hover .case-media--cutout img {
  transform: translateY(-8px) scale(1.02);
}

.case-card:hover .case-media__cta,
.case-feature:hover .case-media__cta,
.case-media:focus-visible .case-media__cta {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .case-media__cta {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-media img,
  .case-media__cta {
    transition: none;
  }
}

/* ============================================================
   17b. CASE FEATURE — wyróżniona realizacja nad siatką kart
   ============================================================ */

.case-feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 14px 14px 14px 48px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.case-feature__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 0;
}

.case-feature__copy h3 {
  margin: 0;
  font-size: var(--fs-xl);
  line-height: 1.15;
}

.case-feature__copy h3 a {
  color: inherit;
}

.case-feature__copy p {
  color: var(--c-muted);
  margin: 0;
}

.case-feature__result {
  margin: 4px 0 12px;
}

.case-feature__media {
  aspect-ratio: 16 / 11;
}

@media (max-width: 900px) {
  .case-feature {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
  }

  .case-feature__media {
    order: -1;
    aspect-ratio: 4 / 3;
  }

  .case-feature__copy {
    padding: 22px 18px 18px;
  }
}

/* ============================================================
   18. PAGE HERO (wewnętrzne strony)
   ============================================================ */

.page-hero {
  padding: 100px 0 60px;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: var(--fs-md);
  max-width: 560px;
}

/* ============================================================
   SKLEP — nagłówek + filtry
   ============================================================ */

.shop-page {
  padding-top: 80px; /* offset fixed nav */
}

.shop-header {
  padding: 32px 0 0;
  text-align: center;
}

.shop-header__title {
  font-size: var(--fs-2xl);
  color: var(--c-text);
  margin-bottom: 12px;
}

.shop-header__sub {
  font-size: var(--fs-md);
  color: var(--c-muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 40px;
}

/* Filtry — pill tabs */
.shop-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 32px;
}

.shop-filter {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--c-border);
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-muted);
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
  white-space: nowrap;
}

.shop-filter:hover {
  border-color: var(--c-text);
  color: var(--c-text);
}

.shop-filter--active {
  background: var(--c-text);
  border-color: var(--c-text);
  color: var(--c-white);
}

.shop-filter--active:hover {
  background: var(--c-text);
  color: var(--c-white);
}

/* Pasek narzędzi pod filtrami */
.shop-body {
  padding-top: 40px;
  padding-bottom: 80px;
}

.shop-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--c-muted);
}

/* Siatka produktów */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Nadpisz WooCommerce domyślną siatkę gdy jest nasza */
.woocommerce .products-grid::before,
.woocommerce .products-grid::after {
  display: none;
}

.woocommerce .products-grid li.product {
  float: none;
  width: auto;
  margin: 0;
}

/* ============================================================
   19. FORMULARZE
   ============================================================ */

.form-shell {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 40px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.woocommerce .quantity .qty {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-text);
  font: inherit;
  font-size: var(--fs-base);
  transition: border-color var(--ease);
  -webkit-appearance: none;
}

input:focus,
textarea:focus,
select:focus,
.woocommerce input.input-text:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
  outline: none;
  border-color: var(--c-yellow);
}

input::placeholder,
textarea::placeholder {
  color: var(--c-muted);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}

.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row--2 {
  grid-template-columns: 1fr 1fr;
}

/* Breadcrumb w dark hero */
.page-hero .woocommerce-breadcrumb,
.page-hero nav.woocommerce-breadcrumb {
  font-size: var(--fs-sm);
  color: var(--c-dark-muted);
  margin-bottom: 20px;
}

.page-hero .woocommerce-breadcrumb a {
  color: var(--c-dark-muted);
  text-decoration: none;
}

.page-hero .woocommerce-breadcrumb a:hover {
  color: var(--c-yellow);
}

/* ============================================================
   20. WOOCOMMERCE
   ============================================================ */

.woo-section {
  padding: var(--section) 0;
}

/* Reset listy produktów */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}

/* Shop toolbar */
.shop-toolbar,
.woocommerce-ordering {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.woocommerce-ordering select {
  min-height: 44px;
  padding: 8px 14px;
}

/* Tabele */
.woocommerce table.shop_table {
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  padding: 16px 20px;
  background: var(--c-surface-2);
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.woocommerce table.shop_table td {
  padding: 16px 20px;
  border-top: 1px solid var(--c-border);
  color: var(--c-text);
  vertical-align: middle;
}

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.checkout-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px;
}

.sticky-panel {
  position: sticky;
  top: 96px;
}

.commerce-summary {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
}

.commerce-summary h3 {
  font-size: var(--fs-md);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

/* Notyfikacje WC */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-yellow);
  background: var(--c-surface);
  color: var(--c-text);
  list-style: none;
}

.woocommerce-error {
  border-left-color: #ff4444;
}

/* Tabs produktu */
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 0;
}

.woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-muted);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.woocommerce-tabs ul.tabs li.active a {
  border-color: var(--c-yellow);
  background: var(--c-yellow);
  color: #000;
}

/* Paginacja */
.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-muted);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.nav-links a:hover {
  border-color: var(--c-yellow);
  color: var(--c-yellow);
}

.nav-links .current {
  border-color: var(--c-yellow);
  background: var(--c-yellow);
  color: #000;
}

/* ============================================================
   21. MOJE KONTO
   ============================================================ */

.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.account-nav {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--ease), color var(--ease);
}

.account-nav a:last-child {
  border-bottom: none;
}

.account-nav a:hover,
.account-nav .is-active a,
.account-nav .current-menu-item a {
  background: var(--c-surface-2);
  color: var(--c-white);
}

.account-dashboard {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px;
}

/* ============================================================
   22. STOPKA
   ============================================================ */

.site-footer {
  padding: 72px 0 32px;
  background: var(--c-dark-bg);
  border-top: 1px solid var(--c-dark-border);
}

.site-footer .footer-col h2,
.site-footer .site-brand {
  color: var(--c-white);
}

.site-footer .footer-menu a,
.site-footer .footer-brand p,
.site-footer .footer-bottom p {
  color: var(--c-dark-muted);
}

.site-footer .footer-menu a:hover {
  color: var(--c-white);
}

.site-footer .footer-bottom {
  border-top-color: var(--c-dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: var(--fs-sm);
  margin-top: 16px;
  max-width: 260px;
}

.site-brand--footer {
  font-size: 20px;
}

.footer-col h2 {
  font-family: var(--f-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 16px;
}

.footer-menu {
  display: grid;
  gap: 10px;
}

.footer-menu a {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  transition: color var(--ease);
}

.footer-menu a:hover {
  color: var(--c-white);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}

.footer-bottom p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin: 0;
}

/* ============================================================
   23. EMPTY STATES / INNE
   ============================================================ */

.empty-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}

.empty-state h3 {
  margin-bottom: 12px;
}

.empty-state p {
  margin-bottom: 24px;
}

.thank-you-box {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 56px 48px;
}

.thank-you-box__icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.thank-you-box h1 {
  font-size: var(--fs-2xl);
  margin-bottom: 16px;
}

.thank-you-box p {
  margin-bottom: 32px;
}

/* ============================================================
   24. UTILITIES
   ============================================================ */

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

.text-yellow { color: var(--c-yellow); }
.text-muted  { color: var(--c-muted); }
.text-white  { color: var(--c-white); }

.divider {
  height: 1px;
  background: var(--c-border);
  border: none;
  margin: 0;
}

/* ============================================================
   25. RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  :root {
    --section: 72px;
  }

  /* Nav mobilna */
  /* rozwijane menu: ciemny panel pod kapsułą nagłówka (ten sam styl co nagłówek) */
  .primary-nav {
    position: fixed;
    inset: 88px 16px auto;
    display: none;
    padding: 12px;
    border-radius: 24px;
    background: #161717;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
    z-index: 99;
  }

  .nav-open .primary-nav {
    display: block;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .primary-nav a {
    display: flex;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
  }

  .primary-nav { max-height: calc(100dvh - 104px); overflow-y: auto; overscroll-behavior: contain; }
  body.nav-open { overflow: hidden; }

  /* podmenu jako akordeon: pozycja + przycisk ze strzałką w jednym wierszu, lista pod spodem */
  .primary-nav li.menu-item-has-children { display: grid; grid-template-columns: minmax(0, 1fr) 52px; align-items: center; }
  .primary-nav .menu-item-has-children::after { display: none; }
  .nav-sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 8px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.85); cursor: pointer; }
  .nav-sub-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
  .is-sub-open > .nav-sub-toggle { background: rgba(255, 215, 0, 0.14); color: var(--c-yellow); }
  .is-sub-open > .nav-sub-toggle svg { transform: rotate(180deg); }
  .primary-nav .sub-menu { grid-column: 1 / -1; position: static; min-width: 0; margin: 4px 0 6px 16px; padding: 0 0 0 12px; border: 0; border-left: 2px solid rgba(255, 215, 0, 0.35); border-radius: 0; background: none; box-shadow: none; }
  .primary-nav li:not(.is-sub-open) > .sub-menu { display: none !important; }
  .primary-nav li.is-sub-open > .sub-menu { display: grid !important; gap: 2px; animation: nav-sub-in .25s ease; }
  .primary-nav .sub-menu a { padding: 12px 14px; font-size: 15px; color: rgba(255, 255, 255, 0.7); }
  @keyframes nav-sub-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  /* Gridy */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-portrait {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    order: -1;
  }

  .hero-copy p,
  .hero-copy .button-row {
    margin-inline: auto;
  }

  .hero-copy .button-row {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .bento-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --section: 56px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .bento-services,
  .process-grid,
  .trust-grid,
  .card-grid--3,
  .card-grid--4,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .btn {
    width: 100%;
    justify-content: center;
  }

  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .hero-section {
    padding: 80px 0 64px;
  }
}


/* ============================================================
   SINGLE PRODUCT — ciemny motyw
   WP dodaje .single-product na <body> automatycznie
   ============================================================ */

/* Dark token override dla całej strony produktu */
body.single-product {
  --c-bg:        #121414;
  --c-surface:   #1e2020;
  --c-surface-2: #282a2b;
  --c-surface-3: #333535;
  --c-border:    rgba(255,255,255,.07);
  --c-text:      #e2e2e2;
  --c-muted:     #a8a090;
  background: var(--c-bg);
  color: var(--c-text);
}

/* Nagłówki na ciemnym tle */
body.single-product h1,
body.single-product h2,
body.single-product h3,
body.single-product h4 {
  color: var(--c-text);
}

/* Upewnij się że .site-main nie ma białego tła */
body.single-product .site-main {
  background: var(--c-bg);
}

/* Footer na dark */
body.single-product .site-footer {
  background: #0c0f0f;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* ---- Breadcrumb ---- */
.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 32px 0 0;
  flex-wrap: wrap;
  opacity: .6;
}
.sp-breadcrumb a { color: inherit; transition: color var(--ease); }
.sp-breadcrumb a:hover { color: var(--c-yellow); opacity: 1; }
.sp-breadcrumb span:last-child { color: var(--c-text); opacity: 1; }
.sp-breadcrumb span[aria-hidden] { opacity: .4; }

/* ---- Hero ---- */
.sp-hero { padding: 0 0 120px; }
.sp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 32px;
}

/* Obraz */
.sp-hero__img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: 0 25px 70px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.05);
}
.sp-hero__img-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at 50% 90%, rgba(255,215,0,.15) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.sp-hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.sp-hero__img-wrap:hover .sp-hero__img { transform: scale(1.025); }
.sp-hero__img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-surface);
}

/* Badges */
.sp-badge {
  position: absolute;
  z-index: 2;
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
}
.sp-badge--sale {
  top: 20px; right: 20px;
  background: var(--c-yellow);
  color: #000;
  box-shadow: 0 4px 16px rgba(255,215,0,.4);
}
.sp-badge--best {
  top: 20px; left: 20px;
  background: var(--c-yellow);
  color: #000;
  display: flex; align-items: center; gap: 5px;
  box-shadow: 0 4px 16px rgba(255,215,0,.4);
}

/* Info prawa kolumna */
.sp-hero__info { display: flex; flex-direction: column; gap: 0; }

.sp-cat {
  display: inline-flex;
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 16px;
  width: fit-content;
  opacity: .75;
}

.sp-title {
  font-family: var(--f-heading);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}

/* Rating */
.sp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.sp-stars { display: flex; gap: 2px; }
.sp-rating__count {
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
}
.sp-rating__reviews { font-weight: 400; color: var(--c-muted); }

/* Cechy kursu 2×2 */
.sp-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.sp-features__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.4;
}

/* Boks ceny — glass-card z żółtą lewą bordiurą */
.sp-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(30,32,32,.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.05);
  border-left: 4px solid var(--c-yellow);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.sp-price-box__label {
  display: block;
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 8px;
}
.sp-price-box__row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sp-price-now {
  font-family: var(--f-heading);
  font-size: 40px;
  font-weight: 900;
  color: var(--c-yellow);
  letter-spacing: -.03em;
  line-height: 1;
}
.sp-price-now .woocommerce-Price-amount { color: inherit; font: inherit; }
.sp-price-now .woocommerce-Price-currencySymbol { font-size: .6em; vertical-align: super; margin-right: 1px; }
.sp-price-old { font-size: 15px; color: rgba(255,255,255,.3); text-decoration: line-through; }

/* WC add-to-cart override */
.sp-price-box__cta .cart { margin: 0; }
.sp-price-box__cta .quantity { display: none; }
.sp-price-box__cta .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 44px !important;
  border-radius: var(--r-full) !important;
  background: var(--c-yellow) !important;
  color: #000 !important;
  font-family: var(--f-heading) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease !important;
}
.sp-price-box__cta .single_add_to_cart_button:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 24px rgba(255,215,0,.35) !important;
}
.sp-price-box__cta .single_add_to_cart_button:active { transform: scale(.97) !important; }

/* Link "zapytaj" */
.sp-ask {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-heading);
  font-size: 12px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--ease);
  width: fit-content;
}
.sp-ask:hover { color: var(--c-text); }

/* ---- Sekcja opisu + program — bg-surface-container-low ---- */
.sp-body {
  padding: 120px 0;
  background: #ffffff;
}
.sp-body .sp-section-title,
.sp-body .sp-content h2,
.sp-body .sp-content h3 { color: #111110; }
.sp-body .sp-excerpt,
.sp-body .sp-content p,
.sp-body .sp-content ul li,
.sp-body .sp-content ol li { color: #4a4a47; }
.sp-body .sp-content ul li::before { color: #e9c400; }
.sp-body .sp-program { background: #f5f5f3; border-color: rgba(255,215,0,.35); }
.sp-body .sp-program__title { color: #111110; border-bottom-color: #e2e2de; }
.sp-body .sp-acc__label { color: #111110; }
.sp-body .sp-acc__header:hover .sp-acc__label { color: #b89e00; }
.sp-body .sp-acc { border-bottom-color: #e2e2de; }
.sp-body .sp-acc__body { border-left-color: rgba(180,150,0,.3); }
.sp-body .sp-acc__lesson { color: #6b6b68; }
.sp-body .sp-acc__count { color: #9a9a8e; }
.sp-body .sp-acc__chevron { color: #9a9a8e; }
.sp-body .sp-instructor { background: #f5f5f3; border-color: #e2e2de; }
.sp-body .sp-instructor__name { color: #111110; }
.sp-body .sp-instructor__role,
.sp-body .sp-instructor__bio { color: #6b6b68; }
.sp-body .sp-content .sp-checks li { background: #f5f5f3; color: #111110; }
.sp-body__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.sp-section-title {
  font-family: var(--f-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 32px;
}
.sp-section-title--center { text-align: center; margin-bottom: 60px; }

.sp-excerpt {
  font-size: 18px; line-height: 1.7;
  color: var(--c-muted); margin-bottom: 28px;
}
.sp-excerpt p { font-size: inherit; line-height: inherit; color: inherit; margin: 0 0 14px; }
.sp-excerpt p:last-child { margin: 0; }

.sp-content { line-height: 1.8; }
.sp-content h2, .sp-content h3 {
  font-family: var(--f-heading); font-weight: 800;
  color: var(--c-text); letter-spacing: -.02em; margin: 32px 0 12px;
}
.sp-content h2 { font-size: 24px; }
.sp-content h3 { font-size: 19px; }
.sp-content p { font-size: 16px; color: var(--c-muted); margin-bottom: 16px; line-height: 1.75; }
.sp-content ul, .sp-content ol { margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.sp-content ul { list-style: none; }
.sp-content ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--c-muted); font-size: 16px; }
.sp-content ul li::before { content: '\2192'; color: var(--c-yellow); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.sp-content ol { padding-left: 20px; }
.sp-content ol li { color: var(--c-muted); font-size: 16px; padding-left: 4px; }

/* Check-items grid */
.sp-content .sp-checks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 28px 0; list-style: none; padding: 0;
}
.sp-content .sp-checks li {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: 16px;
  color: var(--c-text);
  font-size: 14px;
}
.sp-content .sp-checks li::before { content: none; }

/* Program sidebar sticky */
.sp-body__sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }

.sp-program {
  background: rgba(30,32,32,.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: var(--r-lg);
  padding: 32px;
}
.sp-program__title {
  font-family: var(--f-heading);
  font-size: 20px; font-weight: 800;
  color: var(--c-text); letter-spacing: -.01em;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sp-program__empty { font-size: 13px; color: var(--c-muted); }

/* Accordion */
.sp-acc { border-bottom: 1px solid rgba(255,255,255,.07); }
.sp-acc:last-child { border-bottom: none; }
.sp-acc__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; cursor: pointer; user-select: none; gap: 10px;
}
.sp-acc__label {
  font-family: var(--f-heading); font-size: 14px; font-weight: 700;
  color: var(--c-text); flex: 1; transition: color var(--ease);
}
.sp-acc__header:hover .sp-acc__label { color: var(--c-yellow); }
.sp-acc__count { font-size: 11px; color: var(--c-muted); white-space: nowrap; }
.sp-acc__chevron { color: var(--c-muted); flex-shrink: 0; transition: transform var(--ease); }
.sp-acc.is-open .sp-acc__chevron { transform: rotate(180deg); }
.sp-acc__body { display: none; padding: 0 0 16px 14px; border-left: 2px solid rgba(255,215,0,.3); margin-left: 4px; }
.sp-acc.is-open .sp-acc__body { display: block; }
.sp-acc__lesson { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; color: var(--c-muted); }
.sp-acc__lesson-name { flex: 1; }
.sp-acc__lesson-free {
  font-family: var(--f-heading); font-size: 10px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: #6fcf97; background: rgba(80,200,120,.08); border: 1px solid rgba(80,200,120,.2);
  padding: 2px 7px; border-radius: var(--r-full);
}
.sp-acc__lesson-dur { font-size: 11px; color: var(--c-muted); white-space: nowrap; }

/* Prowadzący */
.sp-instructor {
  background: rgba(30,32,32,.7);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg);
  padding: 24px;
}
.sp-instructor__row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sp-instructor__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--c-yellow);
}
.sp-instructor__avatar--init {
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2); font-family: var(--f-heading);
  font-weight: 800; color: var(--c-muted);
}
.sp-instructor__name { font-family: var(--f-heading); font-size: 15px; font-weight: 800; color: var(--c-text); }
.sp-instructor__role { font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.sp-instructor__bio { font-size: 13px; color: var(--c-muted); line-height: 1.65; margin: 0; }

/* ---- Dla kogo ---- */
.sp-audience { padding: 120px 0; background: #f5f5f3; }
.sp-audience .sp-section-title { color: #111110; }
.sp-audience .sp-audience__card { background: #ffffff; border-color: #e2e2de; }
.sp-audience .sp-audience__card:hover { border-color: rgba(180,150,0,.4); }
.sp-audience .sp-audience__name { color: #111110; }
.sp-audience .sp-audience__text { color: #4a4a47; }
.sp-audience .sp-audience__icon { background: rgba(255,215,0,.12); border-color: rgba(180,150,0,.2); }
.sp-audience__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sp-audience__card {
  padding: 40px 32px;
  background: var(--c-surface);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--r-lg);
  text-align: center;
  transition: border-color .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
  cursor: default;
}
.sp-audience__card:hover { border-color: rgba(255,215,0,.3); transform: translateY(-4px); }
.sp-audience__icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.sp-audience__name { font-family: var(--f-heading); font-size: 20px; font-weight: 800; color: var(--c-text); letter-spacing: -.01em; margin-bottom: 12px; }
.sp-audience__text { font-size: 15px; color: var(--c-muted); line-height: 1.65; margin: 0; }

/* ---- Opinie — glass-card, duży cytat ---- */
.sp-reviews { padding: 120px 0; background: #ffd700; overflow: hidden; }
.sp-reviews .sp-section-title { color: #111110; }
.sp-reviews .commentlist .comment_container {
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.7);
}
.sp-reviews .commentlist .comment_container::before { color: rgba(0,0,0,.08); }
.sp-reviews .commentlist .description p { color: #1a1a18; font-style: italic; }
.sp-reviews .commentlist .star-rating { color: #b89e00; }
.sp-reviews .commentlist .woocommerce-review__author { color: #111110; }
.sp-reviews .commentlist .woocommerce-review__dash,
.sp-reviews .commentlist .woocommerce-review__published-date { color: #6b6b68; }
.sp-reviews .commentlist img.avatar { border-color: #111110; }
.sp-reviews #respond { background: rgba(255,255,255,.5); border-color: rgba(255,255,255,.7); }
.sp-reviews #respond .comment-reply-title,
.sp-reviews #respond label { color: #111110; }
.sp-reviews #respond input,
.sp-reviews #respond textarea { background: rgba(255,255,255,.7); border-color: rgba(0,0,0,.1); color: #111110; }
.sp-reviews #respond input:focus,
.sp-reviews #respond textarea:focus { border-color: #111110; }
.sp-reviews .woocommerce-Reviews-title { display: none; }
.sp-reviews .commentlist {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; list-style: none; margin: 0 0 56px; padding: 0;
}
.sp-reviews .commentlist .comment_container {
  display: flex; flex-direction: column; gap: 0;
  background: rgba(30,32,32,.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--r-lg);
  padding: 40px;
  position: relative; overflow: hidden;
}
.sp-reviews .commentlist .comment_container::before {
  content: '\201C';
  position: absolute; top: 16px; right: 24px;
  font-family: var(--f-heading);
  font-size: 96px; font-weight: 900;
  color: rgba(255,215,0,.15);
  line-height: 1; pointer-events: none;
}
.sp-reviews .commentlist img.avatar {
  width: 56px; height: 56px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--c-yellow);
  float: none; flex-shrink: 0;
}
.sp-reviews .commentlist .comment-text { margin: 0; }
.sp-reviews .commentlist .star-rating { color: var(--c-yellow); margin-bottom: 12px; }
.sp-reviews .commentlist .description p {
  font-size: 17px; color: #e2e2e2;
  line-height: 1.75; font-style: italic;
  margin: 0 0 24px; position: relative; z-index: 1;
}
.sp-reviews .commentlist .woocommerce-review__author {
  font-family: var(--f-heading); font-size: 15px; font-weight: 700; color: #fff; display: block;
}
.sp-reviews .commentlist .woocommerce-review__dash,
.sp-reviews .commentlist .woocommerce-review__published-date {
  font-size: 11px; color: rgba(255,215,0,.8);
  text-transform: uppercase; letter-spacing: .07em;
  font-family: var(--f-heading); font-weight: 700;
}
.sp-reviews #review_form_wrapper { margin-top: 48px; }

/* Form komentarza na ciemnym tle */
.sp-reviews #respond {
  background: var(--c-surface);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg);
  padding: 32px;
}
.sp-reviews #respond .comment-reply-title,
.sp-reviews #respond label { color: var(--c-text); }
.sp-reviews #respond input,
.sp-reviews #respond textarea {
  background: var(--c-surface-2);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--c-text);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  width: 100%;
}
.sp-reviews #respond input:focus,
.sp-reviews #respond textarea:focus {
  border-color: var(--c-yellow);
  outline: none;
}

/* ---- Related products ---- */
.sp-related { padding: 120px 0; background: #ffd700; }
.sp-related .sp-section-title { color: #111110; }
.sp-related .sp-related__all { color: #b89e00; border-bottom-color: #b89e00; }
.sp-related .sp-rcard { background: rgba(255,255,255,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(255,255,255,.7); }
.sp-related .sp-rcard:hover { border-color: rgba(255,255,255,.9); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.sp-related .sp-rcard__title { color: #111110; }
.sp-related .sp-rcard:hover .sp-rcard__title { color: #b89e00; }
.sp-related .sp-rcard__desc { color: #6b6b68; }
.sp-related .sp-rcard__footer { border-top-color: rgba(0,0,0,.08); }
.sp-related .sp-rcard__price { color: #111110; }
.sp-related .sp-rcard__price .woocommerce-Price-amount { color: inherit; }
.sp-related .sp-rcard__level { background: rgba(180,150,0,.12); color: #8a7000; }
.sp-related .sp-rcard__btn { background: #ffd700; }
.sp-related .sp-rcard:hover .sp-rcard__btn { box-shadow: 0 6px 18px rgba(180,150,0,.3); }
.sp-related__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 48px; flex-wrap: wrap;
}
.sp-related__header .sp-section-title { margin-bottom: 0; }
.sp-related__all {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-heading); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-yellow);
  text-decoration: none; border-bottom: 1px solid var(--c-yellow);
  padding-bottom: 2px; white-space: nowrap;
  transition: opacity var(--ease);
}
.sp-related__all:hover { opacity: .7; }

.sp-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.sp-rcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--c-surface);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.sp-rcard:hover { border-color: rgba(255,215,0,.3); transform: translateY(-8px); }
.sp-rcard__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-surface-2);
}
.sp-rcard__thumb img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  transition: transform .4s ease;
}
.sp-rcard__thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-surface-2);
}
.sp-rcard:hover .sp-rcard__thumb img { transform: scale(1.05); }
.sp-rcard__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.sp-rcard__meta {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px; margin-bottom: 14px;
}
.sp-rcard__level {
  background: rgba(255,215,0,.1);
  color: var(--c-yellow);
  font-family: var(--f-heading); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--r-full);
}
.sp-rcard__stars { display: flex; gap: 1px; transform: scale(.85); transform-origin: right; }
.sp-rcard__title {
  font-family: var(--f-heading); font-size: 18px; font-weight: 800;
  color: var(--c-text); letter-spacing: -.01em; line-height: 1.2;
  margin-bottom: 8px; transition: color var(--ease);
}
.sp-rcard:hover .sp-rcard__title { color: var(--c-yellow); }
.sp-rcard__desc {
  font-size: 13px; color: var(--c-muted); line-height: 1.55;
  margin-bottom: 20px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.sp-rcard__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding-top: 16px; margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.07);
}
.sp-rcard__price {
  font-family: var(--f-heading); font-size: 22px; font-weight: 900;
  color: var(--c-text); letter-spacing: -.02em;
}
.sp-rcard__price .woocommerce-Price-amount { color: inherit; }
.sp-rcard__btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-yellow); color: #000;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.sp-rcard:hover .sp-rcard__btn { transform: scale(1.1); box-shadow: 0 0 20px rgba(255,215,0,.3); }

/* ---- REDUCED MOTION ---- */
/* ---- UX: cursor pointer na wszystkich interaktywnych ---- */
.sp-rcard,
.sp-audience__card,
.sp-acc__header,
.sp-ask,
.sp-related__all,
.sp-breadcrumb a,
.sp-price-box__cta .single_add_to_cart_button { cursor: pointer; }

/* ---- UX: focus states — widoczne ringi ---- */
.sp-rcard:focus-visible,
.sp-related__all:focus-visible,
.sp-ask:focus-visible,
.sp-breadcrumb a:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}
.sp-price-box__cta .single_add_to_cart_button:focus-visible {
  outline: 2px solid var(--c-yellow) !important;
  outline-offset: 3px !important;
}
.sp-acc__header:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- UX: touch target minimum 44×44px ---- */
.sp-rcard__btn {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
}

/* ---- UX: kontrast na białych sekcjach (sp-body, sp-audience) ---- */
.sp-body .sp-excerpt,
.sp-body .sp-content p,
.sp-body .sp-content ul li,
.sp-body .sp-content ol li,
.sp-body .sp-acc__lesson,
.sp-body .sp-instructor__bio { color: #4a4a47; }

.sp-body .sp-acc__count,
.sp-body .sp-acc__chevron,
.sp-body .sp-instructor__role { color: #767672; }

.sp-audience .sp-audience__text { color: #4a4a47; }

/* ---- UX: hover bez layout shift — box-shadow zamiast translateY na kartach ---- */
.sp-rcard:hover { transform: translateY(-6px); }

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  .sp-hero__img,
  .sp-rcard,
  .sp-audience__card,
  .sp-price-box__cta .single_add_to_cart_button,
  .sp-rcard__thumb img { transition: none; }
  .sp-rcard:hover { transform: none; }
  .sp-audience__card:hover { transform: none; }
}

/* ---- header border-spin wyłączony przy reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .header-inner::before { animation: none; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .sp-hero { padding: 0 0 80px; }
  .sp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .sp-body { padding: 80px 0; }
  .sp-body__grid { grid-template-columns: 1fr; }
  .sp-body__sidebar { position: static; }
  .sp-audience { padding: 80px 0; }
  .sp-audience__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sp-reviews { padding: 80px 0; }
  .sp-reviews .commentlist { grid-template-columns: 1fr; }
  .sp-related { padding: 80px 0; }
  .sp-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sp-title { font-size: 28px; }
  .sp-price-now { font-size: 32px; }
  .sp-price-box { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .sp-price-box__cta .single_add_to_cart_button { width: 100% !important; }
  .sp-features { grid-template-columns: 1fr; }
  .sp-audience__grid { grid-template-columns: 1fr; }
  .sp-related__grid { grid-template-columns: 1fr; }
  .sp-related__header { flex-direction: column; align-items: flex-start; }
  .sp-content .sp-checks { grid-template-columns: 1fr; }
  .sp-audience__card { padding: 28px 20px; }
  .sp-reviews .commentlist .comment_container { padding: 28px 24px; }
}

/* =============================================================
   SALES PAGE TEMPLATE (template-sales.php)
   ============================================================= */

/* ---- Global page wrapper ---- */
.slp-page {
  --slp-yellow:   #ffd700;
  --slp-dark:     #121414;
  --slp-surface:  #1e2020;
  --slp-text:     #e2e2e2;
  --slp-muted:    #a8a090;
  overflow-x: hidden;
}

.slp-page .container {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 60px);
}
.slp-container--narrow {
  max-width: 760px !important;
}

.slp-section {
  padding-block: clamp(56px, 8vw, 96px);
}

.slp-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slp-yellow);
  margin-bottom: 12px;
}

.slp-section__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #111110;
  line-height: 1.2;
  margin-bottom: 40px;
}
.slp-section__title--center { text-align: center; }

.slp-section__lead {
  text-align: center;
  font-size: 17px;
  color: #4a4a47;
  margin-top: -24px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ---- Buttons ---- */
.slp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
  text-decoration: none;
  border: none;
  padding: 14px 28px;
  line-height: 1;
}
.slp-btn--primary {
  background: var(--slp-yellow);
  color: #111110;
}
.slp-btn--primary:hover {
  background: #ffe44d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,215,0,.35);
}
.slp-btn--primary:focus-visible {
  outline: 2px solid var(--slp-yellow);
  outline-offset: 3px;
}
.slp-btn--lg  { font-size: 17px; padding: 16px 36px; }
.slp-btn--xl  { font-size: 19px; padding: 18px 44px; width: 100%; justify-content: center; }

/* ---- Price ---- */
.slp-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.slp-price__old {
  font-size: 18px;
  color: var(--slp-muted);
  text-decoration: line-through;
}
.slp-price__old .woocommerce-Price-amount { color: var(--slp-muted); }
.slp-price__now {
  font-size: 36px;
  font-weight: 900;
  color: var(--slp-yellow);
  line-height: 1;
}
.slp-price__now .woocommerce-Price-amount { color: var(--slp-yellow); }

/* ============================================================= */
/* HERO                                                          */
/* ============================================================= */
.slp-hero {
  position: relative;
  background: var(--slp-dark);
  color: var(--slp-text);
  padding-block: clamp(64px, 10vw, 120px);
  overflow: hidden;
}
.slp-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 80% 50%, rgba(255,215,0,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(255,215,0,.04) 0%, transparent 60%);
  pointer-events: none;
}

.slp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}

.slp-hero__title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.slp-hero__sub {
  font-size: 18px;
  color: var(--slp-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.slp-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.slp-hero__bullets li {
  font-size: 15px;
  color: var(--slp-text);
  padding-left: 28px;
  position: relative;
}
.slp-hero__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid var(--slp-yellow);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd700' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
  border: none;
}

.slp-hero__cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.slp-hero__guarantee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--slp-muted);
  margin: 0;
}

/* Hero media */
.slp-hero__media { display: flex; justify-content: center; }
.slp-hero__img-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.slp-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================= */
/* SOCIAL PROOF BAR                                              */
/* ============================================================= */
.slp-bar {
  background: #1a1c1c;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-block: 24px;
}
.slp-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}
.slp-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--slp-muted);
  font-size: 13px;
  text-align: center;
}
.slp-bar__num {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}
.slp-bar__sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.1);
}

/* ============================================================= */
/* DLA KOGO                                                      */
/* ============================================================= */
.slp-for-whom {
  background: #fff;
}
.slp-for-whom .slp-section__title { color: #111110; }

.slp-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.slp-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.slp-check-item__icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.slp-check-item p {
  font-size: 15px;
  color: #4a4a47;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================= */
/* CZEGO SIĘ NAUCZYSZ                                           */
/* ============================================================= */
.slp-learn {
  background: #f5f5f3;
}
.slp-learn .slp-section__title { color: #111110; }

.slp-learn__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.slp-learn__card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid #e8e8e6;
  transition: box-shadow .2s, transform .2s;
}
.slp-learn__card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.slp-learn__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #111110;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--slp-yellow);
}
.slp-learn__icon svg { stroke: var(--slp-yellow); }
.slp-learn__card-title {
  font-size: 16px;
  font-weight: 700;
  color: #111110;
  margin-bottom: 8px;
}
.slp-learn__card-desc {
  font-size: 14px;
  color: #767672;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================= */
/* INSTRUKTOR                                                    */
/* ============================================================= */
.slp-instructor {
  background: var(--slp-dark);
  color: var(--slp-text);
}
.slp-instructor .slp-section__title { color: #fff; }

.slp-instructor__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.slp-instructor__photo-wrap {
  position: relative;
}
.slp-instructor__photo {
  width: 100%;
  border-radius: 16px;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.slp-instructor__photo--placeholder {
  aspect-ratio: 3/4;
  background: var(--slp-surface);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.07);
}
.slp-instructor__badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--slp-yellow);
  color: #111110;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.slp-instructor__name {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #fff;
  margin: 8px 0 20px;
}
.slp-instructor__bio {
  font-size: 15px;
  color: var(--slp-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.slp-instructor__stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.slp-instructor__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.slp-instructor__stat strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--slp-yellow);
}
.slp-instructor__stat span {
  font-size: 12px;
  color: var(--slp-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================================= */
/* OPINIE                                                        */
/* ============================================================= */
.slp-testimonials {
  background: var(--slp-yellow);
}
.slp-testimonials .slp-section__title { color: #111110; }

.slp-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.slp-tcard {
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.slp-tcard__quote {
  font-size: 72px;
  line-height: .8;
  color: rgba(0,0,0,.1);
  font-family: Georgia, serif;
  position: absolute;
  top: 16px;
  right: 24px;
  pointer-events: none;
}
.slp-tcard__stars { display: flex; gap: 2px; }
.slp-tcard__text {
  font-size: 15px;
  color: #1a1a18;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.slp-tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.slp-tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111110;
  color: var(--slp-yellow);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.slp-tcard__name {
  font-size: 14px;
  font-weight: 700;
  color: #111110;
}
.slp-tcard__role {
  font-size: 12px;
  color: #4a4a47;
}

/* ============================================================= */
/* CTA BOX                                                       */
/* ============================================================= */
.slp-cta-section {
  background: #111110;
}
.slp-cta-box {
  background: var(--slp-surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
}
.slp-cta-box__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.slp-cta-box__sub {
  font-size: 17px;
  color: var(--slp-muted);
  margin-bottom: 32px;
  line-height: 1.55;
}
.slp-cta-box__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.slp-cta-box__price .slp-price__old { font-size: 22px; }
.slp-cta-box__price-now {
  font-size: 52px;
  font-weight: 900;
  color: var(--slp-yellow);
  line-height: 1;
}
.slp-cta-box__price-now .woocommerce-Price-amount { color: var(--slp-yellow); }
.slp-cta-box__back {
  margin-top: 16px;
  font-size: 14px;
  color: var(--slp-muted);
}
.slp-cta-box__back a {
  color: var(--slp-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.slp-cta-box__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: left;
  color: var(--slp-muted);
}
.slp-cta-box__guarantee svg { flex-shrink: 0; color: var(--slp-yellow); }
.slp-cta-box__guarantee strong { display: block; font-size: 15px; color: #fff; margin-bottom: 3px; }
.slp-cta-box__guarantee span { font-size: 13px; }

/* ============================================================= */
/* FAQ                                                           */
/* ============================================================= */
.slp-faq {
  background: #fff;
}
.slp-faq .slp-section__title { color: #111110; }

.slp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8e8e6;
  border-radius: 12px;
  overflow: hidden;
}
.slp-faq__item {
  border-bottom: 1px solid #e8e8e6;
}
.slp-faq__item:last-child { border-bottom: none; }

.slp-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #111110;
  text-align: left;
  transition: background .15s;
}
.slp-faq__q:hover { background: #f9f9f8; }
.slp-faq__q:focus-visible { outline: 2px solid #ffd700; outline-offset: -2px; }

.slp-faq__chevron {
  flex-shrink: 0;
  transition: transform .22s;
  color: #767672;
}
.slp-faq__item.is-open .slp-faq__chevron { transform: rotate(180deg); }
.slp-faq__item.is-open .slp-faq__q { background: #f9f9f8; color: #111110; }

.slp-faq__a {
  padding: 0 24px 20px;
  background: #f9f9f8;
}
.slp-faq__a p {
  font-size: 15px;
  color: #4a4a47;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================= */
/* RESPONSIVE                                                    */
/* ============================================================= */
@media (max-width: 1024px) {
  .slp-learn__grid { grid-template-columns: 1fr 1fr; }
  .slp-instructor__grid { grid-template-columns: 200px 1fr; }
}

@media (max-width: 768px) {
  .slp-hero__grid { grid-template-columns: 1fr; }
  .slp-hero__media { display: none; }
  .slp-check-grid { grid-template-columns: 1fr; }
  .slp-learn__grid { grid-template-columns: 1fr; }
  .slp-testimonials__grid { grid-template-columns: 1fr; }
  .slp-instructor__grid { grid-template-columns: 1fr; }
  .slp-instructor__photo-wrap { max-width: 240px; }
  .slp-bar__sep { display: none; }
  .slp-bar__inner { gap: 20px; justify-content: space-around; }
  .slp-cta-box__price { flex-direction: column; align-items: center; gap: 6px; }
  .slp-cta-box__guarantee { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .slp-btn--xl { font-size: 16px; padding: 16px 28px; }
  .slp-cta-box__price-now { font-size: 42px; }
  .slp-instructor__stats { flex-wrap: wrap; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .slp-learn__card,
  .slp-btn--primary { transition: none; }
  .slp-learn__card:hover { transform: none; }
  .slp-btn--primary:hover { transform: none; box-shadow: none; }
}

/* ============================================================
   OFFER PAGE — Trust features
   Strony ofertowe SEO (tworzenie-stron-internetowych i pochodne)
   ============================================================ */

/* Trust features — pasek ikona + tekst pod hero ofertowym */

.trust-features {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 44px 0;
}

.trust-features__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  width: min(calc(100% - 48px), 1600px);
}

.trust-features__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ikona w kafelku */
.trust-features__item svg {
  flex-shrink: 0;
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  padding: 14px;
  border-radius: 16px;
  background: var(--c-bg);
  color: #c9a400;
  box-shadow: 0 0 0 1px var(--c-border), 0 8px 18px -10px rgba(17,17,16,0.25);
  transition: transform var(--ease), background var(--ease), color var(--ease);
}

.trust-features__item:hover svg {
  transform: translateY(-2px);
  background: var(--c-yellow);
  color: var(--c-dark-bg);
}

.trust-features__item strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--f-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.25;
}

.trust-features__item span {
  font-size: 15px;
  line-height: 1.4;
  color: var(--c-muted);
}

@media (max-width: 1280px) {
  .trust-features__item { gap: 12px; }
  .trust-features__item svg { width: 22px; height: 22px; padding: 12px; }
  .trust-features__item strong { font-size: 16px; }
  .trust-features__item span { font-size: 14px; }
}

@media (max-width: 1024px) {
  .trust-features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* telefon: karuzela przesuwana palcem (kropki + autoplay w main.js) */
@media (max-width: 640px) {
  .trust-features { padding: 28px 0 22px; }

  .trust-features__grid {
    display: flex;
    gap: 12px;
    width: 100%;
    padding: 4px 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .trust-features__grid::-webkit-scrollbar { display: none; }

  .trust-features__item {
    flex: 0 0 82%;
    scroll-snap-align: start;
    padding: 18px;
    border-radius: 18px;
    background: var(--c-bg);
    box-shadow: 0 0 0 1px var(--c-border), 0 10px 24px -16px rgba(17,17,16,0.3);
  }

  .trust-features__item svg { box-shadow: none; background: var(--c-yellow-bg); }
  .trust-features__item strong { font-size: 17px; }
}

.trust-features__dots {
  display: none;
}

@media (max-width: 640px) {
  .trust-features__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }

  .trust-features__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(17,17,16,0.18);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
  }

  .trust-features__dots button.is-active {
    width: 22px;
    background: var(--c-yellow-dim);
  }
}

/* ============================================================
   OFFER PAGE — Filter pills (realizacje) + Pricing factors visual
   ============================================================ */

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-pill {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 20px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-muted);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.filter-pill:hover {
  border-color: var(--c-text);
  color: var(--c-text);
}

.filter-pill.is-active {
  background: var(--c-text);
  border-color: var(--c-text);
  color: var(--c-white);
}

.pricing-factors {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}

.pricing-factors__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-factors__label {
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
}

.pricing-factors__bar {
  display: block;
  height: 10px;
  border-radius: var(--r-full);
  background: var(--c-surface-2);
  overflow: hidden;
}

.pricing-factors__bar span {
  display: block;
  height: 100%;
  border-radius: var(--r-full);
  background: var(--c-text);
}

.pricing-factors__bar--yellow span {
  background: var(--c-yellow-dim);
}

.pricing-factors__note {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .filter-pills { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}

/* Siatka realizacji: karty wypełniają szerokość także przy 1-2 realizacjach */
.card-grid--3:has(> .case-card),
.card-grid--three:has(> .case-card) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.card-grid:has(> .case-card) + .section-heading--center {
  margin-top: 40px;
}

/* ============================================================
   HERO SHOWCASE — strona "Tworzenie stron internetowych"
   Laptop + telefon w 3D z tiltem za kursorem, ekrany pokazują
   realizacje z CPT case_study. JS: assets/js/hero-showcase.js
   ============================================================ */

.hero-showcase {
  --mx: 70%;
  --my: 40%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(880px, 100svh);
  padding: 150px 0 110px;
  background: #0a0b0b;
  color: var(--c-dark-text);
}

.hs-bg,
.hs-bg > span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hs-bg { z-index: -1; }

.hs-bg__glow {
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(255,215,0,0.10), transparent 60%),
    radial-gradient(900px 500px at 80% 110%, rgba(255,215,0,0.08), transparent 70%),
    radial-gradient(700px 500px at 0% 0%, rgba(255,255,255,0.04), transparent 70%);
}

.hs-bg__grid {
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, transparent 70%);
          mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, transparent 70%);
}

.hs-bg__grain {
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hs-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.hs-wrap > * { min-width: 0; }

.hs-copy {
  position: relative;
  z-index: 3;
}

/* copy */

.hs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-yellow);
}

.hs-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-yellow);
  animation: hs-ping 2.4s infinite;
}

@keyframes hs-ping {
  0%   { box-shadow: 0 0 0 0 rgba(255,215,0,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255,215,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
}

.hero-showcase .hs-title {
  margin: 0;
  font-family: var(--f-heading);
  font-size: clamp(40px, 5.4vw, 78px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--c-white);
}

.hs-title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(8px);
  animation: hs-word 0.9s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}

@keyframes hs-word { to { opacity: 1; transform: none; filter: none; } }

.hs-hl {
  position: relative;
  color: var(--c-yellow);
}

.hs-hl svg {
  position: absolute;
  left: -2%;
  bottom: -0.14em;
  width: 104%;
  height: 0.32em;
  overflow: visible;
}

.hs-hl path {
  fill: none;
  stroke: var(--c-yellow);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: hs-draw 1s 0.95s cubic-bezier(.6,0,.2,1) forwards;
}

@keyframes hs-draw { to { stroke-dashoffset: 0; } }

@keyframes hs-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.hero-showcase .hs-lead {
  max-width: 500px;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--c-dark-muted);
  animation: hs-fade-up 0.8s 0.7s both;
}

.hs-lead strong {
  color: var(--c-dark-text);
  font-weight: 500;
}

.hs-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  animation: hs-fade-up 0.8s 0.85s both;
}

.hs-btn-main {
  box-shadow: 0 10px 40px -10px rgba(255,215,0,0.55);
}

.hs-btn-main span { transition: transform var(--ease); }
.hs-btn-main:hover span { transform: translateX(4px); }

.hs-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--c-dark-muted);
  animation: hs-fade-up 0.8s 1s both;
}

.hs-pillars li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hs-pillars li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-yellow-dim);
}

/* scena 3D */

.hs-stage {
  position: relative;
  z-index: 2;
  height: 560px;
  perspective: 1600px;
}

.hs-rig {
  --rx: 6deg;
  --ry: -12deg;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  animation: hs-rig-in 1.4s 0.3s cubic-bezier(.2,.8,.2,1) both;
}

.hs-rig.is-live { animation: none; }

@keyframes hs-rig-in {
  from { opacity: 0; transform: translateY(80px) rotateX(28deg) rotateY(-18deg) scale(0.92); }
}

.hs-layer {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
}

.hs-laptop {
  left: 2%;
  top: 70px;
  width: 88%;
  color: inherit;
}

.hs-lid {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10.4;
  padding: 14px 14px 18px;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(160deg, #2a2b2b, #121313 60%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 60px 80px -30px rgba(0,0,0,0.9),
    0 0 120px -30px rgba(255,215,0,0.25);
}

.hs-lid::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #050505;
}

.hs-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.hs-base {
  display: block;
  height: 16px;
  margin: 0 -7%;
  border-radius: 2px 2px 16px 16px;
  background: linear-gradient(#3a3b3b, #1a1b1b 40%, #0e0f0f);
  box-shadow: 0 30px 40px -12px rgba(0,0,0,0.8);
}

.hs-base::after {
  content: '';
  display: block;
  width: 16%;
  height: 6px;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: #0b0b0b;
}

.hs-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 26px;
  padding: 0 10px;
  background: #18191a;
  border-bottom: 1px solid #000;
}

.hs-dots { display: flex; gap: 5px; }
.hs-dots i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3a; }

.hs-url {
  flex: 1;
  max-width: 46%;
  height: 16px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 5px;
  background: #0e0f0f;
  font-size: 9.5px;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
  color: #d8d8d8;
}

.hs-url b { font-weight: 500; }

.hs-caret {
  display: inline-block;
  width: 1px;
  height: 9px;
  margin-left: 1px;
  vertical-align: -1px;
  background: var(--c-yellow);
  animation: hs-blink 1s steps(1) infinite;
}

@keyframes hs-blink { 50% { opacity: 0; } }

.hs-view {
  position: relative;
  display: block;
  flex: 1;
  overflow: hidden;
}

.hs-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s ease, transform 6s ease;
}

.hs-shot.is-on {
  opacity: 1;
  transform: scale(1);
}

.hs-glare {
  --gx: 60%;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.10) 45%, transparent 60%);
  background-size: 250% 100%;
  background-position: var(--gx) 0;
  mix-blend-mode: screen;
}

.hs-phone {
  right: -2%;
  top: 230px;
  width: 21%;
  transform: translateZ(110px);
}

.hs-phone__body {
  position: relative;
  display: block;
  aspect-ratio: 9 / 19.2;
  padding: 7px;
  border-radius: 30px;
  background: linear-gradient(160deg, #333, #111 50%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 40px 60px -20px rgba(0,0,0,0.9);
}

.hs-notch {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  width: 30%;
  height: 13px;
  margin-left: -15%;
  border-radius: 10px;
  background: #000;
}

.hs-phone .hs-view {
  height: 100%;
  border-radius: 23px;
  background: #000;
}

.hs-phone .hs-glare { border-radius: 23px; }
.hs-phone .hs-shot { object-position: left top; }

/* etykiety unoszące się nad sceną */

.hs-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(22,23,23,0.72);
  border: 1px solid rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.9);
  animation: hs-chip-in 0.7s cubic-bezier(.2,.8,.2,1.2) both;
}

@keyframes hs-chip-in {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
}

.hs-chip__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255,215,0,0.12);
  color: var(--c-yellow);
}

.hs-chip small {
  display: block;
  font-size: 11px;
  color: var(--c-dark-muted);
}

.hs-chip strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.35s;
}

.hs-float { display: block; animation: hs-bob 6s ease-in-out infinite; }

@keyframes hs-bob { 50% { translate: 0 -10px; } }

.hs-chip-pos--1 { left: -6%; top: 210px; transform: translateZ(160px); }
.hs-chip-pos--1 .hs-chip { animation-delay: 1.3s; }
.hs-chip-pos--2 { right: 6%; top: 96px; transform: translateZ(90px); }
.hs-chip-pos--2 .hs-chip { animation-delay: 1.5s; }
.hs-chip-pos--2 .hs-float { animation-delay: -2s; }
.hs-chip-pos--3 { left: 30%; bottom: 28px; transform: translateZ(130px); }
.hs-chip-pos--3 .hs-chip { animation-delay: 1.7s; gap: 10px; }
.hs-chip-pos--3 .hs-float { animation-delay: -4s; }

.hs-spark { flex: none; width: 70px; height: 26px; }

.hs-spark path {
  fill: none;
  stroke: var(--c-yellow);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: hs-draw 1.4s 2s ease-out forwards;
}

.hs-note {
  position: absolute;
  left: 4%;
  top: 4px;
  font-family: 'Caveat', var(--f-heading), cursive;
  font-size: 28px;
  font-weight: 600;
  color: #cfcfc8;
  transform: rotate(4deg) translateZ(60px);
  animation: hs-fade 0.8s 1.9s both;
}

@keyframes hs-fade { from { opacity: 0; } }

/* pasek realizacji */

.hs-pager {
  position: absolute;
  z-index: 3;
  left: 2%;
  right: 12%;
  bottom: -40px;
  display: flex;
  gap: 14px;
}

.hs-pager button {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-dark-muted);
  cursor: pointer;
}

.hs-pager button.is-on { color: var(--c-white); }

.hs-track {
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
}

.hs-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--c-yellow);
}

.hs-pager button.is-on .hs-fill {
  animation: hs-fill var(--hs-dur, 5200ms) linear forwards;
}

@keyframes hs-fill { to { width: 100%; } }

@media (max-width: 1000px) {
  .hero-showcase { padding: 130px 0 120px; }
  .hs-wrap { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hs-stage { width: 100%; max-width: 640px; height: auto; aspect-ratio: 1 / 0.82; margin-inline: auto; }
  .hs-laptop { top: 12%; }
  .hs-phone { top: 40%; }
  .hs-chip-pos--1 { left: 2%; top: 30%; }
  .hs-chip-pos--2,
  .hs-note { display: none; }
  .hs-chip-pos--3 { left: auto; right: 2%; bottom: 6%; }
  .hs-pager { right: 2%; bottom: -48px; }
}

@media (max-width: 560px) {
  .hs-chip { gap: 9px; max-width: 210px; padding: 9px 12px 9px 9px; }
  .hs-chip__ico { width: 28px; height: 28px; }
  .hs-chip strong { font-size: 13px; }
  .hs-chip small { font-size: 10px; }
  .hs-spark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase *,
  .hero-showcase *::before,
  .hero-showcase *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}

/* ============================================================
   CASE SHOWCASE — prezentacja designu realizacji
   Okno przeglądarki / telefon z długim zrzutem strony, który
   przewija się po najechaniu (na dotyku: gdy karta jest w kadrze).
   JS: assets/js/case-showcase.js
   ============================================================ */

/* wjazd przy scrollu (ukrycie tylko gdy JS działa: klasa na <html>) */
.has-case-reveal .case-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--d, 0) * 110ms);
}

.has-case-reveal .case-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* okno przeglądarki */
.case-browser {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(17,17,16,0.08),
    0 30px 60px -30px rgba(17,17,16,0.35);
  isolation: isolate;
}

.case-browser__bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #f1f1ef;
  border-bottom: 1px solid rgba(17,17,16,0.06);
}

.case-browser__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9d9d5;
}

.case-browser__bar i:nth-child(1) { background: #ff5f57; }
.case-browser__bar i:nth-child(2) { background: #febc2e; }
.case-browser__bar i:nth-child(3) { background: #28c840; }

.case-browser__url {
  flex: 1;
  max-width: 55%;
  height: 18px;
  margin: 0 auto;
  border-radius: 6px;
  background: #fff;
  font-size: 10.5px;
  line-height: 18px;
  text-align: center;
  color: var(--c-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateX(-20px);
}

.case-browser__view,
.case-phone__view {
  position: relative;
  overflow: hidden;
  background: var(--c-surface-2);
}

.case-browser__view {
  flex: 1;
  min-height: 0;
}

.case-shot {
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
  transform: translate3d(0, var(--shot-y, 0px), 0);
  transition: transform var(--shot-dur, 1.1s) cubic-bezier(.45,.05,.35,1);
  -webkit-user-drag: none;
}

/* obrazek krótszy niż okno (brak pełnego zrzutu): kadruj od góry, przy animacji powolny zoom */
.case-shot--cover {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  transition: transform 1.2s ease;
}

.is-scrolling .case-shot--cover {
  transform: scale(1.08);
  transition-duration: 6s;
}

/* pasek przewijania jak w przeglądarce */
.case-scrollbar {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 4px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}

.case-scrollbar span {
  display: block;
  width: 100%;
  height: var(--thumb-h, 20%);
  border-radius: 4px;
  background: rgba(17,17,16,0.45);
  transform: translate3d(0, var(--thumb-y, 0px), 0);
  transition: transform var(--shot-dur, 1.1s) cubic-bezier(.45,.05,.35,1);
}

.is-scrolling .case-scrollbar { opacity: 1; }

/* podpowiedź */
.case-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--r-full);
  background: rgba(17,17,16,0.82);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.case-hint svg {
  animation: case-hint-bob 1.6s ease-in-out infinite;
}

@keyframes case-hint-bob { 50% { transform: translateY(3px); } }

.is-scrolling .case-hint {
  opacity: 0;
  transform: translate(-50%, 10px);
}

/* telefon */
.case-phone {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  padding: 6px;
  border-radius: 28px;
  background: #111;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 30px 60px -20px rgba(17,17,16,0.55);
}

.case-phone::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 50%;
  width: 30%;
  height: 11px;
  margin-left: -15%;
  border-radius: 8px;
  background: #000;
}

.case-phone__view {
  display: block;
  height: 100%;
  border-radius: 22px;
}

/* wyróżniona realizacja: scena z oknem + telefonem */
.case-feature--showcase {
  grid-template-columns: 0.75fr 1.25fr;
  padding: 48px 56px 48px 48px;
  overflow: hidden;
}

.case-stage {
  position: relative;
  padding: 10px 9% 40px 0;
  perspective: 1400px;
}

.case-stage__rig {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.2s linear;
}

.case-stage .case-browser {
  aspect-ratio: 16 / 10.6;
}

.case-stage .case-phone {
  right: -11%;
  bottom: -40px;
  width: 23%;
  aspect-ratio: 9 / 19.5;
  transform: translateZ(70px);
}

.case-stage__glow {
  position: absolute;
  z-index: -1;
  inset: 10% 0 0 10%;
  background: radial-gradient(closest-side, rgba(255,215,0,0.35), transparent);
  filter: blur(30px);
  opacity: 0.7;
  transition: opacity 0.5s;
}

.case-feature--showcase:hover .case-stage__glow { opacity: 1; }

.case-glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 14px;
  pointer-events: none;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.22), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}

.case-feature--showcase:hover .case-glare { opacity: 1; }

/* karty w siatce: okno przeglądarki zamiast mockupu */
.case-card .case-browser {
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--r-lg) - 8px);
  box-shadow: 0 0 0 1px rgba(17,17,16,0.06);
}

.case-card:hover .case-browser {
  box-shadow: 0 0 0 1px rgba(17,17,16,0.1);
}


/* przycisk "Zobacz projekt" w oknie */
.case-browser .case-media__cta {
  z-index: 4;
}

.case-card:hover .case-browser .case-media__cta,
.case-feature:hover .case-browser .case-media__cta {
  opacity: 1;
  transform: none;
}

.case-feature--showcase .case-feature__copy h3 {
  font-size: clamp(26px, 2.6vw, 36px);
}

.case-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}

.case-feature__meta li {
  padding: 5px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
}

@media (max-width: 900px) {
  .case-feature--showcase {
    grid-template-columns: 1fr;
    padding: 20px 20px 28px;
  }

  .case-feature--showcase .case-stage {
    order: -1;
    padding: 0 14% 34px 0;
  }

  .case-feature--showcase .case-feature__copy {
    padding: 0;
  }

  .case-stage .case-phone {
    right: -16%;
    width: 27%;
    border-radius: 20px;
    padding: 4px;
  }

  .case-stage .case-phone .case-phone__view { border-radius: 16px; }
  .case-stage .case-phone::before { top: 8px; height: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .case-reveal { opacity: 1; transform: none; transition: none; }
  .case-stage__rig { transform: none; }
  .case-hint svg { animation: none; }
}

.case-feature[hidden],
.case-card[hidden] { display: none; }

/* ============================================================
   PROCESS PINS — "Jak wygląda współpraca"
   Przypięte karteczki w zygzaku połączone przerywaną linią,
   która rysuje się przy scrollu. JS: assets/js/process-steps.js
   ============================================================ */

.process-pins {
  --pp-line: rgba(255,215,0,0.45);
  position: relative;
  overflow: hidden;
  overflow: clip; /* clip nie psuje position: sticky */
  isolation: isolate;
  padding: 120px 0 140px;
  background: #0d0e0e;
  color: var(--c-dark-text);
}

/* tło w linie jak kartka + poświata */
.process-pins::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 500px at 85% 20%, rgba(255,215,0,0.07), transparent 70%),
    radial-gradient(600px 500px at 10% 90%, rgba(255,215,0,0.05), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(255,255,255,0.035) 31px 32px);
}

.pp-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

/* lewa kolumna: przyklejony nagłówek */
.pp-intro {
  position: sticky;
  top: 140px;
}

.pp-intro .eyebrow {
  color: var(--c-yellow);
}

.process-pins .pp-intro h2 {
  margin: 12px 0 16px;
  color: var(--c-white);
}

.process-pins .pp-intro p {
  max-width: 420px;
  margin: 0;
  color: var(--c-dark-muted);
}

.pp-counter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 32px;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--c-dark-muted);
  font-variant-numeric: tabular-nums;
}

.pp-counter b {
  font-size: 40px;
  line-height: 1;
  color: var(--c-yellow);
  letter-spacing: -0.02em;
}

.pp-counter__bar {
  flex: 1;
  max-width: 200px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.pp-counter__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--c-yellow);
  transform-origin: left;
  transform: scaleX(var(--pp-progress, 0));
  transition: transform 0.2s linear;
}

.process-pins .btn--ghost {
  color: var(--c-white);
  border-color: rgba(255,255,255,0.35);
}

/* prawa kolumna: tablica z karteczkami */
.pp-board {
  position: relative;
  padding: 10px 0 20px;
}

.pp-list {
  position: static;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  clip-path: inset(0 0 calc((1 - var(--pp-draw, 0)) * 100%) 0);
}

.pp-lines path {
  fill: none;
  stroke: var(--pp-line);
  stroke-width: 1.8;
  stroke-dasharray: 5 8;
  stroke-linecap: round;
}

.pp-card {
  --acc: var(--c-yellow);
  --tint: rgba(255,215,0,0.10);
  --r: -3deg;
  position: relative;
  z-index: 1;
  width: 50%;
  margin-top: 34px;
  transform: rotate(var(--r));
  transition: transform 0.5s cubic-bezier(.34,1.4,.64,1);
}

.pp-card:first-child { margin-top: 0; }
.pp-card:nth-child(even) { margin-left: auto; --r: 2.5deg; }
.pp-card:nth-child(4n+3) { --r: -2deg; }
.pp-card:nth-child(4n) { --r: 3deg; }

.pp-card:nth-child(3n+2) { --acc: #ffb547; --tint: rgba(255,181,71,0.10); }
.pp-card:nth-child(3n)   { --acc: #f3efe2; --tint: rgba(243,239,226,0.07); }

.pp-card__paper {
  display: block;
  padding: 0 0 6px;
  border-radius: 18px;
  background: #1a1b1b;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.07),
    0 24px 50px -20px rgba(0,0,0,0.85);
  transition: box-shadow 0.4s ease;
}

/* pasek z pinezką */
.pp-card__tab {
  position: relative;
  display: flex;
  justify-content: center;
  height: 34px;
}

.pp-pin {
  position: relative;
  top: 8px;
  width: 16px;
  height: 22px;
  color: var(--acc);
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.6));
}

.pp-card__body {
  display: block;
  margin: 0 6px;
  padding: 18px 22px 22px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--tint), rgba(255,255,255,0.015) 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.pp-card__num {
  display: block;
  font-family: var(--f-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--acc);
  letter-spacing: -0.02em;
}

.process-pins .pp-card h3 {
  margin: 10px 0 6px;
  font-size: 19px;
  line-height: 1.25;
  color: var(--c-white);
}

.process-pins .pp-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-dark-muted);
}

/* aktywny krok (najbliżej środka ekranu) i hover */
.pp-card.is-active .pp-card__paper,
.pp-card:hover .pp-card__paper {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--acc) 45%, transparent),
    0 30px 60px -20px rgba(0,0,0,0.9),
    0 0 50px -12px color-mix(in srgb, var(--acc) 35%, transparent);
}

.pp-card:hover {
  transform: rotate(0deg) translateY(-6px);
}

/* wpinanie przy scrollu (ukryte tylko gdy JS działa) */
.has-pp .pp-card {
  opacity: 0;
  transform: translateY(-40px) rotate(calc(var(--r) * 4)) scale(1.06);
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(.34,1.45,.64,1);
}

.has-pp .pp-card.is-in {
  opacity: 1;
  transform: rotate(var(--r));
}

.has-pp .pp-card.is-in:hover {
  transform: rotate(0deg) translateY(-6px);
  transition-duration: 0.5s;
}

.has-pp .pp-pin {
  opacity: 0;
  transform: translateY(-14px) scale(1.6);
  transition: opacity 0.3s ease 0.35s, transform 0.45s cubic-bezier(.34,1.8,.64,1) 0.35s;
}

.has-pp .pp-card.is-in .pp-pin {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .process-pins { padding: 90px 0 100px; }
  .pp-wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .pp-intro { position: static; }
  .pp-counter { display: none; }
  .pp-card { width: 86%; margin-top: 20px; }
  .pp-card:nth-child(even) { margin-left: auto; }
  .pp-card { --r: -1.5deg; }
  .pp-card:nth-child(even) { --r: 1.5deg; }
}

@media (prefers-reduced-motion: reduce) {
  .has-pp .pp-card,
  .has-pp .pp-pin { opacity: 1; transform: rotate(var(--r)); transition: none; }
  .has-pp .pp-pin { transform: none; }
  .pp-lines { clip-path: none; }
}

/* ============================================================
   ECOSYSTEM — "Strona to dopiero początek"
   Karta z tekstem + orbity narzędzi wokół logo (czysty CSS).
   template-parts/offer-ecosystem.php
   ============================================================ */

.eco-section {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.eco-card {
  --S: 760px; /* średnica największej orbity x2 */
  position: relative;
  overflow: hidden;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: 680px;
  padding: 110px 0;
  background:
    radial-gradient(640px circle at 86% 50%, rgba(255,215,0,0.12), transparent 60%),
    linear-gradient(90deg, var(--c-bg) 0%, var(--c-bg) 45%, var(--c-surface) 100%);
  isolation: isolate;
}

.eco-card > .container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--container));
}

.eco-card__copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.eco-card__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.eco-card__lead {
  margin: 0 0 24px;
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.65;
}

.eco-points {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.eco-points li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--c-border);
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-muted);
}

.eco-points strong {
  font-family: var(--f-heading);
  font-size: 15px;
  color: var(--c-text);
}

.eco-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.eco-chain li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-text);
}

.eco-chain li:not(:last-child)::after {
  content: '→';
  margin-left: 2px;
  color: var(--c-yellow-dim);
  font-weight: 700;
}

.eco-card .btn--dark {
  background: var(--c-text);
  border-color: var(--c-text);
  color: var(--c-white);
}

.eco-card .btn--dark:hover {
  background: #000;
  transform: translateY(-2px);
}

/* orbity */
.eco-orbits {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 86%;
  width: var(--S);
  height: var(--S);
  margin: calc(var(--S) / -2) 0 0 calc(var(--S) / -2);
  pointer-events: none;
}

.eco-orbit {
  --dir: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--S) * var(--r) / 50);
  height: calc(var(--S) * var(--r) / 50);
  margin: calc(var(--S) * var(--r) / -100) 0 0 calc(var(--S) * var(--r) / -100);
  border: 1.5px dashed rgba(17,17,16,0.14);
  border-radius: 50%;
  animation: eco-spin var(--dur) linear infinite;
}

.eco-orbit:nth-of-type(2) { --dir: -1; animation-direction: reverse; }

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

.eco-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a)) translateX(calc(var(--S) * var(--r) / 100)) rotate(calc(var(--a) * -1));
}

.eco-item__badge {
  position: absolute;
  top: -30px;
  left: -30px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17,17,16,0.06), 0 12px 24px -10px rgba(17,17,16,0.3);
  overflow: hidden;
  animation: eco-spin var(--dur) linear infinite reverse;
}

.eco-orbit:nth-of-type(2) .eco-item__badge { animation-direction: normal; }

.eco-item__badge img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* znaki SVG nie mają marginesu jak PNG, więc są mniejsze */
.eco-item__badge img.is-svg {
  width: 30px;
  height: 30px;
}

/* szerokie logotypy (WooCommerce, PHP) potrzebują więcej miejsca */
.eco-item__badge img[src*="woocommerce"] {
  width: 40px;
  height: 40px;
}

.eco-item__badge img[src*="php"] {
  width: 46px;
  height: 46px;
}

.eco-item__badge b {
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--c-text);
}

.eco-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  background: var(--c-dark-bg);
  box-shadow: 0 0 0 10px rgba(255,215,0,0.12), 0 24px 50px -16px rgba(17,17,16,0.6);
}

.eco-core::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255,215,0,0.5);
  animation: eco-pulse 2.8s ease-out infinite;
}

@keyframes eco-pulse {
  from { transform: scale(1); opacity: 0.8; }
  to   { transform: scale(1.6); opacity: 0; }
}

.eco-core img {
  width: 56px;
  height: auto;
}

.eco-core b {
  font-family: var(--f-heading);
  color: var(--c-yellow);
  font-size: 22px;
}

@media (max-width: 1100px) {
  .eco-card { --S: 600px; }
  .eco-orbits { left: 94%; }
  .eco-card__copy { max-width: 470px; }
}

@media (max-width: 860px) {
  .eco-card {
    --S: 520px;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 72px 0 0;
    background: radial-gradient(420px circle at 50% 100%, rgba(255,215,0,0.14), transparent 60%), var(--c-bg);
  }
  .eco-orbits {
    position: relative;
    top: auto;
    left: 50%;
    margin: 24px 0 calc(var(--S) / -2.6) calc(var(--S) / -2);
  }
  .eco-points li { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .eco-orbit,
  .eco-item__badge,
  .eco-core::after { animation: none; }
}

/* ============================================================
   PRICING CTA — "Ile kosztuje strona internetowa"
   template-parts/pricing-cta.php
   ============================================================ */

.pricing-cta-section {
  position: relative;
  padding: 110px 0 120px;
  background:
    radial-gradient(520px circle at 0% 100%, rgba(255,215,0,0.16), transparent 70%),
    radial-gradient(420px circle at 100% 0%, rgba(255,215,0,0.08), transparent 70%),
    var(--c-surface);
}

.pricing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px 72px;
  align-items: center;
}

.pricing-cta__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.pricing-cta__copy p {
  max-width: 480px;
  margin: 0 0 32px;
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.65;
}

.pricing-cta__btn {
  box-shadow: 0 12px 30px -12px rgba(233,196,0,0.7);
}

.pricing-cta__btn span { transition: transform var(--ease); }
.pricing-cta__btn:hover span { transform: translateX(4px); }

/* słupki: orientacyjny nakład pracy */
.pricing-bars {
  padding: 36px 40px 30px;
  border-radius: 24px;
  background: var(--c-bg);
  box-shadow: 0 0 0 1px var(--c-border), 0 24px 50px -28px rgba(17,17,16,0.3);
}

.pricing-bars__row + .pricing-bars__row {
  margin-top: 22px;
}

.pricing-bars__label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
}

.pricing-bars__track {
  display: block;
  height: 10px;
  border-radius: 10px;
  background: var(--c-surface-2);
  overflow: hidden;
}

.pricing-bars__fill {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 10px;
  background: var(--c-text);
}

.pricing-bars__fill--yellow {
  background: linear-gradient(90deg, var(--c-yellow-dim), var(--c-yellow));
}

.pricing-bars__note {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-muted);
}

/* czynniki: jeden rząd na całą szerokość */
.pricing-factors-row {
  grid-column: 1 / -1;
  padding-top: 40px;
  border-top: 1px solid var(--c-border);
}

.pricing-factors-row ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-factors-row li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pricing-cta__list-title {
  display: block;
  margin-bottom: 18px;
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.pricing-cta__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-dark-bg);
}

.pricing-factors-row strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 15px;
  color: var(--c-text);
}

.pricing-factors-row small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-muted);
}

/* animacja przy wjeździe w kadr (klasa z main.js) */
.has-pc-anim .pricing-factors-row li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--i) * 90ms + 300ms);
}

.has-pc-anim .pricing-bars__fill {
  width: 0;
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--i) * 150ms + 150ms);
}

.has-pc-anim .pricing-cta.is-in .pricing-factors-row li {
  opacity: 1;
  transform: none;
}

.has-pc-anim .pricing-cta.is-in .pricing-bars__fill {
  width: var(--w);
}

@media (max-width: 1100px) {
  .pricing-factors-row ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .pricing-cta-section { padding: 72px 0 80px; }
  .pricing-cta { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pricing-bars { padding: 28px 22px 24px; }
  .pricing-factors-row { padding-top: 32px; }
  .pricing-factors-row ul { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ============================================================
   FAQ SPLIT — "Co się dzieje po publikacji" + "Najczęstsze pytania"
   Lewa: ciemna karta opieki (sticky), prawa: akordeon z liniami.
   ============================================================ */

.faq-split {
  padding: 120px 0;
  background: var(--c-bg);
}

.faq-split__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}

/* lewa karta: opieka po publikacji */
.faq-care {
  position: sticky;
  top: 120px;
  overflow: hidden;
  isolation: isolate;
  padding: 44px 40px 40px;
  border-radius: 28px;
  background: var(--c-dark-bg);
  color: var(--c-dark-text);
}

.faq-care::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -30%;
  bottom: -40%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,215,0,0.28), transparent);
}

.faq-care::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(160deg, transparent 30%, #000 100%);
          mask-image: linear-gradient(160deg, transparent 30%, #000 100%);
}

.faq-care .eyebrow { color: var(--c-yellow); }

.faq-split .faq-care h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.12;
  color: var(--c-white);
}

.faq-split .faq-care p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-dark-muted);
}

.faq-care__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.faq-care__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-white);
}

.faq-care__list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-yellow);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.18);
}

/* prawa kolumna: FAQ */
.faq-split__qa h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.faq-split__lead {
  max-width: 520px;
  margin: 0 0 32px;
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.6;
}

.faq-split .faq-split__list {
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--c-border);
  overflow: visible;
}

.faq-split .slp-faq__item,
.faq-split .slp-faq__item:last-child {
  border-bottom: 1px solid var(--c-border);
}

.faq-split .slp-faq__q {
  padding: 24px 0;
  background: transparent;
  font-family: var(--f-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
}

.faq-split .slp-faq__q:hover,
.faq-split .slp-faq__item.is-open .slp-faq__q {
  background: transparent;
}

.faq-split .slp-faq__q > span:first-child {
  transition: transform var(--ease);
}

.faq-split .slp-faq__q:hover > span:first-child {
  transform: translateX(4px);
}

.faq-split__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-text);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), background var(--ease), border-color var(--ease);
}

.faq-split .slp-faq__q:hover .faq-split__icon {
  border-color: var(--c-text);
}

.faq-split .slp-faq__item.is-open .faq-split__icon {
  transform: rotate(45deg);
  background: var(--c-yellow);
  border-color: var(--c-yellow);
}

.faq-split .slp-faq__a {
  padding: 0;
  background: transparent;
}

.faq-split .slp-faq__a > div {
  padding: 0 56px 0 0;
}

.faq-split .slp-faq__a p {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* płynne rozwijanie (zwijanie tylko gdy JS działa, bez JS odpowiedzi są widoczne) */
.has-faq-js .faq-split .slp-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(.2,.8,.2,1);
}

.has-faq-js .faq-split .slp-faq__a > div {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.has-faq-js .faq-split .slp-faq__item.is-open .slp-faq__a {
  grid-template-rows: 1fr;
}

.has-faq-js .faq-split .slp-faq__item.is-open .slp-faq__a > div {
  opacity: 1;
}

@media (max-width: 960px) {
  .faq-split { padding: 80px 0; }
  .faq-split__wrap { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .faq-care { position: relative; top: auto; padding: 32px 24px; }
  .faq-split .slp-faq__q { font-size: 16px; padding: 20px 0; }
  .faq-split .slp-faq__a > div { padding-right: 0; }
}

/* ============================================================
   FINAL CTA — żółty pas na końcu strony
   template-parts/final-cta.php, spotlight: [data-spotlight] w main.js
   ============================================================ */

.final-cta {
  --mx: 50%;
  --my: 40%;
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  padding: 130px 0 0;
  background:
    radial-gradient(700px circle at var(--mx) var(--my), rgba(255,255,255,0.45), transparent 60%),
    var(--c-yellow);
  color: var(--c-dark-bg);
  text-align: center;
}

.final-cta__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(17,17,16,0.22) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(460px circle at var(--mx) var(--my), #000 0%, transparent 70%);
          mask-image: radial-gradient(460px circle at var(--mx) var(--my), #000 0%, transparent 70%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
}

.final-cta h2 {
  max-width: 980px;
  margin: 0 auto 22px;
  font-size: clamp(42px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--c-dark-bg);
}

.final-cta__hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.final-cta__hl svg {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.3em;
  overflow: visible;
}

.final-cta__hl path {
  fill: none;
  stroke: var(--c-dark-bg);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  transition: stroke-dashoffset 1.1s cubic-bezier(.6,0,.2,1) 0.3s;
}

.final-cta.is-in .final-cta__hl path {
  stroke-dashoffset: 0;
}

.final-cta__lead {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(17,17,16,0.78);
}

.final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.final-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 34px;
  border: 2px solid var(--c-dark-bg);
  border-radius: var(--r-full);
  background: var(--c-dark-bg);
  color: var(--c-yellow);
  font-family: var(--f-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -18px rgba(17,17,16,0.7);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
}

.final-cta__btn span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: -14px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-dark-bg);
  transition: transform var(--ease);
}

.final-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -18px rgba(17,17,16,0.8);
  color: var(--c-yellow);
}

.final-cta__btn:hover span {
  transform: translateX(4px) rotate(-45deg);
}

.final-cta__btn--ghost {
  background: transparent;
  color: var(--c-dark-bg);
  box-shadow: none;
}

.final-cta__btn--ghost:hover {
  background: var(--c-dark-bg);
  color: var(--c-yellow);
}

.final-cta__note {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(17,17,16,0.7);
}

.final-cta__steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.final-cta__steps li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-dark-bg);
}

.final-cta__steps li:not(:last-child)::after {
  content: '';
  width: 28px;
  height: 1.5px;
  margin-left: 18px;
  background: rgba(17,17,16,0.35);
}

.final-cta__steps b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--c-dark-bg);
  font-family: var(--f-heading);
  font-size: 13px;
}

/* pasek usług na dole */
.final-cta__marquee {
  margin-top: 100px;
  padding: 26px 0;
  background: var(--c-dark-bg);
  overflow: hidden;
}

.final-cta__track {
  display: flex;
  width: max-content;
  animation: final-cta-marquee 34s linear infinite;
}

.final-cta__track span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--f-heading);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--c-white);
}

.final-cta__track span::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-yellow);
}

.final-cta__track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255,255,255,0.75);
}

.final-cta__marquee:hover .final-cta__track {
  animation-play-state: paused;
}

@keyframes final-cta-marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .final-cta { padding-top: 90px; }
  .final-cta__btn { width: 100%; justify-content: center; }
  .final-cta__steps { flex-direction: column; align-items: center; gap: 12px; }
  .final-cta__steps li:not(:last-child)::after { display: none; }
  .final-cta__hl {
    display: inline;
    white-space: normal;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
  }
  .final-cta__hl svg { display: none; }
  .final-cta__marquee { margin-top: 72px; padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .final-cta__track { animation: none; }
  .final-cta__hl path { stroke-dashoffset: 0; transition: none; }
}

/* ============================================================
   AUDIENCE — "Dla kogo" (template-parts/audience-cards.php)
   ============================================================ */

.audience {
  padding: 120px 0;
  background: var(--c-bg);
}

.audience__head,
.bento-section__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.audience__head h2,
.bento-section__head h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.audience__head p,
.bento-section__head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-muted);
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 20px;
}

.audience-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 24px;
  background: var(--c-surface);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.audience-card:hover {
  transform: translateY(-4px);
  background: var(--c-bg);
  box-shadow: 0 0 0 1px var(--c-border), 0 24px 50px -28px rgba(17,17,16,0.35);
}

.audience-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.audience-card__icon,
.bento__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--c-bg);
  color: #c9a400;
  box-shadow: 0 0 0 1px var(--c-border), 0 8px 18px -10px rgba(17,17,16,0.25);
  transition: background var(--ease), color var(--ease);
}

.audience-card:hover .audience-card__icon {
  background: var(--c-yellow);
  color: var(--c-dark-bg);
}

.audience-card__num {
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(17,17,16,0.25);
}

.audience-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.audience-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-muted);
}

/* ============================================================
   BENTO — "Co dostajesz" (template-parts/feature-bento.php)
   ============================================================ */

.bento-section {
  padding: 120px 0;
  background: var(--c-surface);
}

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 18px;
}

.bento__main {
  grid-row: span 3;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  border-radius: 28px;
  background: var(--c-dark-bg);
  color: var(--c-dark-text);
}

.bento__main::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -35%;
  top: -25%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,215,0,0.3), transparent);
}

.bento__main .bento__icon {
  background: var(--c-yellow);
  color: var(--c-dark-bg);
  box-shadow: none;
}

.bento-section .bento__main h3 {
  margin: 28px 0 12px;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-white);
}

.bento-section .bento__main p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-dark-muted);
}

/* mini ilustracja: powiadomienie o zapytaniu */
.bento__notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  transform: translateY(0);
  animation: bento-notice 4.5s ease-in-out infinite;
}

.bento__main p + .bento__notice { margin-top: 40px; }

@keyframes bento-notice {
  0%, 12%   { opacity: 0; transform: translateY(10px); }
  22%, 82%  { opacity: 1; transform: none; }
  100%      { opacity: 0; transform: translateY(-6px); }
}

.bento__notice-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52,199,89,0.2);
}

.bento__notice-text b {
  display: block;
  font-family: var(--f-heading);
  font-size: 14px;
  color: var(--c-white);
}

.bento__notice-text small {
  display: block;
  font-size: 12px;
  color: var(--c-dark-muted);
}

.bento__card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 22px;
  background: var(--c-bg);
  box-shadow: 0 0 0 1px var(--c-border);
  transition: transform var(--ease), box-shadow var(--ease);
}

.bento__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--c-border), 0 24px 50px -28px rgba(17,17,16,0.35);
}

.bento__card:hover .bento__icon {
  background: var(--c-yellow);
  color: var(--c-dark-bg);
}

.bento__card .bento__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.bento__card .bento__icon svg { width: 22px; height: 22px; }

.bento-section .bento__card h3 {
  margin: 20px 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.bento-section .bento__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-muted);
}

@media (max-width: 1024px) {
  .audience__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__main { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 640px) {
  .audience,
  .bento-section { padding: 80px 0; }
  .audience__grid,
  .bento { grid-template-columns: minmax(0, 1fr); }
  .audience-card__top { margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .bento__notice { animation: none; }
}

/* HERO SHOWCASE: link powrotny i wariant dla długiego H1 (podstrony oferty) */
.hs-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-dark-muted);
  transition: color var(--ease);
}

.hs-crumb:hover { color: var(--c-yellow); }

.hs-crumb + .hs-eyebrow { display: flex; }

.hero-showcase--long .hs-title {
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.04;
}

/* ============================================================
   COMPARE — "Wizytówka czy strona, która pracuje?"
   template-parts/compare-toggle.php, przełączanie: main.js [data-compare]
   ============================================================ */

.compare {
  padding: 120px 0;
  background: var(--c-bg);
}

.compare__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 48px;
}

.compare__head > :not(.compare__switch) {
  flex-basis: 100%;
  max-width: 680px;
}

.compare__head h2 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.compare__head p {
  margin: -8px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-muted);
}

.compare__head .eyebrow { margin-bottom: -12px; }

.compare__switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: var(--r-full);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-border);
}

.compare__switch button {
  position: relative;
  z-index: 1;
  padding: 12px 22px;
  border: 0;
  background: none;
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-muted);
  cursor: pointer;
  transition: color 0.3s;
}

.compare__switch button[aria-selected="true"] { color: var(--c-text); }

.compare__thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: var(--r-full);
  background: var(--c-yellow);
  box-shadow: 0 6px 16px -8px rgba(201,164,0,0.8);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), background 0.3s;
}

.compare[data-mode="a"] .compare__thumb {
  transform: translateX(0);
  background: var(--c-bg);
  box-shadow: 0 0 0 1px var(--c-border), 0 6px 16px -10px rgba(17,17,16,0.4);
}

.compare[data-mode="b"] .compare__thumb { transform: translateX(100%); }

.compare__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

/* makieta */
.compare__mock {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(420px circle at 70% 30%, rgba(255,215,0,0.18), transparent 70%),
    var(--c-surface);
  transition: background 0.5s;
}

.compare[data-mode="a"] .compare__mock {
  background: var(--c-surface-2);
}

.cm-browser {
  position: relative;
  overflow: hidden;
  height: 440px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17,17,16,0.08), 0 30px 60px -30px rgba(17,17,16,0.35);
}

.cm-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  background: #f1f1ef;
}

.cm-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9d9d5; }
.cm-bar span { width: 40%; height: 12px; margin: 0 auto; border-radius: 4px; background: #fff; }

.cm-page {
  position: absolute;
  inset: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,.8,.2,1), filter 0.5s;
}

.compare[data-mode="a"] .cm-page--b,
.compare[data-mode="b"] .cm-page--a {
  opacity: 0;
  transform: scale(0.97) translateY(8px);
  filter: blur(4px);
  pointer-events: none;
}

.cm-nav { display: flex; align-items: center; gap: 8px; }
.cm-nav b { width: 54px; height: 14px; margin-right: auto; border-radius: 4px; background: #c9c9c4; }
.cm-nav span { width: 34px; height: 7px; border-radius: 4px; background: #e2e2de; }
.cm-nav em { width: 62px; height: 20px; border-radius: 20px; background: var(--c-yellow); }

.cm-text { display: grid; gap: 7px; }
.cm-text span,
.cm-footer-contact span { height: 8px; border-radius: 4px; background: #e6e6e2; }
.cm-text span.is-short,
.cm-footer-contact span.is-short { width: 55%; }

.cm-page--a { filter: grayscale(1); }
.cm-page--a .cm-photo { height: 150px; border-radius: 8px; background: linear-gradient(135deg, #e8e8e4, #d6d6d0); }
.cm-footer-contact { display: grid; gap: 6px; width: 40%; margin-top: auto; }

.cm-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 10px;
  background: #111110;
}

.cm-hero > div:first-child { display: grid; gap: 8px; }
.cm-h1 { height: 14px; border-radius: 4px; background: #fff; }
.cm-h1.is-short { width: 65%; }
.cm-sub { width: 85%; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.35); }
.cm-cta { display: block; width: 88px; height: 22px; margin-top: 4px; border-radius: 22px; background: var(--c-yellow); }
.cm-hero-img { height: 100px; border-radius: 8px; background: linear-gradient(135deg, #3a3a36, #22221f); }

.cm-proof { display: flex; justify-content: space-between; gap: 10px; padding: 0 6px; }
.cm-proof span { flex: 1; height: 12px; border-radius: 4px; background: #e2e2de; }

.cm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cm-cards span { height: 70px; border-radius: 8px; background: #f5f5f3; box-shadow: inset 0 0 0 1px #ececE8; }
.cm-cards span::before { content: ''; display: block; width: 18px; height: 18px; margin: 10px; border-radius: 6px; background: rgba(255,215,0,0.4); }

.cm-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  background: #fffbe6;
}

.cm-form span { height: 20px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #ece6c4; }
.cm-form .cm-cta { margin: 0; }

.cm-tag {
  position: absolute;
  left: 50%;
  bottom: 10px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: opacity 0.4s;
}

.cm-tag--a { background: #fff; color: var(--c-muted); box-shadow: 0 0 0 1px var(--c-border); }
.cm-tag--b { background: var(--c-dark-bg); color: var(--c-yellow); }
.compare[data-mode="a"] .cm-tag--b,
.compare[data-mode="b"] .cm-tag--a { opacity: 0; }

/* lista różnic */
.compare__rows {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-border);
}

.compare__rows li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-border);
}

.compare__label {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.compare__val {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--i) * 50ms);
}

.compare__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.compare__val--a { color: var(--c-muted); }
.compare__val--a .compare__mark { background: #fbe9e7; color: #c0392b; }
.compare__val--b { color: var(--c-text); }
.compare__val--b .compare__mark { background: var(--c-yellow); color: var(--c-dark-bg); }

.compare[data-mode="a"] .compare__val--b,
.compare[data-mode="b"] .compare__val--a {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

@media (max-width: 960px) {
  .compare { padding: 80px 0; }
  .compare__body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cm-browser { height: 360px; }
  .compare__rows li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .compare__val { grid-column: 1; grid-row: 2; }
}

@media (max-width: 480px) {
  .compare__switch { width: 100%; }
  .compare__switch button { padding: 12px 10px; font-size: 13px; }
  .compare__mock { padding: 14px; }
}

/* ============================================================
   JOURNEY — ścieżka zakupowa sklepu (template-parts/checkout-journey.php)
   ============================================================ */

.journey {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: 120px 0;
  background:
    radial-gradient(600px circle at 78% 50%, rgba(255,215,0,0.14), transparent 65%),
    #0d0e0e;
  color: var(--c-dark-text);
}

.journey__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.journey .eyebrow { color: var(--c-yellow); }

.journey h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--c-white);
}

.journey__lead {
  max-width: 520px;
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-dark-muted);
}

.journey__steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  width: 100%;
  padding: 16px 18px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.35s;
}

.journey__step:hover { background: rgba(255,255,255,0.04); }

.journey__step.is-active {
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.journey__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--c-dark-muted);
  transition: background 0.35s, color 0.35s;
}

.journey__step.is-active .journey__num {
  background: var(--c-yellow);
  color: var(--c-dark-bg);
}

.journey__txt strong {
  display: block;
  margin-top: 2px;
  font-family: var(--f-heading);
  font-size: 18px;
  color: var(--c-white);
}

.journey__txt small {
  display: block;
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-dark-muted);
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s;
}

.journey__step.is-active .journey__txt small {
  max-height: 90px;
  margin-top: 4px;
  opacity: 1;
}

.journey__bar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: transparent;
}

.journey__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--c-yellow);
}

.journey__step.is-active .journey__bar span {
  animation: journey-bar var(--journey-dur, 4200ms) linear forwards;
}

.journey.is-manual .journey__step.is-active .journey__bar span {
  animation: none;
  width: 100%;
}

@keyframes journey-bar { to { width: 100%; } }

/* telefon */
.journey__device {
  display: flex;
  justify-content: center;
}

.jd-phone {
  position: relative;
  width: 300px;
  height: 610px;
  padding: 12px;
  border-radius: 48px;
  background: linear-gradient(160deg, #2c2d2d, #111 55%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 50px 80px -30px rgba(0,0,0,0.9),
    0 0 120px -40px rgba(255,215,0,0.35);
  transform: rotate(-3deg);
}

.jd-notch {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 50%;
  width: 90px;
  height: 24px;
  margin-left: -45px;
  border-radius: 14px;
  background: #000;
}

.jd-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #fff;
  color: var(--c-text);
}

.jd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 20px 12px;
  border-bottom: 1px solid #f0f0ee;
  font-family: var(--f-heading);
  font-size: 15px;
}

.jd-cart {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f5f5f3;
}

.jd-cart i {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-yellow);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.jd-view {
  position: absolute;
  inset: 100px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 22px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.jd-view.is-on {
  opacity: 1;
  transform: none;
}

.jd-view.is-out { transform: translateX(-30px); }

.jd-product-img {
  height: 210px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 55%, rgba(255,215,0,0.55) 0 22%, transparent 23%),
    linear-gradient(160deg, #fff7cc, #f1ede0);
}

.jd-line { display: block; height: 10px; border-radius: 5px; background: #e8e8e4; }
.jd-line--title { width: 75%; height: 14px; background: #d6d6d0; }
.jd-line.is-short { width: 50%; }
.jd-line--center { align-self: center; width: 80%; }

.jd-price { font-family: var(--f-heading); font-size: 22px; font-weight: 800; }

.jd-variants { display: flex; gap: 8px; }
.jd-variants span,
.jd-pay span {
  padding: 7px 14px;
  border-radius: 10px;
  background: #f5f5f3;
  font-size: 12px;
  font-weight: 700;
}
.jd-variants span.is-on,
.jd-pay span.is-on { background: var(--c-dark-bg); color: #fff; }

.jd-note { font-size: 12px; font-weight: 600; color: #1e8e3e; }

.jd-btn {
  display: grid;
  place-items: center;
  height: 48px;
  margin-top: auto;
  border-radius: 14px;
  background: var(--c-yellow);
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  color: var(--c-dark-bg);
}

.jd-h { font-family: var(--f-heading); font-size: 20px; font-weight: 800; }
.jd-h--center { align-self: center; text-align: center; }

.jd-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #f8f8f6;
  font-size: 13px;
}

.jd-thumb { width: 54px; height: 54px; border-radius: 12px; background: linear-gradient(160deg, #fff1a8, #ffd700); }
.jd-thumb--b { background: linear-gradient(160deg, #e9e9e5, #cfcfc9); }
.jd-lines { display: grid; gap: 6px; }
.jd-lines span { height: 8px; border-radius: 4px; background: #e2e2de; }
.jd-lines span.is-short { width: 60%; }

.jd-sum {
  display: flex;
  justify-content: space-between;
  padding: 12px 4px 0;
  border-top: 1px dashed #e2e2de;
  font-size: 15px;
}

.jd-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #f8f8f6;
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px transparent;
}

.jd-opt i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px #cfcfc9; }
.jd-opt b { margin-left: auto; font-size: 13px; }
.jd-opt.is-on { background: #fffbe6; box-shadow: inset 0 0 0 1.5px var(--c-yellow-dim); }
.jd-opt.is-on i { box-shadow: inset 0 0 0 5px var(--c-dark-bg); }

.jd-pay { display: flex; gap: 8px; }

.jd-blik { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.jd-blik span { height: 46px; border-radius: 12px; background: #f5f5f3; box-shadow: inset 0 0 0 1px #e8e8e4; }
.jd-view.is-on .jd-blik span { animation: jd-type 0.25s ease forwards; }
.jd-blik span:nth-child(1) { animation-delay: 0.3s !important; }
.jd-blik span:nth-child(2) { animation-delay: 0.5s !important; }
.jd-blik span:nth-child(3) { animation-delay: 0.7s !important; }
.jd-blik span:nth-child(4) { animation-delay: 0.9s !important; }
.jd-blik span:nth-child(5) { animation-delay: 1.1s !important; }
.jd-blik span:nth-child(6) { animation-delay: 1.3s !important; }

@keyframes jd-type {
  to { background: radial-gradient(circle, var(--c-dark-bg) 0 5px, #f5f5f3 6px); }
}

.jd-done {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 40px auto 10px;
  border-radius: 50%;
  background: #e8f7ec;
}

.jd-done span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #34c759;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}

.jd-view.is-on .jd-done { animation: jd-pop 0.6s cubic-bezier(.34,1.6,.64,1); }

@keyframes jd-pop { from { transform: scale(0.4); opacity: 0; } }

.jd-event {
  align-self: center;
  margin-top: auto;
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: var(--c-dark-bg);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-yellow);
}

@media (max-width: 960px) {
  .journey { padding: 80px 0; }
  .journey__wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .journey__device { order: -1; }
  .jd-phone { width: 260px; height: 530px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jd-view, .journey__txt small { transition: none; }
  .journey__step.is-active .journey__bar span { animation: none; width: 100%; }
}

/* ============================================================
   PLATFORMS — WooCommerce vs SaaS (template-parts/platform-compare.php)
   ============================================================ */

.platforms {
  padding: 120px 0;
  background: var(--c-bg);
}

.platforms__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.platforms__head h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.platforms__head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-muted);
}

.platforms__table {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* podświetlona kolumna WooCommerce jako jedna karta pod wierszami */
.platforms__table::before {
  content: '';
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: calc(28% + 8px);
  width: calc(36% - 16px);
  border-radius: 24px;
  background: #fffdf2;
  box-shadow: 0 0 0 2px var(--c-yellow), 0 30px 60px -30px rgba(17,17,16,0.35);
}

.platforms__row {
  position: relative;
  display: grid;
  grid-template-columns: 28% 36% 36%;
  align-items: center;
  border-bottom: 1px solid var(--c-border);
}

.platforms__row:last-child { border-bottom: 0; }

.platforms__row > span {
  padding: 18px 24px;
  font-size: 15px;
  line-height: 1.45;
}

.platforms__row--head > span {
  padding-top: 24px;
  padding-bottom: 24px;
  font-family: var(--f-heading);
  font-size: 18px;
  font-weight: 800;
}

.platforms__row--head small {
  display: block;
  margin-top: 2px;
  font-family: var(--f-body, inherit);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.platforms__row--head .platforms__col--woo {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
}

.platforms__row--head .platforms__col--woo img { grid-row: span 2; }
.platforms__row--head .platforms__col--woo small { color: #a07f00; }

.platforms__crit {
  font-family: var(--f-heading);
  font-weight: 700;
  color: var(--c-text);
}

.platforms__col { color: var(--c-muted); }
.platforms__col--woo { color: var(--c-text); }

.platforms__col.is-win {
  position: relative;
  padding-left: 52px !important;
  font-weight: 600;
  color: var(--c-text);
}

.platforms__col.is-win::before {
  content: '✓';
  position: absolute;
  left: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--c-yellow);
  font-size: 12px;
  font-weight: 800;
  color: var(--c-dark-bg);
}

.platforms__col:not(.platforms__col--woo).is-win::before { background: var(--c-surface-2); }

.platforms__note {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-muted);
}

@media (max-width: 760px) {
  .platforms { padding: 80px 0; }
  .platforms__table::before { left: 34%; width: 33%; border-radius: 16px; }
  .platforms__row { grid-template-columns: 34% 33% 33%; }
  .platforms__row > span { padding: 14px 10px; font-size: 13px; }
  .platforms__row--head > span { font-size: 14px; }
  .platforms__row--head .platforms__col--woo { display: block; }
  .platforms__row--head .platforms__col--woo img { display: block; width: 28px; height: 28px; margin-bottom: 6px; }
  .platforms__col.is-win { padding-left: 10px !important; padding-top: 34px !important; }
  .platforms__col.is-win::before { left: 10px; top: 16px; margin-top: 0; }
}

/* ============================================================
   ANATOMY — anatomia landing page (template-parts/landing-anatomy.php)
   ============================================================ */

.anatomy {
  padding: 120px 0;
  background: var(--c-bg);
}

.anatomy__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.anatomy__mock {
  padding: 32px;
  border-radius: 32px;
  background:
    radial-gradient(400px circle at 30% 20%, rgba(255,215,0,0.2), transparent 70%),
    var(--c-surface);
}

.am-page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
  padding: 26px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17,17,16,0.06), 0 40px 70px -40px rgba(17,17,16,0.45);
}

.am-zone {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  border-radius: 12px;
  outline: 2px dashed transparent;
  outline-offset: 2px;
  transition: outline-color 0.3s, background 0.3s, transform 0.4s cubic-bezier(.2,.8,.2,1);
}

.am-zone.is-active {
  outline-color: var(--c-yellow-dim);
  background: #fffbe6;
  transform: scale(1.03);
}

.am-zone--1 { flex-direction: column; }
.am-h1 { height: 16px; width: 92%; border-radius: 5px; background: var(--c-dark-bg); }
.am-h1.is-short { width: 60%; }
.am-sub { height: 8px; width: 80%; margin-top: 4px; border-radius: 4px; background: #d6d6d0; }

.am-cta { display: block; width: 130px; height: 32px; border-radius: 32px; background: var(--c-yellow); }

.am-zone--3 { align-items: center; gap: 10px; }
.am-stars { font-size: 13px; letter-spacing: 1px; color: #e9b300; }
.am-logo { width: 46px; height: 12px; border-radius: 4px; background: #e2e2de; }

.am-zone--4 { display: grid; grid-template-columns: repeat(3, 1fr); }
.am-zone--4 span { height: 64px; border-radius: 10px; background: #f5f5f3; }
.am-zone--4 span::before { content: ''; display: block; width: 16px; height: 16px; margin: 9px; border-radius: 5px; background: rgba(255,215,0,0.5); }

.am-zone--5 { flex-direction: column; }
.am-zone--5 span { height: 22px; border-radius: 6px; background: #f5f5f3; box-shadow: inset 0 0 0 1px #ececE8; }

.am-zone--6 { display: grid; grid-template-columns: 1fr 1fr; padding: 14px; background: var(--c-dark-bg); border-radius: 12px; }
.am-zone--6.is-active { background: #232321; }
.am-zone--6 span { height: 24px; border-radius: 6px; background: rgba(255,255,255,0.12); }
.am-zone--6 .am-cta { grid-column: 1 / -1; width: 100%; }

/* numerowane pinezki na makiecie */
.am-zone { position: relative; }

.am-pin {
  position: absolute;
  top: 50%;
  right: -44px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--c-bg);
  box-shadow: 0 0 0 1px var(--c-border), 0 8px 16px -8px rgba(17,17,16,0.4);
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--c-text);
  transition: background 0.3s, transform 0.4s cubic-bezier(.34,1.6,.64,1);
}

.am-pin.is-active { background: var(--c-yellow); transform: scale(1.18); }

.anatomy h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.anatomy__lead {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-muted);
}

.anatomy__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anatomy__list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  cursor: default;
  transition: background 0.3s;
}

.anatomy__list li.is-active { background: var(--c-surface); }

.anatomy__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--c-border);
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 800;
  transition: background 0.3s, box-shadow 0.3s;
}

.anatomy__list li.is-active .anatomy__num { background: var(--c-yellow); box-shadow: none; }

.anatomy__list strong {
  display: block;
  margin-top: 5px;
  font-family: var(--f-heading);
  font-size: 17px;
}

.anatomy__list small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-muted);
}

@media (max-width: 960px) {
  .anatomy { padding: 80px 0; }
  .anatomy__wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .anatomy__mock { padding: 20px 26px 20px 16px; }
}

/* HERO SHOWCASE: wariant z samym laptopem (landing page) */
.hero-showcase--laptop .hs-phone { display: none; }
.hero-showcase--laptop .hs-laptop { left: 0; top: 60px; width: 100%; }
.hero-showcase--laptop .hs-chip-pos--3 { left: auto; right: 2%; bottom: 40px; }

/* ============================================================
   CASE HERO / SINGLE — archiwum i pojedyncza realizacja
   archive-case_study.php, single-case_study.php
   ============================================================ */

.case-hero {
  --mx: 70%;
  --my: 30%;
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  padding: 160px 0 90px;
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(255,215,0,0.12), transparent 60%),
    #0a0b0b;
  color: var(--c-dark-text);
}

.case-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, transparent 70%);
          mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, transparent 70%);
  pointer-events: none;
}

.case-hero .hs-crumb { display: inline-flex; }
.case-hero .hs-eyebrow { display: flex; }

.case-hero h1 {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--c-white);
}

.case-hero__lead {
  max-width: 640px;
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-dark-muted);
}

.case-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin: 48px 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.case-hero__stats li { display: grid; gap: 4px; }

.case-hero__stats b {
  font-family: var(--f-heading);
  font-size: 44px;
  line-height: 1;
  color: var(--c-yellow);
}

.case-hero__stats span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-dark-muted);
}

.case-hero--single { padding-bottom: 220px; }

.case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
}

.case-facts div {
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.case-facts dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-dark-muted);
}

.case-facts dd {
  margin: 4px 0 0;
  font-family: var(--f-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
}

.case-facts a { color: var(--c-yellow); }

/* duża scena nachodzi na ciemny nagłówek */
.case-stage-section {
  position: relative;
  z-index: 2;
  margin-top: -170px;
  padding-bottom: 40px;
}

.case-stage-section .case-stage {
  max-width: 1040px;
  margin: 0 auto;
}

.case-stage-section .case-feature__media {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 24px;
}

/* efekt */
.case-result {
  padding: 60px 0 20px;
}

.case-result .container {
  max-width: 900px;
  padding: 40px 48px;
  border-radius: 28px;
  background:
    radial-gradient(400px circle at 100% 0%, rgba(255,215,0,0.35), transparent 70%),
    var(--c-yellow-bg);
}

.case-result p {
  margin: 6px 0 0;
  font-family: var(--f-heading);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

/* treść realizacji */
.case-content { padding: 60px 0 100px; }

.case-content__inner {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.75;
  color: #2b2b29;
}

.case-content__inner h2 { margin: 48px 0 14px; font-size: 30px; line-height: 1.15; }
.case-content__inner h3 { margin: 36px 0 10px; font-size: 22px; }
.case-content__inner img { border-radius: 18px; }
.case-content__inner blockquote {
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  border-left: 4px solid var(--c-yellow);
  font-family: var(--f-heading);
  font-size: 22px;
  line-height: 1.4;
}

/* paginacja archiwum */
.post-type-archive-case_study .navigation.pagination {
  display: flex;
  justify-content: center;
  padding: 0 0 80px;
  background: var(--c-surface);
}

@media (max-width: 760px) {
  .case-hero { padding: 130px 0 70px; }
  .case-hero--single { padding-bottom: 140px; }
  .case-stage-section { margin-top: -110px; }
  .case-result .container { padding: 28px 24px; margin-inline: 16px; width: auto; }
  .case-hero__stats b { font-size: 34px; }
}

/* ANATOMY: pinezki w strefach nie dziedziczą stylów klocków makiety */
.am-zone > .am-pin {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: var(--c-bg);
  box-shadow: 0 0 0 1px var(--c-border), 0 8px 16px -8px rgba(17,17,16,0.4);
}

.am-zone > .am-pin.is-active { background: var(--c-yellow); }
.am-zone > .am-pin::before { content: none; }

/* treść realizacji: cytat i listy */
.case-content .case-content__inner blockquote {
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  border-left: 4px solid var(--c-yellow);
  font-family: var(--f-heading);
  font-size: 22px;
  line-height: 1.4;
  color: var(--c-text);
}

.case-content .case-content__inner ul,
.case-content .case-content__inner ol {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

.case-content .case-content__inner li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.case-content .case-content__inner ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-yellow);
  box-shadow: 0 0 0 4px var(--c-yellow-bg);
}

.case-content .case-content__inner p { color: #3a3a37; }

/* Siatka realizacji z jedną kartą: nie rozciągaj na całą szerokość */
.card-grid:has(> .case-card:only-child) {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

/* ============================================================
   STRONA GŁÓWNA — poprawki mobilne (front-page.php)
   ============================================================ */

/* opinie i wpisy: karuzela przesuwana palcem zamiast ściśniętych kolumn */
@media (max-width: 900px) {
  .testimonials-grid,
  .posts-grid {
    display: flex;
    gap: 14px;
    margin-inline: -24px;
    padding: 6px 24px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .testimonials-grid::-webkit-scrollbar,
  .posts-grid::-webkit-scrollbar { display: none; }

  .testimonials-grid > *,
  .posts-grid > * {
    flex: 0 0 min(82%, 360px);
    scroll-snap-align: start;
  }

  .testimonial-card { padding: 26px; }
}

@media (max-width: 640px) {
  .testimonials-grid,
  .posts-grid {
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  /* liczby: siatka 2x2 zamiast czterech pod sobą */
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .trust-grid strong { font-size: 34px; }
  .trust-grid span { font-size: 13px; line-height: 1.35; }

  /* latające ikony nachodziły na nagłówek i wystawały poza ekran */
  .signal-bg { display: none; }
}

/* ============================================================
   STRONA GŁÓWNA — hero i liczby na telefonie
   ============================================================ */
@media (max-width: 640px) {
  /* hero: niższe, portret mniejszy, tekst nachodzi na wygaszony dół zdjęcia */
  .home .hero-section { padding: 0; }

  .hero-grid {
    min-height: 0;
    padding-top: 84px;
  }

  .hero-portrait {
    max-width: 300px;
    margin-bottom: -70px;
  }

  .hero-portrait img {
    width: 100%;
    max-height: 330px;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 62%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 62%, transparent 100%);
    -webkit-mask-composite: source-over;
            mask-composite: add;
  }

  .hero-copy { padding-bottom: 36px; }

  .hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.08;
  }

  .hero-copy p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  /* Główny przycisk ma długi napis („Umów bezpłatną rozmowę”), więc na telefonie przyciski jeden pod drugim, na całą szerokość. */
  .hero-copy .button-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
  }

  .hero-copy .button-row .btn {
    flex: none;
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* liczby: karuzela jak pasek cech na stronach oferty (kropki z main.js) */
  .trust-strip { padding: 24px 0 18px; }

  .trust-grid {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }

  .trust-grid::-webkit-scrollbar { display: none; }

  .trust-grid > div {
    flex: 0 0 58%;
    scroll-snap-align: start;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--c-bg);
    box-shadow: 0 0 0 1px var(--c-border), 0 10px 24px -16px rgba(17,17,16,0.3);
    text-align: left;
  }

  .trust-grid strong { font-size: 32px; color: var(--c-text); }
  .trust-grid span { margin-top: 2px; font-size: 13px; line-height: 1.35; }

  .trust-strip .trust-features__dots { margin-top: 10px; }
}

/* Logo w nagłówku: mniejsze (było 52px) */
.site-header .site-brand img,
.site-header .custom-logo {
  max-height: 40px;
  width: auto;
}

@media (max-width: 640px) {
  .site-header .site-brand img,
  .site-header .custom-logo { max-height: 34px; }
}

/* ============================================================
   STRONA KURSU (template-course.php)
   ============================================================ */

/* --- CTA: kup / lista oczekujących --- */
.course-cta { display: grid; gap: 12px; justify-items: start; }

.course-cta__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-family: var(--f-heading);
}

.course-cta__price s { font-size: 20px; font-weight: 600; opacity: 0.55; }
.course-cta__price b { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }

.course-cta__badge {
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--c-yellow);
  color: var(--c-dark-bg);
  font-family: var(--f-body, inherit);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--c-yellow);
  color: var(--c-dark-bg);
  font-family: var(--f-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 14px 34px -12px rgba(255,215,0,0.7);
  transition: transform var(--ease), box-shadow var(--ease);
}

.course-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(255,215,0,0.85); color: var(--c-dark-bg); }
.course-cta__btn span { transition: transform var(--ease); }
.course-cta__btn:hover span { transform: translateX(4px); }

.course-cta__note { margin: 0; font-size: 13px; line-height: 1.5; opacity: 0.75; }

.course-cta__timer {
  margin: 0;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255,215,0,0.14);
  font-size: 14px;
}

.course-cta__timer b { font-variant-numeric: tabular-nums; }

.course-cta__form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 520px; }

.course-cta__form input[type="email"] {
  flex: 1 1 220px;
  min-height: 60px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.08);
  color: inherit;
  font-size: 16px;
}

.course-cta--inline .course-cta__form input[type="email"],
.course-cta--card .course-cta__form input[type="email"] { border-color: var(--c-border); background: var(--c-bg); }

.course-cta__form.is-done input,
.course-cta__form.is-done button { display: none; }
.course-cta__ok { margin: 0; font-weight: 600; color: #1e8e3e; }
.course-cta__err { margin: 0; color: #c0392b; }

/* --- HERO --- */
.course-hero {
  --mx: 70%;
  --my: 30%;
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  padding: 150px 0 90px;
  background:
    radial-gradient(640px circle at var(--mx) var(--my), rgba(255,215,0,0.12), transparent 60%),
    #0a0b0b;
  color: var(--c-dark-text);
}

.course-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, transparent 70%);
          mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0%, transparent 70%);
}

.course-hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.course-hero .hs-eyebrow { display: flex; }

.course-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--c-white);
}

.course-hero__hl { color: var(--c-yellow); }

.course-hero__lead {
  max-width: 560px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-dark-muted);
}

.course-hero .course-cta__price { color: var(--c-white); }
.course-hero .course-cta__note { color: var(--c-dark-muted); opacity: 1; }

.course-hero__visual {
  position: relative;
  min-height: 520px;
}

.course-hero__photo {
  position: absolute;
  right: 0;
  bottom: -90px;
  width: 92%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  object-position: bottom right;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.course-hero__card {
  position: absolute;
  z-index: 2;
  border-radius: 18px;
  background: rgba(22,23,23,0.72);
  border: 1px solid rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.9);
  animation: hs-bob 6s ease-in-out infinite;
}

.course-hero__card small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-dark-muted);
}

.course-hero__card--modules {
  left: -4%;
  top: 30px;
  width: 260px;
  padding: 18px 18px 14px;
}

.course-hero__card--modules ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.course-hero__card--modules li { display: flex; gap: 10px; font-size: 13px; font-weight: 500; color: var(--c-white); }
.course-hero__card--modules li b { color: var(--c-yellow); font-family: var(--f-heading); }
.course-hero__card--modules li.is-more { color: var(--c-dark-muted); }

.course-hero__card--stat {
  right: 2%;
  bottom: 40px;
  padding: 16px 22px;
  animation-delay: -3s;
}

.course-hero__card--stat b {
  display: block;
  font-family: var(--f-heading);
  font-size: 40px;
  line-height: 1;
  color: var(--c-yellow);
}

/* --- PROBLEM --- */
.course-problem { padding: 110px 0; background: var(--c-bg); }
.course-problem__head { text-align: center; margin-bottom: 40px; }
.course-problem__head h2 { margin: 0; font-size: clamp(34px, 3.8vw, 50px); }

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

.course-problem__grid blockquote {
  position: relative;
  margin: 0;
  padding: 56px 28px 28px;
  border-radius: 22px;
  background: var(--c-surface);
  font-family: var(--f-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.course-problem__grid blockquote::before {
  content: '?';
  position: absolute;
  top: 18px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-yellow);
  font-size: 16px;
}

.course-problem__answer {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-text);
}

/* --- DLA KOGO --- */
.course-fit { padding: 0 0 110px; background: var(--c-bg); }
.course-fit__head { text-align: center; margin-bottom: 36px; }
.course-fit__head h2 { margin: 0; font-size: clamp(30px, 3.2vw, 42px); }
.course-fit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.course-fit__col { padding: 32px; border-radius: 24px; }
.course-fit__col--yes { background: var(--c-yellow-bg); box-shadow: inset 0 0 0 1.5px rgba(233,196,0,0.4); }
.course-fit__col--no { background: var(--c-surface); }
.course-fit__col h3 { margin: 0 0 16px; font-size: 22px; }
.course-fit__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.course-fit__col li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.5; }
.course-fit__col li::before {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 12px; font-weight: 800;
}
.course-fit__col--yes li::before { content: '✓'; background: var(--c-yellow); }
.course-fit__col--no li::before { content: '✕'; background: #fbe9e7; color: #c0392b; }

/* --- PROGRAM --- */
.course-program { padding: 110px 0; background: var(--c-surface); }
.course-program__wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.course-program__intro { position: sticky; top: 120px; }
.course-program__intro h2 { margin: 0 0 14px; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; }
.course-program__intro p { margin: 0 0 28px; color: var(--c-muted); font-size: 17px; line-height: 1.6; }
.course-program__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.course-module { border-radius: 18px; background: var(--c-bg); box-shadow: 0 0 0 1px var(--c-border); overflow: hidden; }

.course-module__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 28px;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.course-module__num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-surface);
  font-family: var(--f-heading); font-weight: 800; font-size: 14px;
  transition: background var(--ease);
}

.course-module.is-open .course-module__num { background: var(--c-yellow); }
.course-module__title { font-family: var(--f-heading); font-size: 17px; font-weight: 700; color: var(--c-text); }
.course-module__count { font-size: 13px; color: var(--c-muted); white-space: nowrap; }

.course-module__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--c-border); }
.course-module__icon::before,
.course-module__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--c-text); transition: transform 0.3s; }
.course-module__icon::after { transform: rotate(90deg); }
.course-module.is-open .course-module__icon::after { transform: rotate(0deg); }

.course-module__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(.2,.8,.2,1); }
.course-module.is-open .course-module__body { grid-template-rows: 1fr; }
.course-module__body > ul { min-height: 0; overflow: hidden; margin: 0; padding: 0 18px 0 76px; list-style: none; }
.course-module.is-open .course-module__body > ul { padding-bottom: 18px; }
.course-module__body li { position: relative; padding: 6px 0; font-size: 14px; line-height: 1.45; color: var(--c-muted); border-top: 1px dashed var(--c-border); }
.course-module__body li:first-child { border-top: 0; }

/* --- CO DOSTAJESZ --- */
.course-offer { padding: 110px 0; background: var(--c-bg); }
.course-offer__wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.course-offer h2 { margin: 0 0 24px; font-size: clamp(32px, 3.4vw, 46px); }
.course-offer__list { margin: 0; padding: 0; list-style: none; display: grid; }
.course-offer__list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.course-offer__list li::before { content: '✓'; grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-yellow); font-weight: 800; font-size: 13px; }
.course-offer__list b { font-family: var(--f-heading); font-size: 17px; }
.course-offer__list span { font-size: 14px; color: var(--c-muted); }

.course-offer__card {
  padding: 40px;
  border-radius: 28px;
  background: radial-gradient(420px circle at 100% 0%, rgba(255,215,0,0.25), transparent 70%), var(--c-dark-bg);
  color: var(--c-dark-text);
  box-shadow: 0 40px 70px -40px rgba(17,17,16,0.6);
}

.course-offer__card .course-cta__price { color: var(--c-white); }
.course-offer__card .course-cta__btn { width: 100%; }

/* --- PROWADZĄCY --- */
.course-author { padding: 110px 0 0; background: var(--c-surface); overflow: hidden; }
.course-author__wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: end; }
.course-author__photo img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; object-position: bottom; }
.course-author__photo { border-radius: 28px 28px 0 0; background: radial-gradient(circle at 50% 70%, rgba(255,215,0,0.35), transparent 60%), #111110; }
.course-author__copy { padding-bottom: 110px; }
.course-author h2 { margin: 0 0 16px; font-size: clamp(32px, 3.4vw, 46px); }
.course-author p { margin: 0 0 28px; font-size: 18px; line-height: 1.7; color: #3a3a37; }
.course-author__facts { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; }
.course-author__facts b { display: block; font-family: var(--f-heading); font-size: 36px; line-height: 1; }
.course-author__facts span { font-size: 13px; color: var(--c-muted); }

/* --- KOŃCOWE CTA --- */
.course-final {
  --mx: 50%;
  --my: 40%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0;
  text-align: center;
  background: radial-gradient(700px circle at var(--mx) var(--my), rgba(255,255,255,0.45), transparent 60%), var(--c-yellow);
  color: var(--c-dark-bg);
}

.course-final h2 { max-width: 900px; margin: 0 auto 18px; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.035em; }
.course-final .course-cta { justify-items: center; }
.course-final .course-cta__btn { background: var(--c-dark-bg); color: var(--c-yellow); box-shadow: 0 18px 40px -18px rgba(17,17,16,0.7); }
.course-final .course-cta__btn:hover { color: var(--c-yellow); }
.course-final .course-cta__badge { background: var(--c-dark-bg); color: var(--c-yellow); }
.course-final .course-cta__form input[type="email"] { border-color: rgba(17,17,16,0.25); background: rgba(255,255,255,0.6); }
.course-final .course-cta__form { justify-content: center; }

/* --- przyklejony przycisk (telefon) --- */
.course-sticky { display: none; }

@media (max-width: 760px) {
  .course-sticky {
    position: fixed;
    z-index: 90;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 18px;
    border-radius: 22px;
    background: rgba(17,17,16,0.94);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    color: #fff;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
    transform: translateY(140%);
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  }

  .course-sticky.is-on { transform: none; }
  .course-sticky__price { display: grid; line-height: 1.1; font-family: var(--f-heading); }
  .course-sticky__price s { font-size: 12px; opacity: 0.6; }
  .course-sticky__price b { font-size: 20px; }
  .course-sticky .course-cta__btn { min-height: 48px; padding: 0 20px; font-size: 14px; }
}

/* --- responsywność --- */
@media (max-width: 960px) {
  .course-hero { padding: 110px 0 0; }
  .course-hero__wrap,
  .course-program__wrap,
  .course-offer__wrap,
  .course-author__wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .course-hero__visual { min-height: 400px; }
  .course-hero__photo { bottom: 0; width: 80%; right: 4%; }
  .course-program__intro { position: static; }
  .course-problem__grid { grid-template-columns: minmax(0, 1fr); }
  .course-fit__grid { grid-template-columns: minmax(0, 1fr); }
  .course-author__copy { padding-bottom: 0; }
  .course-author__photo { order: 2; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .course-hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .course-hero__lead { font-size: 16px; margin-bottom: 24px; }
  .course-cta__price b { font-size: 36px; }
  .course-cta__btn { width: 100%; }
  .course-hero__visual { min-height: 340px; }
  .course-hero__card--modules { left: 0; top: 10px; width: 220px; padding: 14px; }
  .course-hero__card--modules li:nth-child(n+5):not(.is-more) { display: none; }
  .course-problem, .course-program, .course-offer { padding: 80px 0; }
  .course-fit { padding-bottom: 80px; }
  .course-module__head { grid-template-columns: 38px minmax(0, 1fr) 24px; gap: 10px; padding: 14px; }
  .course-module__num { width: 38px; height: 38px; }
  .course-module__count { display: none; }
  .course-module__body > ul { padding-left: 62px; }
  .course-offer__card { padding: 28px 22px; }
  .course-author { padding-top: 80px; }
  .course-final { padding: 90px 0 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .course-hero__card { animation: none; }
}

/* fakty ze źródłami (strona kursu) */
.course-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.course-facts li {
  display: grid;
  gap: 6px;
  padding: 26px 28px;
  border-radius: 22px;
  background: var(--c-dark-bg);
  color: var(--c-dark-text);
}

.course-facts b {
  font-family: var(--f-heading);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-yellow);
}

.course-facts span { font-size: 16px; line-height: 1.45; color: var(--c-white); }
.course-facts small { font-size: 11px; line-height: 1.4; color: var(--c-dark-muted); }

@media (max-width: 960px) {
  .course-facts { grid-template-columns: minmax(0, 1fr); }
}

/* licznik okna sprzedaży: czytelny na ciemnym tle */
.course-hero .course-cta__timer,
.course-offer__card .course-cta__timer { color: var(--c-white); background: rgba(255,215,0,0.16); }
.course-hero .course-cta__timer b,
.course-offer__card .course-cta__timer b { color: var(--c-yellow); }

/* pytania z grup (strona kursu) */
.course-asks { padding: 110px 0; background: #0d0e0e; color: var(--c-dark-text); }
.course-asks__head { max-width: 760px; margin-bottom: 40px; }
.course-asks .eyebrow { color: var(--c-yellow); }
.course-asks h2 { margin: 0 0 14px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; color: var(--c-white); }
.course-asks__head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--c-dark-muted); }
.course-asks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }

.course-asks__grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 24px 22px;
  border-radius: 20px 20px 20px 6px;
  background: #1a1b1b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
}

.course-asks__grid li::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #1a1b1b;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.course-asks__grid p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--c-white); }

.course-asks__lesson {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,215,0,0.12);
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-white);
}

.course-asks__lesson b { color: var(--c-yellow); }

@media (max-width: 960px) {
  .course-asks { padding: 80px 0; }
  .course-asks__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   PROCES WSPÓŁPRACY (strona główna): karty połączone liniami z portalem,
   podświetlane po kolei. Markup: template-parts/process-flow.php, JS: main.js
   ============================================================ */
.process-flow {
  position: relative;
  overflow: hidden;
  padding: 110px 0 30px;
  background: radial-gradient(90% 60% at 50% 100%, #2a1f05 0%, #121110 55%, #0f1010 100%);
  color: #fff;
}
.process-flow > .container { position: relative; z-index: 1; }
/* tło: strugi cząsteczek (assets/js/data-rain.js) */
.process-flow__rain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  -webkit-mask-image: radial-gradient(ellipse 48% 62% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 48% 62% at 50% 50%, #000 30%, transparent 100%);
}
.process-flow__rain canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.process-flow__rain .dr-bloom { opacity: .9; mix-blend-mode: screen; }
.process-flow__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.process-flow__head .eyebrow { color: var(--c-yellow); }
.process-flow__head h2 {
  font-size: clamp(44px, 7vw, 104px);
  line-height: .95;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 215, 0, .35), 0 0 60px rgba(255, 200, 0, .18);
}
.process-flow__head h2 span {
  display: block;
  background: linear-gradient(180deg, #fff 0%, #9a968c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.process-flow__head p {
  max-width: 300px;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .62);
}

.process-flow__stage {
  position: relative;
  aspect-ratio: 1200 / 680;
  margin-top: -40px;
}
.process-flow__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* portal */
.process-flow__ring, .process-flow__halo, .process-flow__beam, .process-flow__portal {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
.process-flow__comet { stroke-dasharray: 90 910; }
.process-flow__comet--b { stroke-dasharray: 40 960; stroke-dashoffset: -500; }
.process-flow__comet--in { stroke-dasharray: 120 880; }
.process-flow__portal { transition: filter .5s ease; }
.process-flow__portal.is-flare { filter: brightness(1.45) saturate(1.1); transition-duration: .12s; }
.process-flow__portal.is-flare .process-flow__ring--inner { transform: scale(1.04); transition: transform .15s ease; }
.process-flow__ring--inner { transition: transform .6s ease; }

/* linie */
.process-flow__line {
  stroke: url(#pf-line);
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-width .4s ease;
}
.process-flow__line.is-active {
  stroke: url(#pf-line-on);
  stroke-width: 2.4;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, .8));
}
.process-flow__spark {
  fill: #fffbe6;
  opacity: 0;
  filter: drop-shadow(0 0 6px #ffd700) drop-shadow(0 0 14px rgba(255, 215, 0, .8));
}

/* karty */
.process-flow__list { list-style: none; margin: 0; padding: 0; }
.process-flow__card {
  position: absolute;
  width: 270px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  transition: border-color .5s ease, box-shadow .5s ease, background-color .5s ease, opacity .5s ease, transform .5s ease;
}
.process-flow__card--1 { right: 75%; top: 57.35%; text-align: right; }
.process-flow__card--2 { right: 60.83%; top: 29.41%; text-align: right; }
.process-flow__card--3 { left: 60.83%; top: 23.53%; }
.process-flow__card--4 { left: 75%; top: 51.47%; }
.process-flow__num {
  display: block;
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .4);
  transition: color .5s ease;
}
.process-flow__card h3 {
  margin: 2px 0 6px;
  font-size: 24px;
  font-weight: 600;
  color: var(--c-yellow);
  text-shadow: 0 0 14px rgba(255, 215, 0, .3);
  transition: text-shadow .5s ease;
}
.process-flow__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .66);
  transition: color .5s ease;
}
.process-flow.has-active .process-flow__card { opacity: .62; }
.process-flow.has-active .process-flow__card.is-active {
  opacity: 1;
  transform: translateY(calc(-50% - 6px));
  background-color: rgba(255, 215, 0, .07);
  border-color: rgba(255, 215, 0, .75);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255, 215, 0, .25), 0 0 40px -6px rgba(255, 215, 0, .45);
}
.process-flow__card.is-active h3 { text-shadow: 0 0 18px rgba(255, 215, 0, .7); }
.process-flow__card.is-active .process-flow__num { color: var(--c-yellow); }
.process-flow__card.is-active p { color: rgba(255, 255, 255, .88); }

.process-flow__pills, .process-flow__drop { display: none; }

/* animacje: wejście (linie, karty, portal) + ciągły ruch pierścieni */
@media (prefers-reduced-motion: no-preference) {
  .process-flow.js-pf .process-flow__line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.6,0,.2,1) calc(.35s + var(--i) * .15s), stroke-width .4s ease; }
  .process-flow.js-pf .process-flow__card { opacity: 0; transform: translateY(calc(-50% + 16px)); transition-delay: calc(var(--i) * .15s); }
  .process-flow.js-pf .process-flow__portal { opacity: 0; transition: opacity 1.2s ease, filter .5s ease; }
  .process-flow.is-in .process-flow__line { stroke-dashoffset: 0; }
  .process-flow.is-in .process-flow__card { opacity: 1; transform: translateY(-50%); }
  .process-flow.is-in .process-flow__portal { opacity: 1; }
  .process-flow.is-ready .process-flow__card { transition-delay: 0s; }

  .process-flow__comet { animation: pf-orbit 7s linear infinite; }
  .process-flow__comet--b { animation-duration: 11s; }
  .process-flow__comet--in { animation: pf-orbit-rev 4.5s linear infinite; }
  .process-flow__ring--outer { animation: pf-float 6s ease-in-out infinite; }
  .process-flow__halo { animation: pf-breathe 4.5s ease-in-out infinite; }
  .process-flow__beam { animation: pf-beam 3.8s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .process-flow__motes { display: none; }
}
@keyframes pf-orbit { to { stroke-dashoffset: -1000; } }
@keyframes pf-orbit-rev { from { stroke-dashoffset: -1000; } to { stroke-dashoffset: 0; } }
@keyframes pf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pf-breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes pf-beam { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

@media (max-width: 1080px) {
  .process-flow__card { width: 220px; padding: 14px 16px; }
  .process-flow__card h3 { font-size: 20px; }
  .process-flow__card p { font-size: 13px; }
}

/* mobile: karuzela kart + przyciski etapów + portal pod spodem */
@media (max-width: 820px) {
  .process-flow { padding: 72px 0 10px; }
  .process-flow__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .process-flow__stage { display: flex; flex-direction: column; aspect-ratio: auto; margin-top: 32px; }
  .process-flow__list {
    order: 1;
    display: flex;
    gap: 12px;
    margin-inline: calc(50% - 50vw);
    padding: 10px 9vw 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .process-flow__list::-webkit-scrollbar { display: none; }
  .process-flow__card,
  .process-flow.js-pf .process-flow__card,
  .process-flow.is-in .process-flow__card,
  .process-flow.has-active .process-flow__card.is-active {
    position: relative;
    inset: auto;
    flex: 0 0 82vw;
    width: auto;
    min-height: 168px;
    padding: 20px;
    text-align: left;
    scroll-snap-align: center;
    transform: none;
  }
  .process-flow.has-active .process-flow__card:not(.is-active) { opacity: .45; transform: scale(.93); }
  .process-flow__card h3 { font-size: 24px; }
  .process-flow__card p { font-size: 15px; }
  @media (prefers-reduced-motion: no-preference) {
    .process-flow.js-pf:not(.is-in) .process-flow__card { opacity: 0; transform: translateX(60px) scale(.93); }
  }

  .process-flow__pills { order: 2; display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
  .process-flow__pill {
    position: relative;
    overflow: hidden;
    min-width: 56px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font-family: var(--f-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: color .3s ease, border-color .3s ease;
  }
  .process-flow__pill::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    height: 2px;
    width: 0;
    background: var(--c-yellow);
  }
  .process-flow__pill.is-active { color: var(--c-yellow); border-color: rgba(255, 215, 0, .6); }
  .process-flow__pill.is-active::after { width: 100%; }
  @media (prefers-reduced-motion: no-preference) {
    .process-flow.is-running .process-flow__pill.is-active::after { animation: pf-progress var(--pf-step, 3200ms) linear forwards; }
  }

  .process-flow__drop {
    order: 3;
    position: relative;
    display: block;
    align-self: center;
    width: 2px;
    height: 54px;
    margin-top: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,215,0,.5) 70%, rgba(255,215,0,0));
  }
  .process-flow__drop::after {
    content: "";
    position: absolute;
    left: 50%; top: 0;
    width: 8px; height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: #fffbe6;
    box-shadow: 0 0 8px #ffd700, 0 0 16px rgba(255,215,0,.8);
    opacity: 0;
  }
  .process-flow__drop.is-go::after { animation: pf-drop .8s cubic-bezier(.5,0,.9,.6) forwards; }

  .process-flow__art { order: 4; position: relative; inset: auto; height: auto; aspect-ratio: 760 / 290; margin: -30px -16px 0; width: calc(100% + 32px); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 85%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 85%, transparent 100%); }
  .process-flow__beam { display: none; }
  .process-flow__lines { display: none; }
}
@keyframes pf-progress { from { width: 0; } to { width: 100%; } }
@keyframes pf-drop { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ============================================================
   OPINIE: kolumny kart przewijane w pionie (strona główna)
   Markup: template-parts/testimonials-columns.php
   ============================================================ */
.tcols__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.tcols__wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-height: 740px;
  margin-top: 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.tcols__col { flex: 0 1 360px; min-width: 0; }
.tcols__track { display: flex; flex-direction: column; }
.tcols__set {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0 0 24px;
  list-style: none;
}
.tcols__card {
  padding: 32px;
  border: 1px solid var(--c-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px -12px rgba(15, 16, 16, .12);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.tcols__card:hover {
  border-color: rgba(255, 215, 0, .7);
  box-shadow: 0 16px 36px -14px rgba(140, 110, 0, .35);
}
.tcols__card blockquote { margin: 0; }
.tcols__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text);
}
.tcols__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.tcols__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-yellow);
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 800;
  color: #0f1010;
}
.tcols__author strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}
.tcols__author small {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  color: var(--c-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .tcols__track { animation: tcols-up var(--tc-dur, 26s) linear infinite; }
  .tcols__col--2 .tcols__track { --tc-dur: 34s; }
  .tcols__col--3 .tcols__track { --tc-dur: 30s; }
  .tcols__wrap:hover .tcols__track { animation-play-state: paused; }
}
@keyframes tcols-up { to { transform: translateY(-50%); } }

@media (max-width: 1080px) { .tcols__col--3 { display: none; } }
@media (max-width: 720px) {
  .tcols__col--2 { display: none; }
  .tcols__wrap { max-height: 600px; }
  .tcols__card { padding: 24px; }
}

/* ============================================================
   REALIZACJE: hero z talią ekranów realizacji i mocniejszymi liczbami
   Markup: archive-case_study.php, JS: assets/js/case-showcase.js
   ============================================================ */
.case-hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  column-gap: 48px;
}
.case-hero--archive:not(.case-hero--deck) .case-hero__wrap { grid-template-columns: 1fr; }
.case-hero__copy { min-width: 0; }
.case-hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 80%, rgba(255, 215, 0, .85) 80%, rgba(255, 215, 0, .85) 92%, transparent 92%);
  padding: 0 .04em;
}
.case-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.case-hero--archive .case-hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.case-hero__stats b span { font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.case-hero__stats b { white-space: nowrap; }
.case-hero__stats li.is-range b { font-size: clamp(28px, 2.6vw, 38px); }
.case-hero__actions .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.case-hero__actions .btn--ghost:hover { border-color: var(--c-yellow); color: var(--c-yellow); }
.case-hero__stats b i { font-style: normal; font-size: .6em; vertical-align: .15em; color: rgba(255, 215, 0, .7); }
.case-anchor { display: block; position: relative; top: -100px; }

/* talia ekranów */
.case-deck {
  position: relative;
  height: 440px;
  perspective: 1400px;
  --rx: 0deg;
  --ry: 0deg;
}
.case-deck__glow {
  position: absolute;
  inset: 12% 6% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 215, 0, .28), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.case-deck__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 92%);
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.65, 0, .25, 1), opacity .9s ease, filter .9s ease;
  will-change: transform;
}
.case-deck__item .case-browser {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #151616;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
}
.case-deck__view { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0f1010; }
.case-deck__view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.case-deck__view img.is-full { height: auto; min-height: 100%; object-fit: initial; }
.case-deck__item[data-pos="0"] {
  z-index: 3;
  transform: translate(-50%, -50%) rotateX(var(--rx)) rotateY(calc(-10deg + var(--ry))) rotateZ(-1deg);
}
.case-deck__item[data-pos="1"] {
  z-index: 2;
  opacity: .75;
  filter: brightness(.7);
  transform: translate(calc(-50% - 70px), calc(-50% - 56px)) rotateX(var(--rx)) rotateY(calc(-10deg + var(--ry))) rotateZ(-7deg) scale(.86);
}
.case-deck__item[data-pos="2"] {
  z-index: 1;
  opacity: .5;
  filter: brightness(.55);
  transform: translate(calc(-50% + 64px), calc(-50% - 92px)) rotateX(var(--rx)) rotateY(calc(-10deg + var(--ry))) rotateZ(5deg) scale(.74);
}
.case-deck__item.is-leaving { transition-duration: .45s; opacity: 0; transform: translate(-50%, calc(-50% + 60px)) rotateY(-10deg) scale(.9); }

.case-deck__tag {
  position: absolute;
  left: -18px;
  bottom: -22px;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(20, 21, 21, .88);
  border: 1px solid rgba(255, 215, 0, .45);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .9), 0 0 24px -8px rgba(255, 215, 0, .4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(10px) translateZ(40px);
  transition: opacity .4s ease, transform .4s ease;
}
.case-deck__tag b { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-yellow); }
.case-deck__item[data-pos="0"] .case-deck__tag { opacity: 1; transform: translateY(0) translateZ(40px); transition-delay: .5s; }

@media (prefers-reduced-motion: no-preference) {
  .case-deck__item[data-pos="0"] .case-deck__view img:not(.is-full) { animation: deck-pan 9s ease-in-out infinite alternate; }
}
@keyframes deck-pan { from { object-position: top center; } to { object-position: center 70%; } }

@media (max-width: 1080px) {
  .case-hero__wrap { grid-template-columns: 1fr; }
  .case-deck { order: -1; height: 380px; margin: 10px 0 36px; }
  .case-hero--archive .case-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .case-deck { height: 270px; margin-top: -24px; }
  .case-deck__item { width: 86%; }
  .case-deck__item[data-pos="1"] { transform: translate(calc(-50% - 34px), calc(-50% - 34px)) rotateZ(-6deg) scale(.86); }
  .case-deck__item[data-pos="2"] { transform: translate(calc(-50% + 30px), calc(-50% - 58px)) rotateZ(5deg) scale(.74); }
  .case-deck__item[data-pos="0"] { transform: translate(-50%, -50%) rotateZ(-1deg); }
  .case-deck__tag { left: 8px; bottom: -18px; font-size: 13px; padding: 10px 12px; }
  .case-hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .case-hero--archive .case-hero__stats b { font-size: 30px; }
  /* liczby jako karuzela przesuwana palcem */
  .case-hero--archive .case-hero__stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 48px -16px 0;
    padding: 0 16px 6px;
    border-top: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .case-hero--archive .case-hero__stats::-webkit-scrollbar { display: none; }
  .case-hero--archive .case-hero__stats li {
    flex: 0 0 72%;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
    scroll-snap-align: start;
  }
  .case-hero--archive .case-hero__stats li.is-range b { font-size: 26px; }
}

/* ============================================================
   JOURNEY: jasne tło (hero strony sklepów jest czarne, sekcja pod nim ma się odcinać).
   Telefon zostaje ciemny jako akcent.
   ============================================================ */
.journey {
  background:
    radial-gradient(620px circle at 78% 50%, rgba(255, 215, 0, .22), transparent 65%),
    #f3f2ee;
  color: var(--c-text);
}
.journey .eyebrow { color: #8a6a00; }
.journey h2 { color: var(--c-text); }
.journey__lead { color: var(--c-muted); }
.journey__step:hover { background: rgba(15, 16, 16, .04); }
.journey__step.is-active {
  background: #fff;
  box-shadow: 0 10px 30px -14px rgba(15, 16, 16, .18), inset 0 0 0 1px rgba(15, 16, 16, .06);
}
.journey__num { background: rgba(15, 16, 16, .06); color: var(--c-muted); }
.journey__txt strong { color: var(--c-text); }
.journey__txt small { color: var(--c-muted); }
.journey__bar { background: rgba(15, 16, 16, .06); }
.journey__bar span { background: var(--c-yellow-dim, #e0b800); }
.jd-phone { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 40px 80px -30px rgba(15, 16, 16, .55), 0 0 120px -40px rgba(255, 200, 0, .55); }
/* tło: płynne złoto (assets/js/liquid-metal.js), mocniejsze po prawej za telefonem, wygaszone pod tekstem */
.journey__wrap { position: relative; z-index: 1; }
.journey__metal {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 76% 50%, #000 0%, rgba(0,0,0,.55) 45%, transparent 85%);
  mask-image: radial-gradient(ellipse 55% 75% at 76% 50%, #000 0%, rgba(0,0,0,.55) 45%, transparent 85%);
}
.journey__metal.is-ready { opacity: .95; }
.journey__metal.is-static {
  opacity: .45;
  background: conic-gradient(from 210deg at 76% 50%, #3a2708, #b3832a, #f6dd8f, #8a5f16, #ffeeb5, #2a1c05, #d9a842, #3a2708);
}
.journey__metal canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 960px) {
  .journey__metal {
    -webkit-mask-image: radial-gradient(ellipse 90% 30% at 50% 22%, #000 0%, rgba(0,0,0,.5) 50%, transparent 90%);
    mask-image: radial-gradient(ellipse 90% 30% at 50% 22%, #000 0%, rgba(0,0,0,.5) 50%, transparent 90%);
  }
}
/* telefon delikatnie unosi się */
@media (prefers-reduced-motion: no-preference) {
  .journey__device .jd-phone { animation: jd-float 6s ease-in-out infinite; }
}
@keyframes jd-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -14px; rotate: 1.2deg; }
}

/* „Dla kogo” w wersji live (strona sklepów): wyższe karty, wejście i podświetlanie po kolei, na mobile karuzela.
   Markup: template-parts/audience-cards.php ('live' => true), JS: main.js [data-audience-live] */
.audience--live { padding: 150px 0 160px; overflow: hidden; overflow: clip; }
.audience--live .audience__head { margin-bottom: 64px; }
.audience--live .audience-card {
  min-height: 340px;
  padding: 36px;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease, background-color .5s ease, opacity .6s ease;
}
.audience--live .audience-card__top { margin-bottom: 64px; }
.audience--live .audience-card h3 { font-size: 24px; margin-bottom: 12px; }
.audience--live .audience-card p { font-size: 16px; }
.audience--live .audience-card.is-active {
  transform: translateY(-8px);
  background: var(--c-bg);
  box-shadow: 0 0 0 1px rgba(255, 215, 0, .55), 0 30px 60px -30px rgba(140, 110, 0, .45);
}
.audience--live .audience-card.is-active .audience-card__icon {
  background: var(--c-yellow);
  color: var(--c-dark-bg);
  animation: aud-pulse 1.6s ease-out infinite;
}
.audience--live .audience-card.is-active .audience-card__num { color: #8a6a00; }
.audience-card__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.audience-card__bar span { display: block; width: 0; height: 100%; background: var(--c-yellow); }
.audience--live.is-running .audience-card.is-active .audience-card__bar span { animation: aud-bar var(--aud-step, 3200ms) linear forwards; }
@keyframes aud-bar { to { width: 100%; } }
@keyframes aud-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, .55), 0 8px 18px -10px rgba(17,17,16,.25); }
  100% { box-shadow: 0 0 0 14px rgba(255, 215, 0, 0), 0 8px 18px -10px rgba(17,17,16,.25); }
}
.audience__dots { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .audience--live.js-aud .audience-card { opacity: 0; transform: translateY(40px); }
  .audience--live.js-aud.is-in .audience-card { opacity: 1; transform: none; transition-delay: calc(var(--i) * .15s); }
  .audience--live.js-aud.is-in.is-ready .audience-card { transition-delay: 0s; }
  .audience--live.js-aud.is-in .audience-card.is-active { transform: translateY(-8px); }
}

@media (max-width: 960px) {
  .audience--live { padding: 90px 0 100px; }
  .audience--live .audience__head { margin-bottom: 36px; }
  .audience--live .audience__grid {
    display: flex;
    gap: 14px;
    margin-inline: calc(50% - 50vw);
    padding: 12px 9vw 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .audience--live .audience__grid::-webkit-scrollbar { display: none; }
  .audience--live .audience-card { flex: 0 0 82vw; min-height: 300px; padding: 28px; scroll-snap-align: center; }
  .audience--live .audience-card__top { margin-bottom: 48px; }
  .audience--live.js-aud .audience-card { transform: translateX(60px); }
  .audience--live.js-aud.is-in .audience-card,
  .audience--live.js-aud.is-in .audience-card.is-active,
  .audience--live .audience-card.is-active { transform: none; }
  .audience__dots { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
  .audience__dots button {
    position: relative;
    width: 32px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .audience__dots button::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 999px;
    background: rgba(17, 17, 16, .18);
    transition: width .3s ease, margin .3s ease, background .3s ease;
  }
  .audience__dots button.is-active::before { width: 24px; margin-left: -12px; background: var(--c-yellow); }
}

/* ============================================================
   ADS HERO: wynik wyszukiwania z reklamą klienta (template-parts/ads-hero.php)
   ============================================================ */

.ah-stage { height: 540px; }
.ah-rig { --ry: -10deg; }

.ah-browser {
  left: 4%;
  top: 40px;
  width: 88%;
  padding-bottom: 22px;
  border-radius: 18px;
  background: #fbfbf8;
  color: #1d1d1b;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
}

.ah-bar {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: #ecece7;
}

.ah-bar .hs-dots i { background: #cfcfc8; }

.ah-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 22px 14px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #e0e0da;
  background: #fff;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.18);
  font-size: 15px;
  color: #6b6b68;
}

.ah-search b { font-weight: 500; color: #1d1d1b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ah-caret {
  width: 2px;
  height: 18px;
  margin-left: -6px;
  background: #1d1d1b;
  animation: ah-blink 1s steps(1) infinite;
}

@keyframes ah-blink { 50% { opacity: 0; } }

.ah-results { padding: 0 22px; }

.ah-ad {
  position: relative;
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eeeee8;
  opacity: 0;
  transform: translateY(-14px) scale(0.98);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(.2,.8,.2,1.15), box-shadow 0.4s, border-color 0.4s;
  overflow: hidden;
}

.ah-stage.is-shown .ah-ad {
  opacity: 1;
  transform: none;
  border-color: rgba(255,215,0,0.9);
  box-shadow: 0 0 0 4px rgba(255,215,0,0.22), 0 18px 40px -18px rgba(0,0,0,0.35);
}

.ah-ad__meta { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #5f5f5b; }
.ah-ad__meta b { font-weight: 700; color: #1d1d1b; }
.ah-fav { width: 16px; height: 16px; border-radius: 50%; background: var(--c-yellow); box-shadow: inset 0 0 0 4px #111; }
.ah-ad__title { font-family: var(--f-heading); font-size: 19px; font-weight: 600; line-height: 1.25; color: #1a3fb0; }
.ah-ad__desc { font-size: 13.5px; line-height: 1.5; color: #4a4a47; }
.ah-ad__links { font-size: 13px; color: #1a3fb0; }

.ah-ripple {
  position: absolute;
  left: 62%;
  top: 38%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: rgba(255,215,0,0.55);
  opacity: 0;
  pointer-events: none;
}

.ah-stage.is-click .ah-ripple { animation: ah-ripple 0.8s ease-out; }

@keyframes ah-ripple {
  0%   { opacity: 1; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(14); }
}

.ah-org { display: grid; gap: 7px; padding: 12px 16px; }
.ah-org span { height: 9px; border-radius: 6px; background: #e9e9e4; }
.ah-org span:nth-child(1) { width: 32%; height: 7px; }
.ah-org span:nth-child(2) { width: 68%; height: 12px; background: #dfe3f1; }
.ah-org span:nth-child(3) { width: 88%; }

.ah-cursor {
  position: absolute;
  left: 78%;
  top: 92%;
  z-index: 3;
  transition: left 0.9s cubic-bezier(.5,0,.2,1), top 0.9s cubic-bezier(.5,0,.2,1), transform 0.15s;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.ah-stage.is-shown .ah-cursor { left: 60%; top: 33%; }
.ah-stage.is-click .ah-cursor { transform: scale(0.85); }
.ah-stage.is-lead .ah-cursor { transform: none; }

.ah-chip--lead { right: -4%; top: 6px; transform: translateZ(150px); }
.ah-chip--lead .hs-chip { opacity: 0; transform: translateY(14px) scale(0.92); transition: opacity 0.45s, transform 0.55s cubic-bezier(.2,.8,.2,1.3); animation: none; }
.ah-stage.is-lead .ah-chip--lead .hs-chip { opacity: 1; transform: none; }
.ah-chip--lead .hs-chip__ico { background: var(--c-yellow); color: #111; }

.ah-chip--ga { left: -8%; bottom: 74px; transform: translateZ(120px); }
.ah-chip--ga .hs-chip { animation-delay: 1.4s; }
.ah-chip--ga .hs-float { animation-delay: -2s; }

.ah-chip--own { right: 0; bottom: 0; transform: translateZ(90px); }
.ah-chip--own .hs-chip { animation-delay: 1.7s; }
.ah-chip--own .hs-float { animation-delay: -4s; }

@media (max-width: 1000px) {
  .ah-stage { height: auto; aspect-ratio: 1 / 0.86; max-width: 600px; }
  .ah-browser { left: 0; width: 100%; top: 30px; }
  .ah-chip--ga { left: -2%; bottom: 4%; }
  .ah-chip--own { display: none; }
  .ah-chip--lead { right: -2%; top: -4px; }
}

@media (max-width: 560px) {
  .ah-stage { aspect-ratio: auto; height: 400px; }
  .ah-search { margin: 14px 14px 10px; padding: 10px 14px; font-size: 14px; }
  .ah-results { padding: 0 14px; }
  .ah-ad { padding: 12px; }
  .ah-ad__title { font-size: 16px; }
  .ah-ad__desc { font-size: 12.5px; }
  .ah-org:nth-of-type(n+3) { display: none; }
  .ah-chip--ga { bottom: 0; }
}

/* ============================================================
   CENNIK PAKIETÓW (template-parts/price-plans.php)
   ============================================================ */

.price-plans {
  padding: 120px 0;
  background: var(--c-surface);
  scroll-margin-top: 80px;
}

.price-plans__head { max-width: 720px; margin-bottom: 48px; }
.price-plans__head h2 { margin: 0 0 14px; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.03em; }
.price-plans__head p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--c-muted); }

.price-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: 24px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
}

.price-plan:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.3); }

.price-plan--featured {
  background: var(--c-dark-bg);
  border-color: transparent;
  color: var(--c-dark-text);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,215,0,0.35);
}

.price-plan__badge {
  align-self: flex-start;
  margin: -12px 0 14px;
  padding: 5px 12px 6px;
  border-radius: 999px;
  background: var(--c-yellow);
  color: #111;
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 700;
}

.price-plan h3 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.price-plan--featured h3 { color: var(--c-white); }
.price-plan__for { min-height: 3em; margin: 8px 0 22px; font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.price-plan--featured .price-plan__for { color: var(--c-dark-muted); }

.price-plan__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price-plan__price b { font-family: var(--f-heading); font-size: clamp(36px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-plan--featured .price-plan__price b { color: var(--c-yellow); }
.price-plan__price span { font-size: 15px; color: var(--c-muted); }
.price-plan__alt { margin: 6px 0 0; font-size: 13px; color: var(--c-muted); }

.price-plan ul {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 11px;
  margin: 26px 0 30px;
  padding: 24px 0 0;
  border-top: 1px solid var(--c-border);
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
}

.price-plan--featured ul { border-color: rgba(255,255,255,0.1); }
.price-plan li { display: flex; gap: 10px; }
.price-plan li svg { flex: none; margin-top: 2px; color: #8a6a00; }
.price-plan--featured li svg { color: var(--c-yellow); }
.price-plan__btn { justify-content: center; }
.price-plan--featured .price-plan__btn { box-shadow: 0 10px 34px -12px rgba(255,215,0,0.6); }

.price-extras {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  margin-top: 20px;
  border-radius: 20px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
}

.price-extra { display: grid; gap: 4px; align-content: start; padding: 22px 24px; }
.price-extra + .price-extra { border-left: 1px solid var(--c-border); }
.price-extra__name { font-size: 14px; font-weight: 600; }
.price-extra__price { font-family: var(--f-heading); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.price-extra small { font-size: 13px; line-height: 1.45; color: var(--c-muted); }

.price-plans__note { margin: 18px 0 0; font-size: 13px; color: var(--c-muted); }

.price-plans.reveal-wait .price-plan { opacity: 0; transform: translateY(30px); }
.price-plans.is-in .price-plan {
  animation: pp-in 0.75s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i) * 110ms);
}

@keyframes pp-in { to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .price-plans__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 28px; }
  .price-plan__for { min-height: 0; }
  .price-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-extra:nth-child(3) { border-left: 0; }
  .price-extra:nth-child(n+3) { border-top: 1px solid var(--c-border); }
}

@media (max-width: 560px) {
  .price-plans { padding: 80px 0; }
  .price-plan { padding: 30px 22px 24px; }
  .price-extras { grid-template-columns: minmax(0, 1fr); }
  .price-extra + .price-extra { border-left: 0; border-top: 1px solid var(--c-border); }
}

/* ============================================================
   ZASADY WSPÓŁPRACY (template-parts/work-principles.php)
   ============================================================ */

.principles {
  position: relative;
  padding: 120px 0;
  background: var(--c-dark-bg);
  color: var(--c-dark-text);
  overflow: hidden;
}

.principles::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 85% 0%, rgba(255,215,0,0.08), transparent 70%);
  pointer-events: none;
}

.principles .container { position: relative; }
.principles__head { max-width: 720px; margin-bottom: 52px; }
.principles__head .eyebrow { color: var(--c-yellow); }
.principles__head h2 { margin: 0 0 14px; color: var(--c-white); font-size: clamp(34px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.03em; }
.principles__head p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--c-dark-muted); }

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.principle {
  position: relative;
  padding: 34px 30px 36px;
  background: var(--c-dark-bg);
  transition: background 0.35s;
}

.principle:hover { background: #151616; }

.principle::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 2px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}

.principle:hover::after { transform: scaleX(1); }

.principle__num { font-family: var(--f-heading); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--c-yellow); }
.principle h3 { margin: 18px 0 10px; font-size: 21px; color: var(--c-white); letter-spacing: -0.015em; }
.principle p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-dark-muted); }

.principles.reveal-wait .principle { opacity: 0; transform: translateY(20px); }
.principles.is-in .principle {
  animation: pp-in 0.7s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i) * 90ms);
}

@media (max-width: 1000px) {
  .principles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .principles { padding: 80px 0; }
  .principles__grid { grid-template-columns: minmax(0, 1fr); }
  .principle { padding: 26px 22px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .price-plans.reveal-wait .price-plan,
  .principles.reveal-wait .principle { opacity: 1; transform: none; animation: none; }
}

@media (min-width: 1001px) {
  .ads-hero .hs-wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

/* compare-toggle, wariant 'report': dwa raporty miesięczne z kampanii */
.cm-report { gap: 18px; padding: 22px 22px 56px; }
.cm-report__title { font-family: var(--f-heading); font-size: 15px; font-weight: 700; color: var(--c-text); }
.cm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cm-kpis span { display: grid; gap: 4px; padding: 12px; border-radius: 10px; background: #f5f5f3; }
.cm-kpis small { font-size: 11px; color: var(--c-muted); }
.cm-kpis b { font-family: var(--f-heading); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--c-text); white-space: nowrap; }
.cm-kpis .is-hot { background: #111110; }
.cm-kpis .is-hot small { color: var(--c-dark-muted); }
.cm-kpis .is-hot b { color: var(--c-yellow); }
.cm-chart { width: 100%; height: 120px; }
.cm-chart path { fill: none; stroke: #b9b9b3; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.cm-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.cm-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--c-yellow), #f3cf00); }
.cm-report__q { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--c-muted); }
.cm-page--b .cm-report__q { color: #8a6a00; }
.compare__mock--report .cm-note { position: absolute; right: 18px; bottom: 16px; font-size: 11px; color: var(--c-muted); }

@media (max-width: 560px) {
  .cm-report { padding: 16px 14px 50px; gap: 14px; }
  .cm-kpis { gap: 6px; }
  .cm-kpis span { padding: 9px 8px; }
  .cm-kpis b { font-size: 15px; }
}

@media (max-width: 560px) {
  .hero-showcase.ads-hero { padding-bottom: 56px; }
  .ads-hero .hs-wrap { gap: 44px; }
  .ads-hero .hs-pillars { margin-top: 28px; }
  .ah-stage { height: 340px; }
  .ah-browser { top: 20px; }
  .ah-chip--ga { bottom: 6px; }
}

/* na telefonie i tablecie scena z wyszukiwaniem nad nagłówkiem */
@media (max-width: 1000px) {
  .ads-hero .ah-stage { order: -1; }
  .hero-showcase.ads-hero { padding-top: 100px; }
}

@media (max-width: 560px) {
  .ads-hero .hs-wrap { gap: 36px; }
  .ah-stage { height: 360px; }
  .ah-browser { top: 10px; }
  .ah-chip--ga { display: none; }
  .ah-chip--lead { top: auto; right: -2%; bottom: -10px; }
}

/* ADS HERO, tryb feed: telefon z feedem Facebooka/Instagrama */
.ads-hero--feed .ah-rig { --ry: -14deg; }

.ah-phone {
  left: 50%;
  top: 0;
  width: 300px;
  margin-left: -150px;
  transform: translateZ(40px);
}

.ah-phone .hs-phone__body { border-radius: 38px; padding: 9px; }

.ah-screen {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 30px;
  background: #f3f3f0;
  overflow: hidden;
}

.ah-appbar {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 18px 14px 0;
  background: #fff;
  box-shadow: 0 1px 0 #e6e6e1;
}

.ah-appbar b { width: 64px; height: 12px; margin-right: auto; border-radius: 4px; background: #1d1d1b; }
.ah-appbar i { width: 22px; height: 22px; border-radius: 50%; background: #ececE7; }

.ah-feed {
  position: absolute;
  inset: 60px 8px auto;
  display: grid;
  gap: 10px;
  transform: translateY(0);
  transition: transform 1.1s cubic-bezier(.6,0,.2,1);
}

.ah-stage.is-scroll .ah-feed { transform: translateY(-214px); }

.ah-post {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
}

.ah-post__head { display: flex; align-items: center; gap: 8px; }
.ah-post__head > i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #e3e3de; }
.ah-post__head > b { width: 40%; height: 9px; border-radius: 4px; background: #e3e3de; }
.ah-post__img { height: 150px; border-radius: 10px; background: linear-gradient(135deg, #e9e9e4, #dcdcd6); }

.ah-post--ad { transition: box-shadow 0.4s; }
.ah-stage.is-shown .ah-post--ad { box-shadow: 0 0 0 3px rgba(255,215,0,0.85), 0 16px 34px -16px rgba(0,0,0,0.4); }
.ah-post--ad .ah-fav { width: 26px; height: 26px; box-shadow: inset 0 0 0 7px #111; }
.ah-post--ad .ah-post__head span { display: grid; line-height: 1.2; }
.ah-post--ad .ah-post__head b { font-size: 12px; color: #1d1d1b; }
.ah-post--ad .ah-post__head small { font-size: 10px; color: #77776f; }
.ah-post__text { font-size: 11.5px; line-height: 1.45; color: #2b2b28; }

.ah-creative {
  display: grid;
  align-content: end;
  gap: 4px;
  height: 160px;
  padding: 14px;
  border-radius: 10px;
  background: radial-gradient(140px 120px at 80% 20%, rgba(255,255,255,0.45), transparent 70%), var(--c-yellow);
  color: #111;
}

.ah-creative strong { font-family: var(--f-heading); font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.ah-creative small { font-size: 11px; font-weight: 600; }
.ah-creative--dark { background: radial-gradient(160px 120px at 80% 10%, rgba(255,215,0,0.35), transparent 70%), #141514; color: #fff; }
.ah-creative--dark strong { color: var(--c-yellow); }
.ah-creative--light { background: radial-gradient(160px 120px at 85% 15%, rgba(255,215,0,0.45), transparent 70%), #f7f2df; }

.ah-post__foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.ah-post__foot b { flex: 1; font-size: 11.5px; line-height: 1.3; color: #1d1d1b; }

.ah-post__foot em {
  flex: none;
  padding: 7px 11px;
  border-radius: 8px;
  background: #e9e9e4;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: #1d1d1b;
  transition: background 0.3s, transform 0.15s;
}

.ah-stage.is-click .ah-post__foot em { background: var(--c-yellow); transform: scale(0.94); }
.ah-stage.is-lead .ah-post__foot em { transform: none; }
.ah-post__foot .ah-ripple { left: auto; right: 30px; top: 50%; }

.ads-hero--feed .ah-chip--lead { right: -2%; top: 18%; }
.ads-hero--feed .ah-chip--ga { left: -4%; bottom: 22%; }
.ads-hero--feed .ah-chip--own { right: 2%; bottom: 4%; }

@media (max-width: 1000px) {
  .ads-hero--feed .ah-stage { aspect-ratio: auto; height: 560px; }
  .ah-phone { width: 270px; margin-left: -135px; }
}

@media (max-width: 560px) {
  .ads-hero--feed .ah-stage { height: 460px; overflow: hidden; }
  .ah-phone { width: 240px; margin-left: -120px; }
  .ah-creative { height: 112px; }
  .ah-creative strong { font-size: 21px; }
  .ads-hero--feed .ah-chip--lead { top: auto; right: 0; bottom: 16px; }
  .ads-hero--feed .ah-chip--ga { display: none; }
}

/* ADS HERO, tryb duo: okno wyszukiwarki + telefon z feedem */
.ads-hero--duo .ah-browser { left: 0; top: 30px; width: 76%; }
.ads-hero--duo .ah-phone { left: auto; right: 0; top: 120px; width: 210px; margin: 0; transform: translateZ(130px); }
.ads-hero--duo .ah-phone .hs-phone__body { border-radius: 30px; padding: 7px; }
.ads-hero--duo .ah-screen { border-radius: 24px; }
.ads-hero--duo .ah-creative { height: 110px; }
.ads-hero--duo .ah-creative strong { font-size: 19px; }
.ads-hero--duo .ah-post__text { font-size: 10.5px; }
.ads-hero--duo .ah-stage.is-scroll .ah-feed,
.ads-hero--duo .ah-feed { transition-delay: 0.2s; }
.ads-hero--duo .ah-chip--lead { right: auto; left: 30%; top: -6px; }
.ads-hero--duo .ah-chip--ga { display: none; }
.ads-hero--duo .ah-chip--own { right: auto; left: -4%; bottom: 10px; }

@media (max-width: 1000px) {
  .ads-hero--duo .ah-stage { aspect-ratio: auto; height: 590px; }
  .ads-hero--duo .ah-chip--own { display: none; }
}

@media (max-width: 560px) {
  .ads-hero--duo .ah-stage { height: 400px; overflow: hidden; }
  .ads-hero--duo .ah-browser { width: 86%; top: 10px; }
  .ads-hero--duo .ah-phone { width: 136px; top: 96px; right: 0; }
  .ads-hero--duo .ah-post { padding: 7px; gap: 6px; }
  .ads-hero--duo .ah-post__text { display: none; }
  .ads-hero--duo .ah-creative { height: 80px; padding: 9px; }
  .ads-hero--duo .ah-creative strong { font-size: 15px; }
  .ads-hero--duo .ah-creative small { font-size: 9px; }
  .ads-hero--duo .ah-post__foot b { font-size: 9.5px; }
  .ads-hero--duo .ah-post__foot em { padding: 5px 7px; font-size: 9px; }
  .ads-hero--duo .ah-chip--lead { left: 6px; top: auto; bottom: 18px; }
}

/* ============================================================
   KANAŁY: Google czy Facebook (template-parts/channel-split.php)
   ============================================================ */

.channel-split { padding: 120px 0; background: var(--c-bg); }
.channel-split__head { max-width: 720px; margin-bottom: 48px; }
.channel-split__head h2 { margin: 0 0 14px; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.03em; }
.channel-split__head p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--c-muted); }

.channel-split__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.channel-card {
  display: flex;
  flex-direction: column;
  padding: 36px 34px 32px;
  border-radius: 28px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
}

.channel-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(0,0,0,0.35); }
.channel-card--dark { background: var(--c-dark-bg); border-color: transparent; color: var(--c-dark-text); }
.channel-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.channel-card__logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--c-border); }
.channel-card--dark .channel-card__logo { background: #1c1d1d; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.channel-card__logo img { width: 30px; height: 30px; object-fit: contain; }
.channel-card__tag { padding: 7px 13px; border-radius: 999px; background: var(--c-yellow); color: #111; font-family: var(--f-heading); font-size: 12px; font-weight: 700; }
.channel-card h3 { margin: 0; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.025em; }
.channel-card--dark h3 { color: var(--c-white); }
.channel-card__idea { margin: 12px 0 26px; font-size: 16px; line-height: 1.6; color: var(--c-muted); }
.channel-card--dark .channel-card__idea { color: var(--c-dark-muted); }
.channel-card__label { font-family: var(--f-heading); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a6a00; }
.channel-card--dark .channel-card__label { color: var(--c-yellow); }
.channel-card ul { flex: 1; display: grid; align-content: start; gap: 10px; margin: 14px 0 30px; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.channel-card li { position: relative; padding-left: 22px; }
.channel-card li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--c-yellow); box-shadow: 0 0 0 4px rgba(255,215,0,0.2); }
.channel-card__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.channel-card--dark .channel-card__foot { border-color: rgba(255,255,255,0.1); }
.channel-card__foot > span { font-size: 14px; color: var(--c-muted); }
.channel-card__foot b { display: block; font-family: var(--f-heading); font-size: 22px; font-weight: 800; color: var(--c-text); }
.channel-card--dark .channel-card__foot b { color: var(--c-yellow); }

.channel-split.reveal-wait .channel-card { opacity: 0; transform: translateY(30px); }
.channel-split.is-in .channel-card { animation: pp-in 0.75s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 140ms); }

@media (max-width: 860px) {
  .channel-split__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .channel-split { padding: 80px 0; }
  .channel-card { padding: 28px 22px 24px; border-radius: 22px; }
}

/* ============================================================
   TEST: który kanał (template-parts/channel-quiz.php)
   ============================================================ */

.channel-quiz { padding: 120px 0; background: var(--c-surface); }
.channel-quiz__wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.channel-quiz__head h2 { margin: 0 0 14px; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.03em; }
.channel-quiz__head p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--c-muted); }

.channel-quiz__meter { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 13px; font-weight: 600; }
.channel-quiz__track { position: relative; flex: 1; height: 8px; border-radius: 8px; background: linear-gradient(90deg, #111, #d8d8d2 50%, var(--c-yellow)); }
.channel-quiz__track i { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #111, 0 6px 14px rgba(0,0,0,0.25); transition: left 0.6s cubic-bezier(.2,.8,.2,1.2); }

.channel-quiz__card {
  position: relative;
  min-height: 380px;
  padding: 34px;
  border-radius: 28px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.35);
}

.channel-quiz__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.channel-quiz__step + .channel-quiz__step { margin-top: 28px; }
.channel-quiz.is-ready .channel-quiz__step + .channel-quiz__step { margin-top: 0; }
.channel-quiz.is-ready .channel-quiz__step:not(.is-on) { display: none; }
.channel-quiz.is-ready .channel-quiz__step.is-on { animation: pp-in 0.5s cubic-bezier(.2,.8,.2,1) both; }
.channel-quiz__step legend { display: grid; gap: 8px; margin-bottom: 22px; padding: 0; font-family: var(--f-heading); font-size: clamp(22px, 2vw, 27px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.channel-quiz__step legend span { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a6a00; }

.channel-quiz__answers { display: grid; gap: 10px; }
.channel-quiz__answers button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: var(--c-surface);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  color: var(--c-text);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.channel-quiz__answers button span { opacity: 0.35; transition: transform 0.25s, opacity 0.25s; }
.channel-quiz__answers button:hover,
.channel-quiz__answers button:focus-visible { background: #fffbe0; border-color: var(--c-yellow); outline: none; }
.channel-quiz__answers button:hover span { opacity: 1; transform: translateX(4px); }
.channel-quiz__answers button:active { transform: scale(0.99); }

.channel-quiz__result { display: none; }
.channel-quiz:not(.is-ready) .channel-quiz__result { display: block; margin-top: 28px; }
.channel-quiz__result.is-on { display: block; animation: pp-in 0.6s cubic-bezier(.2,.8,.2,1) both; }
.channel-quiz__badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--c-yellow); font-family: var(--f-heading); font-size: 12px; font-weight: 700; }
.channel-quiz__result h3 { margin: 18px 0 10px; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.025em; }
.channel-quiz__result p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--c-muted); }
.channel-quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.channel-quiz__dots { position: absolute; right: 34px; top: 38px; display: flex; gap: 6px; }
.channel-quiz:not(.is-ready) .channel-quiz__dots { display: none; }
.channel-quiz__dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--c-surface-3); transition: background 0.3s; }
.channel-quiz__dots i.is-on { background: var(--c-yellow); }

@media (max-width: 960px) {
  .channel-quiz__wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

@media (max-width: 560px) {
  .channel-quiz { padding: 80px 0; }
  .channel-quiz__card { min-height: 0; padding: 26px 20px; border-radius: 22px; }
  .channel-quiz__dots { right: 20px; top: 30px; }
  .channel-quiz__meter { font-size: 12px; }
}

/* ============================================================
   KALKULATOR KOSZTU REKLAMY (template-parts/ads-calculator.php)
   ============================================================ */

.ads-calc { padding: 120px 0; background: var(--c-bg); scroll-margin-top: 80px; }
.ads-calc__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ads-calc__copy h2 { margin: 0 0 14px; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.03em; }
.ads-calc__copy > p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--c-muted); }
.ads-calc__parts { display: grid; gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; }
.ads-calc__parts li { display: flex; gap: 16px; align-items: flex-start; }
.ads-calc__parts b { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--c-yellow); font-family: var(--f-heading); }
.ads-calc__parts span { display: grid; gap: 2px; font-size: 15px; line-height: 1.5; color: var(--c-muted); }
.ads-calc__parts strong { color: var(--c-text); }

.ads-calc__card {
  display: grid;
  gap: 24px;
  padding: 34px;
  border-radius: 28px;
  background: var(--c-dark-bg);
  color: var(--c-dark-text);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,215,0,0.18);
}

.ads-calc__field { display: grid; gap: 10px; }
.ads-calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 600; color: var(--c-dark-muted); }
.ads-calc__label output { font-family: var(--f-heading); font-size: 22px; font-weight: 800; color: var(--c-yellow); }

.ads-calc__seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #1a1b1b; }
.ads-calc__seg label { flex: 1; position: relative; cursor: pointer; }
.ads-calc__seg input { position: absolute; opacity: 0; pointer-events: none; }
.ads-calc__seg span { display: block; padding: 11px 8px; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: center; color: var(--c-dark-muted); transition: background 0.25s, color 0.25s; }
.ads-calc__seg input:checked + span { background: var(--c-yellow); color: #111; }
.ads-calc__seg input:focus-visible + span { outline: 2px solid var(--c-yellow); outline-offset: 2px; }

.ads-calc__range {
  --p: 5%;
  width: 100%;
  height: 8px;
  margin: 8px 0 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--c-yellow) var(--p), #2a2b2b var(--p));
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
}

.ads-calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--c-yellow), 0 6px 16px rgba(0,0,0,0.5); }
.ads-calc__range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--c-yellow), 0 6px 16px rgba(0,0,0,0.5); }
.ads-calc__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-dark-muted); }

.ads-calc__out { display: grid; padding: 6px 20px; border-radius: 18px; background: #161717; }
.ads-calc__row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: 15px; }
.ads-calc__row + .ads-calc__row { border-top: 1px solid rgba(255,255,255,0.07); }
.ads-calc__row b { font-family: var(--f-heading); font-weight: 700; color: var(--c-white); white-space: nowrap; }
.ads-calc__row--total b { font-size: 26px; font-weight: 800; color: var(--c-yellow); }
.ads-calc.is-bump .ads-calc__row--total b { animation: calc-bump 0.35s ease; }
.ads-calc__row--setup { font-size: 14px; color: var(--c-dark-muted); }
.ads-calc__btn { justify-content: center; }
.ads-calc__note { margin: 0; font-size: 12px; line-height: 1.55; color: var(--c-dark-muted); }

@keyframes calc-bump { 40% { transform: scale(1.06); } }

@media (max-width: 960px) {
  .ads-calc__wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 560px) {
  .ads-calc { padding: 80px 0; }
  .ads-calc__card { padding: 24px 18px; border-radius: 22px; }
  .ads-calc__seg span { padding: 10px 4px; font-size: 13px; }
  .ads-calc__row--total b { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .channel-split.reveal-wait .channel-card { opacity: 1; transform: none; animation: none; }
}

/* test kanału na ciemnym tle (rozdziela jasne sekcje kanałów i "co dostajesz") */
.channel-quiz { background: var(--c-dark-bg); color: var(--c-dark-text); position: relative; overflow: hidden; }
.channel-quiz::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 380px at 15% 100%, rgba(255,215,0,0.09), transparent 70%); pointer-events: none; }
.channel-quiz .container { position: relative; }
.channel-quiz__head .eyebrow { color: var(--c-yellow); }
.channel-quiz__head h2 { color: var(--c-white); }
.channel-quiz__head p { color: var(--c-dark-muted); }
.channel-quiz__meter { color: var(--c-dark-text); }
.channel-quiz__track { background: linear-gradient(90deg, #ffffff, #4a4b4b 50%, var(--c-yellow)); }
.channel-quiz__track i { box-shadow: 0 0 0 3px var(--c-yellow), 0 6px 14px rgba(0,0,0,0.5); }
.channel-quiz__card { border-color: transparent; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9); }
/* Karta jest jasna w ciemnej sekcji: pytania i rekomendacja w ciemnym kolorze, żeby były czytelne. */
.channel-quiz__card { color: #111110; }
.channel-quiz__card .channel-quiz__result p { color: #55534e; }
.channel-quiz__card .channel-quiz__badge { color: #111110; }

/* ADS HERO, tryb seo: wyniki organiczne, strona klienta wspina się na #1 */
.ah-ranks { --row: 66px; position: relative; height: calc(var(--row) * 5); margin: 0 22px; }

.ah-rank {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--pos) * var(--row));
  display: grid;
  gap: 3px;
  height: calc(var(--row) - 8px);
  padding: 8px 14px;
  border-radius: 12px;
  overflow: hidden;
  transition: top 0.7s cubic-bezier(.5,0,.2,1), box-shadow 0.4s, background 0.4s;
}

.ah-rank small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; line-height: 1.3; color: #6b6b67; white-space: nowrap; }
.ah-rank { align-content: center; }
.ah-rank b { font-family: var(--f-heading); font-size: 15.5px; font-weight: 600; line-height: 1.3; color: #1a3fb0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-rank > span { display: none; }
.ah-rank:not(.ah-rank--you) b { color: #8a93b8; }
.ah-rank:not(.ah-rank--you) small { color: #9a9a95; }

.ah-rank--you { z-index: 2; height: calc(var(--row) - 8px); background: #fff; box-shadow: 0 0 0 1px #eeeee8, 0 14px 30px -18px rgba(0,0,0,0.35); }
.ah-rank--you em { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #111; color: var(--c-yellow); font-style: normal; font-weight: 700; font-size: 11px; }
.ah-rank--you .ah-fav { width: 14px; height: 14px; box-shadow: inset 0 0 0 3.5px #111; }
.ah-stage.is-shown .ah-rank--you { background: #fffbe3; box-shadow: 0 0 0 2px var(--c-yellow), 0 0 0 6px rgba(255,215,0,0.2), 0 18px 40px -18px rgba(0,0,0,0.4); }
.ah-stage.is-shown .ah-rank--you em { background: var(--c-yellow); color: #111; }

.ads-hero--seo .ah-browser { padding-bottom: 18px; }
.ads-hero--seo .ah-chip--lead { right: -4%; top: 6px; }

@media (max-width: 560px) {
  .ah-ranks { --row: 62px; margin: 0 12px; }
  .ah-rank { padding: 7px 10px; }
  .ah-rank b { font-size: 13.5px; }
  .ah-rank small { font-size: 10.5px; }
  .ads-hero--seo .ah-stage { height: 470px; }
  .ads-hero--seo .ah-chip--lead { top: auto; right: 0; bottom: 4px; }
}
.ah-stage.is-reset .ah-rank { transition: none; }

/* ADS HERO, tryb calendar: kalendarz treści social media */
.ah-cal { padding-bottom: 18px; }
.ah-cal__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 22px 12px; }
.ah-cal__head b { font-family: var(--f-heading); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.ah-cal__head span { font-size: 12px; color: #77776f; }
.ah-cal__days,
.ah-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0 22px; }
.ah-cal__days span { padding-bottom: 6px; font-size: 11px; font-weight: 700; text-align: center; color: #8a8a84; }
.ah-cal__grid { grid-template-rows: repeat(2, 104px); }
.ah-cal__cell { border-radius: 10px; background: #f0f0ec; }

.ah-cal__post {
  position: relative;
  display: grid;
  align-content: end;
  gap: 2px;
  padding: 8px 7px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px #e8e8e3, 0 10px 20px -14px rgba(0,0,0,0.4);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-18px) scale(0.9);
  transition: opacity 0.35s, transform 0.5s cubic-bezier(.2,.8,.2,1.4);
}

.ah-cal__post::before { content: ""; position: absolute; inset: 7px 7px auto; height: 36px; border-radius: 6px; background: #e9e9e4; }
.ah-cal__post.is-on { opacity: 1; transform: none; }
.ah-cal__post small { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8a6a00; }
.ah-cal__post b { font-size: 10.5px; font-weight: 600; line-height: 1.25; color: #1d1d1b; }
.ah-cal__post--rolka::before { background: linear-gradient(160deg, #1d1e1e, #3a3b3a); }
.ah-cal__post--rolka::after { content: ""; position: absolute; left: 50%; top: 18px; margin-left: -5px; border: 7px solid transparent; border-left: 11px solid var(--c-yellow); border-right: 0; }
.ah-cal__post--karuzela::before { background: linear-gradient(90deg, var(--c-yellow) 0 60%, #ffe866 60% 80%, #fff3a6 80%); }
.ah-cal__post--post::before { background: radial-gradient(30px 24px at 70% 30%, rgba(255,255,255,0.6), transparent), #ffd700; }
.ah-cal__post--relacja::before { background: linear-gradient(180deg, #f7f2df, #ece4c0); }

.ah-cal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 22px 0; padding: 10px 14px; border-radius: 12px; background: #f5f5f1; font-size: 12px; color: #5f5f5b; }
.ah-cal__foot span { display: flex; align-items: center; gap: 8px; }
.ah-cal__foot i { width: 8px; height: 8px; border-radius: 50%; background: #2cb36a; box-shadow: 0 0 0 4px rgba(44,179,106,0.18); }
.ah-cal__foot b { font-family: var(--f-heading); font-size: 14px; color: #1d1d1b; }

.ads-hero--calendar .ah-chip--lead { right: -4%; top: 0; }

@media (max-width: 560px) {
  .ads-hero--calendar .ah-stage { height: 440px; }
  .ah-cal__head { padding: 14px 14px 10px; }
  .ah-cal__days,
  .ah-cal__grid { gap: 4px; margin: 0 10px; }
  .ah-cal__grid { grid-template-rows: repeat(2, 92px); }
  .ah-cal__post { padding: 6px 4px; border-radius: 8px; }
  .ah-cal__post::before { inset: 5px 5px auto; height: 30px; }
  .ah-cal__post b { font-size: 8.5px; }
  .ah-cal__post small { font-size: 7.5px; }
  .ah-cal__foot { margin: 10px 10px 0; }
  .ads-hero--calendar .ah-chip--lead { top: auto; right: 0; bottom: 6px; }
}

/* ADS HERO, tryb video: podgląd 9:16 + etapy + oś czasu montażu */
.ah-vid { padding-bottom: 18px; }
.ah-vid__body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 18px 22px 0; }

.ah-vid__screen {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(120px 140px at 70% 25%, rgba(255,255,255,0.5), transparent 70%), var(--c-yellow);
  box-shadow: 0 18px 36px -18px rgba(0,0,0,0.5);
}

.ah-vid__screen--dark { background: radial-gradient(130px 150px at 70% 20%, rgba(255,215,0,0.35), transparent 70%), #151616; }
.ah-vid__screen--light { background: radial-gradient(130px 150px at 70% 20%, rgba(255,215,0,0.5), transparent 70%), #f3ecd2; }
.ah-vid__rec { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff; font-size: 10px; font-weight: 700; }
.ah-vid__rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; animation: ah-blink 1s steps(1) infinite; }
.ah-vid__rec b { font-weight: 600; }
.ah-stage.is-shown .ah-vid__rec { display: none; }
.ah-vid__cap { position: absolute; left: 10px; right: 10px; bottom: 34px; padding: 6px 8px; border-radius: 8px; background: #111; color: #fff; font-family: var(--f-heading); font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; }
.ah-vid__screen--dark .ah-vid__cap { background: var(--c-yellow); color: #111; }
.ah-vid__play { position: absolute; left: 50%; top: 42%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(255,255,255,0.85); opacity: 0; transform: scale(0.6); transition: opacity 0.4s, transform 0.5s cubic-bezier(.2,.8,.2,1.4); }
.ah-vid__play::after { content: ""; position: absolute; left: 16px; top: 12px; border: 8px solid transparent; border-left: 12px solid #111; border-right: 0; }
.ah-stage.is-shown .ah-vid__play { opacity: 1; transform: none; }

.ah-vid__title { display: block; margin: 4px 0 14px; font-family: var(--f-heading); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.ah-vid__steps { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: #8a8a84; }
.ah-vid__steps li { display: flex; align-items: center; gap: 10px; transition: color 0.3s; }
.ah-vid__steps i { flex: none; position: relative; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px #dcdcd6; transition: background 0.3s, box-shadow 0.3s; }
.ah-vid__steps li.is-on { color: #1d1d1b; font-weight: 600; }
.ah-vid__steps li.is-on i { background: var(--c-yellow); box-shadow: none; }
.ah-vid__steps li.is-on i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #111; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.ah-vid__timeline { position: relative; display: flex; gap: 4px; height: 34px; margin: 16px 22px 0; padding: 4px; border-radius: 10px; background: #efefea; }
.ah-vid__clip { flex: 1; border-radius: 6px; background: linear-gradient(90deg, #ffd700, #ffe45c); opacity: 0; transform: translateX(-12px); transition: opacity 0.35s, transform 0.45s cubic-bezier(.2,.8,.2,1.3); }
.ah-vid__clip:nth-child(2) { flex: 1.4; background: linear-gradient(90deg, #2a2b2b, #474847); }
.ah-vid__clip:nth-child(4) { flex: 0.8; background: linear-gradient(90deg, #f3ecd2, #e7dcae); }
.ah-vid__clip.is-on { opacity: 1; transform: none; }
.ah-vid__head { position: absolute; top: -4px; bottom: -4px; left: 4px; width: 2px; border-radius: 2px; background: #ff3b30; transition: left 3s linear; }
.ah-stage.is-shown .ah-vid__head { left: calc(100% - 6px); }

.ah-vid__export { display: flex; align-items: center; gap: 12px; margin: 12px 22px 0; font-size: 12px; color: #6b6b67; }
.ah-vid__export span { white-space: nowrap; }
.ah-vid__export i { flex: 1; height: 6px; border-radius: 6px; background: #ececE7; overflow: hidden; }
.ah-vid__export em { display: block; width: 0; height: 100%; background: #2cb36a; transition: width 0.9s ease; }
.ah-stage.is-shown .ah-vid__export em { width: 100%; }

.ads-hero--video .ah-chip--lead { right: -4%; top: 0; }

@media (max-width: 560px) {
  .ads-hero--video .ah-stage { height: 440px; }
  .ah-vid__body { grid-template-columns: 118px minmax(0, 1fr); gap: 14px; padding: 14px 14px 0; }
  .ah-vid__title { font-size: 15px; margin-bottom: 10px; }
  .ah-vid__steps { gap: 7px; font-size: 11.5px; }
  .ah-vid__timeline,
  .ah-vid__export { margin-left: 14px; margin-right: 14px; }
  .ads-hero--video .ah-chip--lead { top: auto; right: 0; bottom: 4px; }
}

/* ============================================================
   WIDEO: realizacje i opinie (template-parts/video-proof.php)
   ============================================================ */

.video-proof { padding: 120px 0; background: var(--c-bg); }
.video-proof__head { max-width: 720px; margin-bottom: 48px; }
.video-proof__head h2 { margin: 0 0 14px; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.03em; }
.video-proof__head p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--c-muted); }

.video-proof__shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-proof__shot { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--c-surface); box-shadow: 0 0 0 1px var(--c-border), 0 30px 60px -36px rgba(0,0,0,0.4); transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.video-proof__shot:hover { transform: translateY(-6px) rotate(-0.4deg); }
.video-proof__shot img { display: block; width: 100%; height: auto; }
.video-proof__shot figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: var(--c-dark-bg); color: var(--c-yellow); font-family: var(--f-heading); font-size: 13px; font-weight: 700; }

/* Filmy z panelu „Filmy” */
.video-proof__group + .video-proof__group { margin-top: 44px; }
.video-proof__group-title { margin: 0 0 16px; font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.02em; }
.video-proof__carousel { position: relative; }
.video-proof__films.is-row { display: flex; gap: 16px; margin: 0 -24px; padding: 4px 24px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; scrollbar-width: none; }
.video-proof__films.is-row::-webkit-scrollbar { display: none; }
.video-proof__films.is-row .video-proof__film { scroll-snap-align: start; }
.video-proof__group.is-long .video-proof__film { flex: 0 0 calc((100% - 3 * 16px) / 3.4); }
.video-proof__group.is-short .video-proof__film { flex: 0 0 calc((100% - 5 * 16px) / 5.4); }
.video-proof__group.is-short .video-proof__thumb { aspect-ratio: 9 / 16; }
.video-proof__group.is-posts .video-proof__film { flex: 0 0 calc((100% - 4 * 16px) / 4.4); }
.video-proof__group.is-posts .video-proof__thumb { aspect-ratio: 4 / 5; border-radius: 16px; }
.video-proof__player.is-post, .video-proof__player.is-post.is-instagram, .video-proof__player.is-post.is-facebook { width: min(92vw, 500px); height: min(88vh, 820px); aspect-ratio: auto; border-radius: 22px; background: #fff; overflow: hidden; }
.video-proof__player.is-post iframe { background: #fff; }
.video-proof__group.is-long .video-proof__thumb { aspect-ratio: 16 / 9; border-radius: 16px; }
.video-proof__group.is-long .video-proof__play { width: 50px; height: 50px; }
.video-proof__meta b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.video-proof__nav { position: absolute; top: 0; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--c-bg); color: var(--c-text); box-shadow: 0 6px 22px rgba(0,0,0,0.22), 0 0 0 1px var(--c-border); cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; }
.video-proof__nav:hover { transform: scale(1.06); background: var(--c-yellow); color: var(--c-dark-bg); }
.video-proof__nav[hidden] { display: none; }
.video-proof__nav.is-prev { left: -20px; }
.video-proof__nav.is-next { right: -20px; }
.video-proof__carousel .video-proof__nav { top: calc((100% - 70px) / 2 - 24px); }
.video-proof__group.is-long .video-proof__ph { justify-content: flex-start; padding: 14px; }
.video-proof__group.is-long .video-proof__ph small { font-size: 11px; }
.video-proof__note { margin: 28px 0 0; color: var(--c-muted); font-size: 13px; line-height: 1.5; }
.video-proof__film { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
figure.video-proof__film { cursor: default; }
.video-proof__thumb { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--c-dark-bg); box-shadow: 0 0 0 1px var(--c-border), 0 30px 60px -36px rgba(0,0,0,0.45); transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.video-proof__film.is-poziom .video-proof__thumb { aspect-ratio: 16 / 9; }
.video-proof__film:hover .video-proof__thumb, .video-proof__film:focus-visible .video-proof__thumb { transform: translateY(-6px) rotate(-0.4deg); }
.video-proof__film:focus-visible { outline: none; }
.video-proof__film:focus-visible .video-proof__thumb { box-shadow: 0 0 0 3px var(--c-yellow); }
.video-proof__thumb img, .video-proof__thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-proof__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--c-yellow); color: var(--c-dark-bg); transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: transform 0.3s ease; }
.video-proof__play svg { margin-left: 3px; }
.video-proof__film:hover .video-proof__play { transform: translate(-50%, -50%) scale(1.08); }
.video-proof__badge { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: var(--c-dark-bg); color: var(--c-yellow); font-family: var(--f-heading); font-size: 13px; font-weight: 700; }
.video-proof__meta { display: grid; gap: 2px; padding: 0 4px; }
.video-proof__meta b { font-family: var(--f-heading); font-size: 16px; line-height: 1.3; color: var(--c-text); }
.video-proof__meta small { font-size: 13px; color: var(--c-muted); }
.video-proof.reveal-wait .video-proof__film { opacity: 0; transform: translateY(30px); }
.video-proof.is-in .video-proof__film { animation: pp-in 0.75s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 100ms); }
.video-proof__dialog { position: fixed; inset: 0; width: fit-content; height: fit-content; max-width: 94vw; max-height: 94vh; margin: auto; padding: 0; border: 0; border-radius: 22px; background: transparent; overflow: visible; }
.video-proof__dialog::backdrop { background: rgba(10, 10, 10, 0.82); backdrop-filter: blur(4px); }
.video-proof__player.is-pion { width: min(92vw, calc(88vh * 9 / 16)); aspect-ratio: 9 / 16; }
.video-proof__player.is-poziom { width: min(92vw, 1100px, calc(88vh * 16 / 9)); aspect-ratio: 16 / 9; }
.video-proof__player.is-instagram, .video-proof__player.is-tiktok { width: min(92vw, 400px); height: min(88vh, 740px); aspect-ratio: auto; border-radius: 22px; background: #fff; overflow: hidden; }
.video-proof__player.is-instagram iframe, .video-proof__player.is-tiktok iframe { background: #fff; }
.video-proof__ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px 18px 56px; background: radial-gradient(120% 90% at 100% 0, rgba(255,215,0,0.25), transparent 55%), var(--c-dark-bg); color: var(--c-white); }
.video-proof__ph b { font-family: var(--f-heading); font-size: 17px; line-height: 1.25; }
.video-proof__ph small { color: var(--c-yellow); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.video-proof__player iframe, .video-proof__player video { display: block; width: 100%; height: 100%; border: 0; border-radius: 22px; background: #000; }
.video-proof__stage { display: flex; align-items: stretch; gap: 0; }
.video-proof__results { display: flex; flex-direction: column; gap: 16px; width: 300px; max-height: min(88vh, 900px); padding: 22px 20px; border-radius: 0 22px 22px 0; background: var(--c-dark-bg); color: var(--c-dark-text); overflow-y: auto; }
.video-proof__results[hidden] { display: none; }
.video-proof__dialog.has-results .video-proof__player iframe, .video-proof__dialog.has-results .video-proof__player video { border-radius: 22px 0 0 22px; }
.video-proof__results-title { color: var(--c-yellow); font-family: var(--f-heading); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.video-proof__results-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.video-proof__results-nums:empty { display: none; }
.video-proof__results-nums div { padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.06); }
.video-proof__results-nums b { display: block; color: var(--c-white); font-family: var(--f-heading); font-size: 22px; line-height: 1.1; }
.video-proof__results-nums span { color: var(--c-dark-muted); font-size: 12px; }
.video-proof__results-shot { position: relative; display: block; border-radius: 14px; overflow: hidden; }
.video-proof__results-shot[hidden] { display: none; }
.video-proof__results-shot img { display: block; width: 100%; height: auto; }
.video-proof__results-shot span { position: absolute; right: 8px; bottom: 8px; padding: 5px 10px; border-radius: 999px; background: var(--c-dark-bg); color: var(--c-yellow); font-size: 12px; font-weight: 700; }
@media (max-width: 860px) {
  .video-proof__stage { flex-direction: column; max-height: 92vh; overflow-y: auto; }
  .video-proof__results { width: auto; max-height: none; border-radius: 0 0 22px 22px; }
  .video-proof__dialog.has-results .video-proof__player iframe, .video-proof__dialog.has-results .video-proof__player video { border-radius: 22px 22px 0 0; }
  .video-proof__dialog.has-results .video-proof__player.is-pion { width: min(92vw, calc(60vh * 9 / 16)); margin: 0 auto; }
}
.video-proof__stats { color: var(--c-text) !important; font-weight: 600; }
.video-proof__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--c-yellow); color: var(--c-dark-bg); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
@media (max-width: 700px) {
  .video-proof__films.is-row { gap: 12px; }
  .video-proof__group.is-long .video-proof__film { flex-basis: 82%; }
  .video-proof__group.is-short .video-proof__film { flex-basis: 44%; }
  .video-proof__group.is-posts .video-proof__film { flex-basis: 70%; }
  .video-proof__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .video-proof.reveal-wait .video-proof__film { opacity: 1; transform: none; animation: none; }
}

.video-proof__quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.video-proof__quotes blockquote { margin: 0; padding: 28px 30px; border-radius: 20px; background: var(--c-dark-bg); color: var(--c-dark-text); }
.video-proof__quotes p { margin: 0 0 16px; font-family: var(--f-heading); font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.35; color: var(--c-white); }
.video-proof__quotes footer { font-size: 14px; color: var(--c-dark-muted); }
.video-proof__quotes footer b { color: var(--c-yellow); }

.video-proof.reveal-wait .video-proof__shot { opacity: 0; transform: translateY(30px); }
.video-proof.is-in .video-proof__shot { animation: pp-in 0.75s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 120ms); }

@media (max-width: 860px) {
  .video-proof__shots { display: flex; gap: 14px; margin: 0 -24px; padding: 0 24px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .video-proof__shots::-webkit-scrollbar { display: none; }
  .video-proof__shot { flex: 0 0 78%; scroll-snap-align: center; }
  .video-proof__quotes { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .video-proof { padding: 80px 0; }
  .video-proof__quotes blockquote { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .video-proof.reveal-wait .video-proof__shot { opacity: 1; transform: none; animation: none; }
}

/* ADS HERO, tryb call: konsultacja online z audytem i planem działań */
.ah-call { padding-bottom: 18px; }
.ah-call__bar { justify-content: space-between; }
.ah-call__live { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: #4a4a47; }
.ah-call__live i { width: 7px; height: 7px; border-radius: 50%; background: #2cb36a; box-shadow: 0 0 0 4px rgba(44,179,106,0.18); }
.ah-call__live b { font-variant-numeric: tabular-nums; }
.ah-call__body { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; padding: 16px 22px 0; }
.ah-call__screen { padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ececE6; }
.ah-call__topic { display: block; margin-bottom: 12px; font-family: var(--f-heading); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.ah-call__checks { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: #9a9a95; }
.ah-call__checks li { display: flex; align-items: center; gap: 9px; transition: color 0.3s; }
.ah-call__checks i { flex: none; position: relative; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px #e0e0da; transition: background 0.3s, box-shadow 0.3s; }
.ah-call__checks li.is-on { color: #1d1d1b; }
.ah-call__checks li.is-ok.is-on i { background: #2cb36a; box-shadow: none; }
.ah-call__checks li.is-ok.is-on i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ah-call__checks li.is-warn.is-on i { background: var(--c-yellow); box-shadow: none; }
.ah-call__checks li.is-warn.is-on i::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #111; }

.ah-call__people { display: grid; gap: 10px; align-content: start; }
.ah-call__tile { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(160deg, #e9e9e4, #d9d9d3); font-family: var(--f-heading); font-size: 13px; color: #5f5f5b; }
.ah-call__tile--me { background: linear-gradient(160deg, #1c1d1d, #333); color: var(--c-yellow); box-shadow: 0 0 0 2px var(--c-yellow); }
.ah-call__wave { position: absolute; right: 7px; bottom: 7px; display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.ah-call__wave em { width: 3px; height: 4px; border-radius: 2px; background: var(--c-yellow); animation: ah-wave 0.9s ease-in-out infinite; }
.ah-call__wave em:nth-child(2) { animation-delay: 0.15s; }
.ah-call__wave em:nth-child(3) { animation-delay: 0.3s; }
@keyframes ah-wave { 50% { height: 12px; } }

.ah-call__notes { margin: 14px 22px 0; padding: 12px 16px; border-radius: 14px; background: #fffbe3; box-shadow: inset 0 0 0 1px #f2e7a6; }
.ah-call__label { display: block; margin-bottom: 8px; font-family: var(--f-heading); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #8a6a00; }
.ah-call__notes ol { display: grid; gap: 6px; margin: 0; padding-left: 18px; font-size: 12.5px; font-weight: 600; color: #1d1d1b; }
.ah-call__notes li { opacity: 0; transform: translateX(-8px); transition: opacity 0.35s, transform 0.45s cubic-bezier(.2,.8,.2,1); }
.ah-call__notes li.is-on { opacity: 1; transform: none; }

.ads-hero--call .ah-chip--lead { right: -4%; top: 0; }

@media (max-width: 560px) {
  .ads-hero--call .ah-stage { height: 440px; }
  .ah-call__body { grid-template-columns: minmax(0, 1fr) 76px; gap: 10px; padding: 12px 12px 0; }
  .ah-call__screen { padding: 12px; }
  .ah-call__checks { font-size: 11.5px; gap: 7px; }
  .ah-call__notes { margin: 10px 12px 0; padding: 10px 12px; }
  .ah-call__notes ol { font-size: 11.5px; }
  .ads-hero--call .ah-chip--lead { top: auto; right: 0; bottom: 4px; }
}

/* ADS HERO, tryb flow: schemat automatyzacji maili */
.ah-flow { padding-bottom: 18px; }
.ah-flow__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px 6px; }
.ah-flow__head b { font-family: var(--f-heading); font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.ah-flow__on { display: flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: #eaf7ef; font-size: 11px; font-weight: 700; color: #1d7a47; }
.ah-flow__on i { width: 7px; height: 7px; border-radius: 50%; background: #2cb36a; }

.ah-flow__nodes { position: relative; display: grid; gap: 12px; margin: 10px 22px 0; padding: 0; list-style: none; }
.ah-flow__nodes::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(180deg, #d8d8d2 0 5px, transparent 5px 10px); }

.ah-flow__node { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ececE6; opacity: 0.45; transform: scale(0.98); transition: opacity 0.35s, transform 0.4s cubic-bezier(.2,.8,.2,1.3), box-shadow 0.35s; }
.ah-flow__node i { flex: none; position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; margin: 0 0 0 0; border-radius: 9px; background: #efefea; }
.ah-flow__node i::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #b9b9b3; }
.ah-flow__node--trigger i::after { border-radius: 50%; }
.ah-flow__node--mail i::after { width: 12px; height: 8px; border-radius: 2px; }
.ah-flow__node--wait i::after { width: 10px; height: 10px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px #b9b9b3; }
.ah-flow__node--goal i::after { width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg) scale(0.8); }
.ah-flow__node span { display: grid; gap: 1px; min-width: 0; }
.ah-flow__node b { font-size: 13px; font-weight: 700; color: #1d1d1b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-flow__node small { font-size: 11px; color: #8a8a84; }

.ah-flow__node.is-on { opacity: 1; transform: none; box-shadow: 0 0 0 2px var(--c-yellow), 0 12px 26px -16px rgba(0,0,0,0.4); }
.ah-flow__node.is-on i { background: var(--c-yellow); }
.ah-flow__node.is-on i::after { background: #111; }
.ah-flow__node--wait.is-on i::after { background: transparent; box-shadow: inset 0 0 0 2px #111; }
.ah-flow__node.is-done { opacity: 1; transform: none; box-shadow: 0 0 0 1px #ececE6; }
.ah-flow__node.is-done i { background: #2cb36a; }
.ah-flow__node.is-done i::after { background: #fff; }
.ah-flow__node--wait.is-done i::after { background: transparent; box-shadow: inset 0 0 0 2px #fff; }

.ah-flow__stat { display: flex; align-items: center; justify-content: space-between; margin: 14px 22px 0; padding: 10px 14px; border-radius: 12px; background: #111110; color: #cfcfc8; font-size: 12px; opacity: 0.4; transition: opacity 0.4s; }
.ah-flow__stat b { font-family: var(--f-heading); font-size: 18px; font-weight: 800; color: var(--c-yellow); }
.ah-stage.is-shown .ah-flow__stat { opacity: 1; }

.ads-hero--flow .ah-chip--lead { right: -4%; top: 0; }

@media (max-width: 560px) {
  .ads-hero--flow .ah-stage { height: 470px; }
  .ah-flow__head { padding: 14px 14px 4px; }
  .ah-flow__nodes,
  .ah-flow__stat { margin-left: 12px; margin-right: 12px; }
  .ah-flow__nodes { gap: 9px; }
  .ah-flow__node b { font-size: 12px; }
  .ads-hero--flow .ah-chip--lead { top: auto; right: 0; bottom: 4px; }
}

@media (max-width: 560px) {
  .ads-hero--flow .ah-stage { height: 500px; }
  .ah-flow__node small { display: none; }
  .ah-flow__node { padding: 7px 10px 7px 7px; }
  .ah-flow__nodes { gap: 7px; }
  .ads-hero--flow .ah-chip--lead { bottom: 0; }
}

/* ============================================================
   KONTAKT (page-kontakt.php, formularz: inc/contact-form.php)
   ============================================================ */

.contact-hero {
  --mx: 30%;
  --my: 30%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 150px 0 110px;
  background: #0a0b0b;
  color: var(--c-dark-text);
  scroll-margin-top: 0;
}

.contact-hero__wrap { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.contact-hero__title { margin: 0; font-family: var(--f-heading); font-size: clamp(40px, 5vw, 70px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; color: var(--c-white); }
.contact-hero__title .hs-hl svg path { animation-delay: 0.4s; }
.contact-hero__lead { max-width: 480px; margin: 26px 0 0; font-size: 18px; line-height: 1.65; color: var(--c-dark-muted); }

.contact-ways { display: grid; gap: 12px; margin: 38px 0 0; padding: 0; list-style: none; }
.contact-ways li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); max-width: 440px; }
.contact-ways__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,215,0,0.12); color: var(--c-yellow); }
.contact-ways small { display: block; font-size: 12px; color: var(--c-dark-muted); }
.contact-ways a,
.contact-ways b { font-family: var(--f-heading); font-size: 17px; font-weight: 700; color: var(--c-white); text-decoration: none; }
.contact-ways a:hover { color: var(--c-yellow); }
.contact-hero__note { margin: 22px 0 0; font-size: 14px; color: var(--c-dark-muted); }

.contact-card {
  position: relative;
  padding: 34px;
  border-radius: 28px;
  background: var(--c-bg);
  color: var(--c-text);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,215,0,0.25);
}

.contact-form__title { margin: 0 0 20px; font-size: 26px; letter-spacing: -0.02em; }
.contact-form__alert { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #fff1f0; color: #9b1c12; font-size: 14px; }

.contact-form__services { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.contact-form__services legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; }
.contact-form__services legend small { font-weight: 400; color: var(--c-muted); }
.contact-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-chip { position: relative; cursor: pointer; }
.contact-chip input { position: absolute; opacity: 0; pointer-events: none; }
.contact-chip span { display: inline-block; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--c-border); background: var(--c-surface); font-size: 13.5px; font-weight: 500; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.contact-chip:hover span { border-color: var(--c-yellow); }
.contact-chip input:checked + span { background: var(--c-dark-bg); border-color: var(--c-dark-bg); color: var(--c-yellow); }
.contact-chip input:focus-visible + span { outline: 2px solid var(--c-yellow); outline-offset: 2px; }

.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.contact-field { display: grid; gap: 6px; margin: 0 0 14px; }
.contact-field label { font-size: 13.5px; font-weight: 600; }
.contact-field label em,
.contact-consent em { font-style: normal; color: #b8860b; }
.contact-field label small { font-weight: 400; color: var(--c-muted); }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-surface);
  font: inherit;
  font-size: 16px;
  color: var(--c-text);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { outline: none; border-color: #c9a400; background: #fff; box-shadow: 0 0 0 4px rgba(255,215,0,0.25); }
.contact-field--trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: 13px; line-height: 1.5; color: var(--c-muted); cursor: pointer; }
.contact-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: #111; }
.contact-consent a { color: var(--c-text); }
.contact-form__submit { width: 100%; justify-content: center; }
.contact-form__small { margin: 12px 0 0; font-size: 12px; text-align: center; color: var(--c-muted); }

.contact-card__done { display: grid; justify-items: center; gap: 12px; padding: 40px 10px; text-align: center; }
.contact-card__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-yellow); color: #111; animation: pp-in 0.6s cubic-bezier(.2,.8,.2,1.4) both; }
.contact-card__done h2 { margin: 6px 0 0; font-size: 28px; }
.contact-card__done p { max-width: 360px; margin: 0 0 8px; color: var(--c-muted); line-height: 1.6; }

.contact-next { padding: 110px 0 60px; background: var(--c-bg); }
.contact-next__head h2 { margin: 0 0 40px; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; }
.contact-next__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.contact-next__steps li { padding: 28px 26px; border-radius: 22px; background: var(--c-surface); border: 1px solid var(--c-border); }
.contact-next__steps b { font-family: var(--f-heading); font-size: 13px; letter-spacing: 0.1em; color: #8a6a00; }
.contact-next__steps h3 { margin: 14px 0 8px; font-size: 21px; letter-spacing: -0.015em; }
.contact-next__steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-muted); }

.contact-prep { padding: 60px 0 120px; background: var(--c-bg); }
.contact-prep__wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; padding: 40px; border-radius: 28px; background: var(--c-dark-bg); color: var(--c-dark-text); }
.contact-prep__wrap .eyebrow { color: var(--c-yellow); }
.contact-prep__wrap h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 38px); color: var(--c-white); letter-spacing: -0.03em; }
.contact-prep__wrap p { margin: 0; color: var(--c-dark-muted); line-height: 1.65; }
.contact-prep__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-prep__list li { position: relative; padding: 14px 16px 14px 46px; border-radius: 14px; background: rgba(255,255,255,0.04); font-size: 15px; line-height: 1.5; }
.contact-prep__list li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-yellow); }
.contact-prep__list li::after { content: ""; position: absolute; left: 22px; top: 19px; width: 5px; height: 9px; border: solid #111; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.contact-prep__extra { margin-top: 40px; }

@media (max-width: 960px) {
  .contact-hero { padding: 120px 0 80px; }
  .contact-hero__wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-next__steps { grid-template-columns: minmax(0, 1fr); }
  .contact-prep__wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 22px; }
}

@media (max-width: 560px) {
  .contact-card { padding: 24px 18px; border-radius: 22px; }
  .contact-form__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-ways a,
  .contact-ways b { font-size: 15.5px; }
  .contact-next { padding: 70px 0 40px; }
  .contact-prep { padding: 40px 0 80px; }
}

/* ============================================================
   TUTOR LMS: panel kursanta, strona kursu, lekcja (bez nadpisywania szablonów wtyczki)
   Kokpit: page-kokpit.php. Kolory Tutora podmienione zmiennymi, reszta to lekkie przestylowanie.
   ============================================================ */

html body.tutor-lms,
html body .tutor-wrap,
html body .tutor-page-wrap {
  --tutor-color-primary: #111110;
  --tutor-color-primary-rgb: 17, 17, 16;
  --tutor-color-primary-hover: #000;
  --tutor-color-secondary: #4a4a47;
  --tutor-border-color: #e2e2de;
  --tutor-color-gray-10: #f5f5f3;
}

.tutor-wrap,
.tutor-page-wrap { font-family: var(--f-body); }
.tutor-wrap h1, .tutor-wrap h2, .tutor-wrap h3, .tutor-wrap h4,
.tutor-dashboard-title,
.tutor-course-details-title,
.tutor-course-name,
.tutor-course-progress-item-title { font-family: var(--f-heading) !important; letter-spacing: -0.015em; }

/* przyciski */
.tutor-btn { border-radius: 999px !important; font-weight: 700 !important; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s !important; }
.tutor-btn-primary,
.tutor-btn-primary:focus { background: var(--c-yellow) !important; border-color: var(--c-yellow) !important; color: #111 !important; }
.tutor-btn-primary:hover { background: #ffe33d !important; border-color: #ffe33d !important; color: #111 !important; transform: translateY(-1px); }
.tutor-btn-outline-primary { border: 1.5px solid #111 !important; color: #111 !important; background: transparent !important; }
.tutor-btn-outline-primary:hover { background: #111 !important; color: var(--c-yellow) !important; }
.tutor-btn-secondary { border-radius: 999px !important; }

/* paski postępu */
.tutor-progress-bar { height: 8px !important; border-radius: 8px !important; background: #ececE7 !important; overflow: hidden; }
.tutor-progress-value { border-radius: 8px !important; background: linear-gradient(90deg, #f3cf00, var(--c-yellow)) !important; }

/* zakładki */
.tutor-nav-link { color: var(--c-muted) !important; font-weight: 600; }
.tutor-nav-link.is-active,
.tutor-nav-link:hover { color: #111 !important; }
.tutor-nav-link.is-active::after { background: var(--c-yellow) !important; height: 3px !important; }

/* gwiazdki ocen: pomijamy, gdy kurs nie ma jeszcze ocen */
.tutor-course-ratings,
.tutor-ratings { color: #c99a00; }

/* ---------- kokpit: zalogowany ---------- */
.kokpit-panel { padding: 28px 0 100px; background: var(--c-surface); }
.kokpit-panel .tutor-container { width: min(calc(100% - 48px), var(--container)); max-width: none; margin-inline: auto; padding: 0; }
.kokpit-panel .tutor-wrap { padding-bottom: 0 !important; }

.tutor-frontend-dashboard-header {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px !important;
  padding: 26px 30px !important;
  border: 0 !important;
  border-radius: 24px;
  background: radial-gradient(500px 220px at 85% 0%, rgba(255,215,0,0.16), transparent 70%), #111110;
  color: var(--c-dark-text);
}
.tutor-frontend-dashboard-header::after { display: none; }
.tutor-dashboard-header-avatar .tutor-avatar { background: var(--c-yellow) !important; color: #111 !important; font-family: var(--f-heading); font-weight: 800; box-shadow: 0 0 0 4px rgba(255,215,0,0.2); }
.tutor-dashboard-header-greetings { color: var(--c-dark-muted) !important; }
.tutor-dashboard-header-display-name { color: #fff !important; font-family: var(--f-heading); font-weight: 800 !important; }
.tutor-frontend-dashboard-header .tutor-btn-outline-primary { border-color: var(--c-yellow) !important; color: var(--c-yellow) !important; }
.tutor-frontend-dashboard-header .tutor-btn-outline-primary:hover { background: var(--c-yellow) !important; color: #111 !important; }
.tutor-frontend-dashboard-header .tutor-dashboard-menu-toggler { color: #fff !important; }

.tutor-dashboard-left-menu {
  padding: 14px !important;
  border: 1px solid var(--c-border) !important;
  border-radius: 22px;
  background: #fff;
  align-self: start;
}
.tutor-dashboard-permalinks { padding: 0 !important; border: 0 !important; }
.tutor-dashboard-menu-item-link {
  display: flex !important;
  align-items: center;
  margin: 2px 0;
  padding: 11px 14px !important;
  border-radius: 12px;
  color: #2b2b28 !important;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.tutor-dashboard-menu-item-link:hover { background: var(--c-surface) !important; color: #111 !important; }
.tutor-dashboard-menu-item-icon { color: #6b6b67 !important; }
.tutor-dashboard-menu-item.active .tutor-dashboard-menu-item-link { background: #111 !important; color: #fff !important; }
.tutor-dashboard-menu-item.active .tutor-dashboard-menu-item-icon { color: var(--c-yellow) !important; }
.tutor-dashboard-menu-divider { margin: 10px 4px !important; border-color: var(--c-border) !important; }
.tutor-dashboard-menu-logout .tutor-dashboard-menu-item-link:hover { background: #fff1f0 !important; color: #9b1c12 !important; }

.tutor-dashboard-content { padding-left: 28px !important; }
.tutor-dashboard-content-inner { border: 0 !important; }
.tutor-dashboard-title { font-size: 28px !important; font-weight: 800 !important; }

.tutor-dashboard-content .tutor-card,
.tutor-dashboard-content .tutor-round-box,
.tutor-course-card {
  border: 1px solid var(--c-border) !important;
  border-radius: 20px !important;
  background: #fff !important;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s;
}
.tutor-course-card:hover,
.tutor-dashboard-content .tutor-card:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -30px rgba(0,0,0,0.35); }
.tutor-dashboard-content .tutor-round-box { display: grid !important; place-items: center; width: 56px !important; height: 56px !important; border-radius: 16px !important; background: rgba(255,215,0,0.16) !important; color: #8a6a00 !important; }

/* zaślepka zamiast okładki kursu: ciemny gradient z logo w kolorze marki */
*:has(> img[src*="placeholder"]) { background: radial-gradient(220px 140px at 75% 20%, rgba(255,215,0,0.35), transparent 70%), #151616 !important; }
.tutor-wrap img[src*="placeholder"],
.tutor-page-wrap img[src*="placeholder"],
.kokpit-panel img[src*="placeholder"] { opacity: 0; }
.tutor-dashboard-header-avatar .tutor-avatar,
.tutor-dashboard-header-avatar .tutor-ratio,
.tutor-dashboard-header-avatar .tutor-avatar-text { background: var(--c-yellow) !important; color: #111 !important; }
.tutor-dashboard-permalinks::before,
.tutor-dashboard-permalinks::after { display: none !important; }

/* ---------- kokpit: logowanie ---------- */
.kokpit-gate {
  --mx: 30%;
  --my: 30%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 150px 0 110px;
  background: #0a0b0b;
  color: var(--c-dark-text);
}
.kokpit-gate__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.kokpit-gate__title { margin: 0; font-family: var(--f-heading); font-size: clamp(40px, 5vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; color: #fff; }
.kokpit-gate__lead { max-width: 460px; margin: 24px 0 0; font-size: 18px; line-height: 1.65; color: var(--c-dark-muted); }
.kokpit-gate__list { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.kokpit-gate__list li { position: relative; padding-left: 32px; font-size: 16px; color: var(--c-dark-text); }
.kokpit-gate__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-yellow); }
.kokpit-gate__list li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid #111; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.kokpit-gate__course { display: inline-grid; gap: 2px; margin-top: 36px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); text-decoration: none; transition: border-color 0.2s; }
.kokpit-gate__course:hover { border-color: var(--c-yellow); }
.kokpit-gate__course span { font-size: 13px; color: var(--c-dark-muted); }
.kokpit-gate__course b { font-family: var(--f-heading); font-size: 17px; color: var(--c-yellow); }
.kokpit-gate__course i { font-style: normal; }

.kokpit-gate__card { padding: 8px; border-radius: 28px; background: #fff; color: var(--c-text); box-shadow: 0 50px 100px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,215,0,0.25); }
.kokpit-gate__card .tutor-wrap,
.kokpit-gate__card .tutor-page-wrap { padding: 0 !important; margin: 0 !important; }
.kokpit-gate__card .tutor-login-wrap { max-width: none !important; margin: 0 !important; padding: 30px 28px !important; border: 0 !important; box-shadow: none !important; background: transparent !important; }
.kokpit-gate__card .tutor-login-form-wrapper > div:first-child,
.kokpit-gate__card .tutor-login-wrap .tutor-fs-5 { font-family: var(--f-heading); font-size: 24px !important; font-weight: 800 !important; letter-spacing: -0.02em; color: #111 !important; }
.tutor-login-wrap .tutor-form-control {
  min-height: 52px;
  padding: 13px 14px !important;
  border: 1px solid var(--c-border) !important;
  border-radius: 12px !important;
  background: var(--c-surface) !important;
  font-size: 16px !important;
}
.tutor-login-wrap .tutor-form-control:focus { border-color: #c9a400 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(255,215,0,0.25) !important; }
.tutor-login-wrap .tutor-btn-primary { min-height: 52px; font-size: 16px !important; }
.tutor-login-wrap .tutor-form-check-input:checked { background-color: #111 !important; border-color: #111 !important; }
.tutor-login-wrap a,
.tutor-login-wrap .tutor-btn-link { color: #111 !important; font-weight: 600; }

/* ---------- strona kursu ---------- */
.tutor-course-details-page { padding-top: 24px; }
.tutor-single-course-sidebar .tutor-card,
.tutor-sidebar-card { border: 1px solid var(--c-border) !important; border-radius: 22px !important; overflow: hidden; }
.tutor-sidebar-card .tutor-card-body { background: var(--c-surface) !important; }
.tutor-accordion-item { border-radius: 16px !important; overflow: hidden; border-color: var(--c-border) !important; }
.tutor-accordion-item-header { background: var(--c-surface) !important; color: #111 !important; font-family: var(--f-heading); font-weight: 700 !important; }
.tutor-accordion-item-header.is-active { color: #111 !important; }
.tutor-course-content-list-item-icon { color: #8a6a00 !important; }
.tutor-course-thumbnail { border-radius: 22px; overflow: hidden; }

/* ---------- lekcja ---------- */
.tutor-course-single-content-wrapper { padding-top: 0; }
.tutor-topbar-mark-btn, .tutor-topbar-complete-btn { border-radius: 999px !important; }
.tutor-single-page-top-bar { background: #111110 !important; }
.tutor-single-page-top-bar .tutor-iconic-btn { background: rgba(255,255,255,0.08) !important; color: #fff !important; }
.tutor-topbar-mark-btn,
.tutor-topbar-complete-btn { background: var(--c-yellow) !important; border-color: var(--c-yellow) !important; color: #111 !important; }
.tutor-topbar-mark-btn:hover { background: #ffe33d !important; }
.tutor-course-single-sidebar-wrapper { background: var(--c-surface) !important; border-right: 1px solid var(--c-border); }
.tutor-course-single-sidebar-title { font-family: var(--f-heading); font-weight: 800 !important; }
.tutor-course-topic .tutor-accordion-item-header { background: #fff !important; border-bottom: 1px solid var(--c-border); }
.tutor-course-topic-item a { border-radius: 10px; margin: 2px 8px; }
.tutor-course-topic-item.is-active a { background: #111 !important; color: #fff !important; }
.tutor-course-topic-item.is-active .tutor-course-topic-item-icon,
.tutor-course-topic-item.is-active .tutor-course-topic-item-title { color: #fff !important; }
.tutor-course-topic-item:not(.is-active) a:hover { background: #fff !important; }
.tutor-form-check-circle .tutor-form-check-input:checked { background-color: #2cb36a !important; border-color: #2cb36a !important; }
.tutor-course-topic-single-footer { background: var(--c-surface) !important; border-top: 1px solid var(--c-border); }
.tutor-single-course-content-next .tutor-btn,
.tutor-single-course-content-prev .tutor-btn { border-radius: 999px !important; }
.tutor-single-course-content-next .tutor-btn { background: #111 !important; color: #fff !important; }
.tutor-single-course-content-next .tutor-btn:hover { background: var(--c-yellow) !important; color: #111 !important; }

@media (max-width: 991px) {
  .kokpit-panel { padding: 16px 0 70px; }
  .tutor-dashboard-content { padding-left: 0 !important; }
  .tutor-frontend-dashboard-header { padding: 20px !important; }
  .kokpit-gate { padding: 120px 0 80px; }
  .kokpit-gate__wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .kokpit-gate__card { order: -1; }
}

@media (max-width: 560px) {
  .kokpit-gate__card .tutor-login-wrap { padding: 22px 16px !important; }
  .tutor-dashboard-title { font-size: 23px !important; }
}

/* nagłówek kokpitu: widok prowadzącego (nazwa + oceny) i dowolne teksty w ciemnym pasku */
.tutor-frontend-dashboard-header .tutor-dashboard-header-username,
.tutor-frontend-dashboard-header .tutor-color-black { color: #fff !important; font-family: var(--f-heading); font-weight: 800 !important; }
.tutor-frontend-dashboard-header .tutor-ratings-average,
.tutor-frontend-dashboard-header .tutor-ratings-count,
.tutor-frontend-dashboard-header .tutor-ratings span:not(.tutor-ratings-stars) { color: var(--c-dark-muted) !important; }
.tutor-frontend-dashboard-header .tutor-ratings-average { color: #fff !important; font-weight: 700; }
.tutor-frontend-dashboard-header .tutor-ratings-stars { color: var(--c-yellow) !important; }

/* ============================================================
   MOJE KONTO WOOCOMMERCE (page-moje-konto.php, woocommerce/myaccount/*)
   ============================================================ */

/* --- niezalogowany: logowanie i rejestracja --- */
.account-gate__head { max-width: 720px; margin-bottom: 40px; }
.account-gate__card { padding: 34px; }
.account-gate__card .woocommerce { margin: 0; }
.account-gate__card .u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; width: 100%; }
.account-gate__card .u-columns.col2-set::before,
.account-gate__card .u-columns.col2-set::after { display: none; }
.account-gate__card .u-column1,
.account-gate__card .u-column2 { float: none !important; width: auto !important; }
.account-gate__card .u-column2 { padding-left: 40px; border-left: 1px solid var(--c-border); }
.account-gate__card h2 { margin: 0 0 18px; font-size: 26px; letter-spacing: -0.02em; }
.account-gate__card .woocommerce-form { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.account-gate__card .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin-right: 14px; font-weight: 500; }
.account-gate__card .woocommerce-LostPassword { margin: 14px 0 0; }
.account-gate__card .woocommerce-LostPassword a,
.account-gate__card .woocommerce-privacy-policy-text a { color: #111; font-weight: 600; }
.account-gate__card .woocommerce-privacy-policy-text p { font-size: 13px; line-height: 1.55; color: var(--c-muted); }

/* --- pola formularzy konta (logowanie, rejestracja, adresy, dane) --- */
.account-gate__card .form-row,
.account-page .form-row { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; }
.account-gate__card label,
.account-page .woocommerce-MyAccount-content label { font-size: 13.5px; font-weight: 600; color: var(--c-text); }
.account-gate__card .input-text,
.account-page .woocommerce-MyAccount-content .input-text,
.account-page .woocommerce-MyAccount-content select,
.account-page .woocommerce-MyAccount-content .select2-selection {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px !important;
  border: 1px solid var(--c-border) !important;
  border-radius: 12px !important;
  background: var(--c-surface) !important;
  font: inherit;
  font-size: 16px;
  color: var(--c-text);
  box-shadow: none !important;
}
.account-page .woocommerce-MyAccount-content .select2-selection { display: flex; align-items: center; }
.account-gate__card .input-text:focus,
.account-page .woocommerce-MyAccount-content .input-text:focus,
.account-page .woocommerce-MyAccount-content select:focus { outline: none; border-color: #c9a400 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(255,215,0,0.25) !important; }
.account-gate__card .password-input,
.account-page .password-input { position: relative; display: block; }
.account-gate__card .show-password-input,
.account-page .show-password-input { top: 50% !important; transform: translateY(-50%); }
.account-gate__card .button,
.account-page .woocommerce-MyAccount-content .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--c-yellow) !important;
  color: #111 !important;
  font-family: var(--f-heading);
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0;
  text-transform: none !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.account-gate__card .button:hover,
.account-page .woocommerce-MyAccount-content .button:hover { background: #ffe33d !important; transform: translateY(-1px); }
.account-gate__card .woocommerce-form-login__submit,
.account-gate__card .woocommerce-form-register__submit { width: 100%; margin-top: 6px; }

/* --- zalogowany --- */
.account-page { padding: 28px 0 100px; background: var(--c-surface); }
.account-hello {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 24px 30px;
  border-radius: 24px;
  background: radial-gradient(500px 220px at 85% 0%, rgba(255,215,0,0.16), transparent 70%), #111110;
  color: var(--c-dark-text);
}
.account-hello__avatar { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-yellow); color: #111; font-family: var(--f-heading); font-size: 26px; font-weight: 800; box-shadow: 0 0 0 5px rgba(255,215,0,0.18); }
.account-hello small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-yellow); }
.account-hello h1 { margin: 4px 0 0; font-size: clamp(24px, 2.6vw, 32px); color: #fff; letter-spacing: -0.02em; }
.account-hello__btn { margin-left: auto; }

.account-page .woocommerce { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-page .woocommerce::before,
.account-page .woocommerce::after { display: none; }
.account-page .woocommerce-MyAccount-navigation,
.account-page .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.account-page .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.account-page .woocommerce-notices-wrapper:empty { display: none; }

.account-tabs { padding: 14px; border: 1px solid var(--c-border); border-radius: 22px; background: #fff; }
.account-tabs ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.account-tabs a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: #2b2b28; font-weight: 500; text-decoration: none; transition: background 0.2s, color 0.2s; }
.account-tabs a:hover { background: var(--c-surface); color: #111; }
.account-tabs__ico { display: inline-grid; color: #6b6b67; }
.account-tabs .is-active a { background: #111; color: #fff; }
.account-tabs .is-active .account-tabs__ico { color: var(--c-yellow); }
.account-tabs__courses { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--c-border); }
.account-tabs__courses a { font-weight: 700; }
.account-tabs__courses .account-tabs__ico { color: #8a6a00; }
.account-tabs .woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #fff1f0; color: #9b1c12; }

.account-page .woocommerce-MyAccount-content { min-width: 0; padding: 32px; border: 1px solid var(--c-border); border-radius: 22px; background: #fff; }
.account-page .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.account-page .woocommerce-MyAccount-content h2,
.account-page .woocommerce-MyAccount-content h3,
.account-page .woocommerce-MyAccount-content legend { font-family: var(--f-heading); font-size: 22px; letter-spacing: -0.02em; }
.account-page .woocommerce-MyAccount-content fieldset { margin: 24px 0 0; padding: 0; border: 0; }

/* pulpit */
.account-page .account-dashboard { padding: 0; border: 0; background: none; }
.account-dashboard h2 { margin: 0 0 18px; }
.account-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.account-tile { display: grid; gap: 6px; padding: 20px; border-radius: 18px; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text); text-decoration: none; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.account-tile:hover { transform: translateY(-3px); border-color: var(--c-yellow); box-shadow: 0 18px 34px -24px rgba(0,0,0,0.35); }
.account-tile__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 13px; background: rgba(255,215,0,0.18); color: #8a6a00; }
.account-tile b { font-family: var(--f-heading); font-size: 17px; }
.account-tile small { font-size: 13.5px; color: var(--c-muted); }
.account-dashboard__help { margin: 22px 0 0; font-size: 14px; color: var(--c-muted); }
.account-dashboard__help a { color: #111; font-weight: 600; }

/* tabele zamówień i plików */
.account-page table.shop_table { width: 100%; margin: 0; border: 0 !important; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--c-border); background: #fff; }
.account-page table.shop_table th { padding: 13px 16px !important; background: var(--c-surface) !important; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); border: 0 !important; }
.account-page table.shop_table td { padding: 15px 16px !important; border: 0 !important; border-top: 1px solid var(--c-border) !important; background: #fff !important; font-size: 15px; vertical-align: middle; }
.account-page table.shop_table td a:not(.button) { color: #111; font-weight: 700; }
.account-page table.shop_table .button { min-height: 38px; padding: 8px 18px !important; font-size: 13px !important; background: #111 !important; color: #fff !important; }
.account-page table.shop_table .button:hover { background: var(--c-yellow) !important; color: #111 !important; }
.account-page .woocommerce-orders-table__cell-order-status { font-weight: 600; }
.account-page mark.order-status,
.account-page mark { padding: 3px 9px; border-radius: 999px; background: rgba(255,215,0,0.22); color: #111; font-weight: 600; }

/* adresy */
.account-page .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.account-page .woocommerce-Addresses::before,
.account-page .woocommerce-Addresses::after { display: none; }
.account-page .woocommerce-Address { float: none !important; width: auto !important; padding: 20px; border: 1px solid var(--c-border); border-radius: 16px; background: var(--c-surface); }
.account-page .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.account-page .woocommerce-Address-title h2 { margin: 0; font-size: 18px; }
.account-page .woocommerce-Address-title .edit { color: #111; font-weight: 700; font-size: 14px; }
.account-page .woocommerce-Address address { margin-top: 10px; font-style: normal; line-height: 1.6; color: var(--c-muted); }

/* komunikaty WooCommerce na koncie i przy logowaniu */
.account-page .woocommerce-info,
.account-page .woocommerce-message,
.account-page .woocommerce-error,
.account-gate__card .woocommerce-error,
.account-gate__card .woocommerce-info,
.account-gate__card .woocommerce-message { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; padding: 14px 18px; border: 0; border-radius: 14px; background: #fffbe3; color: #3d3410; font-size: 14.5px; list-style: none; }
.account-page .woocommerce-error,
.account-gate__card .woocommerce-error { background: #fff1f0; color: #9b1c12; }
.account-page .woocommerce-info::before,
.account-page .woocommerce-message::before,
.account-page .woocommerce-error::before { display: none; }
.account-page .woocommerce-info .button,
.account-page .woocommerce-message .button { order: 2; min-height: 38px; padding: 8px 16px !important; font-size: 13px !important; }

@media (max-width: 960px) {
  .account-page .woocommerce { grid-template-columns: minmax(0, 1fr); }
  .account-tabs ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .account-tabs ul::-webkit-scrollbar { display: none; }
  .account-tabs a { white-space: nowrap; padding: 10px 14px; }
  .account-tabs__courses { margin: 0; padding: 0; border: 0; }
  .account-tabs { padding: 8px; border-radius: 16px; }
  .account-gate__card .u-columns.col2-set { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .account-gate__card .u-column2 { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--c-border); }
}

@media (max-width: 560px) {
  .account-page { padding: 16px 0 70px; }
  .account-hello { flex-wrap: wrap; padding: 20px; gap: 14px; }
  .account-hello__avatar { width: 52px; height: 52px; font-size: 22px; }
  .account-hello__btn { width: 100%; justify-content: center; margin-left: 0; }
  .account-page .woocommerce-MyAccount-content { padding: 20px 16px; }
  .account-gate__card { padding: 24px 18px; }
  .account-page .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
  .account-page table.shop_table thead { display: none; }
  .account-page table.shop_table tr { display: grid; padding: 12px 0; border-top: 1px solid var(--c-border); }
  .account-page table.shop_table td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 14px !important; border: 0 !important; }
  .account-page table.shop_table td::before { content: attr(data-title); font-size: 12px; font-weight: 700; color: var(--c-muted); }
}
.account-gate__card .woocommerce-form-register > p:not(.form-row):not(.woocommerce-form-row) { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--c-muted); }
.account-page table.shop_table tbody th { background: #fff !important; border-top: 1px solid var(--c-border) !important; font-size: 15px; letter-spacing: 0; text-transform: none; color: #111; }
.account-page table.shop_table tbody th a { color: #111; font-weight: 800; }
@media (max-width: 560px) {
  .account-page table.shop_table tbody th { display: flex; padding: 6px 14px !important; border-top: 0 !important; }
}

/* ============================================================
   ZAMÓWIENIE (page-checkout.php, woocommerce/checkout/form-checkout.php)
   ============================================================ */

.checkout-head { padding: 30px 0 0; background: var(--c-surface); }
.checkout-head__wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: 24px; background: radial-gradient(520px 220px at 85% 0%, rgba(255,215,0,0.16), transparent 70%), #111110; color: var(--c-dark-text); }
.checkout-head h1 { margin: 10px 0 0; font-size: clamp(30px, 3.4vw, 44px); color: #fff; letter-spacing: -0.03em; }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--c-dark-muted); }
.checkout-steps li { display: flex; align-items: center; gap: 8px; }
.checkout-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25); font-size: 12px; font-weight: 700; }
.checkout-steps .is-done span { background: #2cb36a; box-shadow: none; color: #fff; }
.checkout-steps .is-on { color: #fff; font-weight: 600; }
.checkout-steps .is-on span { background: var(--c-yellow); box-shadow: none; color: #111; }
.checkout-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; padding: 0 4px; list-style: none; font-size: 13.5px; color: var(--c-muted); }
.checkout-trust li { display: flex; align-items: center; gap: 8px; }
.checkout-trust svg { color: #8a6a00; }

.checkout-body { padding: 26px 0 100px; background: var(--c-surface); }
.checkout-body .woocommerce > .woocommerce-form-coupon-toggle,
.checkout-body .woocommerce > .woocommerce-form-login-toggle { margin-bottom: 10px; }
.checkout-body .woocommerce-form-coupon-toggle .woocommerce-info,
.checkout-body .woocommerce-form-login-toggle .woocommerce-info { margin: 0; padding: 12px 18px; border: 1px solid var(--c-border); border-left: 4px solid var(--c-yellow); border-radius: 14px; background: #fff; font-size: 14.5px; }
.checkout-body .woocommerce-info a { color: #111; font-weight: 700; }
.checkout-body form.checkout_coupon,
.checkout-body form.woocommerce-form-login { margin: 0 0 14px; padding: 20px; border: 1px solid var(--c-border); border-radius: 16px; background: #fff; }

.checkout-body .checkout-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; margin-top: 16px; }
.checkout-body .checkout-panel { padding: 30px; border-radius: 22px; background: #fff; }
.checkout-body .checkout-panel h3 { margin: 0 0 18px; font-size: 22px; letter-spacing: -0.02em; }
.checkout-body .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.checkout-body .woocommerce-billing-fields__field-wrapper .form-row-wide,
.checkout-body .woocommerce-billing-fields__field-wrapper #billing_country_field,
.checkout-body .woocommerce-billing-fields__field-wrapper #billing_address_1_field,
.checkout-body .woocommerce-billing-fields__field-wrapper #billing_address_2_field,
.checkout-body .woocommerce-billing-fields__field-wrapper #billing_company_field { grid-column: 1 / -1; }
.checkout-body .form-row { display: grid; gap: 6px; float: none !important; width: auto !important; margin: 0 0 14px; padding: 0; }
.checkout-body .form-row label { font-size: 13.5px; font-weight: 600; }
.checkout-body .input-text,
.checkout-body select,
.checkout-body .select2-container .select2-selection--single {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--c-border) !important;
  border-radius: 12px !important;
  background: var(--c-surface) !important;
  font: inherit;
  font-size: 16px;
  box-shadow: none;
}
.checkout-body .select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 14px; }
.checkout-body .select2-container .select2-selection__rendered { padding: 0 !important; line-height: 1.4 !important; color: var(--c-text) !important; }
.checkout-body .select2-container .select2-selection__arrow { top: 50% !important; right: 10px !important; transform: translateY(-50%); }
.checkout-body .input-text:focus,
.checkout-body select:focus { outline: none; border-color: #c9a400 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(255,215,0,0.25); }
.checkout-body textarea.input-text { min-height: 110px; }
.checkout-body .woocommerce-additional-fields { margin-top: 10px; }
.checkout-body .woocommerce-invalid .input-text { border-color: #d64545 !important; }

/* podsumowanie i płatność */
.checkout-body .checkout-grid__summary { position: sticky; top: 96px; padding: 26px; border: 1px solid var(--c-border); border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -44px rgba(0,0,0,0.35); }
.checkout-body #order_review_heading { margin: 0 0 16px; font-size: 22px; letter-spacing: -0.02em; }
.checkout-body table.woocommerce-checkout-review-order-table { width: 100%; margin: 0 0 18px; border: 0 !important; border-collapse: collapse; border-radius: 0; background: none; box-shadow: none; }
.checkout-body table.woocommerce-checkout-review-order-table th,
.checkout-body table.woocommerce-checkout-review-order-table td { padding: 12px 0 !important; border: 0 !important; border-bottom: 1px solid var(--c-border) !important; background: none !important; font-size: 15px; text-align: left; vertical-align: top; }
.checkout-body table.woocommerce-checkout-review-order-table thead th { padding-top: 0 !important; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.checkout-body table.woocommerce-checkout-review-order-table td.product-total,
.checkout-body table.woocommerce-checkout-review-order-table tfoot td,
.checkout-body table.woocommerce-checkout-review-order-table th.product-total { text-align: right; }
.checkout-body table.woocommerce-checkout-review-order-table tfoot th { font-weight: 600; color: var(--c-muted); }
.checkout-body table.woocommerce-checkout-review-order-table .order-total th,
.checkout-body table.woocommerce-checkout-review-order-table .order-total td { border-bottom: 0 !important; padding-top: 16px !important; }
.checkout-body table.woocommerce-checkout-review-order-table .order-total th { color: #111; font-size: 16px; }
.checkout-body table.woocommerce-checkout-review-order-table .order-total strong { font-family: var(--f-heading); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.checkout-body .includes_tax { display: block; font-size: 12.5px; color: var(--c-muted); }
.checkout-body .product-quantity { color: var(--c-muted); font-weight: 600; }

.checkout-body #payment { padding: 0; border-radius: 0; background: none; }
.checkout-body ul.wc_payment_methods { display: grid; gap: 10px; margin: 0 0 18px; padding: 0 !important; border: 0 !important; list-style: none; }
.checkout-body li.wc_payment_method { position: relative; margin: 0; padding: 0; border: 1.5px solid var(--c-border); border-radius: 14px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.checkout-body li.wc_payment_method:has(input:checked) { border-color: #111; box-shadow: 0 0 0 3px rgba(255,215,0,0.45); }
.checkout-body li.wc_payment_method > input { position: absolute; left: 16px; top: 23px; width: 18px; height: 18px; margin: 0; accent-color: #111; }
.checkout-body li.wc_payment_method > label { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; margin: 0; padding: 12px 16px 12px 46px; font-family: var(--f-heading); font-size: 16px; font-weight: 700; cursor: pointer; }
.checkout-body li.wc_payment_method > label img { flex: none; width: auto !important; max-width: 90px; height: 26px !important; max-height: 26px !important; margin: 0 !important; object-fit: contain; float: none !important; }
.checkout-body .payment_box { margin: 0 !important; padding: 0 16px 14px 46px !important; background: none !important; font-size: 13.5px; color: var(--c-muted); }
.checkout-body .payment_box::before { display: none !important; }
.checkout-body .payment_box p { margin: 0; }

.checkout-body .woocommerce-privacy-policy-text p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.55; color: var(--c-muted); }
.checkout-body .woocommerce-privacy-policy-text a,
.checkout-body .woocommerce-terms-and-conditions-link { color: #111; font-weight: 600; }
.checkout-body .woocommerce-terms-and-conditions { margin: 0 0 12px; padding: 14px; border: 1px solid var(--c-border); border-radius: 12px; font-size: 12.5px; }
.checkout-body .woocommerce-form__label-for-checkbox { display: flex !important; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.45; cursor: pointer; }
.checkout-body .woocommerce-form__label-for-checkbox input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #111; }
.checkout-body #place_order {
  width: 100%;
  min-height: 58px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--c-yellow);
  color: #111;
  font-family: var(--f-heading);
  font-size: 17px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 14px 34px -14px rgba(255,215,0,0.8);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.checkout-body #place_order:hover { background: #ffe33d; transform: translateY(-1px); }
.checkout-body .blockUI.blockOverlay { border-radius: 22px; }

@media (max-width: 960px) {
  .checkout-body .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .checkout-body .checkout-grid__summary { position: static; }
}

@media (max-width: 560px) {
  .checkout-head { padding-top: 16px; }
  .checkout-head__wrap { padding: 22px 20px; }
  .checkout-steps { font-size: 13px; gap: 8px 12px; }
  .checkout-trust { gap: 8px; font-size: 13px; }
  .checkout-body .checkout-panel,
  .checkout-body .checkout-grid__summary { padding: 20px 16px; }
  .checkout-body .woocommerce-billing-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
}
.checkout-body .payment_box p { font-size: 13.5px !important; line-height: 1.5; }

/* ============================================================
   KOSZYK (page-koszyk.php); nagłówek i tło jak w kasie (.checkout-head, .checkout-body)
   ============================================================ */

.cart-body .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.cart-body .woocommerce::before,
.cart-body .woocommerce::after { display: none; }
.cart-body .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.cart-body .woocommerce-notices-wrapper:empty { display: none; }
.cart-body .woocommerce-cart-form { min-width: 0; margin: 0; }
.cart-body .cart-collaterals { width: auto !important; margin: 0; }
/* Koszyk: „Może Cię też zainteresować” pod produktami w lewej kolumnie (functions.php przenosi je pod tabelę). */
.cart-body .cross-sells { float: none !important; width: auto !important; margin: 36px 0 0; }
.cart-body .cross-sells > h2 { margin: 0 0 16px; font-size: 22px; letter-spacing: -0.02em; }
.cart-body .cross-sells ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cart-body .cross-sells ul.products::before, .cart-body .cross-sells ul.products::after { display: none; }
.cart-body .cross-sells ul.products > li { float: none !important; width: auto !important; margin: 0 !important; }
.cart-body .cart-collaterals .cart_totals { float: none !important; width: auto !important; }

/* lista produktów */
.cart-body table.cart { width: 100%; margin: 0; border: 0 !important; border-collapse: separate; border-spacing: 0 12px; background: none; box-shadow: none; }
.cart-body table.cart thead { display: none; }
.cart-body table.cart tr.cart_item { background: #fff; }
.cart-body table.cart tr.cart_item td { padding: 16px 14px !important; border: 0 !important; border-top: 1px solid var(--c-border) !important; border-bottom: 1px solid var(--c-border) !important; background: #fff !important; vertical-align: middle; font-size: 15px; }
.cart-body table.cart tr.cart_item td:first-child { border-left: 1px solid var(--c-border) !important; border-radius: 18px 0 0 18px; }
.cart-body table.cart tr.cart_item td:last-child { border-right: 1px solid var(--c-border) !important; border-radius: 0 18px 18px 0; }
.cart-body td.product-remove { width: 44px; text-align: center; }
.cart-body td.product-remove a.remove { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-surface); color: #6b6b67 !important; font-size: 20px; line-height: 1; text-decoration: none; transition: background 0.2s, color 0.2s; }
.cart-body td.product-remove a.remove:hover { background: #fff1f0; color: #9b1c12 !important; }
.cart-body td.product-thumbnail { width: 92px; min-width: 92px; }
.cart-body td.product-remove { min-width: 44px; }
.cart-body td.product-price, .cart-body td.product-subtotal { min-width: 90px; }
.cart-body td.product-thumbnail img { display: block; width: 76px !important; height: 76px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px var(--c-border); }
.cart-body td.product-name { width: 100%; font-family: var(--f-heading); font-size: 16px; font-weight: 700; line-height: 1.35; }
.cart-body td.product-name a { color: #111; text-decoration: none; }
.cart-body td.product-name a:hover { color: #8a6a00; }
.cart-body td.product-price { color: var(--c-muted); white-space: nowrap; }
.cart-body td.product-subtotal { font-family: var(--f-heading); font-size: 17px; font-weight: 800; white-space: nowrap; text-align: right; }
.cart-body td.product-quantity .qty { width: 70px; min-height: 42px; padding: 8px; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-surface); font: inherit; text-align: center; }

/* kupon i aktualizacja */
.cart-body table.cart td.actions { padding: 6px 0 0 !important; border: 0 !important; background: none !important; }
.cart-body td.actions::after { content: ""; display: table; clear: both; }
.cart-body td.actions .coupon { display: inline-flex; width: min(440px, 100%); gap: 8px; float: left; }
.cart-body td.actions > .button { float: right; }
.cart-body td.actions .coupon .input-text { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: 999px; background: #fff; font: inherit; font-size: 15px; }
.cart-body td.actions .coupon .input-text:focus { outline: none; border-color: #c9a400; box-shadow: 0 0 0 4px rgba(255,215,0,0.25); }
.cart-body td.actions .button { min-height: 46px; padding: 10px 20px; border: 1.5px solid #111; border-radius: 999px; background: transparent; color: #111; font-family: var(--f-heading); font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s, color 0.2s; }
.cart-body td.actions .button:hover:not(:disabled) { background: #111; color: var(--c-yellow); }
.cart-body td.actions .button:disabled { opacity: 0.4; cursor: default; }

/* podsumowanie */
.cart-body .cart_totals { position: sticky; top: 96px; padding: 26px; border: 1px solid var(--c-border); border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -44px rgba(0,0,0,0.35); }
.cart-body .cart_totals h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -0.02em; }
.cart-body .cart_totals table { width: 100%; margin: 0 0 18px; border: 0 !important; border-collapse: collapse; background: none; box-shadow: none; }
.cart-body .cart_totals th,
.cart-body .cart_totals td { padding: 12px 0 !important; border: 0 !important; border-bottom: 1px solid var(--c-border) !important; background: none !important; font-size: 15px; text-align: left; vertical-align: top; }
.cart-body .cart_totals td { text-align: right; }
.cart-body .cart_totals th { font-weight: 600; color: var(--c-muted); }
.cart-body .cart_totals .order-total th,
.cart-body .cart_totals .order-total td { border-bottom: 0 !important; padding-top: 16px !important; }
.cart-body .cart_totals .order-total th { color: #111; font-size: 16px; }
.cart-body .cart_totals .order-total strong { font-family: var(--f-heading); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.cart-body .cart_totals .includes_tax { display: block; font-size: 12.5px; color: var(--c-muted); }
.cart-body .wc-proceed-to-checkout { padding: 0; }
.cart-body .wc-proceed-to-checkout .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  margin: 0 !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: var(--c-yellow) !important;
  color: #111 !important;
  font-family: var(--f-heading);
  font-size: 17px !important;
  font-weight: 800 !important;
  text-decoration: none;
  box-shadow: 0 14px 34px -14px rgba(255,215,0,0.8);
  transition: background 0.2s, transform 0.15s;
}
.cart-body .wc-proceed-to-checkout .checkout-button:hover { background: #ffe33d !important; transform: translateY(-1px); }
.cart-trust { grid-column: 1 / -1; margin-top: 22px; }

/* pusty koszyk */
.cart-empty-card { display: grid; justify-items: center; gap: 12px; max-width: 620px; margin: 10px auto 0; padding: 48px 28px; border: 1px solid var(--c-border); border-radius: 26px; background: #fff; text-align: center; }
.cart-empty-card__ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: rgba(255,215,0,0.2); color: #8a6a00; }
.cart-empty-card h2 { margin: 8px 0 0; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; }
.cart-empty-card p { max-width: 440px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--c-muted); }
.cart-empty-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }

@media (max-width: 960px) {
  .cart-body .woocommerce { grid-template-columns: minmax(0, 1fr); }
  .cart-body .cart_totals { position: static; }
}

@media (max-width: 640px) {
  .cart-body table.cart,
  .cart-body table.cart tbody { display: block; }
  .cart-body table.cart tr.cart_item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img name remove" "img price subtotal" "img qty qty"; gap: 4px 12px; align-items: center; margin-bottom: 10px; padding: 14px; border: 1px solid var(--c-border); border-radius: 18px; }
  .cart-body table.cart tr.cart_item td { display: block; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
  .cart-body table.cart tr.cart_item td::before { display: none !important; }
  .cart-body td.product-thumbnail { grid-area: img; width: auto; }
  .cart-body td.product-thumbnail img { width: 64px !important; height: 64px; }
  .cart-body td.product-name { grid-area: name; font-size: 15px; }
  .cart-body td.product-remove { grid-area: remove; width: auto; }
  .cart-body td.product-price { grid-area: price; font-size: 14px; }
  .cart-body td.product-quantity { grid-area: qty; }
  .cart-body td.product-quantity:has(input[type="hidden"]) { display: none !important; }
  .cart-body td.product-subtotal { grid-area: subtotal; }
  .cart-body table.cart tr:not(.cart_item) { display: block; }
  .cart-body table.cart td.actions { display: block; }
  .cart-body td.actions .coupon { width: 100%; float: none; margin-bottom: 8px; }
  .cart-body td.actions > .button { float: none; width: 100%; }
  .cart-body table.cart tr.cart_item td:first-child,
  .cart-body table.cart tr.cart_item td:last-child { border: 0 !important; border-radius: 0 !important; }
  .cart-body .cart_totals { padding: 20px 16px; }
  .cart-empty-card { padding: 36px 18px; }
  .cart-empty-card__actions .btn { width: 100%; justify-content: center; }
}
.cart-body .woocommerce:has(.wc-empty-cart-message) { display: block; }
.cart-body .container:has(.wc-empty-cart-message) .cart-trust { display: none; }
.cart-count[hidden] { display: none !important; }

/* =========================================================
   STRONA PRODUKTU: rodzaje produktów, listy w opisie, karty, pasek zakupu
   ========================================================= */
.sp-kind {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
  padding: 6px 14px 6px 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,215,0,.3);
  border-radius: var(--r-full);
  background: rgba(255,215,0,.08);
  color: var(--c-yellow);
  font-family: var(--f-heading);
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.sp-lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.72); margin: -4px 0 24px; max-width: 54ch; }
.sp-rating__count small { font-size: 13px; font-weight: 400; color: var(--c-muted); }
.sp-stars span { display: inline-flex; fill: rgba(255,255,255,.18); }
.sp-stars span.is-on { fill: var(--c-yellow); }

.sp-features { grid-template-columns: 1fr; gap: 12px; margin-bottom: 30px; }
.sp-features li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.4; }
.sp-features li > span {
  flex: 0 0 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,215,0,.1);
  color: var(--c-yellow);
}

.sp-price-box__left { display: flex; flex-direction: column; }
.sp-price-now .woocommerce-Price-currencySymbol { font-size: .5em; vertical-align: baseline; margin-left: 4px; }
.sp-price-now del { display: none; }
.sp-price-now ins { text-decoration: none; }
.sp-price-save { margin-top: 8px; font-size: 13px; font-weight: 600; color: #7ee2a8; }
.sp-price-box__cta .single_add_to_cart_button { text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; }
/* Badge rat P24 pod przyciskiem: czytelny na ciemnym tle */
.sp-price-box p24-installment { display: block; color: #1a1a1a; margin-bottom: 12px; }
.sp-price-now .woocommerce-price-suffix,
.sp-sticky__info .woocommerce-price-suffix { font-family: var(--f-body, inherit); font-size: 13px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.55); margin-left: 6px; }

.sp-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 18px; padding: 0; }
.sp-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.62); }
.sp-trust li svg { color: var(--c-yellow); flex-shrink: 0; }
.sp-ask { text-transform: none; letter-spacing: 0; font-size: 14px; color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 2px; }
.sp-ask:hover { color: var(--c-yellow); border-bottom-color: var(--c-yellow); }

/* Opis: jedna kolumna, gdy nie ma programu ani prowadzącego */
.sp-body__grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.sp-body__desc > .eyebrow { display: inline-block; margin-bottom: 10px; color: #8a7000; }

/* Listy w opisie: punktor obok tekstu, pogrubienia w linii */
.sp-content ul { display: block; margin: 0 0 22px; padding: 0; }
.sp-content ul li {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.7;
}
.sp-content ul li::before {
  content: '';
  position: absolute; left: 4px; top: .62em;
  width: 14px; height: 8px;
  border-left: 2.5px solid #d4b200; border-bottom: 2.5px solid #d4b200;
  transform: rotate(-45deg);
  margin: 0;
}
.sp-content ul li strong, .sp-content ol li strong { display: inline; color: #111110; }
.sp-content ol { display: block; padding-left: 22px; }
.sp-content ol li { margin-bottom: 10px; line-height: 1.7; }
.sp-content p strong { color: #111110; }
.sp-content > :last-child { margin-bottom: 0; }

/* Dlaczego warto */
.sp-why { padding: 110px 0; background: #0f1010; }
.sp-why__head { max-width: 640px; margin-bottom: 48px; }
.sp-why__head .sp-section-title { color: #fff; margin-bottom: 0; }
.sp-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sp-why__card {
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .25s ease, transform .25s ease;
}
.sp-why__card:hover { border-color: rgba(255,215,0,.35); transform: translateY(-4px); }
.sp-why__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 22px;
  border-radius: 12px; background: var(--c-yellow); color: #0f1010;
}
.sp-why__card h3 { font-family: var(--f-heading); font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 10px; letter-spacing: -.01em; }
.sp-why__card p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.66); margin: 0; }

.sp-rcard__level { display: inline-block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-full); }
.sp-rcard__price del { opacity: .5; font-size: .85em; margin-right: 6px; }
.sp-rcard__price ins { text-decoration: none; }

/* Pasek zakupu na telefonie */
.sp-sticky { display: none; }
@media (max-width: 760px) {
  .sp-sticky {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 16px;
    border-radius: 16px;
    background: rgba(20,21,21,.94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 14px 40px rgba(0,0,0,.45);
    transform: translateY(140%);
    transition: transform .3s ease;
  }
  .sp-sticky[hidden] { display: none; }
  .sp-sticky.is-on { transform: none; }
  .sp-sticky__info { display: flex; flex-direction: column; min-width: 0; }
  .sp-sticky__info b { font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sp-sticky__info span { font-size: 15px; font-weight: 800; color: var(--c-yellow); }
  .sp-sticky__info del { display: none; }
  .sp-sticky__info ins { text-decoration: none; }
  .sp-sticky .btn { flex-shrink: 0; min-height: 46px; padding: 0 20px; }
}

@media (max-width: 960px) {
  .sp-why { padding: 80px 0; }
  .sp-why__grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .sp-lead { font-size: 16px; }
  .sp-hero__grid { gap: 28px; margin-top: 20px; }
  .sp-hero__media { width: 100%; max-width: 280px; margin: 0 auto; }
  .sp-why__card { padding: 24px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-why__card, .sp-sticky { transition: none; }
}

/* =========================================================
   SCENA 3D W HERO: obejście błędu Safari
   W WebKit elementy z backdrop-filter wewnątrz kontekstu preserve-3d potrafią
   nagle zniknąć razem z całą sceną. Etykiety mają pełne tło zamiast rozmycia,
   a w Safari scena jest płaska (tilt całej sceny działa dalej).
   ========================================================= */
.hs-rig .hs-chip {
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  background: rgba(22,23,23,0.94);
}
html.is-webkit .hs-rig,
html.is-webkit .hs-rig .hs-layer,
html.is-webkit .hs-rig * {
  transform-style: flat;
}
/* Bez głębi 3D kolejność warstw ustawiamy jawnie: ekran z tyłu, telefon wyżej, etykiety na wierzchu. */
html.is-webkit .hs-rig .ah-browser,
html.is-webkit .hs-rig .hs-laptop { z-index: 1; }
html.is-webkit .hs-rig .ah-phone,
html.is-webkit .hs-rig .hs-phone { z-index: 2; }
html.is-webkit .hs-rig .hs-chip-pos { z-index: 3; }

/* =========================================================
   STRONA GŁÓWNA: LICZBY (stat-band) i BLOG (blog-band)
   ========================================================= */
.stat-band {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.stat-band__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat-band__grid li + li { border-left: 1px solid var(--c-border); }
.stat-band__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 36px 28px 34px;
  color: inherit;
  text-decoration: none;
  transition: background var(--ease);
}
.stat-band__item:hover { background: rgba(255,215,0,0.06); }
.stat-band__num {
  font-family: var(--f-heading);
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #111110;
  font-variant-numeric: tabular-nums;
}
.stat-band__num em { font-style: normal; color: #e9c400; margin-left: 2px; }
.stat-band__label {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: var(--c-muted);
}
.stat-band__label i {
  display: inline-block;
  margin-left: 4px;
  font-style: normal;
  color: #111110;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--ease), transform var(--ease);
}
.stat-band__item:hover .stat-band__label { color: #111110; }
.stat-band__item:hover .stat-band__label i,
.stat-band__item:focus-visible .stat-band__label i { opacity: 1; transform: none; }
.stat-band__item:focus-visible { outline: 2px solid #111110; outline-offset: -2px; border-radius: 8px; }

@media (max-width: 900px) {
  .stat-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band__grid li:nth-child(3) { border-left: 0; }
  .stat-band__grid li:nth-child(n+3) { border-top: 1px solid var(--c-border); }
  .stat-band__item { padding: 24px 18px; }
  .stat-band__label i { opacity: 1; transform: none; }
}
@media (max-width: 420px) {
  .stat-band__num { font-size: 32px; }
  .stat-band__label { font-size: 13px; }
  .stat-band__item { padding: 20px 12px; }
}

/* Blog */
.blog-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.blog-band__head h2 { margin: 6px 0 0; max-width: 18ch; }
.blog-band__all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 15px;
  color: #111110;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--c-yellow);
}
.blog-band__all span { transition: transform var(--ease); }
.blog-band__all:hover span { transform: translateX(4px); }

.blog-band__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.blog-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-border);
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.blog-card:hover {
  border-color: rgba(180,150,0,0.4);
  box-shadow: 0 18px 40px -22px rgba(17,17,16,0.35);
  transform: translateY(-3px);
}
.blog-card__thumb { display: block; overflow: hidden; background: #ecebe6; }
.blog-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }
.blog-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; }
.blog-card__meta {
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a7000;
}
.blog-card__title {
  font-family: var(--f-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #111110;
}
.blog-card__excerpt { font-size: 15px; line-height: 1.65; color: var(--c-muted); }
.blog-card:not(.blog-card--lead) .blog-card__excerpt { font-size: 14px; line-height: 1.55; }
.blog-card__more {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  color: #111110;
}
.blog-card__more span { display: inline-block; transition: transform var(--ease); }
.blog-card:hover .blog-card__more span { transform: translateX(4px); }

.blog-card--lead {
  grid-row: span 2;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}
.blog-card--lead .blog-card__thumb { aspect-ratio: 16 / 9; }
.blog-card--lead .blog-card__body { padding: 28px 30px 30px; }
.blog-card--lead .blog-card__title { font-size: clamp(22px, 2vw, 28px); }

@media (max-width: 900px) {
  .blog-band__grid { grid-template-columns: 1fr; }
  .blog-card--lead { grid-row: auto; }
  .blog-band__head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
}
@media (max-width: 560px) {
  .blog-card { grid-template-columns: 112px minmax(0, 1fr); }
  .blog-card--lead { grid-template-columns: 1fr; }
  .blog-card__body { padding: 16px 18px; gap: 6px; }
  .blog-card__title { font-size: 16px; }
  .blog-card--lead .blog-card__title { font-size: 21px; }
  .blog-card__more, .blog-card__excerpt { display: none; }
  .blog-card--lead .blog-card__more, .blog-card--lead .blog-card__excerpt { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-card, .blog-card__thumb img, .stat-band__label i { transition: none; }
}
/* strzałka w rogu kafelka, żeby nie zawijała się z opisem */
.stat-band__item { position: relative; }
.stat-band__label i { position: absolute; top: 40px; right: 24px; margin: 0; font-size: 18px; }
@media (max-width: 900px) { .stat-band__label i { top: 26px; right: 14px; } }
/* blog: wersja zwarta (mniejsza karta główna i miniatury) */
.blog-band__head { margin-bottom: 28px; }
.blog-band__head h2 { max-width: none; }
.blog-band__grid { grid-template-columns: 1.1fr 1fr; gap: 18px; }
.blog-card { grid-template-columns: 150px minmax(0, 1fr); border-radius: 18px; }
.blog-card.blog-card--lead { grid-template-columns: 1fr; }
.blog-card__body { padding: 18px 22px; gap: 8px; }
.blog-card__title { font-size: 17px; }
.blog-card:not(.blog-card--lead) .blog-card__excerpt { display: none; }
.blog-card--lead .blog-card__thumb { aspect-ratio: 2 / 1; }
.blog-card--lead .blog-card__body { padding: 20px 24px 22px; }
.blog-card--lead .blog-card__title { font-size: clamp(19px, 1.6vw, 22px); }
.blog-card--lead .blog-card__excerpt {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 900px) {
  .blog-band__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blog-card { grid-template-columns: 104px minmax(0, 1fr); }
  .blog-card.blog-card--lead { grid-template-columns: 1fr; }
}

/* Liczby jako ciemny dół hero (wariant A) */
.stat-band--dark {
  position: relative;
  background: #000;
  border-top: 0;
  border-bottom: 0;
}
.stat-band--dark::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14) 20%, rgba(255,255,255,0.14) 80%, transparent);
}
.stat-band--dark .stat-band__grid li + li { border-left-color: rgba(255,255,255,0.08); }
.stat-band--dark .stat-band__item { padding-top: 40px; padding-bottom: 44px; }
.stat-band--dark .stat-band__item:hover { background: rgba(255,215,0,0.05); }
.stat-band--dark .stat-band__num { color: #fff; }
.stat-band--dark .stat-band__num em { color: var(--c-yellow); }
.stat-band--dark .stat-band__label { color: rgba(255,255,255,0.58); }
.stat-band--dark .stat-band__item:hover .stat-band__label,
.stat-band--dark .stat-band__label i { color: #fff; }
.stat-band--dark .stat-band__item:focus-visible { outline-color: var(--c-yellow); }
@media (max-width: 900px) {
  .stat-band--dark .stat-band__grid li:nth-child(n+3) { border-top-color: rgba(255,255,255,0.08); }
  .stat-band--dark .stat-band__item { padding-top: 24px; padding-bottom: 26px; }
}
.stat-band__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 11px;
  background: rgba(255,215,0,0.1);
  box-shadow: inset 0 0 0 1px rgba(255,215,0,0.22);
  color: var(--c-yellow);
  transition: background var(--ease), color var(--ease);
}
.stat-band__item:hover .stat-band__ico { background: var(--c-yellow); color: #111110; }
.stat-band--dark .stat-band__label i { top: 46px; }
@media (max-width: 900px) {
  .stat-band__ico { width: 34px; height: 34px; margin-bottom: 8px; border-radius: 10px; }
  .stat-band--dark .stat-band__label i { top: 30px; }
}
/* Liczby: jasne tło, niższy pas, mniejsze cyfry; ikona i liczba w jednym rzędzie */
.stat-band__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 22px 24px;
}
.stat-band__ico { grid-row: span 2; margin: 0; width: 40px; height: 40px; background: rgba(255,215,0,0.16); box-shadow: inset 0 0 0 1px rgba(200,165,0,0.25); color: #8a7000; }
.stat-band__item:hover .stat-band__ico { background: var(--c-yellow); color: #111110; }
.stat-band__num { font-size: clamp(26px, 2.3vw, 32px); }
.stat-band__label { font-size: 14px; line-height: 1.35; padding-right: 18px; }
.stat-band__label i { top: 50%; right: 16px; transform: translate(-4px, -50%); font-size: 16px; }
.stat-band__item:hover .stat-band__label i,
.stat-band__item:focus-visible .stat-band__label i { transform: translate(0, -50%); }
@media (max-width: 900px) {
  .stat-band__item { padding: 16px 12px; column-gap: 10px; }
  .stat-band__ico { width: 34px; height: 34px; }
  .stat-band__num { font-size: 24px; }
  .stat-band__label { font-size: 12.5px; padding-right: 0; }
  .stat-band__label i { display: none; }
}
@media (max-width: 900px) {
  .stat-band__item { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; row-gap: 4px; padding: 16px 14px 18px; }
  .stat-band__ico { grid-row: auto; width: 30px; height: 30px; border-radius: 9px; margin-bottom: 6px; }
  .stat-band__ico svg { width: 16px; height: 16px; }
}

/* =========================================================
   WYCENA ORIENTACYJNA: pasek pod cennikiem i okno krok po kroku
   (template-parts/quote-calc.php, assets/js/quote.js)
   ========================================================= */
.qc-band { padding: 0 0 110px; background: var(--c-surface); scroll-margin-top: 90px; }
.qc-band__box {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 28px 32px; border-radius: 24px; background: #111110; color: #f2f2f0;
  box-shadow: 0 24px 60px -34px rgba(17,17,16,.5);
}
.qc-band__text { display: flex; align-items: flex-start; gap: 18px; }
.qc-band__ico { flex: 0 0 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--c-yellow); color: #111110; }
.qc-band__text h2 { margin: 0 0 6px; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; color: #fff; }
.qc-band__text p { margin: 0; max-width: 60ch; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.68); }
.qc-band .btn { flex-shrink: 0; }

html.qw-open { overflow: hidden; }
.qw {
  width: min(660px, calc(100vw - 32px));
  height: min(640px, calc(100vh - 48px)); height: min(640px, calc(100dvh - 48px));
  max-height: none; padding: 0; border: 0; border-radius: 24px;
  background: #fbfbf9; color: #111110; box-shadow: 0 40px 120px -30px rgba(0,0,0,.55); overflow: hidden;
}
.qw[open] { display: flex; animation: qw-in .3s cubic-bezier(.2,.8,.2,1); }
.qw::backdrop { background: rgba(10,10,10,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes qw-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.qw__form { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.qw__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 24px 12px; }
.qw__eyebrow { font-family: var(--f-heading); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a7000; }
.qw__head h2 { margin: 4px 0 0; font-size: 18px; line-height: 1.25; color: #111110; }
.qw__close {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--c-border); background: #fff; color: #111110; cursor: pointer;
}
.qw__close:hover { background: #f1f0ea; }
.qw__progress { height: 4px; background: #ecebe4; flex-shrink: 0; }
.qw__progress span { display: block; height: 100%; width: 0; background: var(--c-yellow); transition: width .3s ease; }
.qw__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 20px 24px 18px; }

.qw-step { margin: 0; padding: 0; border: 0; min-width: 0; animation: qw-step .28s ease; }
.qw-step[hidden] { display: none; }
@keyframes qw-step { from { opacity: 0; transform: translateX(14px); } }
.qw-step__count { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #6b6b68; }
.qw-step__title { display: block; float: left; width: 100%; padding: 0; margin: 0 0 10px; font-family: var(--f-heading); font-size: clamp(20px, 2vw, 23px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: #111110; }
.qw-step__title + * { clear: both; }
.qw-step__help { margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; color: #55554f; }
.qw-step__help--hint { margin-top: -10px; font-size: 13px; color: #6b6b68; }
.qw-step.is-bad .qw-step__title { color: #b42318; }
.qw-step.is-bad .qw-opts::before { content: 'Wybierz odpowiedź, żeby przejść dalej.'; display: block; margin-bottom: 8px; font-size: 14px; color: #b42318; }

.qw-opts { display: flex; flex-direction: column; gap: 8px; }
.qw-opts--cols { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .qw-opts--cols { grid-template-columns: 1fr; } }
.qc-opt { position: relative; display: block; cursor: pointer; min-width: 0; }
.qc-opt[hidden] { display: none; }
.qc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.qc-opt__box {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px 12px 48px; border-radius: 14px; border: 1px solid #dedcd3; background: #fff;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.qc-opt__box::before {
  content: ''; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 2px solid #c9c8c0; border-radius: 50%; background: #fff; transition: all var(--ease);
}
.qc-opt input[type="checkbox"] + .qc-opt__box::before { border-radius: 6px; }
.qc-opt__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.qc-opt__main b { font-size: 15.5px; font-weight: 700; color: #111110; line-height: 1.3; }
.qc-opt__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.qc-opt__badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #111110; background: #ffd700; padding: 3px 9px; border-radius: 999px; line-height: 1.3; }
.qc-opt__main small { font-size: 13.5px; line-height: 1.4; color: #6b6b68; }
.qc-opt__price { flex-shrink: 0; font-size: 13px; font-weight: 700; color: #6b5a00; background: #fff6bf; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.qc-opt:hover .qc-opt__box { border-color: #c9c4ab; }
.qc-opt input:checked + .qc-opt__box { border-color: #111110; background: #fffbe0; box-shadow: inset 0 0 0 1px #111110; }
.qc-opt input:checked + .qc-opt__box::before { border-color: #111110; background: #111110; box-shadow: inset 0 0 0 4px #fffbe0; }
.qc-opt input[type="checkbox"]:checked + .qc-opt__box::before {
  box-shadow: none; background: #111110 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd700' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.qc-opt input:focus-visible + .qc-opt__box { outline: 2px solid #111110; outline-offset: 2px; }

.qc-range { padding: 10px 2px 0; }
.qc-range__out { display: block; font-family: var(--f-heading); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: #111110; margin-bottom: 14px; }
.qc-range input[type="range"] {
  --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none;
  background: linear-gradient(90deg, #111110 var(--p), #e7e5dc var(--p));
}
.qc-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c-yellow); border: 3px solid #111110; cursor: grab; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.qc-range input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--c-yellow); border: 3px solid #111110; cursor: grab; }
.qc-range__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #6b6b68; }

.qw-sum__pkg { margin: 0 0 16px; font-size: 15px; color: #3d3d3a; }
.qw-sum__pkg[hidden] { display: none; }
.qw-sum__pkg b { display: inline-block; margin-left: 4px; padding: 3px 12px; border-radius: 999px; background: #111110; color: var(--c-yellow); font-family: var(--f-heading); font-size: 14px; }
.qw-block { margin-bottom: 12px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--c-border); }
.qw-block[hidden] { display: none; }
.qw-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.qw-block__head span { font-family: var(--f-heading); font-size: 16px; font-weight: 800; color: #111110; }
.qw-block__head b { font-family: var(--f-heading); font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: #111110; white-space: nowrap; }
.qw-block__lines { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px dashed #dcdad0; display: flex; flex-direction: column; gap: 7px; }
.qw-block__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 1.4; color: #3d3d3a; }
.qw-block__lines li b { flex-shrink: 0; color: #111110; font-weight: 700; white-space: nowrap; }
.qw-block__lines li.is-disc b { color: #1f7a44; }
.qw-block__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #6b6b68; }
.qw-block--budget { background: #f3f2ec; }
.qw-block--budget .qw-block__head span { font-size: 15px; }
.qw-block--budget .qw-block__head b { font-size: 20px; color: #3d3d3a; }
.qw-sum__note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff8d6; font-size: 13px; line-height: 1.55; color: #4a4300; }

.qc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qc-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #111110; }
.qc-field--wide { grid-column: 1 / -1; }
.qc-field input, .qc-field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid #d6d4ca; background: #fff; font: inherit; font-weight: 400; font-size: 16px; color: #111110; }
.qc-field input:focus, .qc-field textarea:focus { outline: none; border-color: #111110; box-shadow: 0 0 0 3px rgba(255,215,0,.35); }
.qc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qc-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.5; color: #3d3d3a; }
.qc-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: #111110; flex-shrink: 0; }
.qc-consent a { color: #111110; text-decoration: underline; }
.qc-error { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #8a1c12; font-size: 14px; }
.qc-error[hidden] { display: none; }

.qw-done { text-align: center; padding: 40px 10px; }
.qw-done__ico { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c-yellow); color: #111110; margin-bottom: 14px; }
.qw-done h3 { margin: 0 0 8px; font-size: 26px; color: #111110; }
.qw-done p { margin: 0 auto 22px; max-width: 46ch; color: #3d3d3a; line-height: 1.6; }

.qw__foot {
  flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--c-border);
}
.qw__foot[hidden] { display: none; }
.qw__live { display: flex; flex-direction: column; min-width: 0; }
.qw__live[hidden] { visibility: hidden; display: flex; }
.qw__live span { font-size: 12px; color: #6b6b68; }
.qw__live b { font-family: var(--f-heading); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #111110; line-height: 1.15; }
.qw__live small { font-size: 12.5px; color: #6b5a00; }
.qw__nav { display: flex; align-items: center; gap: 10px; }
.qw__nav [hidden] { display: none; }
.qw__back { white-space: nowrap; background: transparent; border: 0; padding: 10px 8px; font: inherit; font-weight: 600; color: #3d3d3a; cursor: pointer; }
.qw__back:hover { color: #111110; }
.qw [data-qc-submit].is-loading { opacity: .6; pointer-events: none; }

@media (max-width: 760px) {
  .qc-band { padding-bottom: 80px; }
  .qc-band__box { flex-direction: column; align-items: stretch; padding: 22px 20px; }
  .qc-band .btn { width: 100%; justify-content: center; }
  .qw { width: 100vw; max-width: 100vw; height: 100dvh; border-radius: 0; margin: 0; }
  .qw__head { padding: 16px 16px 10px; }
  .qw__head h2 { font-size: 17px; }
  .qw__body { padding: 20px 16px 16px; }
  .qw__foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .qw__live b { font-size: 19px; }
  .qw__nav { gap: 4px; flex-shrink: 0; }
  .qw__back { white-space: nowrap; padding: 10px 6px; }
  .qw__nav .btn { width: auto; padding-left: 18px; padding-right: 18px; min-width: 0; white-space: nowrap; }
  .qc-fields { grid-template-columns: 1fr; }
  .qc-opt__box { padding: 13px 14px 13px 46px; flex-wrap: wrap; }
  .qc-opt__box::before { left: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .qw[open], .qw-step { animation: none; }
  .qw__progress span { transition: none; }
}
.price-plans:has(+ .qc-band) { padding-bottom: 40px; }
.qw { position: fixed; inset: 0; margin: auto; }
@media (max-width: 760px) { .qw { margin: 0; } }
/* tytuł kroku: float tylko dla legendy fieldsetu (żeby nie wcinała się w ramkę) */
.qw-step__title { float: none; }
legend.qw-step__title { float: left; }


/* =========================================================
   USŁUGI BENTO: wszystkie usługi jako kafle ze scenkami
   (template-parts/services-bento.php, kotwica #wszystkie-uslugi)
   ========================================================= */
.sb-section { background: #f4f3ee; }
.sb-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sb-head h2 { margin: 10px 0 12px; }
.sb-head p { margin: 0; color: #55554f; font-size: 17px; line-height: 1.6; }
.sb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 310px; gap: 16px; }
.sb-tile { grid-column: span 4; min-width: 0; }
.sb-tile--web { grid-column: span 5; grid-row: span 2; }
.sb-tile--search { grid-column: span 4; }
.sb-tile--feed { grid-column: span 3; }
.sb-tile--rank { grid-column: span 4; }
.sb-tile--calendar { grid-column: span 3; }
.sb-tile__link {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; background: #fff; border: 1px solid #e6e4da; color: #111110; text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.sb-tile__link:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(17,17,16,.55); border-color: #d6d3c4; }
.sb-tile__scene { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sb-tile__meta { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 24px 22px; }
.sb-tile__group { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #8a7a1c; }
.sb-tile__title { font-family: var(--f-heading); font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.sb-tile__text { font-size: 14.5px; line-height: 1.5; color: #5d5d57; max-width: 34ch; }
.sb-tile__price { align-self: flex-start; margin-top: 8px; padding: 4px 11px; border-radius: 999px; background: #fff6bf; font-size: 13px; font-weight: 700; color: #4a4000; }
.sb-tile__go {
  position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: #111110; color: #ffd700; font-size: 17px;
  transform: scale(.85); opacity: .0; transition: transform .3s ease, opacity .3s ease;
}
.sb-tile__link:hover .sb-tile__go, .sb-tile__link:focus-visible .sb-tile__go { opacity: 1; transform: scale(1); }

/* warianty kolorystyczne */
.sb-tile.is-hero .sb-tile__link, .sb-tile.is-dark .sb-tile__link { background: #111110; border-color: #111110; color: #f2f2f0; }
.sb-tile.is-hero .sb-tile__text, .sb-tile.is-dark .sb-tile__text { color: #b7b6ae; }
.sb-tile.is-hero .sb-tile__group, .sb-tile.is-dark .sb-tile__group { color: #ffd700; }
.sb-tile.is-hero .sb-tile__go, .sb-tile.is-dark .sb-tile__go { background: #ffd700; color: #111110; }
.sb-tile.is-hero .sb-tile__title { font-size: clamp(26px, 2.4vw, 34px); }
.sb-tile.is-hero .sb-tile__meta { padding: 0 32px 30px; }
.sb-tile.is-hero .sb-tile__link { background: radial-gradient(120% 80% at 70% 0%, #2a2913 0%, #111110 55%); }
.sb-tile.is-yellow .sb-tile__link { background: #ffd700; border-color: #ffd700; }
.sb-tile.is-yellow .sb-tile__group { color: #5c4d00; }
.sb-tile.is-yellow .sb-tile__text { color: #3d3500; }

/* --- scenki: wspólne --- */
.sb-tile__scene i, .sb-tile__scene b { font-style: normal; }


/* Google: wyszukiwarka i wynik sponsorowany */
.sb-tile--search .sb-tile__scene { flex-direction: column; gap: 8px; padding: 22px 24px 6px; align-items: stretch; justify-content: flex-start; }
.sbv-search { display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px -14px rgba(0,0,0,.45); font-size: 14px; color: #111110; }
.sbv-search::before { content: ''; width: 12px; height: 12px; margin-right: 10px; border: 2px solid #8a8a83; border-radius: 50%; }
.sbv-q { overflow: hidden; white-space: nowrap; border-right: 2px solid #111110; width: 0; animation: sbv-type 5s steps(18) infinite; }
.sbv-result { display: flex; flex-direction: column; gap: 5px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.55); }
.sbv-result i { height: 7px; border-radius: 4px; background: rgba(17,17,16,.18); }
.sbv-result i:last-child { width: 70%; }
.sbv-result.is-spons { background: #fff; transform-origin: left; animation: sbv-pop 5s ease-in-out infinite; }
.sbv-result.is-spons b { font-size: 10.5px; font-weight: 800; color: #111110; }


/* SEO: ranking, Twoja strona wspina się na 1. miejsce */
.sbv-rank { position: relative; width: 74%; display: flex; flex-direction: column; gap: 7px; }
.sbv-rank i { height: 26px; border-radius: 9px; background: #f1efe6; padding-left: 10px; font-size: 11px; font-weight: 800; line-height: 26px; color: #a3a198; }
.sbv-you { position: absolute; left: 0; right: 0; height: 26px; border-radius: 9px; background: #111110; color: #ffd700; font-size: 12px; font-weight: 800; line-height: 26px; padding-left: 30px; animation: sbv-climb 5s cubic-bezier(.6,0,.2,1) infinite; }
.sbv-you::before { content: '#'; position: absolute; left: 11px; }

/* Social media: kalendarz publikacji */
.sbv-cal { display: grid; grid-template-columns: repeat(7, 22px); gap: 6px; }
.sbv-cal i { height: 22px; border-radius: 6px; background: #f1efe6; }
.sbv-cal i:nth-child(3n+1) { animation: sbv-fill 4.2s ease-in-out infinite; }
.sbv-cal i:nth-child(3n+1):nth-child(odd) { animation-delay: .6s; }
.sbv-cal i:nth-child(4) { animation-delay: 1.2s; }
.sbv-cal i:nth-child(10) { animation-delay: 1.8s; }
.sbv-cal i:nth-child(13) { animation-delay: 2.4s; }




/* Newsletter: przepływ automatyzacji */
.sbv-flow { display: flex; align-items: center; }
.sbv-node { padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid #ecebe3; font-size: 12px; font-weight: 800; color: #111110; animation: sbv-node 4.5s ease-in-out infinite; }
.sbv-node:nth-child(3) { animation-delay: 1.5s; }
.sbv-node.is-end { animation-delay: 3s; }
.sbv-link { width: 22px; height: 2px; background: repeating-linear-gradient(90deg, #111110 0 4px, transparent 4px 7px); background-size: 7px 2px; animation: sbv-dash 1s linear infinite; }

/* Konsultacje: rozmowa */
.sbv-chat { display: flex; flex-direction: column; gap: 8px; width: 78%; }
.sbv-chat i { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 12.5px; line-height: 1.35; opacity: 0; animation: sbv-msg 5s ease-in-out infinite; }
.sbv-chat .is-them { align-self: flex-start; background: #f1efe6; color: #3d3d3a; border-bottom-left-radius: 4px; }
.sbv-chat .is-me { align-self: flex-end; background: #111110; color: #ffd700; border-bottom-right-radius: 4px; animation-delay: 1.1s; }

/* Kurs: lekcje i postęp */
.sbv-course { width: 72%; display: flex; flex-direction: column; gap: 7px; }
.sbv-course > i { height: 22px; border-radius: 8px; background: #f1efe6; position: relative; }
.sbv-course > i.is-done { background: #fff6bf; }
.sbv-course > i.is-done::before { content: '✓'; position: absolute; left: 9px; top: 2px; font-size: 12px; font-weight: 800; color: #6b5a00; }
.sbv-course > i.is-now { background: #111110; }
.sbv-prog { display: block; height: 6px; margin-top: 4px; border-radius: 3px; background: #ecebe3; overflow: hidden; }
.sbv-prog i { display: block; height: 100%; width: 0; background: #ffd700; animation: sbv-prog 5s ease-in-out infinite; }

/* animacje */
@keyframes sbv-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes sbv-type { 0% { width: 0; } 40%, 85% { width: 18ch; } 100% { width: 0; } }
@keyframes sbv-pop { 0%, 40% { opacity: .35; transform: scale(.97); } 50%, 90% { opacity: 1; transform: none; box-shadow: 0 10px 24px -16px rgba(0,0,0,.5); } 100% { opacity: .35; } }
@keyframes sbv-climb { 0%, 10% { top: 99px; } 45%, 85% { top: 0; } 100% { top: 99px; } }
@keyframes sbv-fill { 0%, 20% { background: #f1efe6; } 35%, 80% { background: #ffd700; } 100% { background: #f1efe6; } }
@keyframes sbv-node { 0%, 15% { background: #fff; color: #111110; } 25%, 45% { background: #ffd700; color: #111110; } 60%, 100% { background: #fff; } }
@keyframes sbv-dash { to { background-position: 7px 0; } }
@keyframes sbv-msg { 0%, 8% { opacity: 0; transform: translateY(8px); } 18%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sbv-prog { 0% { width: 10%; } 60%, 85% { width: 62%; } 100% { width: 10%; } }

@media (prefers-reduced-motion: reduce) {
  .sb-tile__scene *, .sb-tile__scene *::before, .sb-tile__scene *::after { animation: none !important; }
  .sbv-q { width: auto; border-right: 0; }
  .sbv-you { top: 0; }
}

@media (max-width: 1100px) {
  .sb-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 270px; }
  .sb-tile, .sb-tile--search, .sb-tile--feed, .sb-tile--rank, .sb-tile--calendar { grid-column: span 3; }
  .sb-tile--web { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 640px) {
  .sb-head { margin-bottom: 28px; text-align: left; }
  .sb-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; grid-auto-rows: auto; gap: 12px;
    margin: 0 -16px; padding: 4px 16px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .sb-grid::-webkit-scrollbar { display: none; }
  .sb-tile, .sb-tile--web, .sb-tile--search, .sb-tile--feed, .sb-tile--rank, .sb-tile--calendar { grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .sb-tile__link { height: 100%; }
  .sb-tile__scene { height: 170px; flex: none; }
  .sb-tile--web .sb-tile__scene { height: 170px; }
  .sb-tile.is-hero .sb-tile__title { font-size: 23px; }
  .sb-tile__meta, .sb-tile.is-hero .sb-tile__meta { padding: 0 20px 20px; }
  .sb-tile__go { opacity: 1; transform: none; width: 34px; height: 34px; right: 14px; bottom: 14px; }
  .sb-tile__text { padding-right: 34px; }
}

/* --- USŁUGI BENTO: scenki v2 (strony, Facebook, sklep, landing, filmy), wspólna pętla 7 s --- */
.sb-tile__scene em { font-style: normal; }
.sbx-flip { display: inline-block; height: 1.1em; line-height: 1.1em; overflow: hidden; vertical-align: bottom; }
.sbx-flip i { display: block; height: 1.1em; animation: sbx-flip 7s cubic-bezier(.6,0,.2,1) infinite; }
.sbx-count { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 9px 13px; border-radius: 14px; background: #fff; color: #111110; box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); animation: sbx-countpop 7s ease-in-out infinite; }
.sbx-count small { font-size: 10.5px; font-weight: 600; color: #6b6b68; white-space: nowrap; }
.sbx-count b { font-family: var(--f-heading); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.sbx-count.is-light { background: #111110; color: #ffd700; }
.sbx-count.is-light small { color: #b7b6ae; }


/* 2. Facebook i Instagram: feed przewija się do reklamy, przycisk pulsuje, lecą serduszka */
.sbx-phone { position: relative; width: 96px; height: 158px; padding: 6px; border-radius: 22px; background: #111110; box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); }
.f-strip { display: flex; flex-direction: column; gap: 6px; height: 100%; overflow: hidden; border-radius: 15px; }
.f-post { flex: none; height: 108px; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 12px; background: #262520; animation: sbx-feed 7s cubic-bezier(.6,0,.2,1) infinite; }
.f-post b { flex: 1; border-radius: 8px; background: linear-gradient(150deg, #5d6b7a, #2e3540); }
.f-post.is-b b { background: linear-gradient(150deg, #6f8a5e, #34452c); }
.f-post em { height: 5px; width: 70%; border-radius: 3px; background: #3a392f; }
.f-post.is-ad b { background: linear-gradient(150deg, #ffd700, #ff8a3d 55%, #e0457b); }
.f-tag { font-size: 7.5px; font-weight: 700; color: #b7b6ae; }
.f-post.is-ad .f-buy { width: auto; height: auto; align-self: stretch; padding: 4px 0; border-radius: 999px; background: #ffd700; color: #111110; font-size: 9.5px; font-weight: 800; text-align: center; animation: sbx-buy 7s ease-in-out infinite; }
.f-hearts { position: absolute; right: -8px; bottom: 40px; width: 26px; height: 90px; pointer-events: none; }
.f-hearts i { position: absolute; bottom: 0; left: 4px; font-size: 17px; color: #e0457b; opacity: 0; animation: sbx-heart 7s ease-out infinite; }
.f-hearts i:nth-child(2) { left: 14px; font-size: 13px; animation-name: sbx-heart2; }
.f-hearts i:nth-child(3) { left: 0; font-size: 12px; animation-name: sbx-heart3; }

/* 3. Sklep: dodanie do koszyka, produkt leci do koszyka, zamówienie opłacone */
.sbx-shop { position: relative; width: 310px; height: 160px; }
.s-card { position: absolute; left: 16px; top: 0; width: 126px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid #ecebe3; box-shadow: 0 14px 30px -22px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 6px; }
.s-img { height: 52px; border-radius: 9px; background: linear-gradient(135deg, #ffe680, #f0b400); }
.s-name { height: 6px; width: 72%; border-radius: 3px; background: #e2e0d6; }
.s-price { font-size: 12.5px; font-weight: 800; color: #111110; }
.s-add { padding: 5px 0; border-radius: 999px; background: #111110; color: #ffd700; font-size: 10px; font-weight: 800; text-align: center; animation: sbx-click-shop 7s ease-in-out infinite; }
.s-cursor { position: absolute; left: 70%; top: 70%; width: 16px; height: 20px; background: #111110; clip-path: polygon(0 0, 0 78%, 26% 60%, 44% 100%, 58% 94%, 40% 56%, 74% 56%); opacity: 0; animation: sbx-cursor-shop 7s ease-in-out infinite; }
.s-fly { position: absolute; left: 42px; top: 16px; width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #ffe680, #f0b400); opacity: 0; animation: sbx-fly 7s cubic-bezier(.5,0,.3,1) infinite; }
.s-cart { position: absolute; right: 22px; top: 6px; width: 50px; height: 50px; border-radius: 50%; background: #111110; color: #ffd700; display: inline-flex; align-items: center; justify-content: center; animation: sbx-cartbump 7s ease-in-out infinite; }
.s-cart b { position: absolute; top: -5px; right: -5px; min-width: 22px; padding: 0 5px; border-radius: 11px; background: #ffd700; color: #111110; font-size: 11.5px; font-weight: 800; text-align: center; height: 22px; line-height: 22px; }
.s-cart b.sbx-flip { display: inline-block; height: 22px; line-height: 22px; }
.s-cart .sbx-flip i { height: 22px; animation-name: sbx-flip22; }
.s-toast { position: absolute; right: 0; top: 74px; width: 140px; display: flex; align-items: center; gap: 8px; padding: 9px 11px; line-height: 1.3; border-radius: 12px; background: #fff; border: 1px solid #ecebe3; box-shadow: 0 14px 30px -18px rgba(0,0,0,.5); font-size: 11.5px; font-weight: 800; color: #111110; animation: sbx-toast 7s ease-in-out infinite; }
.s-toast i { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgba(31,157,85,.18); }

/* 4. Landing page: ruch z reklamy wpada na stronę i zamienia się w zapisy */
.sbx-land { position: relative; width: 320px; height: 160px; }
.l-src { position: absolute; left: 0; top: 66px; padding: 6px 10px; border-radius: 999px; background: #111110; color: #ffd700; font-size: 11px; font-weight: 800; }
.l-dots { position: absolute; left: 66px; top: 76px; width: 96px; height: 8px; }
.l-dots i { position: absolute; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: #e0b800; opacity: 0; animation: sbx-dot 2.4s linear infinite; }
.l-dots i:nth-child(2) { animation-delay: .48s; }
.l-dots i:nth-child(3) { animation-delay: .96s; }
.l-dots i:nth-child(4) { animation-delay: 1.44s; }
.l-dots i:nth-child(5) { animation-delay: 1.92s; }
.l-page { position: absolute; left: 160px; top: 14px; width: 84px; height: 130px; padding: 9px; border-radius: 12px; background: #fff; border: 1px solid #ecebe3; box-shadow: 0 14px 30px -22px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 8px; }
.l-h { height: 9px; border-radius: 5px; background: #111110; }
.l-t { flex: 1; border-radius: 5px; background: repeating-linear-gradient(#e7e5db 0 6px, transparent 6px 11px); }
.l-cta { height: 18px; border-radius: 999px; background: #ffd700; animation: sbx-cta 2.4s ease-in-out infinite; }
.sbx-land .sbx-count { right: 0; top: 46px; }

/* 5. Filmy i rolki: nagranie z napisami i oś montażu */
.sbx-video { position: relative; width: 330px; height: 170px; }
.v-reel { position: absolute; left: 6px; top: 4px; width: 94px; height: 162px; border-radius: 14px; background: linear-gradient(170deg, #4a4026, #1b1a14 70%); border: 2px solid #34332a; overflow: hidden; }
.v-reel::before { content: ''; position: absolute; left: 50%; top: 34%; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; background: rgba(255,215,0,.25); }
.v-reel::after { content: ''; position: absolute; left: 50%; top: 58%; width: 56px; height: 40px; margin-left: -28px; border-radius: 28px 28px 6px 6px; background: rgba(255,215,0,.18); }
.v-rec { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; gap: 4px; font-size: 8.5px; font-weight: 800; color: #fff; letter-spacing: .05em; }
.v-rec::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; animation: sbx-rec 1s steps(2) infinite; }
.v-cap { position: absolute; left: 4px; right: 4px; bottom: 14px; z-index: 1; text-align: center; line-height: 1.6; }
.v-cap i { display: inline-block; margin: 0 1px; padding: 1px 4px; border-radius: 4px; background: #ffd700; color: #111110; font-size: 10.5px; font-weight: 800; animation: sbx-word1 7s ease-out infinite; }
.v-cap i:nth-child(2) { animation-name: sbx-word2; }
.v-cap i:nth-child(3) { animation-name: sbx-word3; }
.v-edit { position: absolute; left: 116px; right: 0; top: 30px; padding: 10px; border-radius: 12px; background: #1b1a14; border: 1px solid #2c2b24; display: flex; flex-direction: column; gap: 8px; }
.v-track { position: relative; height: 18px; border-radius: 5px; background: #24231c; }
.v-track i { position: absolute; top: 0; height: 100%; border-radius: 5px; background: #ffd700; animation: sbx-clip1 7s cubic-bezier(.5,0,.2,1) infinite; }
.v-track i:nth-child(1) { left: 0; width: 30%; }
.v-track i:nth-child(2) { left: 32%; width: 36%; animation-name: sbx-clip2; }
.v-track i:nth-child(3) { left: 70%; width: 30%; animation-name: sbx-clip3; }
.v-track.is-b i { background: #ff8a3d; }
.v-track.is-b i:nth-child(1) { left: 8%; width: 40%; animation-name: sbx-clip2; }
.v-track.is-b i:nth-child(2) { left: 52%; width: 34%; animation-name: sbx-clip3; }
.v-track.is-c i { left: 0; width: 100%; background: repeating-linear-gradient(90deg, #6d6a5a 0 2px, transparent 2px 5px); animation-name: sbx-clip1; }
.v-head { position: absolute; top: 4px; bottom: 4px; left: 10px; width: 2px; border-radius: 1px; background: #ff3b3b; box-shadow: 0 0 0 3px rgba(255,59,59,.18); animation: sbx-head 7s linear infinite; }

/* pętla 7 s: 0–35% budowa, ~32–50% akcja, 58% licznik, 92–100% powrót */
@keyframes sbx-flip { 0%, 56% { transform: none; } 62%, 92% { transform: translateY(-1.1em); } 100% { transform: none; } }
@keyframes sbx-flip22 { 0%, 56% { transform: none; } 62%, 92% { transform: translateY(-22px); } 100% { transform: none; } }
@keyframes sbx-countpop { 0%, 55% { transform: none; } 59% { transform: scale(1.08); } 64%, 100% { transform: none; } }
@keyframes sbx-feed { 0%, 12% { transform: none; } 24%, 32% { transform: translateY(-114px); } 46%, 90% { transform: translateY(-228px); } 100% { transform: none; } }
@keyframes sbx-buy { 0%, 50% { transform: none; } 55% { transform: scale(1.08); } 60% { transform: none; } 65% { transform: scale(1.08); } 70%, 100% { transform: none; } }
@keyframes sbx-heart { 0%, 52% { opacity: 0; transform: translateY(0) scale(.6); } 57% { opacity: 1; transform: translateY(-10px) scale(1); } 76%, 100% { opacity: 0; transform: translateY(-80px) scale(.9); } }
@keyframes sbx-heart2 { 0%, 57% { opacity: 0; transform: translateY(0) scale(.6); } 62% { opacity: 1; transform: translateY(-10px); } 80%, 100% { opacity: 0; transform: translateY(-70px); } }
@keyframes sbx-heart3 { 0%, 62% { opacity: 0; transform: translateY(0) scale(.6); } 67% { opacity: 1; transform: translateY(-8px); } 86%, 100% { opacity: 0; transform: translateY(-64px); } }
@keyframes sbx-cursor-shop { 0%, 6% { opacity: 0; left: 72%; top: 80%; } 12% { opacity: 1; left: 72%; top: 80%; } 28% { left: 30%; top: 82%; transform: none; } 31% { transform: scale(.8); } 34%, 46% { opacity: 1; left: 30%; top: 82%; transform: none; } 54%, 100% { opacity: 0; left: 30%; top: 82%; } }
@keyframes sbx-click-shop { 0%, 30% { background: #111110; color: #ffd700; } 32%, 40% { background: #ffd700; color: #111110; } 46%, 100% { background: #111110; color: #ffd700; } }
@keyframes sbx-fly { 0%, 33% { opacity: 0; transform: none; } 36% { opacity: 1; transform: none; } 54% { opacity: 1; transform: translate(206px, -6px) scale(.4); } 57%, 100% { opacity: 0; transform: translate(206px, -6px) scale(.3); } }
@keyframes sbx-cartbump { 0%, 54% { transform: none; } 58% { transform: scale(1.15); } 63%, 100% { transform: none; } }
@keyframes sbx-toast { 0%, 62% { opacity: 0; transform: translateY(10px); } 68%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes sbx-dot { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(96px) scale(.5); } }
@keyframes sbx-cta { 0%, 70% { transform: none; box-shadow: none; } 85% { transform: scale(1.06); box-shadow: 0 0 0 5px rgba(255,215,0,.3); } 100% { transform: none; box-shadow: none; } }
@keyframes sbx-rec { 50% { opacity: .2; } }
@keyframes sbx-word1 { 0%, 14% { opacity: 0; transform: translateY(6px); } 20%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sbx-word2 { 0%, 26% { opacity: 0; transform: translateY(6px); } 32%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sbx-word3 { 0%, 38% { opacity: 0; transform: translateY(6px); } 44%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sbx-clip1 { 0%, 4% { opacity: 0; transform: translateX(30px); } 14%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sbx-clip2 { 0%, 14% { opacity: 0; transform: translateX(30px); } 24%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sbx-clip3 { 0%, 24% { opacity: 0; transform: translateX(30px); } 34%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sbx-head { 0%, 30% { left: 10px; } 92% { left: calc(100% - 12px); } 100% { left: calc(100% - 12px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .s-cursor, .s-fly { display: none; }
  .f-strip .f-post { transform: translateY(-228px); }
}
@media (max-width: 640px) {
  .sbx-shop, .sbx-land, .sbx-video { transform: scale(.88); }
  .sbx-phone { transform: scale(.92); }
}

/* --- USŁUGI BENTO: strony dla firm, laptop i telefon z przykładową stroną (pętla 9 s) --- */
.sbx-site { position: relative; width: 470px; height: 400px; flex: none; }
.sbx-site u, .sbx-site s { text-decoration: none; }
.sbx-site small { font-size: inherit; }
.ss-laptop { position: absolute; left: 22px; top: 44px; width: 384px; transition: transform .6s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 100%; }
.ss-screen { display: block; height: 240px; overflow: hidden; border: 8px solid #26251f; border-bottom-width: 10px; border-radius: 14px 14px 0 0; background: #fff; }
.ss-base { display: block; width: 112%; height: 12px; margin-left: -6%; border-radius: 0 0 12px 12px; background: linear-gradient(#3a392f, #24231d); }
.ss-phone { position: absolute; right: 2px; top: 150px; width: 108px; height: 214px; border: 6px solid #0b0b0a; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: -18px 24px 40px -22px rgba(0,0,0,.75); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ss-pscreen { display: block; height: 100%; overflow: hidden; }
.sb-tile--web .sb-tile__link:hover .ss-laptop { transform: perspective(900px) rotateY(-7deg) rotateX(3deg); }
.sb-tile--web .sb-tile__link:hover .ss-phone { transform: perspective(700px) rotateY(10deg) translateY(-8px); }

/* przykładowa strona firmy */
.ss-page { display: flex; flex-direction: column; gap: 8px; padding: 0 10px 12px; font-size: 8px; line-height: 1.3; color: #1d2430; animation: ss-scroll 9s cubic-bezier(.45,0,.25,1) infinite; }
.ss-nav { display: flex; align-items: center; gap: 8px; height: 24px; margin: 0 -10px; padding: 0 10px; border-bottom: 1px solid #edf0f3; }
.ss-nav b { margin-right: auto; font-size: 9px; font-weight: 800; color: #0f3d63; }
.ss-nav b em { color: #1e88e5; }
.ss-nav i { width: 20px; height: 4px; border-radius: 2px; background: #d8dee5; }
.ss-nav u { padding: 3px 7px; border-radius: 999px; background: #1e88e5; color: #fff; font-size: 7px; font-weight: 800; }
.ss-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; align-items: center; height: 104px; padding: 8px; border-radius: 9px; background: linear-gradient(120deg, #eaf4fd, #f6fafe); }
.ss-hero__txt { display: flex; flex-direction: column; gap: 5px; }
.ss-hero__txt b { font-size: 11.5px; font-weight: 800; line-height: 1.2; color: #0f3d63; }
.ss-hero__txt small { color: #f5a400; letter-spacing: .5px; }
.ss-hero__txt small em { color: #55606c; font-weight: 700; }
.ss-hero__txt u { align-self: flex-start; padding: 4px 8px; border-radius: 999px; background: #ffb400; color: #1d2430; font-size: 7.5px; font-weight: 800; }
.ss-hero__img { height: 100%; border-radius: 8px; background: linear-gradient(0deg, rgba(15,61,99,.35), transparent 55%), radial-gradient(120% 90% at 80% 10%, #cfe6fa 0%, transparent 55%), linear-gradient(160deg, #7fb3dc, #3f7fb2 55%, #24557f); }
.ss-label { font-size: 8px; font-weight: 800; color: #0f3d63; }
.ss-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ss-cards i { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 7px; background: #f3f6f9; font-size: 7.5px; font-weight: 700; }
.ss-cards s { width: 14px; height: 14px; border-radius: 4px; background: #1e88e5; opacity: .85; }
.ss-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ss-gallery i { height: 44px; border-radius: 7px; background: linear-gradient(150deg, #c7d3df, #8ea4b8); }
.ss-gallery i:nth-child(2) { background: linear-gradient(150deg, #e6d6c3, #b99c7c); }
.ss-gallery i:nth-child(3) { background: linear-gradient(150deg, #cfe0d2, #8fb197); }
.ss-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ss-reviews i { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 7px; border: 1px solid #edf0f3; }
.ss-reviews small { color: #f5a400; }
.ss-reviews s { height: 3px; border-radius: 2px; background: #d8dee5; }
.ss-reviews s + s { width: 70%; }
.ss-form { display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 9px; background: #0f3d63; }
.ss-form b { color: #fff; font-size: 9px; }
.ss-form i { height: 11px; border-radius: 4px; background: rgba(255,255,255,.9); }
.ss-form u { align-self: flex-start; padding: 4px 9px; border-radius: 999px; background: #ffb400; color: #1d2430; font-size: 7.5px; font-weight: 800; animation: ss-send 9s ease-in-out infinite; }

/* wersja na telefon */
.ss-page.is-m { padding: 0 7px 10px; gap: 7px; font-size: 7px; animation-name: ss-scroll-m; }
.ss-page.is-m .ss-nav { height: 20px; margin: 0 -7px; padding: 0 7px; }
.ss-burger { width: 10px; height: 7px; border-top: 2px solid #0f3d63; border-bottom: 2px solid #0f3d63; background: none !important; border-radius: 0 !important; }
.ss-page.is-m .ss-hero { grid-template-columns: 1fr; height: auto; padding: 6px; gap: 6px; }
.ss-page.is-m .ss-hero__img { height: 48px; }
.ss-page.is-m .ss-hero__txt b { font-size: 9.5px; }
.ss-page.is-m .ss-cards { grid-template-columns: 1fr; gap: 4px; }
.ss-page.is-m .ss-cards i { flex-direction: row; align-items: center; gap: 5px; padding: 5px; }
.ss-page.is-m .ss-cards s { width: 10px; height: 10px; }
.ss-page.is-m .ss-gallery { grid-template-columns: 1fr 1fr; }
.ss-page.is-m .ss-gallery i { height: 36px; }
.ss-page.is-m .ss-reviews { grid-template-columns: 1fr; }

/* plakietki z efektami */
.ss-badge { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: #fff; color: #111110; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.ss-badge b { font-family: var(--f-heading); font-size: 18px; font-weight: 800; line-height: 1; }
.ss-badge small { font-size: 10.5px; font-weight: 700; color: #55554f; line-height: 1.2; }
.ss-speed { right: 0; top: 0; padding-left: 8px; }
.ss-speed svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.ss-speed circle { fill: none; stroke: #e7e5db; stroke-width: 4; }
.ss-speed .ss-ring { stroke: #1f9d55; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 1.9; animation: ss-ring 9s ease-out infinite; }
.ss-speed b { position: absolute; left: 8px; width: 34px; text-align: center; font-size: 11px; color: #1f9d55; }
.ss-speed small { margin-left: 0; }
.ss-rank { left: 14px; top: 8px; background: #ffd700; animation: ss-rank 9s ease-out infinite; }
.ss-rank small { color: #3d3500; }
.ss-notes { position: absolute; left: 22px; bottom: 0; display: flex; flex-direction: column; gap: 7px; }
.ss-notes i { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 13px; background: #fff; color: #111110; font-size: 11.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 18px 40px -16px rgba(0,0,0,.65); animation: ss-note1 9s cubic-bezier(.2,.8,.2,1) infinite; }
.ss-notes i + i { animation-name: ss-note2; }
.ss-notes em { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgba(31,157,85,.2); }

@keyframes ss-scroll { 0%, 10% { transform: none; } 58%, 90% { transform: translateY(-212px); } 100% { transform: none; } }
@keyframes ss-scroll-m { 0%, 10% { transform: none; } 58%, 90% { transform: translateY(-206px); } 100% { transform: none; } }
@keyframes ss-ring { 0%, 4% { stroke-dashoffset: 94.25; } 30%, 92% { stroke-dashoffset: 1.9; } 100% { stroke-dashoffset: 94.25; } }
@keyframes ss-rank { 0%, 22% { opacity: 0; transform: translateY(10px) scale(.95); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ss-send { 0%, 58% { transform: none; } 61% { transform: scale(.9); } 64% { transform: scale(1.08); background: #1f9d55; color: #fff; } 72%, 100% { transform: none; } }
@keyframes ss-note1 { 0%, 63% { opacity: 0; transform: translateY(14px) scale(.96); } 67%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes ss-note2 { 0%, 71% { opacity: 0; transform: translateY(14px) scale(.96); } 75%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .ss-notes i, .ss-rank { opacity: 1; }
}
@media (max-width: 1100px) {
  .sb-tile--web .sb-tile__scene { min-height: 300px; }
}
@media (max-width: 640px) {
  .sb-tile--web .sb-tile__scene { height: 230px; }
  .sbx-site { transform: scale(.6); margin: -80px -94px; }
}

/* =========================================================
   WPIS NA BLOGU (single.php, inc/blog-single.php, assets/js/post.js)
   ========================================================= */
.ps-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 1000; height: 3px; pointer-events: none; }
.ps-progress i { display: block; height: 100%; background: #ffd700; transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }
.ps-layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; justify-content: space-between; gap: 56px; max-width: 1100px; padding-top: 48px; padding-bottom: 72px; }
.ps-side__sticky { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }

/* spis treści */
.ps-toc { padding: 20px 20px 16px; border-radius: 18px; background: #fff; border: 1px solid #e6e4da; }
.ps-toc__title { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a7a1c; }
.ps-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 360px); overflow: auto; }
.ps-toc li.is-sub a { padding-left: 22px; font-size: 13px; }
.ps-toc a { display: block; padding: 6px 10px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.4; color: #55554f; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
.ps-toc a:hover { color: #111110; background: #f7f6f1; }
.ps-toc a.is-active { color: #111110; font-weight: 700; border-left-color: #ffd700; background: #fffbe0; }
.ps-toc--mobile { display: none; }
.ps-side__card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: #111110; color: #f2f2f0; text-decoration: none; transition: transform .3s ease; }
.ps-side__card:hover { transform: translateY(-3px); }
.ps-side__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd700; }
.ps-side__card strong { font-family: var(--f-heading); font-size: 18px; line-height: 1.3; }
.ps-side__go { margin-top: 6px; font-size: 14px; font-weight: 700; color: #ffd700; }

/* treść */
.ps-body { font-size: 18px; line-height: 1.75; color: #2e2e2b; overflow-wrap: anywhere; }
.ps-body > * { margin-top: 0; margin-bottom: 1.15em; }
.ps-body > div > p, .ps-body > div > ul, .ps-body > div > ol { margin-bottom: 1.15em; }
.ps-body p { margin: 0 0 1.15em; }
.ps-body h2, .ps-body h3, .ps-body h4 { scroll-margin-top: 110px; font-family: var(--f-heading); color: #111110; letter-spacing: -0.01em; line-height: 1.25; }
.ps-body h2 { margin: 1.9em 0 .6em; font-size: clamp(25px, 2.4vw, 30px); }
.ps-body h3 { margin: 1.7em 0 .55em; font-size: clamp(21px, 2vw, 24px); }
.ps-body h4 { margin: 1.6em 0 .5em; font-size: clamp(20px, 1.8vw, 22px); }
.ps-body h2:first-child, .ps-body h3:first-child, .ps-body h4:first-child { margin-top: 0; }
.ps-body a { color: #6b5a00; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ps-body a:hover { color: #111110; }
.ps-body strong, .ps-body b { color: #111110; }
.ps-body ul, .ps-body ol { padding-left: 1.3em; }
.ps-body li { margin-bottom: .45em; }
.ps-body li::marker { color: #c9a800; }
.ps-body blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid #ffd700; border-radius: 0 14px 14px 0; background: #f7f6f1; font-size: 19px; color: #111110; }
.ps-body img { display: inline-block; max-width: 100%; height: auto; border-radius: 14px; }
.ps-body img.aligncenter, .ps-body .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.ps-body figure { margin: 1.6em 0; }
.ps-body figcaption, .ps-body .wp-caption-text { margin-top: 8px; font-size: 14px; color: #6b6b68; text-align: center; }
.ps-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ps-body th, .ps-body td { padding: 10px 12px; border-bottom: 1px solid #e6e4da; text-align: left; }
.ps-body iframe, .ps-body video { max-width: 100%; border-radius: 14px; }
.ps-body .wp-block-embed__wrapper iframe, .ps-body iframe[src*="youtube"] { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.ps-toc-manual[hidden] { display: none !important; }

/* udostępnianie, autor, zachęta */
.ps-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #e6e4da; font-size: 14px; color: #6b6b68; }
.ps-share span { margin-right: 4px; font-weight: 700; color: #111110; }
.ps-share a, .ps-share button { padding: 8px 14px; border-radius: 999px; border: 1px solid #dedcd3; background: #fff; font: inherit; font-weight: 700; color: #111110; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.ps-share a:hover, .ps-share button:hover { border-color: #111110; background: #fffbe0; }
.ps-author { display: flex; gap: 20px; margin-top: 36px; padding: 24px; border-radius: 20px; background: #f7f6f1; }
.ps-author .ps-avatar { flex-shrink: 0; width: 76px; height: 76px; }
.ps-author__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a7a1c; }
.ps-author strong { display: block; margin: 2px 0 6px; font-family: var(--f-heading); font-size: 20px; color: #111110; }
.ps-author p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.6; color: #55554f; }
.ps-author a { font-size: 15px; font-weight: 700; color: #6b5a00; text-decoration: none; }
.ps-author a:hover { color: #111110; }
.ps-cta { margin-top: 28px; padding: 34px 32px; border-radius: 24px; background: radial-gradient(120% 120% at 100% 0%, #2a2913 0%, #111110 55%); color: #f2f2f0; }
.ps-cta__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd700; }
.ps-cta h2 { margin: 10px 0 20px; max-width: 30ch; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; color: #fff; }
.ps-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ps-cta .btn--ghost { color: #f2f2f0; border-color: rgba(255,255,255,.35); }
.ps-cta .btn--ghost:hover { border-color: #ffd700; color: #ffd700; }

/* powiązane wpisy: trzy równe karty */
.ps-related .blog-band__grid.ps-related__grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
.ps-related .blog-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.ps-related .blog-card__thumb { aspect-ratio: 16 / 9; }
.ps-related .blog-card:not(.blog-card--lead) .blog-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }

@media (max-width: 1024px) {
  .ps-layout { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 760px; }
  .ps-side { display: none; }
  .ps-toc--mobile { display: block; margin-bottom: 28px; padding: 0; }
  .ps-toc--mobile[hidden] { display: none; }
  .ps-toc--mobile summary { padding: 16px 20px; font-weight: 800; color: #111110; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
  .ps-toc--mobile summary::-webkit-details-marker { display: none; }
  .ps-toc--mobile summary::after { content: '+'; font-size: 20px; line-height: 1; color: #8a7a1c; }
  .ps-toc--mobile[open] summary::after { content: '−'; }
  .ps-toc--mobile ol { padding: 0 12px 14px; max-height: none; }
  .ps-related .blog-band__grid.ps-related__grid { grid-template-columns: 1fr; }
  .ps-related .blog-card { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: none; }
  .ps-related .blog-card__thumb { aspect-ratio: auto; }
}
@media (max-width: 640px) {
    .ps-layout { padding-top: 32px; padding-bottom: 48px; }
  .ps-body { font-size: 16.5px; line-height: 1.7; }
  .ps-body img { border-radius: 10px; }
  .ps-author { flex-direction: column; gap: 12px; padding: 20px; }
  .ps-cta { padding: 26px 22px; border-radius: 20px; }
  .ps-cta__btns .btn { flex: 1 1 100%; justify-content: center; }
  .ps-related .blog-card { grid-template-columns: 96px minmax(0, 1fr); }
}

/* --- nagłówek wpisu: ciemne tło, duże zdjęcie pod tytułem --- */
.ps-head { position: relative; padding: 128px 0 0; background: #0f1010; color: #f2f2f0; overflow: hidden; }
.ps-head::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 0%, rgba(255,215,0,.16), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(255,215,0,.06), transparent 70%); pointer-events: none; }
.ps-head__in { position: relative; max-width: 1100px; display: flex; flex-direction: column; }
.ps-head__text { max-width: 860px; }
.ps-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 700; }
.ps-crumbs a { color: #b7b6ae; text-decoration: none; }
.ps-crumbs a:hover { color: #ffd700; }
.ps-crumbs span { color: #55554f; }
.ps-crumbs a.ps-crumbs__cat { padding: 5px 12px; border-radius: 999px; background: #ffd700; color: #111110; }
.ps-title { margin: 0 0 18px; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -0.025em; color: #fff; }
.ps-lead { margin: 0 0 24px; max-width: 64ch; font-size: 18.5px; line-height: 1.6; color: #b7b6ae; }
.ps-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.ps-meta__author { display: inline-flex; align-items: center; gap: 10px; margin-right: 8px; }
.ps-meta__author > span { display: flex; flex-direction: column; line-height: 1.2; }
.ps-meta__author b { color: #fff; font-size: 15px; }
.ps-meta__author small { font-size: 12px; color: #8f8e86; }
.ps-meta__pill { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #d9d8d0; }
.ps-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: #2a2a26; border: 2px solid #ffd700; }
.ps-cover { position: relative; margin: 40px 0 -1px; }
.ps-cover img { display: block; width: 100%; height: auto; max-height: 500px; object-fit: cover; border-radius: 26px 26px 0 0; }
.ps-head:not(:has(.ps-cover)) { padding-bottom: 56px; }

@media (max-width: 640px) {
  .ps-head { padding-top: 104px; }
  .ps-title { font-size: 30px; }
  .ps-lead { font-size: 16.5px; }
  .ps-meta { gap: 8px; font-size: 13px; }
  .ps-meta__author { width: 100%; margin-bottom: 4px; }
  .ps-meta__pill { padding: 6px 11px; }
  .ps-cover { margin-top: 28px; }
  .ps-cover img { border-radius: 18px 18px 0 0; max-height: 260px; }
}

/* =========================================================
   BLOG: lista wpisów i kategorie (template-parts/blog-list.php)
   ========================================================= */
.bl-head { position: relative; padding: 140px 0 56px; background: #0f1010; color: #f2f2f0; overflow: hidden; }
.bl-head::before { content: ''; position: absolute; inset: 0; background: radial-gradient(55% 80% at 90% 0%, rgba(255,215,0,.16), transparent 60%); pointer-events: none; }
.bl-head__in { position: relative; max-width: 1100px; }
.bl-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ffd700; }
.bl-title { margin: 14px 0 16px; max-width: 18ch; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.bl-lead { margin: 0 0 30px; max-width: 60ch; font-size: 18px; line-height: 1.6; color: #b7b6ae; }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #e4e3dc; font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.bl-chips a small { font-size: 12px; font-weight: 700; color: #8f8e86; }
.bl-chips a:hover { border-color: #ffd700; color: #fff; }
.bl-chips a.is-on { background: #ffd700; border-color: #ffd700; color: #111110; }
.bl-chips a.is-on small { color: #5c4d00; }

.bl-list { padding-top: 56px; }
.bl-list .container { max-width: 1180px; }
.bl-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid #e6e4da; color: inherit; text-decoration: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.bl-card:hover { transform: translateY(-4px); border-color: #d6d3c4; box-shadow: 0 30px 60px -36px rgba(17,17,16,.5); }
.bl-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f1efe6; }
.bl-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.bl-card:hover .bl-card__img img { transform: scale(1.04); }
.bl-card__body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 22px; }
.bl-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: #8a8a83; }
.bl-card__meta b { padding: 3px 10px; border-radius: 999px; background: #fff6bf; color: #5c4d00; font-weight: 800; }
.bl-card__title { font-family: var(--f-heading); font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: #111110; }
.bl-card__excerpt { font-size: 14.5px; line-height: 1.55; color: #5d5d57; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 800; color: #111110; }
.bl-card:hover .bl-card__more { color: #6b5a00; }

.bl-card--lead { display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: 28px; border-radius: 26px; }
.bl-card--lead .bl-card__img { aspect-ratio: auto; min-height: 380px; }
.bl-card--lead .bl-card__body { justify-content: center; gap: 14px; padding: 40px 44px; }
.bl-card--lead .bl-card__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.bl-card--lead .bl-card__excerpt { font-size: 16px; -webkit-line-clamp: 4; }
.bl-card--lead .bl-card__more { margin-top: 8px; display: inline-flex; gap: 6px; align-self: flex-start; padding: 12px 20px; border-radius: 999px; background: #ffd700; }

.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bl-list .nav-links { margin-top: 48px; }
.bl-list .nav-links a, .bl-list .nav-links span { border-radius: 999px; min-width: 44px; min-height: 44px; color: #3d3d3a; }
.bl-list .nav-links a:hover { border-color: #111110; color: #111110; }
.bl-list .nav-links .current { background: #111110; border-color: #111110; color: #ffd700; }
.bl-empty { padding: 40px 0; text-align: center; color: #6b6b68; }

.bl-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 32px 36px; border-radius: 26px; background: radial-gradient(120% 140% at 100% 0%, #2a2913 0%, #111110 55%); color: #f2f2f0; }
.bl-cta__eyebrow { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd700; }
.bl-cta strong { font-family: var(--f-heading); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; color: #fff; }
.bl-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.bl-cta .btn--ghost { color: #f2f2f0; border-color: rgba(255,255,255,.35); }
.bl-cta .btn--ghost:hover { border-color: #ffd700; color: #ffd700; }

@media (max-width: 1024px) {
  .bl-grid { grid-template-columns: repeat(2, 1fr); }
  .bl-card--lead { grid-template-columns: 1fr; }
  .bl-card--lead .bl-card__img { min-height: 0; aspect-ratio: 16 / 9; }
  .bl-card--lead .bl-card__body { padding: 26px 28px 30px; }
  .bl-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .bl-head { padding: 112px 0 36px; }
  .bl-title { font-size: 34px; }
  .bl-lead { font-size: 16.5px; margin-bottom: 22px; }
  .bl-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .bl-chips::-webkit-scrollbar { display: none; }
  .bl-chips a { flex-shrink: 0; }
  .bl-list { padding-top: 32px; }
  .bl-grid { grid-template-columns: 1fr; gap: 16px; }
  .bl-card--lead { margin-bottom: 16px; border-radius: 22px; }
  .bl-card--lead .bl-card__body { padding: 20px 22px 24px; }
  .bl-card--lead .bl-card__title { font-size: 24px; }
  .bl-cta { padding: 26px 22px; margin-top: 40px; }
  .bl-cta__btns .btn { flex: 1 1 100%; justify-content: center; }
}

/* Wstępny brief (strony i sklepy): samo okno, bez paska pod cennikiem */
.qc-band--brief { padding: 0; margin: 0; background: none; }

/* Proces zakupu (koszyk, kasa): nagłówek bez menu, logo jak zwykle i przycisk powrotu po prawej, skromna stopka. */
.site-header--checkout .header-inner { justify-content: space-between; }
.site-header--checkout .site-brand { pointer-events: none; }
.co-back { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px 9px 12px; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-full); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: color 200ms ease, border-color 200ms ease, background 200ms ease; }
.co-back:hover { color: var(--c-yellow); border-color: var(--c-yellow); background: rgba(255,255,255,0.04); }
.co-back__short { display: none; }
.site-footer--checkout { padding: 28px 0; }
.site-footer--checkout .footer-bottom { margin: 0; padding: 0; border: 0; }
@media (max-width: 560px) {
  .co-back { padding: 8px 12px 8px 8px; font-size: 13px; }
  .co-back__long { display: none; }
  .co-back__short { display: inline; }
}

/* Oferta dodatkowa w kasie (wtyczka Checkout Upsell Funnel, VillaTheme): karta w stylu strony zamiast suwaka z czerwonym licznikiem.
   Nadpisujemy tylko wygląd, logika i ustawienia zostają we wtyczce. */
body .viwcuf-checkout-funnel-container { margin: 0 0 22px; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-wrap { padding: 18px; border: 1px solid #f1d75b !important; border-radius: 18px !important; background: #fffbea !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-element1-wrap { order: 2; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-wrap { display: flex; flex-direction: column; gap: 12px; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-wrap .vi-wcuf-us-shortcode-countdown-wrap { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; color: #6b6a64 !important; font-size: 12px !important; font-weight: 500; line-height: 1.4; text-transform: none; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-wrap .vi-wcuf-us-shortcode-countdown-wrap * { color: inherit !important; font-size: inherit !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-progress_bar-wrap { display: none !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-countdown-before-wrap,
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-countdown-container-wrap,
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-countdown-after-wrap { display: inline; margin: 0; padding: 0; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-header-wrap { padding: 0 !important; border: 0 !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-title-wrap { max-width: 100% !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-title-wrap,
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-title-wrap * { margin: 0; color: #111110 !important; font-family: var(--f-heading); font-size: 17px !important; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
/* Suwak zamieniamy na zwykłą listę kart. */
body .viwcuf-checkout-funnel-container .vi-wcuf_slider-viewport { overflow: visible !important; height: auto !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-products-wrap { display: grid !important; gap: 10px; width: auto !important; transform: none !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-wrap-wrap { width: auto !important; margin: 0 !important; float: none !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf_slider-direction-nav { display: none !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product { display: grid !important; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 12px; border-radius: 14px !important; background: #fff !important; box-shadow: 0 8px 22px -16px rgba(0,0,0,0.35); text-align: left; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-top { grid-row: span 2; width: 64px; height: 64px; padding: 0 !important; border-radius: 10px !important; overflow: hidden; background: #f4f3ef; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-top img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-desc { padding: 0 !important; color: #111110 !important; font-size: 14px !important; font-weight: 600; line-height: 1.35; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-desc .woocommerce-loop-product__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; padding: 0; font-size: inherit; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-shortcode-element-wrap { margin: 0 !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-controls .price { order: 1; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-controls .vi-wcuf-us-cart { order: 2; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-controls { display: flex !important; flex-wrap: wrap; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px 10px; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-cart, body .viwcuf-checkout-funnel-container .vi-wcuf-us-cart-form { width: auto !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-controls .price { display: flex; align-items: baseline; gap: 6px; margin: 0; font-size: 15px; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-controls .price del { color: #8b8a84; font-size: 13px; font-weight: 400; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-controls .price ins { color: #111110; font-weight: 800; text-decoration: none; }
/* Pole wtyczki zamieniamy na przycisk „Dodaj”, po kliknięciu „Dodane”. */
body .viwcuf-checkout-funnel-container .vi-wcuf-us-checkbox { display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; height: auto !important; min-height: 34px; margin: 0 !important; padding: 0 14px !important; border: 0 !important; border-radius: 999px !important; background: var(--c-yellow) !important; color: #111 !important; font-family: var(--f-heading) !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; white-space: nowrap; cursor: pointer; transition: transform 150ms ease, box-shadow 150ms ease; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-checkbox::before { display: none !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-checkbox::after { content: "+ Dodaj"; position: static !important; font-size: 13px !important; display: inline !important; width: auto !important; height: auto !important; border: 0 !important; background: none !important; transform: none !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-checkbox:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(255,215,0,0.9); }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-checkbox.vi-wcuf-us-checkbox-checked { background: #111110 !important; color: #fff !important; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-checkbox.vi-wcuf-us-checkbox-checked::after { content: "✓ Dodane"; }
body .viwcuf-checkout-funnel-container .vi-wcuf-us-product-bt-atc-loading { opacity: 0.6; pointer-events: none; }

/* Kasa: błędy formularza. WooCommerce wstawia listę błędów na początek formularza (siatki), więc rozciągamy ją na całą szerokość
   nad oboma kolumnami. Komunikaty pod polami małe i czerwone. */
.checkout-grid > .woocommerce-NoticeGroup,
.checkout-grid > .woocommerce-error,
.checkout-grid > .woocommerce-message,
.checkout-grid > .woocommerce-info { grid-column: 1 / -1; }
.checkout-grid > .woocommerce-NoticeGroup .woocommerce-error,
.checkout-body .woocommerce-error { margin: 0; padding: 16px 20px; border: 0; border-radius: 14px; background: #fff1f0; color: #9b1c12; font-size: 14.5px; line-height: 1.55; }
.checkout-body .woocommerce-error li { margin: 0; padding: 0; }
.checkout-body .woocommerce-error li + li { margin-top: 4px; }
.checkout-body .woocommerce-error strong { font-weight: 600; }
.checkout-body .woocommerce-error a { color: inherit; text-decoration: none; }
.checkout-body .checkout-inline-error-message { margin: 6px 0 0 !important; padding: 0; color: #c62828 !important; font-size: 13px !important; line-height: 1.4 !important; }
.checkout-body .woocommerce-invalid input.input-text,
.checkout-body .woocommerce-invalid select { border-color: #e57373 !important; }

/* Kasa: kod rabatowy w podsumowaniu (functions.php, adski_checkout_coupon_inline). */
.co-coupon { margin: 4px 0 18px; }
.co-coupon__toggle { padding: 0; border: 0; background: none; color: var(--c-text); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.co-coupon__toggle:hover { color: #8a6a00; }
.co-coupon__box { display: flex; gap: 8px; margin-top: 10px; }
.co-coupon__box[hidden] { display: none; }
.co-coupon__box .input-text { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--c-border); border-radius: 12px; background: #fff; font-size: 15px; text-transform: uppercase; }
.co-coupon__box .input-text::placeholder { text-transform: none; }
.co-coupon__apply { flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: #111110; color: #fff; font-family: var(--f-heading); font-size: 14px; font-weight: 700; cursor: pointer; }
.co-coupon__apply.is-loading { opacity: 0.6; }
.co-coupon__msg:empty { display: none; }
.co-coupon__msg { margin-top: 10px; }
.co-coupon__msg .woocommerce-error, .co-coupon__msg .woocommerce-message, .co-coupon__msg .woocommerce-info { margin: 0; padding: 10px 14px; border: 0; border-radius: 10px; font-size: 13.5px; }
.co-coupon__msg .woocommerce-message { background: #effaf1; color: #1b5e20; }
.co-coupon__msg .woocommerce-error { background: #fff1f0; color: #9b1c12; }

/* Płatność (form-pay.php) i podziękowanie (thankyou.php): dwie kolumny jak w kasie, karta podsumowania (order-summary.php). */
.pay-grid, .ty-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; margin-top: 16px; }
.pay-panel__title { margin: 0 0 6px !important; }
.pay-panel__lead { margin: 0 0 20px; color: var(--c-muted); font-size: 15px; line-height: 1.6; }
.pay-grid__summary, .ty-grid__summary { position: sticky; top: 96px; }
.order-card { padding: 26px; border: 1px solid var(--c-border); border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -44px rgba(0,0,0,0.35); }
.order-card__title { margin: 0 0 16px; font-size: 20px; letter-spacing: -0.02em; }
.order-card__items { display: grid; gap: 14px; margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--c-border); list-style: none; }
.order-card__item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.order-card__thumb { width: 52px; height: 52px; overflow: hidden; border-radius: 10px; background: var(--c-surface); }
.order-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-card__name { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.order-card__name small { margin-left: 4px; color: var(--c-muted); font-weight: 500; }
.order-card__name .wc-item-meta { margin: 4px 0 0; padding: 0; color: var(--c-muted); font-size: 12.5px; font-weight: 400; list-style: none; }
.order-card__name .wc-item-meta p { display: inline; margin: 0; }
.order-card__price { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.order-card__totals { display: grid; gap: 8px; margin: 16px 0 0; }
.order-card__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.order-card__row dt { color: var(--c-muted); }
.order-card__row dd { margin: 0; text-align: right; }
.order-card__row dd small, .order-card__row dd .includes_tax { display: block; color: var(--c-muted); font-size: 12px; font-weight: 400; }
.order-card__row--total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--c-border); }
.order-card__row--total dt { color: var(--c-text); font-weight: 700; }
.order-card__row--total dd { font-family: var(--f-heading); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.order-card__meta { display: grid; gap: 8px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--c-border); font-size: 13.5px; }
.order-card__meta div { display: flex; justify-content: space-between; gap: 16px; }
.order-card__meta dt { color: var(--c-muted); }
.order-card__meta dd { margin: 0; text-align: right; word-break: break-word; }

.ty-card { padding: 34px; border-radius: 22px; background: #fff; border: 1px solid var(--c-border); }
.ty-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; }
.ty-card--ok .ty-card__icon { background: #e8f7ec; color: #1f7a3a; }
.ty-card--wait .ty-card__icon { background: #fff6cc; color: #8a6a00; }
.ty-card--error .ty-card__icon { background: #fff1f0; color: #b3261e; }
.ty-card h2 { margin: 0 0 10px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.025em; }
.ty-card > p { margin: 0; max-width: 560px; color: var(--c-muted); font-size: 16px; line-height: 1.6; }
.ty-card > p strong { color: var(--c-text); }
.ty-card__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ty-card__note { margin-top: 14px !important; font-size: 13.5px !important; }
.ty-access { margin-top: 24px; padding: 18px; border-radius: 16px; background: var(--c-surface); }
.ty-access__label { display: block; margin-bottom: 10px; color: #8a6a00; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ty-access ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ty-access a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--c-text); font-weight: 600; text-decoration: none; transition: box-shadow 150ms ease; }
.ty-access a:hover { box-shadow: 0 10px 24px -16px rgba(0,0,0,0.4); }
.ty-access a b { flex: none; color: #8a6a00; font-size: 13.5px; }
.ty-card__extra:empty { display: none; }
.ty-card__extra { margin-top: 20px; font-size: 14px; color: var(--c-muted); }
.ty-card__extra > *:first-child { margin-top: 0; }

@media (max-width: 960px) {
  .pay-grid, .ty-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-grid__summary, .ty-grid__summary { position: static; }
}
@media (max-width: 560px) {
  .ty-card, .order-card { padding: 22px 18px; }
}

/* Moje konto: usuwanie konta (inc/delete-account.php). */
.account-delete { margin-top: 32px; padding: 24px; border: 1px solid #f3c7c3; border-radius: 18px; background: #fff7f6; }
.account-delete h3 { margin: 0 0 8px; color: #9b1c12; font-size: 18px; }
.account-delete p { margin: 0 0 16px; max-width: 620px; color: #6b4a46; font-size: 14.5px; line-height: 1.6; }
.account-delete label { display: block; margin-bottom: 8px; font-size: 14px; }
.account-delete__row { display: flex; flex-wrap: wrap; gap: 10px; }
.account-delete__row .input-text { flex: 1 1 200px; max-width: 280px; height: 44px; padding: 0 14px; border: 1px solid #e8b9b4; border-radius: 12px; background: #fff; }
.account-delete__btn { height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: #b3261e; color: #fff; font-family: var(--f-heading); font-size: 14px; font-weight: 700; cursor: pointer; }
.account-delete__btn:disabled { background: #e3b3ae; cursor: not-allowed; }

/* Przelewy24 na stronie potwierdzenia płatności (order-receipt.php): kafelki metod zamiast szarej siatki z czerwonym znacznikiem. */
.pay-grid--receipt #p24-bank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.pay-grid--receipt #p24-bank-grid > div[style*="clear"], .pay-grid--receipt .morePayMethods > div[style*="clear"] { display: none; }
.pay-grid--receipt .morePayMethods { grid-column: 1 / -1; }
.pay-grid--receipt .morePayMethods:not([style*="none"]) { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.pay-grid--receipt a.bank-box { position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; float: none !important; width: auto !important; height: auto !important; min-height: 96px; margin: 0 !important; padding: 14px 10px !important; border: 1px solid var(--c-border) !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important; opacity: 1 !important; text-align: center; cursor: pointer; transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.pay-grid--receipt a.bank-box:hover { border-color: #d9d4c3 !important; transform: translateY(-1px); box-shadow: 0 10px 22px -16px rgba(0,0,0,0.35) !important; }
.pay-grid--receipt a.bank-box.selected { border-color: var(--c-yellow) !important; box-shadow: 0 0 0 2px var(--c-yellow) !important; background: #fffdf2 !important; }
.pay-grid--receipt a.bank-box.selected::before { content: "✓" !important; position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 22px; height: 22px; margin: 0 !important; border-radius: 50%; background: var(--c-yellow); color: #111; font-family: inherit !important; font-size: 13px !important; font-weight: 700; line-height: 1; }
.pay-grid--receipt .bank-logo { width: 100% !important; height: 40px !important; margin: 0 !important; background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }
.pay-grid--receipt .bank-name { height: auto !important; color: var(--c-text) !important; font-size: 12.5px !important; font-weight: 600; line-height: 1.3; }
.pay-grid--receipt .moreStuff { grid-column: 1 / -1; width: auto !important; max-width: none !important; margin: 4px 0 0 !important; border: 0 !important; text-align: left !important; }
.pay-grid--receipt .moreStuff::before, .pay-grid--receipt .moreStuff.translated::before { content: "Pokaż wszystkie banki i metody płatności  ↓" !important; position: static !important; display: inline-flex; align-items: center; padding: 11px 18px !important; border: 1px solid var(--c-border) !important; border-radius: 999px !important; background: #fff !important; color: var(--c-text) !important; font-family: var(--f-body, inherit) !important; font-size: 14px !important; font-weight: 600; white-space: pre; }
.pay-grid--receipt .moreStuff:hover::before { border-color: var(--c-yellow) !important; }
.pay-grid--receipt #payment { padding: 0 !important; background: none !important; }
.pay-grid--receipt #przelewy_payment_form { display: flex; flex-direction: column; gap: 12px; }
.pay-grid--receipt #przelewy_payment_form p { float: none !important; width: auto !important; margin: 0; color: var(--c-muted); font-size: 12.5px !important; text-align: center !important; }
.pay-grid--receipt #przelewy_payment_form #place_order { width: 100%; }
.pay-grid--receipt #przelewy_payment_form .button.cancel { align-self: center; padding: 0; border: 0; background: none; color: var(--c-muted); font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; }
.pay-grid--receipt #przelewy_payment_form .button.cancel:hover { color: #b3261e; }
@media (max-width: 560px) {
  .pay-grid--receipt #p24-bank-grid, .pay-grid--receipt .morePayMethods:not([style*="none"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Dokumenty: polityka prywatności, regulamin (template-parts/legal-page.php). */
.legal-head { position: relative; padding: 136px 0 56px; background: #0f1010; color: #f2f2f0; overflow: hidden; }
.legal-head::before { content: ''; position: absolute; inset: 0; background: radial-gradient(55% 70% at 85% 0%, rgba(255,215,0,.14), transparent 60%); pointer-events: none; }
.legal-head__in { position: relative; }
.legal-head__in > * { max-width: 860px; }
.legal-head__eyebrow { display: inline-block; margin-bottom: 14px; color: var(--c-yellow); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-head h1 { margin: 0; color: #fff; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.legal-head__lead { max-width: 640px; margin: 16px 0 0; color: rgba(242,242,240,0.72); font-size: 17px; line-height: 1.6; }
.legal-head__meta { display: inline-block; margin-top: 22px; padding: 6px 12px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; color: rgba(242,242,240,0.7); font-size: 13px; }

.legal-wrap { padding: 48px 0 96px; background: var(--c-surface, #f4f3ef); }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-side { align-self: stretch; }
.legal-side__sticky { position: sticky; top: 104px; display: grid; gap: 16px; }
.legal-toc { padding: 20px 20px 16px; border: 1px solid #e6e4da; border-radius: 18px; background: #fff; }
.legal-toc__title { display: block; margin-bottom: 10px; color: #8a6a00; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: lt; }
.legal-toc li { counter-increment: lt; }
.legal-toc a { display: flex; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--c-muted); font-size: 14px; line-height: 1.35; text-decoration: none; transition: background 150ms ease, color 150ms ease; }
.legal-toc a::before { content: counter(lt) "."; flex: none; min-width: 18px; color: #b9b39c; font-weight: 600; }
.legal-toc a:hover { color: var(--c-text); background: #f6f4ec; }
.legal-toc a.is-active { color: var(--c-text); background: #fff6cc; font-weight: 600; }
.legal-toc a.is-active::before { color: #8a6a00; }
.legal-help { padding: 20px; border-radius: 18px; background: #0f1010; color: rgba(242,242,240,0.75); }
.legal-help strong { display: block; margin-bottom: 6px; color: #fff; font-size: 16px; }
.legal-help p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.legal-help a { color: var(--c-yellow); font-weight: 600; text-decoration: none; }

.legal-doc { padding: 44px 48px; border: 1px solid #e6e4da; border-radius: 22px; background: #fff; color: #2b2a26; font-size: 16px; line-height: 1.75; }
.legal-doc .lh166 { line-height: inherit; }
.legal-doc > h2:first-child { margin: 0 0 8px; padding: 0 0 24px; border-bottom: 1px solid var(--c-border); color: var(--c-text); font-family: inherit; font-size: 19px; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.legal-doc > hr { display: none; }
.legal-doc h2 { scroll-margin-top: 110px; margin: 40px 0 14px; padding: 0 !important; color: var(--c-text); font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; }
.legal-doc h2 strong { font-weight: inherit; }
.legal-doc h3 { scroll-margin-top: 110px; margin: 28px 0 10px; font-size: 18px; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ol, .legal-doc ul { margin: 0 0 16px; padding-left: 24px; }
.legal-doc ol { list-style: decimal; }
.legal-doc ul { list-style: disc; }
.legal-doc ol ol { list-style: lower-alpha; }
.legal-doc li { margin: 0 0 8px; padding-left: 4px; }
.legal-doc li::marker { color: #8a6a00; font-weight: 600; }
.legal-doc li > ol, .legal-doc li > ul { margin: 8px 0 4px; }
.legal-doc ul > li::marker { color: var(--c-yellow); }
.legal-doc a { color: var(--c-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; word-break: break-word; }
.legal-doc a:hover { color: #8a6a00; }
.legal-doc b, .legal-doc strong { color: var(--c-text); }
.legal-doc table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: 14.5px; }
.legal-doc th, .legal-doc td { padding: 10px 12px; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal-side { order: 2; }
  .legal-side__sticky { position: static; }
  .legal-toc { display: none; }
}
@media (max-width: 560px) {
  .legal-head { padding: 116px 0 40px; }
  .legal-doc { padding: 26px 20px; font-size: 15.5px; }
  .legal-doc h2 { font-size: 19px; }
}

/* Strona 404 (404.php): „raport” strony ze 100% odrzuceń i szybkie przejścia. */
.nf { position: relative; min-height: 100vh; padding: 140px 0 80px; background: #0f1010; color: #f2f2f0; overflow: hidden; }
.nf::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 20%, rgba(255,215,0,.14), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(255,215,0,.06), transparent 70%); pointer-events: none; }
.nf__wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.nf__eyebrow { display: inline-block; margin-bottom: 16px; color: var(--c-yellow); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.nf h1 { margin: 0; color: #fff; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
.nf__lead { max-width: 520px; margin: 18px 0 0; color: rgba(242,242,240,0.72); font-size: 17px; line-height: 1.6; }
.nf__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nf__btn-alt { border: 1px solid rgba(255,255,255,0.28); background: transparent; color: #fff; }
.nf__btn-alt:hover { border-color: var(--c-yellow); color: var(--c-yellow); }

.nf-card { position: relative; padding: 24px; border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; background: linear-gradient(180deg, #1a1b1b, #141515); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9); transform: rotate(-2deg); animation: nf-float 6s ease-in-out infinite; }
.nf-card__top { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: rgba(242,242,240,0.6); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.nf-card__top span { margin-right: auto; }
.nf-card__top i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.nf-card__code { font-family: var(--f-heading); font-size: clamp(96px, 13vw, 168px); font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: #fff; }
.nf-card__zero { display: inline-block; color: var(--c-yellow); animation: nf-blink 2.4s ease-in-out infinite; }
.nf-card__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.nf-card__kpis div { padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.05); }
.nf-card__kpis small { display: block; color: rgba(242,242,240,0.55); font-size: 11.5px; }
.nf-card__kpis b { font-family: var(--f-heading); font-size: 22px; color: #fff; }
.nf-card__kpis b.is-bad { color: #ff6b5a; }
.nf-card__bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 14px; }
.nf-card__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(255,215,0,0.9), rgba(255,215,0,0.35)); transform-origin: bottom; animation: nf-drop 1.6s cubic-bezier(.2,.8,.2,1) both; }
.nf-card__bars i:nth-child(2) { animation-delay: .08s; } .nf-card__bars i:nth-child(3) { animation-delay: .16s; } .nf-card__bars i:nth-child(4) { animation-delay: .24s; } .nf-card__bars i:nth-child(5) { animation-delay: .32s; } .nf-card__bars i:nth-child(6) { animation-delay: .4s; }
.nf-card__note { margin: 14px 0 0; color: var(--c-yellow); font-size: 13.5px; font-weight: 600; }

.nf-links { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 64px; }
.nf-links a { position: relative; display: grid; gap: 4px; padding: 20px 48px 20px 22px; border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; background: rgba(255,255,255,0.03); color: #fff; text-decoration: none; transition: border-color 200ms ease, background 200ms ease, transform 200ms ease; }
.nf-links a:hover { border-color: rgba(255,215,0,0.5); background: rgba(255,215,0,0.06); transform: translateY(-2px); }
.nf-links strong { font-family: var(--f-heading); font-size: 17px; }
.nf-links span { color: rgba(242,242,240,0.6); font-size: 14px; }
.nf-links b { position: absolute; top: 50%; right: 20px; color: var(--c-yellow); transform: translateY(-50%); transition: transform 200ms ease; }
.nf-links a:hover b { transform: translate(4px, -50%); }

@keyframes nf-float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-8px); } }
@keyframes nf-blink { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: .45; transform: translateY(6px); } }
@keyframes nf-drop { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .nf-card, .nf-card__zero, .nf-card__bars i { animation: none; } }
@media (max-width: 960px) {
  .nf__wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nf { padding: 116px 0 56px; }
  .nf-links { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .nf-card { transform: none; animation: none; }
}

/* Opinie: zdjęcie albo logo zamiast inicjałów (inc/testimonials.php). */
.tcols__avatar--img { overflow: hidden; padding: 0; background: #fff; }
.tcols__avatar--img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Omnibus (wtyczka Adski Omnibus): najniższa cena z 30 dni przy promocji, w paskach przewijanych schowana (jest w głównym boksie). */
.sp-price-box .adski-omnibus, .course-cta__price .adski-omnibus, .slp-price .adski-omnibus, .slp-cta-box__price .adski-omnibus { flex-basis: 100%; display: block; margin-top: 6px; color: inherit; font-size: 12.5px; font-weight: 400; opacity: 0.72; }
.sp-sticky .adski-omnibus, .course-sticky .adski-omnibus { display: none; }



/* Kurs: tryb „Wkrótce w sprzedaży” */
.course-cta__btn.is-soon { gap: 10px; cursor: default; pointer-events: none; }
.course-cta__pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.course-cta__pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: course-soon-pulse 1.8s ease-out infinite; }
@keyframes course-soon-pulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.course-cta__soon-price { font-size: 15px; font-weight: 600; opacity: 0.8; }
.course-cta__alt { display: inline-block; margin-left: 6px; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.course-cta__soon-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: var(--c-yellow); color: var(--c-dark-bg); font-family: var(--f-heading); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .course-cta__pulse::after { animation: none; } }
