/* ==========================================================================
   ProTec — Dark Theme 2026 (WOW edition)
   Brand: red #DB0812 + navy #184184 reimagined for dark surfaces
   Inspired by: malinski.ai DESIGN_SYSTEM.md (orbs + glass + gradient text)
   ========================================================================== */

/* === 1. Design tokens — DARK MODE === */
:root {
  /* Brand red */
  --color-primary:        #DB0812;
  --color-primary-dark:   #B30610;
  --accent-red:           #DB0812;
  --accent-red-light:     #FF4555;
  --accent-red-glow:      rgba(219, 8, 18, 0.3);
  --accent-red-soft:      rgba(219, 8, 18, 0.08);

  /* Navy — jaśniejszy na ciemnym tle */
  --color-secondary:      #184184;
  --accent-navy:          #3A6DD9;
  --accent-navy-light:    #5B8AE8;
  --accent-navy-glow:     rgba(58, 109, 217, 0.25);
  --accent-navy-soft:     rgba(58, 109, 217, 0.08);

  /* Soft pink (third orb accent) */
  --accent-pink:          rgba(255, 100, 130, 0.18);

  /* Dark backgrounds */
  --bg-primary:           #0A0F1A;
  --bg-secondary:         #0F1623;
  --bg-tertiary:          #0D1320;
  --bg-card-solid:        #131A2A;
  --bg-card-solid-hover:  #18203A;
  --bg-glass:             rgba(255, 255, 255, 0.04);
  --bg-glass-strong:      rgba(255, 255, 255, 0.07);
  --bg-glass-hover:       rgba(255, 255, 255, 0.06);

  /* Text scale */
  --text-primary:         #FFFFFF;
  --text-secondary:       #E2E8F0;
  --text-body:            #A0A8B5;
  --text-muted:           #9CA3AF;
  --text-dim:             #4B5563;

  /* Borders */
  --border-subtle:        rgba(255, 255, 255, 0.08);
  --border-medium:        rgba(255, 255, 255, 0.12);
  --border-red:           rgba(219, 8, 18, 0.3);
  --border-red-soft:      rgba(219, 8, 18, 0.15);
  --border-navy:          rgba(58, 109, 217, 0.25);
  --border-navy-soft:     rgba(58, 109, 217, 0.12);

  /* Shadows */
  --shadow-card:          0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-card-hover:    0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-red-glow:      0 4px 30px rgba(219, 8, 18, 0.4), 0 0 60px rgba(219, 8, 18, 0.2);
  --shadow-red-glow-h:    0 8px 50px rgba(219, 8, 18, 0.55), 0 0 80px rgba(219, 8, 18, 0.3);
  --shadow-navy-glow:     0 4px 24px rgba(58, 109, 217, 0.25);
  --shadow-inner-glow:    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Fonts */
  --font-heading: 'Barlow Condensed', 'Acumin Pro Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'Inter', 'Arial', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --container: 1240px;
  --container-narrow: 880px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === 2. Base === */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.pt-dark {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.pt-dark a { color: var(--accent-navy-light); text-decoration: none; transition: color 0.2s ease; }
.pt-dark a:hover { color: var(--accent-red-light); }

.pt-dark h1, .pt-dark h2, .pt-dark h3, .pt-dark h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
}

.pt-dark img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--accent-red); color: #fff; padding: 8px 16px;
  z-index: 1000;
}
.skip-link:focus { top: 0; }

/* === 3. Gradient text utility === */
.pt-gradient-text {
  background: linear-gradient(135deg, #FF4555 0%, #DB0812 50%, #FF4555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  position: relative;
}

/* === 4. Icons (SVG sprite) === */
.pt-dark .icon {
  width: 24px; height: 24px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.pt-dark .icon--xs { width: 16px; height: 16px; }
.pt-dark .icon--sm { width: 18px; height: 18px; }
.pt-dark .icon--md { width: 32px; height: 32px; }
.pt-dark .icon--cat { width: 48px; height: 48px; }
.pt-dark .icon--audience { width: 56px; height: 56px; }

/* === 5. Buttons === */
.pt-dark .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
}
.pt-dark .btn--lg { padding: 18px 36px; font-size: 16px; }
.pt-dark .btn--sm { padding: 10px 18px; font-size: 14px; }

.pt-dark .btn--primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, #FF1F2E 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(219, 8, 18, 0.3);
}
.pt-dark .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(219, 8, 18, 0.45);
  color: #fff !important;
}

.pt-dark .btn--glow {
  background: linear-gradient(135deg, var(--accent-red) 0%, #FF1F2E 100%);
  color: #ffffff !important;
  box-shadow: var(--shadow-red-glow);
  animation: ptBtnPulse 3s ease-in-out infinite;
  font-weight: 700;
}
.pt-dark .btn--glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-red-glow-h);
  color: #fff !important;
}

.pt-dark .btn--secondary,
.pt-dark .btn--ghost {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium);
}
.pt-dark .btn--secondary:hover,
.pt-dark .btn--ghost:hover {
  background: var(--bg-glass-strong);
  border-color: var(--accent-red);
  color: var(--accent-red-light) !important;
  transform: translateY(-2px);
}

@keyframes ptBtnPulse {
  0%, 100% { box-shadow: 0 4px 30px rgba(219, 8, 18, 0.35), 0 0 60px rgba(219, 8, 18, 0.18); }
  50%      { box-shadow: 0 4px 30px rgba(219, 8, 18, 0.5),  0 0 80px rgba(219, 8, 18, 0.28); }
}

/* === 6. Topbar === */
.pt-dark .site-topbar {
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}
.site-topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-topbar__group {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.pt-dark .site-topbar a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 4px;
}
.pt-dark .site-topbar a:hover { color: var(--accent-red-light); }
.pt-dark .site-topbar__phone { font-weight: 600; color: var(--text-secondary); }

/* Made-in-Poland chip in topbar (replaces secondary CTA group) */
.site-topbar__made-in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.site-topbar__made-in .flag-pl {
  width: 18px; height: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* === 7. Header === */
.pt-dark .site-header {
  background: rgba(13, 19, 32, 0.94);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5), 0 10px 30px -16px rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.pt-dark .site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.pt-dark .site-logo:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}
.pt-dark .site-logo__img {
  height: 26px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.25));
}
@media (max-width: 600px) {
  .site-header__bar { padding: 12px 18px; }
  .pt-dark .site-logo__img { height: 22px; }
}
.pt-dark .site-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  margin-left: 28px;
}
.pt-dark .site-nav a {
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 9px 15px;
  border-radius: 9px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pt-dark .site-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}
.pt-dark .site-nav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.22) 0%, rgba(219, 8, 18, 0.11) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 100, 110, 0.35), 0 4px 14px -6px rgba(219, 8, 18, 0.4);
}
.pt-dark .site-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-red-light);
}
.pt-dark .site-header__toggle {
  display: none;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  font-size: 20px;
  cursor: pointer;
}

/* === 8. Hero — DARK + ORBS + GLASS PRODUCT CARD === */
.pt-dark .pt-hero {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Animated orbs */
.pt-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.pt-hero__orb--red {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(219, 8, 18, 0.35) 0%, rgba(219, 8, 18, 0) 70%);
  top: -120px; left: -80px;
  animation: ptOrbDrift1 12s ease-in-out infinite;
}
.pt-hero__orb--navy {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(58, 109, 217, 0.3) 0%, rgba(58, 109, 217, 0) 70%);
  bottom: -100px; right: -60px;
  animation: ptOrbDrift2 15s ease-in-out infinite;
}
@keyframes ptOrbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(50px, 40px) scale(1.05); }
  66%      { transform: translate(-30px, 60px) scale(0.95); }
}
@keyframes ptOrbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, -50px) scale(1.08); }
}

/* Subtle noise — SVG data URI inline OK, but for compactness use mesh gradient */
.pt-hero__noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at top left,  rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pt-h1 {
  font-size: clamp(38px, 5.5vw, 68px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  color: var(--text-primary);
  margin: 0 0 28px !important;
}
.pt-h1 .pt-gradient-text {
  display: inline;
  font-weight: 800;
}

.pt-lead {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 0 40px;
}
.pt-lead strong { color: var(--text-secondary); font-weight: 600; }

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Made-in-Poland prominent chip in hero (brand identity) */
.pt-hero__poland-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  margin: 4px 0 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(219, 8, 18, 0.08));
  border: 1px solid rgba(219, 8, 18, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(219, 8, 18, 0.12);
}
.pt-hero__poland-flag {
  display: inline-flex;
  width: 40px; height: 26px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
.pt-hero__poland-flag svg { width: 100%; height: 100%; display: block; }
.pt-hero__poland-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.pt-hero__poland-text strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.pt-hero__poland-text span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Hero trust row */
.pt-hero__trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.pt-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Hero badge */
.pt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(219, 8, 18, 0.1);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--accent-red-light);
}
.pt-badge--red { color: var(--accent-red-light); }
.pt-badge__dot {
  width: 8px; height: 8px;
  background: var(--accent-red-light);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 69, 85, 0.8);
  animation: ptDotPulse 2s ease-in-out infinite;
}
@keyframes ptDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* Glass product card (hero visual) */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.pt-product-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  width: 100%;
  max-width: 380px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(219, 8, 18, 0.15),
    var(--shadow-inner-glow);
}
.pt-product-card__glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent-red), transparent 40%, var(--accent-navy));
  opacity: 0.3;
  z-index: -1;
  filter: blur(20px);
}
.pt-product-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.pt-product-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(219, 8, 18, 0.15);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-red-light);
}
.pt-product-card__model {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.pt-product-card__sub {
  color: var(--text-body);
  font-size: 14px;
  margin: 0 0 24px;
}
.pt-product-card__params {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-family: var(--font-mono);
}
.pt-product-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.pt-product-card__row:last-child { border-bottom: 0; }
.pt-product-card__row dt {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.pt-product-card__row dd {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}
.pt-product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-red-light) !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pt-product-card__cta:hover { color: var(--text-primary) !important; }

/* === 9. Section shared === */
.pt-section {
  padding: 110px 0;
  position: relative;
  background: var(--bg-primary);
}
.pt-section--alt {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.section__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section__header {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 780px;
}
.section__header--centered { text-align: center; }

.pt-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
}
.pt-eyebrow--red {
  color: var(--accent-red-light);
  background: rgba(219, 8, 18, 0.1);
  border: 1px solid var(--border-red);
}
.pt-eyebrow--navy {
  color: var(--accent-navy-light);
  background: rgba(58, 109, 217, 0.1);
  border: 1px solid var(--border-navy);
}

.pt-h2 {
  font-size: clamp(30px, 4vw, 50px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: var(--text-primary);
  margin: 0 0 20px !important;
}
.section__title { color: var(--text-primary); }
.pt-section-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 700px;
  margin: 0 auto;
}

/* === 10. Solid cards (shared base, was glass — now solid for perf) === */
.pt-glass-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-decoration: none !important;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pt-glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.pt-glass-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-solid-hover);
  border-color: var(--border-red);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(219, 8, 18, 0.15);
}
.pt-glass-card:hover::before { opacity: 1; }

.pt-glass-card__icon {
  margin-bottom: 24px;
  display: inline-flex;
}
.pt-card-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-red-light);
  margin-bottom: 8px;
}
.pt-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.pt-card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 20px;
  flex: 1;
}
.pt-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-red-light) !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: auto;
  transition: gap 0.3s ease;
}
.pt-glass-card:hover .pt-card-link { gap: 12px; color: var(--text-primary) !important; }

/* === 11. Audience tiles === */
.pt-audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* === 12. Pull-quote (solid) === */
.pt-pullquote {
  position: relative;
  margin: 80px auto 0;
  max-width: 880px;
  padding: 40px 48px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-red);
  border-radius: var(--radius-lg);
  text-align: left;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pt-pullquote__icon {
  position: absolute;
  top: 20px; right: 24px;
  width: 28px; height: 28px;
  opacity: 0.3;
}
.pt-pullquote__text {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 0 16px;
  font-style: italic;
}
.pt-pullquote__author {
  font-size: 14px;
  color: var(--text-muted);
}
.pt-pullquote__author cite {
  font-style: normal;
  font-weight: 700;
  color: var(--accent-red-light);
}

/* === 13. Categories grid === */
.pt-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pt-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0;
  text-decoration: none !important;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pt-cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-card-hover), 0 0 36px rgba(219, 8, 18, 0.18);
}

/* Featured image as top of card (modern blog look) */
.pt-cat-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(24, 65, 132, 0.18);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
  overflow: hidden;
}
.pt-cat-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.pt-cat-card__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.pt-cat-card__count {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pt-cat-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pt-cat-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.pt-cat-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red-light);
  opacity: 0.75;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.pt-cat-card__num::after { content: '·'; margin-left: 8px; opacity: 0.4; }
.pt-cat-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 18px;
  flex: 1;
}
.pt-cat-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-red-light) !important;
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
  transition: gap 0.3s ease;
}
.pt-cat-card:hover .pt-cat-card__more { gap: 10px; color: var(--text-primary) !important; }

/* Subkategorie listed wewnątrz pt-cat-card (Oferta landing) */
.pt-cat-card__subs {
  list-style: none;
  padding: 0;
  margin: 12px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-cat-card__subs li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.pt-cat-card__subs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--accent-red-light);
  opacity: 0.6;
}
.pt-cat-card__subs li span {
  color: var(--text-tertiary);
  font-size: 12px;
}
.pt-cat-card__subs-more {
  color: var(--accent-red-light) !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pt-cat-card__subs-more::before { display: none !important; }

/* === 14. Wizard preview === */
.pt-wizard {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px 40px 36px;
  box-shadow: var(--shadow-card-hover), var(--shadow-inner-glow);
  overflow: hidden;
}
.pt-wizard__glow {
  position: absolute;
  top: -100px; left: 50%;
  width: 400px; height: 200px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(219, 8, 18, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.pt-wizard__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}
.pt-wizard__step {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.pt-wizard__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent-red), #FF1F2E);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(219, 8, 18, 0.4);
}
.pt-wizard__sub {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}
.pt-wizard__question {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}
.pt-wizard__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.pt-wizard__option {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  text-decoration: none !important;
  color: var(--text-primary) !important;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.pt-wizard__option .icon {
  grid-row: 1 / 3;
  grid-column: 1;
}
.pt-wizard__option-label {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}
.pt-wizard__option-meta {
  grid-row: 2;
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-navy-light);
  letter-spacing: 0.02em;
}
.pt-wizard__option:hover {
  transform: translateY(-3px);
  background: var(--bg-glass-strong);
  border-color: var(--accent-red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 24px rgba(219, 8, 18, 0.15);
}
.pt-wizard__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}
.pt-wizard__cta-text {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
  flex: 1;
  min-width: 280px;
}

/* === 15. Articles === */
.pt-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pt-article {
  display: flex;
  flex-direction: column;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: var(--shadow-card);
}
.pt-article:hover {
  transform: translateY(-8px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(219, 8, 18, 0.15);
}
.pt-article__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(24, 65, 132, 0.18);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.pt-article__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}
.pt-article__media--pv {
  background-image: linear-gradient(135deg, rgba(58, 109, 217, 0.35), rgba(219, 8, 18, 0.18));
}
.pt-article__media--red {
  background-image: linear-gradient(135deg, rgba(219, 8, 18, 0.35), rgba(219, 8, 18, 0.08));
}
.pt-article__media--navy {
  background-image: linear-gradient(135deg, rgba(58, 109, 217, 0.40), rgba(58, 109, 217, 0.08));
}
.pt-article__media--dark {
  background-image: linear-gradient(135deg, rgba(15, 22, 35, 1), rgba(58, 109, 217, 0.18));
}
.pt-article__cat {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pt-article__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.pt-article__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.pt-article__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 18px;
  flex: 1;
}
.pt-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.02em;
}
.pt-article__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent-red-light) !important;
  font-size: 13px;
  font-weight: 600;
  transition: gap 0.3s ease;
}
.pt-article:hover .pt-article__more { gap: 10px; color: var(--text-primary) !important; }

.pt-center-cta {
  margin: 48px 0 0;
  text-align: center;
}

/* === 16. Expert section === */
.pt-expert {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.pt-expert__avatar {
  position: relative;
  width: 240px; height: 240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.pt-expert__avatar-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 8, 18, 0.35), transparent 65%);
  filter: blur(30px);
  z-index: 0;
  animation: ptAvatarGlow 4s ease-in-out infinite;
}
.pt-expert__avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-red), var(--accent-navy), var(--accent-red));
  padding: 2px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ptAvatarRing 30s linear infinite;
  z-index: 1;
}
.pt-expert__avatar-photo {
  position: relative;
  z-index: 2;
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.pt-expert__avatar-badge {
  position: absolute;
  bottom: -10px;
  z-index: 3;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--accent-red), #FF1F2E);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 14px rgba(219, 8, 18, 0.4);
}

@keyframes ptAvatarGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 0.9; transform: scale(1.04); }
}
@keyframes ptAvatarRing {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Kolumna treści eksperta — jedna oś lewej krawędzi dla wszystkich dzieci.
   Neutralizuje quirki współdzielonych utility (lead: max-width+auto center;
   pullquote: margin 80px auto). */
.pt-expert__content {
  display: flex;
  flex-direction: column;
  /* align-items: stretch (domyślne) — bloki pełna szerokość, tekst do lewej */
}
.pt-expert__content .pt-eyebrow {
  align-self: flex-start;   /* pill zostaje kompaktowy, nie rozciąga się */
  margin-bottom: 14px;
}
.pt-expert__content .pt-h2 { margin: 0 0 18px; }
.pt-expert__content .pt-section-lead {
  max-width: none;   /* usuń centrowanie utility w tej kolumnie */
  margin: 0 0 4px;
}
.pt-expert__content .pt-expert__quote {
  margin: 28px 0;   /* było 80px auto 0 — floating gap */
  max-width: none;
}
.pt-expert__content .hero__actions {
  margin: 0;   /* było margin-bottom:40px — zbędne na dole sekcji */
}

.pt-expert__body {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-inner-glow);
}
.pt-expert__name {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.pt-expert__role {
  font-size: 14px;
  color: var(--accent-red-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.pt-expert__bio {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 24px;
}
.pt-expert__credentials {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.pt-expert__credentials li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-subtle);
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.6;
}
.pt-expert__credentials li:last-child { border-bottom: 0; }
.pt-expert__credentials strong { color: var(--text-secondary); font-weight: 600; }
.pt-expert__check {
  flex-shrink: 0;
  margin-top: 4px;
  width: 18px; height: 18px;
  color: var(--accent-red-light);
}

/* === 17. Proof (stats) === */
.pt-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.pt-proof__item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
  box-shadow: var(--shadow-card);
}
.pt-proof__item:hover {
  transform: translateY(-4px);
  border-color: var(--border-red);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(219, 8, 18, 0.15);
}
.pt-proof__number {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #FF4555 0%, #DB0812 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 10px;
}
.pt-proof__label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Testimonials */
.pt-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.pt-testimonial {
  position: relative;
  padding: 36px 36px 32px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin: 0;
  box-shadow: var(--shadow-card);
}
.pt-testimonial__icon {
  position: absolute;
  top: 20px; right: 22px;
  width: 28px; height: 28px;
  opacity: 0.35;
}
.pt-testimonial__quote {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 24px;
  font-style: italic;
}
.pt-testimonial__author {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.pt-testimonial__author-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
  margin-bottom: 2px;
}
.pt-testimonial__author-role {
  font-size: 13px;
  color: var(--text-muted);
}
.pt-partner-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.pt-partner-note strong { color: var(--accent-red-light); font-weight: 700; }

/* === 18. CTA banner === */
.pt-cta-banner {
  position: relative;
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.pt-cta-banner__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.pt-cta-banner__orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(219, 8, 18, 0.3), transparent 70%);
  top: -150px; left: -80px;
  animation: ptOrbDrift1 14s ease-in-out infinite;
}
.pt-cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}
.pt-cta-banner__title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 20px;
}
.pt-cta-banner__text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 36px;
}
.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === 19. Footer === */
.pt-footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 24px 24px;
  color: var(--text-body);
  font-size: 14px;
}
.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}
.pt-footer .site-footer__logo {
  display: inline-block;
  margin-bottom: 22px;
  transition: opacity 0.25s ease;
}
.pt-footer .site-footer__logo:hover { opacity: 0.8; }
.pt-footer .site-footer__logo img {
  height: 30px;
  width: auto;
  display: block;
}
.pt-footer p { line-height: 1.7; margin: 0 0 16px; }
.pt-footer p strong { color: var(--text-primary); }
.pt-footer h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-red-light);
  margin: 0 0 18px;
}
.pt-footer a {
  display: block;
  padding: 5px 0;
  color: var(--text-body);
  font-size: 14px;
  transition: color 0.2s ease;
}
.pt-footer a:hover { color: var(--text-primary); }
/* Footer adres: tel/mailto — touch target ≥24px + spacing (WCAG 2.5.8) */
.pt-footer p a {
  display: inline-block;
  padding: 6px 0;
  min-height: 24px;
  line-height: 1.5;
}
.site-footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.site-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__legal a { color: var(--text-muted); font-size: 13px; padding: 0; }

/* === 20. Scroll reveal animation === */
.pt-anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.pt-anim.pt-visible {
  opacity: 1;
  transform: translateY(0);
}
.pt-anim--delay-1.pt-visible { transition-delay: 0.1s; }
.pt-anim--delay-2.pt-visible { transition-delay: 0.2s; }
.pt-anim--delay-3.pt-visible { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .pt-anim, .pt-anim.pt-visible { opacity: 1; transform: none; transition: none; }
  .pt-hero__orb, .pt-cta-banner__orb,
  .pt-expert__avatar-glow, .pt-expert__avatar-ring,
  .pt-product-card, .pt-badge__dot,
  .btn--glow { animation: none !important; }
}

/* === 20b. Focus-visible (a11y) === */
.pt-dark a:focus-visible,
.pt-dark button:focus-visible,
.pt-dark .btn:focus-visible {
  outline: 2px solid var(--accent-red-light);
  outline-offset: 3px;
  border-radius: 4px;
}
.pt-dark .pt-glass-card:focus-visible,
.pt-dark .pt-cat-card:focus-visible,
.pt-dark .pt-wizard__option:focus-visible {
  outline: 2px solid var(--accent-red-light);
  outline-offset: 4px;
}

/* === 21. Responsive === */
@media (max-width: 1100px) {
  .pt-cats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pt-articles { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pt-proof { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__container { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { justify-content: center; }
  .pt-expert { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .pt-expert__avatar { margin: 0 auto; }
  .pt-expert__credentials li { text-align: left; }
  .pt-audience { grid-template-columns: 1fr; }
  .pt-wizard__options { grid-template-columns: 1fr; }
  .pt-testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pt-section { padding: 64px 0; }
  .pt-hero { padding: 72px 0 64px; }
  .pt-dark .site-nav { display: none; }
  .pt-dark .site-header__cta { display: none; }
  .pt-dark .site-header__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .pt-cats { grid-template-columns: repeat(2, 1fr); }
  .pt-articles { grid-template-columns: 1fr; }
  .section__header { margin-bottom: 48px; }
  .pt-pullquote { padding: 28px 24px; margin-top: 56px; }
  .pt-pullquote__text { font-size: 18px; }
  .pt-wizard { padding: 28px 22px; }
  .pt-expert__body { padding: 28px 22px; }
  .pt-cta-banner { padding: 64px 24px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .pt-hero__orb--red { width: 380px; height: 380px; }
  .pt-hero__orb--navy { width: 340px; height: 340px; }
  .site-topbar__inner { font-size: 12px; }
  .pt-product-card { padding: 28px 22px; }
  .pt-product-card__model { font-size: 36px; }
}

@media (max-width: 480px) {
  .pt-cats { grid-template-columns: 1fr; }
  .pt-proof { grid-template-columns: 1fr; }
  .pt-h1 { font-size: 34px !important; }
  .pt-h2 { font-size: 28px !important; }
  .pt-card-title { font-size: 19px; }
  .btn, .btn--lg { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero__actions, .cta-banner__actions { flex-direction: column; width: 100%; }
  .pt-wizard__cta { flex-direction: column; align-items: stretch; }
  .pt-wizard__cta .btn { width: 100%; }
  .pt-expert__avatar-initials { width: 160px; height: 160px; font-size: 64px; }
  .pt-expert__avatar { width: 200px; height: 200px; }
  .pt-hero__trust { flex-direction: column; gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Wizard page (dark theme) — /dobor-produktu/
   Used by: pages/wizard.html + js/wizard.js
   ═══════════════════════════════════════════════════════════════════════════ */

/* === Hero === */
.pt-wizard-page main { min-height: 70vh; }

.pt-wiz-hero {
  position: relative;
  padding: 90px 24px 60px;
  text-align: center;
  background: var(--bg-primary);
  overflow: hidden;
}
.pt-wiz-hero__container {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.pt-wiz-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 16px 0 20px;
}
.pt-wiz-hero__lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto;
}

/* === Mode toggle (tabs) === */
.pt-wiz-mode {
  padding: 16px 24px 48px;
  background: var(--bg-primary);
}
.pt-wiz-tabs {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-card);
}
.pt-wiz-tab {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  color: var(--text-secondary);
}
.pt-wiz-tab:hover {
  background: var(--bg-glass);
  border-color: var(--border-medium);
}
.pt-wiz-tab.is-active {
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.15), rgba(255, 69, 85, 0.05));
  border-color: var(--border-red);
  color: var(--text-primary);
  box-shadow: 0 4px 24px rgba(219, 8, 18, 0.15);
}
.pt-wiz-tab__num {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.pt-wiz-tab.is-active .pt-wiz-tab__num {
  background: linear-gradient(135deg, var(--accent-red), #FF1F2E);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 16px var(--accent-red-glow);
}
.pt-wiz-tab__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-wiz-tab__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pt-wiz-tab__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* === Stage === */
.pt-wiz-stage {
  padding: 32px 24px 80px;
  background: var(--bg-primary);
}
.pt-wiz-stage--active {
  animation: ptWizFadeIn 0.4s var(--ease);
}
@keyframes ptWizFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === Progress indicator === */
.pt-wiz-progress {
  max-width: 720px;
  margin: 0 auto 48px;
}
.pt-wiz-progress__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  position: relative;
}
.pt-wiz-progress__steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 24px; right: 24px;
  height: 2px;
  background: var(--border-medium);
  z-index: 0;
}
.pt-wiz-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.pt-wiz-step__num {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-solid);
  border: 2px solid var(--border-medium);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 15px;
  transition: all 0.3s var(--ease);
}
.pt-wiz-step.is-active .pt-wiz-step__num {
  background: linear-gradient(135deg, var(--accent-red), #FF1F2E);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(219, 8, 18, 0.2), 0 4px 16px var(--accent-red-glow);
  transform: scale(1.1);
}
.pt-wiz-step.is-done .pt-wiz-step__num {
  background: var(--accent-navy);
  border-color: var(--accent-navy);
  color: #fff;
}
.pt-wiz-step__label {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
  max-width: 90px;
  line-height: 1.3;
}
.pt-wiz-step.is-active .pt-wiz-step__label {
  color: var(--text-primary);
  font-weight: 600;
}

/* === Question block === */
.pt-wiz-question {
  max-width: 880px;
  margin: 0 auto;
}
.pt-wiz-question__head {
  text-align: center;
  margin-bottom: 36px;
}
.pt-wiz-question__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-red-light);
  margin-bottom: 12px;
}
.pt-wiz-question__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.pt-wiz-question__hint {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto;
}

/* === Options grid + radio-card === */
.pt-wiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.pt-radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--bg-card-solid);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  color: var(--text-secondary);
}
.pt-radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pt-radio-card__check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px; height: 22px;
  border: 2px solid var(--border-medium);
  border-radius: 50%;
  background: var(--bg-primary);
  transition: all 0.2s var(--ease);
}
.pt-radio-card__check::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent-red);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.pt-radio-card:hover {
  background: var(--bg-card-solid-hover);
  border-color: var(--border-red-soft);
  transform: translateY(-2px);
}
.pt-radio-card.is-selected,
.pt-radio-card:has(input:checked) {
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.1), rgba(58, 109, 217, 0.05));
  border-color: var(--accent-red);
  box-shadow: 0 8px 32px rgba(219, 8, 18, 0.15);
  color: var(--text-primary);
}
.pt-radio-card.is-selected .pt-radio-card__check,
.pt-radio-card:has(input:checked) .pt-radio-card__check {
  border-color: var(--accent-red);
  background: rgba(219, 8, 18, 0.1);
}
.pt-radio-card.is-selected .pt-radio-card__check::after,
.pt-radio-card:has(input:checked) .pt-radio-card__check::after {
  transform: scale(1);
}
.pt-radio-card:focus-within {
  outline: 2px solid var(--accent-red-light);
  outline-offset: 2px;
}

.pt-radio-card__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--accent-red-light);
  font-family: var(--font-heading);
  font-weight: 700;
}
.pt-radio-card__icon svg { width: 28px; height: 28px; }
.pt-radio-card__icon--mono {
  background: linear-gradient(135deg, var(--accent-red-soft), var(--accent-navy-soft));
  color: var(--text-primary);
  font-size: 14px;
  letter-spacing: 0.5px;
}
.pt-radio-card.is-selected .pt-radio-card__icon,
.pt-radio-card:has(input:checked) .pt-radio-card__icon {
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.2), rgba(255, 69, 85, 0.1));
  border-color: var(--accent-red);
  color: var(--accent-red-light);
}

.pt-radio-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 32px;
}
.pt-radio-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
}
.pt-radio-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.pt-radio-card__meta {
  margin-top: 6px;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-red-light);
  padding: 4px 10px;
  background: rgba(219, 8, 18, 0.08);
  border: 1px solid var(--border-red-soft);
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.pt-radio-card--compact {
  padding: 14px 18px;
}
.pt-radio-card--compact .pt-radio-card__title {
  font-size: 16px;
}

/* === Kafle ikonowe quick-picka (sesja #31) === */
/* Klient: "aktywne ikony" zamiast opisowych kart — schemat sieci musi być czytelny,
   więc ikona idzie na górę kafla i dostaje pełną szerokość. */
.pt-wiz-options--tiles {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.pt-wiz-options--3 {
  max-width: 860px;
}
/* `display: grid` z .pt-wiz-options bije regułę [hidden] {display:none} z arkusza
   przeglądarki — bez tego oba zestawy kafli pytania 3 renderują się naraz. */
.pt-wiz-options[hidden] {
  display: none;
}
.pt-radio-card--tile {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px 18px 22px;
}
.pt-radio-card--tile .pt-radio-card__icon {
  width: 100%;
  height: 142px;
  border-radius: 12px;
  color: var(--text-secondary);
}
.pt-radio-card--tile .pt-radio-card__icon svg {
  width: auto;
  height: 104px;
  max-width: 100%;
}
.pt-radio-card--tile .pt-radio-card__icon--schema svg {
  height: 132px;
}
.pt-radio-card--tile .pt-radio-card__body {
  align-items: center;
  padding-right: 0;
  gap: 4px;
}
.pt-radio-card--tile .pt-radio-card__title {
  font-size: 17px;
}
.pt-radio-card--tile .pt-radio-card__desc {
  font-size: 13px;
}
.pt-radio-card--tile .pt-radio-card__check {
  top: 12px;
  right: 12px;
}

/* Pasek nawigacji bez przycisku "Dalej" (kafle same przenoszą do kolejnego pytania) */
.pt-wiz-nav--simple {
  justify-content: center;
}

.pt-wiz-link {
  color: var(--accent-navy-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pt-wiz-link:hover { color: var(--accent-red-light); }

/* === Navigation buttons === */
.pt-wiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pt-wiz-nav .pt-wiz-back {
  order: 0;
}
.pt-wiz-nav .pt-wiz-next {
  order: 2;
  margin-left: auto;
}
.pt-wiz-skip {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pt-wiz-skip:hover { color: var(--accent-red-light); }

/* === Expert mode meta chips === */
.pt-wiz-expert-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pt-wiz-expert-meta__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-secondary);
}

/* === Expert category grid === */
.pt-wiz-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.pt-wiz-cat-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--bg-card-solid);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  color: var(--text-secondary);
  font-family: inherit;
}
.pt-wiz-cat-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-solid-hover);
  border-color: var(--accent-red);
  box-shadow: 0 12px 40px rgba(219, 8, 18, 0.15);
}
.pt-wiz-cat-card__icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.12), rgba(58, 109, 217, 0.08));
  border: 1px solid var(--border-red-soft);
  border-radius: 12px;
  color: var(--accent-red-light);
}
.pt-wiz-cat-card__icon svg { width: 32px; height: 32px; }
.pt-wiz-cat-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-wiz-cat-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.pt-wiz-cat-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}
.pt-wiz-cat-card__count {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-red-light);
}

/* === Result === */
.pt-wiz-result {
  max-width: 1100px;
  margin: 0 auto;
}
.pt-wiz-result__head {
  text-align: center;
  margin-bottom: 36px;
}
.pt-wiz-result__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 16px 0 12px;
}
.pt-wiz-result__summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto;
}
.pt-wiz-result__summary strong {
  color: var(--text-primary);
  font-weight: 600;
  padding: 2px 8px;
  background: var(--bg-glass);
  border-radius: 6px;
  font-size: 14px;
}

.pt-wiz-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.pt-wiz-products--compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
/* Nagłówek grupy rekomendacji („Po stronie DC" / „Po stronie AC"). Jest dzieckiem
   siatki, więc bez rozciągnięcia na wszystkie kolumny zająłby miejsce jednej karty. */
.pt-wiz-products__group {
  grid-column: 1 / -1;
  margin: 4px 0 -8px;
}

.pt-wiz-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.pt-wiz-product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-red-light) 50%, var(--accent-red) 100%);
}
.pt-wiz-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(219, 8, 18, 0.15);
}
.pt-wiz-product-card--compact {
  padding: 18px;
}
.pt-wiz-product-card--compact::before { height: 2px; }
.pt-wiz-product-card__rank {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-red-light);
  background: rgba(219, 8, 18, 0.1);
  border: 1px solid var(--border-red-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}
.pt-wiz-product-card__head { display: flex; flex-direction: column; gap: 4px; }
.pt-wiz-product-card__name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-red-light);
  margin: 0;
}
.pt-wiz-product-card--compact .pt-wiz-product-card__name { font-size: 18px; }
.pt-wiz-product-card__category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 0;
}
.pt-wiz-product-card__reason {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding: 12px 14px;
  background: rgba(58, 109, 217, 0.06);
  border-left: 3px solid var(--accent-navy);
  border-radius: 6px;
  margin: 0;
}
.pt-wiz-product-card__reason .icon {
  color: var(--accent-navy-light);
  margin-top: 2px;
}
.pt-wiz-product-card__params {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.pt-wiz-product-card__params > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.pt-wiz-product-card__params dt {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
.pt-wiz-product-card__params dd {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  text-align: right;
}
.pt-wiz-product-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}
.pt-wiz-product-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-navy-light);
  text-decoration: none;
}
.pt-wiz-product-card__link:hover { color: var(--accent-red-light); }

/* === Tip block === */
.pt-wiz-tip {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(58, 109, 217, 0.08), rgba(58, 109, 217, 0.02));
  border-left: 3px solid var(--accent-navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.pt-wiz-tip__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-navy-light);
  margin-bottom: 8px;
}
.pt-wiz-tip p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* === More products collapse === */
.pt-wiz-more {
  margin: 24px 0;
}
.pt-wiz-more > summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  list-style: none;
  transition: background 0.2s ease;
}
.pt-wiz-more > summary::-webkit-details-marker { display: none; }
.pt-wiz-more > summary::before {
  content: '▸ ';
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.2s ease;
}
.pt-wiz-more[open] > summary::before { transform: rotate(90deg); }
.pt-wiz-more > summary:hover { background: var(--bg-glass-strong); }

/* === Pull quote (inline + standalone) === */
.pt-pull-quote {
  position: relative;
  margin: 32px auto;
  max-width: 720px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(58, 109, 217, 0.06), rgba(58, 109, 217, 0.02));
  border-left: 3px solid var(--accent-navy);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pt-pull-quote--inline { margin-top: 8px; }
.pt-pull-quote__text {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 16px;
  position: relative;
}
.pt-pull-quote__text::before {
  content: '"';
  font-size: 64px;
  position: absolute;
  top: -12px;
  left: -16px;
  color: var(--accent-red);
  opacity: 0.5;
  line-height: 1;
  font-family: serif;
}
.pt-pull-quote__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.pt-pull-quote__author cite {
  font-style: normal;
  font-weight: 700;
  color: var(--accent-navy-light);
}
.pt-pull-quote__role { color: var(--text-muted); }

/* === Result actions === */
.pt-wiz-result__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 36px 0 24px;
}
.pt-wiz-result__contact {
  text-align: center;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.pt-wiz-result__contact p { color: var(--text-muted); font-size: 14px; }
.pt-wiz-result__contact a {
  color: var(--accent-red-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === Empty / error states === */
.pt-wiz-empty {
  grid-column: 1 / -1;
  padding: 36px;
  background: var(--bg-card-solid);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg);
  text-align: center;
}
.pt-wiz-empty h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.pt-wiz-empty p { color: var(--text-muted); margin: 0; }

.pt-wiz-error {
  padding: 36px;
  background: var(--bg-card-solid);
  border-left: 3px solid var(--accent-red);
  border-radius: var(--radius);
  text-align: center;
}
.pt-wiz-error h2 { color: var(--text-primary); }
.pt-wiz-error a { color: var(--accent-red-light); }

/* === Help section === */
.pt-wiz-help__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pt-wiz-help__col h2 { margin: 8px 0 16px; }
.pt-wiz-help__col p { color: var(--text-body); line-height: 1.7; margin-bottom: 24px; }
.pt-wiz-help__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* === Responsive === */
/* Tabs side-by-side gdy szerokosc >= 500px; stacked tylko ponizej 500px (mobile portrait) */
@media (max-width: 499px) {
  .pt-wiz-tabs { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 768px) {
  .pt-wiz-hero { padding: 56px 20px 36px; }
  .pt-wiz-tabs { padding: 6px; }
  .pt-wiz-tab { padding: 14px 16px; gap: 12px; }
  .pt-wiz-tab__num { width: 32px; height: 32px; font-size: 14px; }
  .pt-wiz-tab__title { font-size: 17px; }
  .pt-wiz-tab__desc { font-size: 12px; }

  .pt-wiz-progress__steps { gap: 4px; }
  .pt-wiz-step__num { width: 30px; height: 30px; font-size: 13px; }
  .pt-wiz-step__label { font-size: 11px; max-width: 70px; }
  .pt-wiz-progress__steps::before { left: 18px; right: 18px; top: 14px; }

  .pt-wiz-options { grid-template-columns: 1fr; }
  .pt-radio-card { padding: 18px; }
  .pt-radio-card__icon { width: 40px; height: 40px; }
  .pt-radio-card__icon svg { width: 24px; height: 24px; }
  .pt-radio-card__title { font-size: 16px; }
  /* Kafle ikonowe: nie zmniejszamy ikony do 40px — schemat sieci byłby nieczytelny */
  .pt-wiz-options--tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pt-radio-card--tile { padding: 18px 12px 16px; gap: 10px; }
  .pt-radio-card--tile .pt-radio-card__icon { width: 100%; height: 96px; }
  .pt-radio-card--tile .pt-radio-card__icon svg { width: auto; height: 84px; }
  .pt-radio-card--tile .pt-radio-card__icon--schema svg { height: 92px; }
  .pt-radio-card--tile .pt-radio-card__title { font-size: 15px; }
  .pt-radio-card--tile .pt-radio-card__desc { font-size: 12px; }

  .pt-wiz-nav { flex-direction: column-reverse; }
  .pt-wiz-nav .btn { width: 100%; justify-content: center; }
  .pt-wiz-skip { align-self: center; }

  .pt-wiz-categories { grid-template-columns: 1fr; }
  .pt-wiz-products { grid-template-columns: 1fr; }
  .pt-wiz-product-card { padding: 22px 18px; }
  .pt-wiz-product-card__name { font-size: 22px; }

  .pt-wiz-help__grid { grid-template-columns: 1fr; gap: 32px; }
  .pt-pull-quote { padding: 22px 24px; }
  .pt-pull-quote__text { font-size: 17px; }
}

@media (max-width: 480px) {
  .pt-wiz-hero__title { font-size: 32px; }
  .pt-wiz-result__actions { flex-direction: column; }
  .pt-wiz-result__actions .btn { width: 100%; justify-content: center; }
  .pt-wiz-product-card__actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .pt-wiz-product-card__actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   === SINGLE PRODUCT PAGE — BY1-B+C/3 +NPE AS (mockup, reused for 110 SKU) ===
   ========================================================================== */

/* --- Breadcrumbs --- */
.pt-breadcrumbs-section {
  background: rgba(8, 11, 18, 0.6);
  border-bottom: 1px solid var(--border-subtle);
  padding: 13px 0;
  font-size: 13px;
}
.pt-breadcrumbs {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.pt-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-breadcrumbs__item a {
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.pt-breadcrumbs__item a:hover { color: var(--accent-red-light) !important; }
.pt-breadcrumbs__item--current {
  color: var(--text-secondary);
  font-weight: 600;
}
.pt-breadcrumbs__sep {
  color: var(--text-dim);
  font-weight: 400;
}

/* --- Product hero (2-col) --- */
.pt-product-hero { padding: 64px 0 80px; }
.pt-product-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Gallery */
.pt-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pt-product-gallery__main {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 0;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-card), var(--shadow-inner-glow);
  overflow: hidden;
}
.pt-product-gallery__main::after {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 70%;
  background: radial-gradient(circle, var(--accent-red-soft), transparent 70%);
  pointer-events: none;
}
.pt-product-gallery__icon {
  width: 200px;
  height: 200px;
  color: var(--accent-red-light);
  opacity: 0.85;
  filter: drop-shadow(0 0 30px var(--accent-red-glow));
  position: relative;
  z-index: 1;
}
.pt-product-gallery__placeholder-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.pt-product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-product-gallery__thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  aspect-ratio: 1;
  padding: 10px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pt-product-gallery__thumb:hover {
  border-color: var(--border-red);
  background: var(--bg-card-solid-hover);
  color: var(--accent-red-light);
}
.pt-product-gallery__thumb svg {
  width: 28px;
  height: 28px;
  color: inherit;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* Info */
.pt-product-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pt-product-info__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-red-light) !important;
  text-decoration: none !important;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.pt-product-info__category:hover { color: var(--text-primary) !important; }
.pt-product-info__title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}
.pt-product-info__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0;
}
.pt-product-info__sku {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.pt-product-info__sku strong { color: var(--text-secondary); font-weight: 600; }
.pt-product-info__short {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 4px 0 8px;
  max-width: 60ch;
}
.pt-product-info__short strong { color: var(--text-secondary); font-weight: 600; }

/* Key params box (NOT glass — solid for perf) */
.pt-product-info__key-params {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-red);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 8px 0 12px;
}
.pt-product-info__key-params-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-red-light);
  margin-bottom: 16px;
}
.pt-key-params-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin: 0;
}
.pt-key-params-grid__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-key-params-grid__cell dt {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.pt-key-params-grid__cell dd {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

/* CTAs */
.pt-product-info__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 8px 0;
}
.pt-product-info__tertiary-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  padding: 10px 0;
  transition: color 0.2s ease;
}
.pt-product-info__tertiary-cta:hover { color: var(--accent-red-light) !important; }
.pt-product-info__tertiary-cta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* Trust microrow */
.pt-product-info__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  list-style: none;
  padding: 16px 0 0;
  margin: 4px 0 0;
  border-top: 1px solid var(--border-subtle);
}
.pt-product-info__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.pt-product-info__trust svg {
  color: var(--accent-red-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* --- Specs section (full-width params table — KRÓLOWA) --- */
.pt-product-specs__header { text-align: center; }

.pt-params-table-wrap {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}
.pt-params-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 15px;
}
.pt-params-table__caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--accent-red);
}
.pt-params-table__group-row th {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-navy-light);
  background: rgba(58, 109, 217, 0.08);
  padding: 14px 16px;
  border-top: 1px solid var(--border-navy-soft);
  border-bottom: 2px solid var(--border-navy);
  text-align: left;
}
.pt-params-table__group:first-child .pt-params-table__group-row th { border-top: none; }
.pt-params-table tr:not(.pt-params-table__group-row) th,
.pt-params-table tr:not(.pt-params-table__group-row) td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  text-align: left;
}
.pt-params-table tr:not(.pt-params-table__group-row) th[scope="row"] {
  width: 50%;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}
.pt-params-table td {
  color: var(--text-primary);
  font-weight: 500;
}
.pt-params-table td.is-numeric {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  font-weight: 600;
}
.pt-params-table tbody tr:hover:not(.pt-params-table__group-row) {
  background: rgba(255, 255, 255, 0.02);
}
.pt-params-table tbody:last-child tr:last-child th,
.pt-params-table tbody:last-child tr:last-child td { border-bottom: none; }

/* Variants box */
.pt-variants-box {
  margin-top: 40px;
  padding: 28px 30px;
  background: rgba(58, 109, 217, 0.06);
  border: 1px solid var(--border-navy-soft);
  border-left: 3px solid var(--accent-navy);
  border-radius: var(--radius);
}
.pt-variants-box__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.pt-variants-box__desc {
  font-size: 14px;
  color: var(--text-body);
  margin: 0 0 18px;
}
.pt-variants-box__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: start;
}
.pt-variant-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pt-variant-pill:hover {
  border-color: var(--border-red);
  background: var(--bg-card-solid-hover);
}
.pt-variant-pill strong {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--accent-red-light);
  font-weight: 700;
}
.pt-variant-pill span {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Usage section --- */
.pt-product-usage__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
/* Brak schematu — opis full-width, sekcje rozłożone w 2 kolumny.
   Każda sekcja (h2 + treść) to atomowy grid item — nagłówek nigdy
   nie osierocony (problem column-count rozwiązany przez grid + wrapper). */
.pt-product-usage__grid--solo {
  grid-template-columns: 1fr;
}
.pt-product-usage__grid--solo .pt-product-usage__text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
  align-content: start;
}
.pt-product-usage__grid--solo .pt-product-desc__lead {
  grid-column: 1 / -1;
}
.pt-product-desc__section {
  margin: 0;
}
.pt-product-desc__section h2 {
  margin-top: 0 !important;
}
@media (max-width: 760px) {
  .pt-product-usage__grid--solo .pt-product-usage__text {
    grid-template-columns: 1fr;
  }
}
.pt-product-usage__text { font-size: 16px; line-height: 1.75; color: var(--text-body); }
.pt-product-usage__text p { margin: 0 0 18px; }
.pt-product-usage__text p:last-of-type { margin-bottom: 0; }

/* Bogaty opis produktu (generate_product_descriptions.py) */
.pt-product-desc__lead {
  font-size: 18px !important;
  line-height: 1.65;
  color: var(--text-secondary) !important;
  font-weight: 500;
  margin: 0 0 24px !important;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.pt-product-usage__text h2 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 26px 0 10px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-red);
}
.pt-product-usage__text h2:first-of-type { margin-top: 0; }
.pt-product-usage__text ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pt-product-usage__text ul li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}
.pt-product-usage__text ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-red);
  transform: rotate(45deg);
}
.pt-product-usage__text strong { color: var(--text-secondary); font-weight: 700; }
.pt-product-usage__text strong { color: var(--text-secondary); font-weight: 600; }
.pt-product-usage__text ul { padding-left: 20px; margin: 0 0 18px; }
.pt-product-usage__text li { margin-bottom: 8px; }

.pt-install-schema {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.pt-install-schema__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.pt-install-schema__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-red);
}
.pt-install-schema__zone {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-navy);
  letter-spacing: 0.05em;
  font-weight: 600;
}
.pt-install-schema__diagram {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  padding: 0;
  background: transparent;
  white-space: pre;
  overflow-x: auto;
}

/* === Schemat podłączenia jako obrazek (1:1 z PDF klienta) === */
.pt-install-schema--image {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  position: static;       /* nadpisuje sticky z bazowej klasy */
  align-self: start;
}
.pt-install-schema--image .pt-install-schema__label,
.pt-install-schema--image .pt-install-schema__zone {
  color: var(--accent-navy-light);
}
.pt-install-schema--image .pt-install-schema__head {
  border-bottom-color: rgba(24, 65, 132, 0.18);
}

.pt-install-schema__variants {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}
.pt-install-schema__variant {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(24, 65, 132, 0.12);
  border-radius: 8px;
  background: #fafbfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-install-schema__variant:hover {
  border-color: rgba(24, 65, 132, 0.30);
  box-shadow: 0 4px 14px rgba(24, 65, 132, 0.08);
}
.pt-install-schema__variant img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #ffffff;
}
.pt-install-schema__siec {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(24, 65, 132, 0.10);
}
.pt-install-schema__siec-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
}
.pt-install-schema__siec-desc {
  font-size: 11px;
  color: #6b7280;
  font-style: italic;
}

.pt-install-schema__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(24, 65, 132, 0.15);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}
.pt-install-schema__note strong { color: var(--text-secondary); font-weight: 700; }

@media (max-width: 980px) {
  .pt-install-schema__variants { grid-template-columns: 1fr; }
}

/* Use case cards */
.pt-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pt-usecase-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.pt-usecase-card:hover {
  border-color: var(--border-red);
  background: var(--bg-card-solid-hover);
  transform: translateY(-3px);
}
.pt-usecase-card svg {
  color: var(--accent-red-light);
  margin-bottom: 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.pt-usecase-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}
.pt-usecase-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
  flex: 1;
}
.pt-usecase-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-red-light);
  margin-top: 8px;
  transition: gap 0.2s ease;
}
.pt-usecase-card:hover .pt-usecase-card__more { gap: 10px; color: var(--text-primary); }
.pt-usecase-card__more svg { width: 12px; height: 12px; color: inherit; margin: 0; }

/* --- Related products (4-col) --- */
.pt-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pt-related__model {
  font-family: var(--font-heading) !important;
  color: var(--accent-red-light) !important;
  background: linear-gradient(135deg, var(--accent-red-light) 0%, #FF8090 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pt-related__params {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
}
.pt-related__params > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.pt-related__params > div:last-child { border-bottom: 0; }
.pt-related__params dt {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 42px;
}
.pt-related__params dd {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  text-align: right;
  margin-left: auto;
  line-height: 1.4;
}

/* --- Wizard inline CTA section --- */
.pt-product-wizard__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
}

/* --- FAQ — details/summary native a11y --- */
.pt-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.pt-faq__item {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pt-faq__item:hover {
  border-color: var(--border-red-soft);
  background: var(--bg-card-solid-hover);
}
.pt-faq__item[open] {
  border-color: var(--border-red);
  background: var(--bg-card-solid-hover);
}
.pt-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.pt-faq__q::-webkit-details-marker { display: none; }
.pt-faq__q-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}
.pt-faq__chevron {
  width: 18px;
  height: 18px;
  color: var(--accent-red-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
  transform: rotate(90deg);
  transition: transform 0.25s ease;
}
.pt-faq__item[open] .pt-faq__chevron { transform: rotate(-90deg); }
.pt-faq__a {
  padding: 4px 22px 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}
.pt-faq__a p { margin: 0 0 14px; }
.pt-faq__a p:last-child { margin-bottom: 0; }
.pt-faq__a strong { color: var(--text-secondary); font-weight: 600; }
.pt-faq__a ul, .pt-faq__a ol { padding-left: 20px; margin: 0 0 14px; }
.pt-faq__a li { margin-bottom: 6px; }
.pt-faq__a a { color: var(--accent-red-light); text-decoration: underline; text-underline-offset: 3px; }

/* --- RFQ Modal --- */
.pt-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pt-modal.is-open { display: flex; }
.pt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: pt-fade-in 0.25s ease;
}
.pt-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 36px 36px 28px;
  box-shadow: var(--shadow-card-hover), 0 0 80px rgba(219, 8, 18, 0.15);
  animation: pt-slide-up 0.3s var(--ease);
}
@keyframes pt-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pt-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.pt-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pt-modal__close:hover {
  border-color: var(--border-red);
  color: var(--accent-red-light);
}
.pt-modal__head { margin-bottom: 24px; }
.pt-modal__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pt-modal__sub {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
}

/* RFQ Form */
.pt-rfq-form__product-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(219, 8, 18, 0.06);
  border-left: 3px solid var(--accent-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 22px;
}
.pt-rfq-form__product-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-red-light);
}
.pt-rfq-form__product-value strong {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--text-primary);
  display: block;
}
.pt-rfq-form__product-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.pt-rfq-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-bottom: 20px;
}
.pt-rfq-form__field { display: flex; flex-direction: column; gap: 6px; }
.pt-rfq-form__field--full { grid-column: 1 / -1; }
.pt-rfq-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.pt-rfq-form__label--required::after {
  content: ' *';
  color: var(--accent-red-light);
}
.pt-rfq-form__input,
.pt-rfq-form__textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-rfq-form__input::placeholder,
.pt-rfq-form__textarea::placeholder { color: var(--text-dim); }
.pt-rfq-form__input:focus,
.pt-rfq-form__textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(219, 8, 18, 0.18);
}
.pt-rfq-form__input[aria-invalid="true"],
.pt-rfq-form__input:invalid:not(:placeholder-shown) {
  border-color: var(--accent-red-light);
}
.pt-rfq-form__textarea { min-height: 80px; resize: vertical; }
.pt-rfq-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
  cursor: pointer;
}
.pt-rfq-form__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-red);
  flex-shrink: 0;
  cursor: pointer;
}
.pt-rfq-form__check a {
  color: var(--accent-red-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pt-rfq-form__required-marker {
  color: var(--accent-red-light);
  font-weight: 700;
}
.pt-rfq-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.pt-rfq-form__legal {
  font-size: 11px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .pt-product-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .pt-product-usage__grid { grid-template-columns: 1fr; gap: 32px; }
  .pt-install-schema { position: static; }
  .pt-related__grid { grid-template-columns: repeat(2, 1fr); }
  .pt-usecase-grid { grid-template-columns: 1fr; }
  .pt-params-table-wrap { padding: 24px 20px; }
  .pt-params-table { font-size: 14px; }
  .pt-params-table tr:not(.pt-params-table__group-row) th,
  .pt-params-table tr:not(.pt-params-table__group-row) td { padding: 11px 12px; }
  .pt-params-table tr:not(.pt-params-table__group-row) th[scope="row"] { width: 55%; }
}

@media (max-width: 640px) {
  .pt-product-hero { padding: 40px 0 56px; }
  .pt-product-info__title { font-size: 38px !important; }
  .pt-product-gallery__thumbs { grid-template-columns: repeat(2, 1fr); }
  .pt-product-info__cta { flex-direction: column; align-items: stretch; }
  .pt-product-info__cta .btn { justify-content: center; }
  .pt-key-params-grid { grid-template-columns: 1fr; gap: 12px; }
  .pt-related__grid { grid-template-columns: 1fr; }
  .pt-variants-box__list { grid-template-columns: 1fr; }
  .pt-modal__dialog { padding: 24px 20px 20px; }
  .pt-rfq-form__grid { grid-template-columns: 1fr; }
  .pt-modal__title { font-size: 26px; }
  .pt-faq__q-text { font-size: 16px; }
  .pt-faq__q { padding: 16px 18px; }
  .pt-faq__a { padding: 4px 18px 18px; padding-top: 16px; }
  .pt-install-schema__diagram { font-size: 10px; }
  .pt-breadcrumbs { font-size: 12px; }
  .pt-breadcrumbs__list { gap: 6px; }
}

/* ==========================================================================
   === AKADEMIA HUB + ARTICLE ==============================================
   ========================================================================== */

/* Compact hero (akademia, oferta, kontakt, etc.) */
.pt-hero--compact { padding: 64px 0 80px; min-height: auto; }
.pt-hero--compact .pt-h1 { font-size: 56px; }
.hero__container--centered { display: flex; justify-content: center; }

/* Hero art (Imagen-generated abstract energy shield) — replaces .pt-product-card */
.pt-hero-art {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0;
  padding: 0;
}
.pt-hero-art__glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 40%,
    rgba(219, 8, 18, 0.35) 0%,
    rgba(219, 8, 18, 0.12) 35%,
    transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: pt-hero-art-pulse 6s ease-in-out infinite;
}
@keyframes pt-hero-art-pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%      { opacity: 1.0; transform: scale(1.05); }
}
.pt-hero-art__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(219, 8, 18, 0.10) inset;
}

/* Featured / alert / expert variants of category cards */
.pt-cat-card--featured {
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.10), rgba(219, 8, 18, 0.03));
  border-color: rgba(219, 8, 18, 0.35);
}
.pt-cat-card--featured .pt-cat-card__count {
  color: var(--accent-red-light);
}
.pt-cat-card--alert {
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.06), rgba(24, 65, 132, 0.04));
  border-color: rgba(219, 8, 18, 0.20);
}
.pt-cat-card--alert .pt-cat-card__icon {
  color: var(--accent-red-light);
}
.pt-cat-card--expert {
  background: linear-gradient(135deg, rgba(24, 65, 132, 0.10), rgba(24, 65, 132, 0.03));
  border-color: rgba(58, 109, 217, 0.30);
}
.pt-cat-card--expert .pt-cat-card__count {
  color: var(--accent-navy-light);
}

/* Expert standalone section (akademia hub bottom) */
.pt-expert-section { padding-top: 96px; padding-bottom: 96px; }

/* Bottom CTA wrapper (akademia hub) */
.pt-cta-final { padding-bottom: 120px; }

/* ==========================================================================
   === AKADEMIA ARTICLE (single-akademia-article.html) =====================
   ========================================================================== */

/* 2-column layout: sticky TOC + content */
.pt-article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.pt-article-layout__sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.pt-article-toc {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.pt-article-toc__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-red-light);
  margin: 0 0 14px;
}
.pt-article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-article-toc__item a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-muted) !important;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
  border-left: 2px solid transparent;
}
.pt-article-toc__item a:hover {
  background: var(--bg-glass);
  color: var(--text-primary) !important;
}
.pt-article-toc__item--active a {
  background: rgba(219, 8, 18, 0.20);
  color: #ff7785 !important;
  border-left-color: var(--accent-red);
  font-weight: 600;
}

/* Article body (.pt-prose) — typographic styles for long-form content */
.pt-prose { font-size: 17px; line-height: 1.75; color: var(--text-body); }
.pt-prose > * + * { margin-top: 24px; }
.pt-prose p { margin: 0; }
.pt-prose strong { color: var(--text-secondary); font-weight: 600; }
.pt-prose em { font-style: italic; color: var(--text-secondary); }
.pt-prose a {
  color: var(--accent-red-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.pt-prose a:hover { color: var(--text-primary); }
.pt-prose h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 56px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-red);
  display: inline-block;
  scroll-margin-top: 100px;
}
.pt-prose h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 36px 0 12px;
  scroll-margin-top: 100px;
}
.pt-prose ul, .pt-prose ol {
  padding-left: 24px;
  margin: 16px 0;
}
.pt-prose li { margin-bottom: 10px; }
.pt-prose ul li::marker { color: var(--accent-red-light); }

.pt-prose img,
.pt-prose figure {
  display: block;
  margin: 32px auto;
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}
.pt-prose figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  padding: 0 12px;
}

/* Consequence box ("Co się stanie jak...") — red callout */
.pt-callout {
  position: relative;
  margin: 32px 0;
  padding: 22px 28px 22px 60px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.08), rgba(219, 8, 18, 0.02));
  border-left: 4px solid var(--accent-red);
}
.pt-callout::before {
  content: '⚠';
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 22px;
  color: var(--accent-red);
  line-height: 1;
}
.pt-callout--info {
  background: linear-gradient(135deg, rgba(24, 65, 132, 0.08), rgba(24, 65, 132, 0.02));
  border-left-color: var(--accent-navy);
}
.pt-callout--info::before { content: 'ℹ'; color: var(--accent-navy-light); }
.pt-callout--tip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
  border-left-color: #10b981;
}
.pt-callout--tip::before { content: '✓'; color: #10b981; }
.pt-callout__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pt-callout__body { margin: 0; color: var(--text-body); font-size: 16px; }
.pt-callout__body > * + * { margin-top: 12px; }

/* Article meta header (eyebrow, title, author/date row) */
.pt-article-header { margin-bottom: 40px; }
.pt-article-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-red-light);
  margin-bottom: 16px;
}
.pt-article-header__title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 18px;
}
.pt-article-header__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 720px;
}
.pt-article-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-dim);
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.pt-article-header__meta strong { color: var(--text-secondary); font-weight: 600; }
.pt-article-header__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pt-article-header__author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-medium);
}

/* Comparison table (used in articles for "co chronimy" / typ vs typ) */
.pt-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 32px 0;
}
.pt-compare-table thead th {
  text-align: left;
  padding: 14px 16px;
  background: var(--bg-card-solid);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-red-light);
  border-bottom: 1px solid var(--accent-red);
}
.pt-compare-table td,
.pt-compare-table tbody th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
  vertical-align: top;
}
.pt-compare-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(24, 65, 132, 0.05);
  width: 28%;
}
.pt-compare-table tbody tr:last-child td,
.pt-compare-table tbody tr:last-child th { border-bottom: 0; }

/* Article bottom: prev/next nav + share + related */
.pt-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 56px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--border-subtle);
}
.pt-article-nav__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pt-article-nav__link:hover {
  border-color: var(--accent-red);
  transform: translateY(-2px);
}
.pt-article-nav__link--next { text-align: right; }
.pt-article-nav__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-red-light);
}
.pt-article-nav__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary) !important;
}

/* Article CTA inline (e.g., "Pomóż mi dobrać" mid-article) */
.pt-article-cta {
  margin: 48px 0;
  padding: 32px 36px;
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.10), rgba(24, 65, 132, 0.05));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  text-align: center;
}
.pt-article-cta__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.pt-article-cta__body { color: var(--text-muted); margin: 0 0 18px; }

/* Responsive article */
@media (max-width: 980px) {
  .pt-article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 20px 64px; }
  /* pozwól kolumnom grida zwężać się poniżej min-content dziecka (inaczej szeroka
     tabela porównawcza rozpycha cały layout i strona scrolluje w poziomie na mobile) */
  .pt-article-layout__sidebar,
  .pt-article-body,
  .pt-article-layout--single-col .pt-article-body { min-width: 0; }
  /* szerokie tabele w treści artykułu — przewijaj wewnątrz zamiast rozpychać stronę */
  .pt-prose table,
  .pt-compare-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pt-article-layout__sidebar { position: static; }
  .pt-article-toc { padding: 16px; }
  .pt-article-header__title { font-size: 34px; }
  .pt-article-nav { grid-template-columns: 1fr; }
  .pt-article-nav__link--next { text-align: left; }
  .pt-prose h2 { font-size: 26px; }
  .pt-prose h3 { font-size: 20px; }
  .pt-hero--compact .pt-h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  .pt-prose { font-size: 16px; }
  .pt-article-header__title { font-size: 28px; }
  .pt-article-header__lead { font-size: 16px; }
  .pt-callout { padding: 18px 22px 18px 50px; }
  .pt-callout::before { left: 18px; top: 18px; }
  .pt-compare-table { font-size: 13px; }
  .pt-compare-table td, .pt-compare-table tbody th { padding: 10px 12px; }
}

/* ==========================================================================
   === ARCHIVE LISTING — /produkty/ + /oferta/{kategoria}/ ==================
   ========================================================================== */

.pt-archive-listing {
  padding-top: 32px;
  padding-bottom: 64px;
}

.pt-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
/* Kategorie, w których klient chce równe rzędy po 3 karty (np. PV 1000 V: 6 kart = 3+3). */
.pt-archive-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .pt-archive-grid--3col { grid-template-columns: repeat(2, 1fr); }
}

.pt-archive-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none !important;
  color: var(--text-primary) !important;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.pt-archive-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(219, 8, 18, 0.08);
}
.pt-archive-card--educational,
.pt-archive-card--placeholder {
  opacity: 0.7;
}

.pt-archive-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pt-archive-card__media .icon--cat {
  width: 56px;
  height: 56px;
  color: var(--accent-red-light);
  opacity: 0.7;
}
.pt-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.pt-archive-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-red-light);
  border-radius: 4px;
}

.pt-archive-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pt-archive-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.015em;
  word-break: break-word;
}
.pt-archive-card:hover .pt-archive-card__title { color: var(--accent-red-light); }

.pt-archive-card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 8px 0 0;
}

.pt-archive-card__sku {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-archive-card__sku-row {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pt-archive-card__sku strong {
  color: var(--text-secondary);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 13px;
}

.pt-archive-card__params {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 12px;
  margin: 4px 0 6px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pt-archive-card__params > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pt-archive-card__params dt {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.pt-archive-card__params dd {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

.pt-archive-card__more {
  margin-top: auto;
  padding-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-red-light) !important;
  letter-spacing: 0.01em;
  transition: gap 0.2s ease;
}
.pt-archive-card:hover .pt-archive-card__more { gap: 10px; }

.pt-archive-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  background: var(--bg-card-solid);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius);
}

/* === Pagination === */
.pt-pagination {
  margin-top: 40px;
  text-align: center;
}
.pt-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-pagination a,
.pt-pagination .current,
.pt-pagination .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card-solid);
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pt-pagination a:hover {
  background: var(--bg-glass-strong);
  border-color: var(--accent-red);
  color: var(--accent-red-light) !important;
}
.pt-pagination .current {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff !important;
}
.pt-pagination .dots {
  background: transparent;
  border-color: transparent;
  color: var(--text-dim) !important;
}

@media (max-width: 640px) {
  .pt-archive-grid { grid-template-columns: 1fr; gap: 16px; }
  .pt-archive-card__params { grid-template-columns: repeat(3, 1fr); }
  .pt-pagination a, .pt-pagination .current, .pt-pagination .dots { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }
}

/* ==========================================================================
   === HERO SEARCH — live AJAX /protec/v1/search ==========================
   ========================================================================== */

.pt-dark .pt-search {
  position: relative;
  margin: 28px 0 24px;
  max-width: 580px;
  z-index: 5;
}
.pt-dark .pt-search__label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.pt-dark .pt-search__box {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-dark .pt-search__box:focus-within {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 4px rgba(219, 8, 18, 0.15), 0 10px 28px rgba(0,0,0,0.35);
}
.pt-dark .pt-search__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-left: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.pt-dark .pt-search__box:focus-within .pt-search__icon { color: var(--accent-red-light); }

.pt-dark .pt-search__input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 18px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.005em;
  min-width: 0;
}
.pt-dark .pt-search__input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
  font-weight: 400;
}
.pt-dark .pt-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.pt-dark .pt-search__input::-webkit-search-decoration { -webkit-appearance: none; }

.pt-dark .pt-search__clear {
  flex-shrink: 0;
  width: 32px; height: 32px;
  margin-right: 10px;
  background: var(--bg-glass-strong);
  border: 0;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.pt-dark .pt-search__clear:hover {
  background: var(--accent-red);
  color: #fff;
}

.pt-dark .pt-search__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* Dropdown */
.pt-dark .pt-search__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 18, 22, 0.96);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  max-height: 420px;
  overflow-y: auto;
  padding: 6px;
}
.pt-dark .pt-search__dropdown[hidden] { display: none; }

.pt-dark .pt-search__result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--text-primary) !important;
  transition: background 0.15s ease;
  cursor: pointer;
}
.pt-dark .pt-search__result:hover,
.pt-dark .pt-search__result--active {
  background: linear-gradient(90deg, rgba(219, 8, 18, 0.10), rgba(219, 8, 18, 0.02));
}
.pt-dark .pt-search__result + .pt-search__result {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.pt-dark .pt-search__result-main {
  flex: 1;
  min-width: 0;
}
.pt-dark .pt-search__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pt-dark .pt-search__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.pt-dark .pt-search__meta em {
  color: var(--text-dim);
  font-style: normal;
  font-weight: 400;
  margin-right: 4px;
  letter-spacing: 0.04em;
}

.pt-dark .pt-search__badge {
  flex-shrink: 0;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: var(--bg-glass);
  white-space: nowrap;
}
.pt-dark .pt-search__badge--title             { color: var(--accent-red-light); border-color: rgba(219, 8, 18, 0.30); background: rgba(219, 8, 18, 0.08); }
.pt-dark .pt-search__badge--numer_katalogowy { color: var(--accent-navy-light); border-color: rgba(58, 109, 217, 0.30); background: rgba(58, 109, 217, 0.08); }
.pt-dark .pt-search__badge--ean              { color: #fbbf24; border-color: rgba(251, 191, 36, 0.30); background: rgba(251, 191, 36, 0.08); }

/* States */
.pt-dark .pt-search__empty,
.pt-dark .pt-search__loading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  color: var(--text-muted);
  font-size: 14px;
  align-items: flex-start;
}
.pt-dark .pt-search__loading {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.pt-dark .pt-search__empty strong {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}
.pt-dark .pt-search__empty span {
  font-size: 13px;
  color: var(--text-muted);
}
.pt-dark .pt-search__empty a {
  color: var(--accent-red-light) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.pt-dark .pt-search__spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--accent-red-light);
  border-radius: 50%;
  animation: pt-search-spin 0.7s linear infinite;
}
@keyframes pt-search-spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 640px) {
  .pt-dark .pt-search__box { border-radius: 12px; }
  .pt-dark .pt-search__input { padding: 14px 12px; font-size: 15px; }
  .pt-dark .pt-search__icon { width: 18px; height: 18px; margin-left: 14px; }
  .pt-dark .pt-search__title { font-size: 15px; }
  .pt-dark .pt-search__badge { font-size: 9px; padding: 3px 8px; }
}


/* ─── PAGE: O FIRMIE / KONTAKT / DO POBRANIA ─── */

/* Contact 2-col grid */
.pt-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.pt-contact-block {
  background: rgba(24, 65, 132, 0.04);
  border: 1px solid rgba(24, 65, 132, 0.08);
  border-radius: 16px;
  padding: 40px 36px;
}
.pt-contact-block .pt-eyebrow { margin-bottom: 8px; }
.pt-contact-block .pt-h2 { margin-bottom: 24px; }
.pt-contact-address p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.pt-contact-address strong {
  display: block;
  color: var(--accent-red, #DB0812);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pt-contact-address a {
  color: var(--brand-navy, #184184);
  text-decoration: none;
  font-weight: 600;
}
.pt-contact-address a:hover { text-decoration: underline; }

.pt-contact-people {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pt-contact-person {
  background: white;
  border: 1px solid rgba(24, 65, 132, 0.1);
  border-left: 3px solid var(--accent-red, #DB0812);
  border-radius: 8px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  align-items: center;
}
.pt-contact-person strong {
  font-size: 17px;
  color: var(--brand-navy, #184184);
}
.pt-contact-person__role {
  grid-column: 1;
  font-size: 13px;
  color: var(--text-secondary, #555);
}
.pt-contact-person__phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-red, #DB0812);
  text-decoration: none;
  white-space: nowrap;
}
.pt-contact-person__phone + .pt-contact-person__phone {
  grid-column: 2;
}
.pt-contact-person__phone:hover { text-decoration: underline; }

.pt-contact-note {
  background: rgba(219, 8, 18, 0.06);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.55;
  display: flex;
  gap: 12px;
  align-items: start;
}
.pt-contact-note .icon { flex-shrink: 0; margin-top: 2px; color: var(--accent-red, #DB0812); }

@media (max-width: 880px) {
  .pt-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .pt-contact-block { padding: 28px 24px; }
}

/* Contact form — DARK theme (spójny z resztą strony) */
.pt-form-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.85) 0%, rgba(16, 20, 28, 0.95) 100%);
  border-radius: 20px;
  padding: 48px 56px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pt-form { display: flex; flex-direction: column; gap: 22px; }
.pt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pt-form__field { display: flex; flex-direction: column; gap: 8px; }
.pt-form__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pt-form__field input,
.pt-form__field textarea,
.pt-form__field select {
  font: inherit;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  background: rgba(8, 10, 15, 0.5);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.pt-form__field input::placeholder,
.pt-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.pt-form__field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23FF4555' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 44px;
}
.pt-form__field select option {
  background: #0F1623;
  color: var(--text-primary);
}
.pt-form__field input:focus,
.pt-form__field textarea:focus,
.pt-form__field select:focus {
  outline: none;
  border-color: var(--accent-red-light);
  background: rgba(8, 10, 15, 0.7);
  box-shadow: 0 0 0 3px rgba(219, 8, 18, 0.18);
}
.pt-form__field--checkbox {
  flex-direction: row;
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-body);
}
.pt-form__field--checkbox input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  padding: 0;
}
.pt-form__field--checkbox input[type="checkbox"] {
  accent-color: var(--accent-red);
}
.pt-form__field--checkbox a {
  color: var(--accent-red-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pt-form__actions { display: flex; justify-content: center; margin-top: 8px; }

@media (max-width: 720px) {
  .pt-form-wrapper { padding: 32px 24px; }
  .pt-form__row { grid-template-columns: 1fr; gap: 22px; }
}

/* Google Maps embed wrapper */
.pt-map-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 56px -16px rgba(24, 65, 132, 0.18);
}

/* Center CTA helper */
.pt-center-cta { text-align: center; margin-top: 40px; }

/* Contact form status banners */
.pt-form__banner {
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.pt-form__banner--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #6ee7b7;
}
.pt-form__banner--error {
  background: rgba(219, 8, 18, 0.12);
  border: 1px solid rgba(219, 8, 18, 0.45);
  color: #fda4af;
}
.pt-form__banner strong { font-weight: 700; }

/* Disabled submit button — wysyłanie */
.pt-form__actions button:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ─── WIZARD UX v2 ─── */

/* Auto-advance: button visual hint że za chwilę aktywuje */
.pt-wiz-next.is-armed {
  animation: pt-wiz-armed-pulse 0.6s ease-in-out;
}
@keyframes pt-wiz-armed-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(219, 8, 18, 0); }
  50% { box-shadow: 0 0 0 6px rgba(219, 8, 18, 0.25); }
}

/* Inline hint accordion (Jak rozpoznać LPS, układ sieci) */
.pt-wiz-hint {
  margin: 20px 0 0;
  background: rgba(58, 109, 217, 0.08);
  border: 1px solid rgba(58, 109, 217, 0.2);
  border-radius: 10px;
  padding: 12px 20px;
  transition: background 0.2s;
}
.pt-wiz-hint:hover { background: rgba(58, 109, 217, 0.12); }
.pt-wiz-hint > summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-navy-light, #5B8AE8);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.pt-wiz-hint > summary::-webkit-details-marker { display: none; }
.pt-wiz-hint > summary::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
  color: var(--accent-navy-light, #5B8AE8);
  transition: transform 0.2s;
}
.pt-wiz-hint[open] > summary::after { content: '−'; }
.pt-wiz-hint__body {
  padding: 12px 0 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary, #b0bcd1);
}
.pt-wiz-hint__body p { margin: 0 0 12px; }
.pt-wiz-hint__body p:last-child { margin-bottom: 0; }
.pt-wiz-hint__body ul { margin: 0 0 12px 20px; padding: 0; }
.pt-wiz-hint__body li { margin-bottom: 6px; }
.pt-wiz-hint__body strong { color: var(--text-primary, #fff); }
.pt-wiz-hint__body a { color: var(--accent-red-light, #FF4555); }

/* Sticky CTA bar (bottom-fixed na mobile, side-floating desktop ≥1100px)
   🔴 --pt-cookie-offset podnosi pasek ponad baner cookies. Baner ma z-index 9990,
   pasek 90, więc dopóki user nie podjął decyzji o cookies, baner PRZECHWYTYWAŁ
   kliknięcia w przyciski paska (na telefonie we wszystkie trzy). Zmienną ustawia
   skrypt zgody w functions.php; po decyzji wraca do 0. */
.pt-wiz-sticky {
  position: fixed;
  bottom: var(--pt-cookie-offset, 0px);
  left: 0;
  right: 0;
  z-index: 90;
  transition: bottom 0.25s ease;
  background: rgba(15, 22, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  padding: 12px 16px;
}
.pt-wiz-sticky__inner {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: stretch;
}
.pt-wiz-sticky__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary, #fff);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.pt-wiz-sticky__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.pt-wiz-sticky__btn:active { transform: translateY(1px); }
.pt-wiz-sticky__btn--primary {
  background: var(--accent-red, #DB0812);
  border-color: var(--accent-red, #DB0812);
  color: white;
}
.pt-wiz-sticky__btn--primary:hover {
  background: var(--accent-red-light, #FF4555);
  border-color: var(--accent-red-light, #FF4555);
}

/* Desktop ≥1100px — floating bar po prawej, max-width compact */
@media (min-width: 1100px) {
  .pt-wiz-sticky {
    left: auto;
    right: 24px;
    bottom: calc(24px + var(--pt-cookie-offset, 0px));
    width: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  }
  .pt-wiz-sticky__inner {
    max-width: none;
    grid-template-columns: auto auto auto;
  }
}

/* Mobile compact — ukryj tekst na bardzo małych ekranach */
@media (max-width: 400px) {
  .pt-wiz-sticky__btn span { font-size: 12px; }
  .pt-wiz-sticky__btn { padding: 10px 12px; }
}

/* Sticky bottom padding na result page żeby fixed nie zasłaniał ostatniej sekcji */
[data-question="result"]:not([hidden]) ~ * {
  padding-bottom: 80px;
}
@media (min-width: 1100px) {
  [data-question="result"]:not([hidden]) ~ * { padding-bottom: 0; }
}

/* Email form (expanded gdy user kliknie 'Wyślij na e-mail') */
.pt-wiz-email-form {
  max-width: 560px;
  margin: 24px auto 0;
  background: var(--bg-card-solid, #131A2A);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.pt-wiz-email-form__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.pt-wiz-email-form__head h3 {
  margin: 0;
  font-size: 19px;
  color: var(--text-primary, #fff);
}
.pt-wiz-email-form__close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-tertiary, #7a89a3);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.pt-wiz-email-form__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary, #fff);
}
.pt-wiz-email-form .pt-form__field input[type="email"],
.pt-wiz-email-form .pt-form__field input[type="text"] {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary, #fff);
}
.pt-wiz-email-form .pt-form__field input:focus {
  background: rgba(255, 255, 255, 0.08);
}
.pt-wiz-email-form .pt-form__label {
  color: var(--text-primary, #fff);
}
.pt-wiz-email-form .pt-form__field--checkbox span {
  color: var(--text-secondary, #b0bcd1);
}

/* ─── MOBILE NAV OVERLAY ─── */
.site-nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: rgba(15, 22, 35, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 200;
  padding: 80px 24px 24px;
  overflow-y: auto;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.5);
  animation: pt-mobile-nav-slide 0.25s ease-out;
}
@keyframes pt-mobile-nav-slide {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
body.site-nav-open { overflow: hidden; }
body.site-nav-open::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  animation: pt-fade-in 0.25s ease-out;
}
@keyframes pt-fade-in { from { opacity: 0; } to { opacity: 1; } }

.site-nav-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-nav-mobile a {
  display: block;
  padding: 14px 16px;
  color: var(--text-primary, #fff);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
}
.site-nav-mobile a:hover,
.site-nav-mobile a:focus {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}
.site-nav-mobile a.site-nav-mobile__highlight {
  background: var(--accent-red, #DB0812);
  color: white;
  text-align: center;
  margin: 8px 0;
}
.site-nav-mobile a.site-nav-mobile__highlight:hover {
  background: var(--accent-red-light, #FF4555);
}

/* Submenu (Kategorie produktów) — details accordion */
.site-nav-mobile__submenu {
  margin: 4px 0;
}
.site-nav-mobile__submenu > summary {
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary, #b0bcd1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  transition: background 0.15s;
}
.site-nav-mobile__submenu > summary::-webkit-details-marker { display: none; }
.site-nav-mobile__submenu > summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--accent-red, #DB0812);
  transition: transform 0.2s;
}
.site-nav-mobile__submenu[open] > summary::after { content: '−'; }
.site-nav-mobile__submenu > summary:hover { background: rgba(255, 255, 255, 0.04); }
.site-nav-mobile__submenu a {
  padding: 10px 16px 10px 32px;
  font-size: 15px;
  color: var(--text-secondary, #b0bcd1);
  font-weight: 400;
}
.site-nav-mobile__submenu a:hover {
  color: var(--text-primary, #fff);
}

.site-nav-mobile__cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
}

.site-header__toggle {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--text-primary, #fff);
  font-size: 22px;
  line-height: 1;
}
.site-header__toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}
@media (min-width: 901px) {
  .site-header__toggle { display: none; }
  .site-nav-mobile { display: none !important; }
}

/* ─── GLOSSARY ─── */
.pt-glossary-index {
  background: rgba(58, 109, 217, 0.08);
  border: 1px solid rgba(58, 109, 217, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0 48px;
  text-align: center;
}
.pt-glossary-index p { margin: 0; }
.pt-glossary-index a {
  display: inline-block;
  margin: 4px 6px;
  padding: 6px 14px;
  background: var(--accent-red, #DB0812);
  color: white;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s;
}
.pt-glossary-index a:hover { background: var(--accent-red-light, #FF4555); }
.pt-glossary-index strong {
  display: inline-block;
  margin-right: 8px;
  color: var(--text-secondary, #b0bcd1);
  font-size: 14px;
}

/* Glossary terms dl/dt/dd */
.pt-prose dl,
main dl {
  margin: 24px 0;
}
.pt-prose dt,
main dt {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin-top: 24px;
  margin-bottom: 8px;
  padding-left: 16px;
  border-left: 3px solid var(--accent-red, #DB0812);
}
.pt-prose dt strong,
main dt strong { color: inherit; }
.pt-prose dd,
main dd {
  margin: 0 0 16px 16px;
  padding-left: 4px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary, #b0bcd1);
}
.pt-prose dd a,
main dd a { color: var(--accent-red-light, #FF4555); font-weight: 600; }

/* Anchor links — scroll offset for fixed header */
[id^="litera-"] {
  scroll-margin-top: 100px;
}

/* ─── FAQ styling ─── */
main h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--accent-navy-light, #5B8AE8);
}
main h2 + h3 { margin-top: 16px; }

/* ═══════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════ */

.pt-page-404 {}

.pt-404__code {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(120px, 22vw, 220px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-red, #DB0812) 0%, var(--accent-red-light, #FF4555) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 12px 0 4px;
  user-select: none;
  text-shadow: 0 0 80px rgba(219, 8, 18, 0.3);
}

.pt-404__search {
  display: flex;
  gap: 8px;
  max-width: 620px;
  margin: 28px auto 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pt-404__search input[type="search"] {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary, #fff);
  outline: none;
}

.pt-404__search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.pt-404__search input[type="search"]:focus {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.pt-404__search .btn {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .pt-404__search { flex-direction: column; padding: 12px; }
  .pt-404__search .btn { width: 100%; justify-content: center; }
}

.pt-404__paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 980px) {
  .pt-404__paths { grid-template-columns: 1fr; gap: 16px; }
}

/* ═══════════════════════════════════════════════════
   CTA BAND (reusable)
   ═══════════════════════════════════════════════════ */

.pt-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px 48px;
  background: linear-gradient(135deg, rgba(24, 65, 132, 0.18) 0%, rgba(219, 8, 18, 0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.pt-cta-band__text h2 { margin: 0 0 8px; }
.pt-cta-band__text .pt-lead { margin: 0; }

.pt-cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pt-cta-band__actions .btn { white-space: nowrap; }

@media (max-width: 780px) {
  .pt-cta-band {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }
  .pt-cta-band__actions { align-items: center; }
  .pt-cta-band__actions .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   ARTICLE CARD — image variant + empty state
   ═══════════════════════════════════════════════════ */

.pt-article__media--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(24, 65, 132, 0.4);
  position: relative;
}

.pt-article__media--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.pt-article__media--image .pt-article__cat {
  position: relative;
  z-index: 2;
}

/* Empty state */
.pt-empty {
  text-align: center;
  padding: 80px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.pt-empty .pt-h2 { margin: 0 0 12px; }
.pt-empty .pt-lead { margin: 0 auto 24px; max-width: 520px; }

/* Category archive: tighter article meta */
.pt-page-category .pt-article__meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════
   AKADEMIA SINGLE ARTICLE — MODERN BLOG HERO + PROSE CARD
   ═══════════════════════════════════════════════════ */

.pt-akademia-single { background: transparent; }

/* Featured image hero — full-width with overlay */
.pt-article-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
.pt-article-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pt-article-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pt-article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,15,0.30) 0%, rgba(8,10,15,0.78) 70%, rgba(8,10,15,0.95) 100%);
  z-index: 1;
}
.pt-article-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 64px;
}
.pt-article-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 18px 0 16px;
  max-width: 920px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.pt-article-hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0 0 24px;
  max-width: 760px;
}
.pt-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.pt-article-hero__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
}
.pt-article-hero__author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  object-fit: cover;
}

@media (max-width: 780px) {
  .pt-article-hero { min-height: 360px; }
  .pt-article-hero__inner { padding: 40px 20px 48px; }
}

/* PROSE CARD — wrap article content in lifted card for modern blog feel */
.pt-akademia-single .pt-article-layout {
  padding-top: 0;
  margin-top: -48px;
  position: relative;
  z-index: 3;
}
.pt-akademia-single .pt-article-body {
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.85) 0%, rgba(16, 20, 28, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 56px 56px 48px;
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 780px) {
  .pt-akademia-single .pt-article-body { padding: 36px 24px 32px; border-radius: 16px; }
}

/* Prose readability tweaks for modern blog */
.pt-akademia-single .pt-prose { font-size: 17px; line-height: 1.78; color: rgba(232, 232, 232, 0.92); }
.pt-akademia-single .pt-prose p { margin: 0 0 20px; }
.pt-akademia-single .pt-prose > * + * { margin-top: 0; }
.pt-akademia-single .pt-prose > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  float: left;
  line-height: 0.85;
  margin: 6px 14px 0 0;
  color: var(--accent-red-light);
}
.pt-akademia-single .pt-prose h2 {
  scroll-margin-top: 110px;
  border-bottom: 2px solid var(--accent-red);
  display: inline-block;
  padding-bottom: 8px;
}

/* Sidebar TOC — tighter, more modern */
.pt-akademia-single .pt-article-layout__sidebar { top: 110px; }

/* ═══════════════════════════════════════════════════
   DEFAULT PAGE TEMPLATE (page.php) — single column
   ═══════════════════════════════════════════════════ */

.pt-page-default { background: transparent; }

.pt-article-layout--single-col {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.pt-article-layout--single-col .pt-article-body {
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.85) 0%, rgba(16, 20, 28, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 56px 56px 48px;
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* When page has featured image hero, prose card lifts onto hero */
.pt-page-default .pt-article-hero + .pt-article-layout--single-col {
  margin-top: -48px;
  position: relative;
  z-index: 3;
}

@media (max-width: 780px) {
  .pt-article-layout--single-col { padding: 32px 16px 64px; }
  .pt-article-layout--single-col .pt-article-body {
    padding: 36px 24px 32px;
    border-radius: 16px;
  }
}

.pt-page-default .pt-prose { font-size: 17px; line-height: 1.78; color: rgba(232, 232, 232, 0.92); }
.pt-page-default .pt-prose h1 { display: none; } /* hero already has title */
.pt-page-default .pt-prose h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-red);
  display: inline-block;
  scroll-margin-top: 110px;
}
.pt-page-default .pt-prose h2:first-child { margin-top: 0; }
.pt-page-default .pt-prose h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 32px 0 12px;
  scroll-margin-top: 110px;
}

.pt-page-default .pt-prose ul, .pt-page-default .pt-prose ol { padding-left: 24px; margin: 16px 0; }
.pt-page-default .pt-prose li { margin-bottom: 10px; }
.pt-page-default .pt-prose ul li::marker { color: var(--accent-red-light); }
.pt-page-default .pt-prose strong { color: var(--text-secondary); font-weight: 600; }
.pt-page-default .pt-prose a { color: var(--accent-red-light); text-decoration: underline; text-underline-offset: 3px; }
.pt-page-default .pt-prose a:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════════════════
   TAXONOMY HERO — featured image variant
   ═══════════════════════════════════════════════════ */

.pt-hero--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  isolation: isolate;
  min-height: 360px;
}
.pt-hero--image .pt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,15,0.55) 0%, rgba(8,10,15,0.85) 80%, rgba(8,10,15,0.95) 100%);
  z-index: 1;
}
.pt-hero--image .pt-h1 { text-shadow: 0 2px 30px rgba(0,0,0,0.4); }

/* ═══════════════════════════════════════════════════
   AKADEMIA SINGLE & DEFAULT PAGE — ambient orbs glow
   (dekoracja jak home hero, żeby strona nie była płaska)
   ═══════════════════════════════════════════════════ */

.pt-akademia-single,
.pt-page-default,
.pt-page-search,
.pt-page-archive,
.pt-page-404,
.pt-page-category {
  position: relative;
  isolation: isolate;
}

/* Drift orbs ambient — behind content, very subtle */
.pt-akademia-single::before,
.pt-page-default::before,
.pt-page-archive::before {
  content: '';
  position: fixed;
  top: 20%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(219, 8, 18, 0.10) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  animation: pt-drift-orb 28s ease-in-out infinite;
}

.pt-akademia-single::after,
.pt-page-default::after,
.pt-page-archive::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(58, 109, 217, 0.10) 0%, transparent 70%);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  animation: pt-drift-orb 32s ease-in-out infinite reverse;
}

@keyframes pt-drift-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .pt-akademia-single::before, .pt-akademia-single::after,
  .pt-page-default::before, .pt-page-default::after,
  .pt-page-archive::before, .pt-page-archive::after {
    animation: none;
  }
}

/* Zapewnij że main content jest nad orbami */
.pt-akademia-single > *,
.pt-page-default > *,
.pt-page-search > *,
.pt-page-archive > *,
.pt-page-404 > *,
.pt-page-category > * {
  position: relative;
  z-index: 1;
}


/* Single article + default pages — sekcje przezroczyste żeby gradient body widoczny */
.pt-akademia-single .pt-section,
.pt-page-default .pt-section,
.pt-page-search .pt-section,
.pt-page-archive .pt-section,
.pt-page-404 .pt-section,
.pt-page-category .pt-section {
  background: transparent;
}
.pt-akademia-single .pt-section--alt,
.pt-page-default .pt-section--alt,
.pt-page-search .pt-section--alt,
.pt-page-archive .pt-section--alt,
.pt-page-404 .pt-section--alt,
.pt-page-category .pt-section--alt {
  background: linear-gradient(180deg, rgba(15, 22, 35, 0.5) 0%, rgba(13, 19, 32, 0.7) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ═══════════════════════════════════════════════════
   CATEGORY ARCHIVE — same layout as single article
   (featured image hero + lifted content)
   ═══════════════════════════════════════════════════ */

/* When category has featured image — lift content card onto hero */
.pt-page-category--has-image .pt-article-hero + .pt-section {
  margin-top: -48px;
  position: relative;
  z-index: 3;
  padding-top: 0;
}
.pt-page-category--has-image .pt-section .section__container {
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.85) 0%, rgba(16, 20, 28, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 56px 56px 48px;
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: var(--container);
}
.pt-page-category--has-image .pt-section--alt .section__container {
  background: linear-gradient(180deg, rgba(15, 22, 35, 0.85) 0%, rgba(13, 19, 32, 0.92) 100%);
}

/* Reset section--alt background gdy ma lifted card (przezroczyste tło sekcji) */
.pt-page-category--has-image .pt-section,
.pt-page-category--has-image .pt-section--alt {
  background: transparent;
  border: 0;
}
.pt-page-category--has-image .pt-section + .pt-section {
  margin-top: 32px;
}

@media (max-width: 780px) {
  .pt-page-category--has-image .pt-section .section__container {
    padding: 36px 24px 32px;
    border-radius: 16px;
    margin: 0 12px;
  }
}

/* Hero meta below title */
.pt-article-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

/* ═══════════════════════════════════════════════════
   USE-CASE CARDS — image variant
   (single-produkt — boksy linkujące do artykułów Akademii z featured image)
   ═══════════════════════════════════════════════════ */

.pt-usecase-card--image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(24, 65, 132, 0.15);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  min-height: 240px;
  isolation: isolate;
}
.pt-usecase-card--image:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5), 0 0 32px rgba(219, 8, 18, 0.15);
}
.pt-usecase-card--image .pt-usecase-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,15,0.30) 0%, rgba(8,10,15,0.75) 60%, rgba(8,10,15,0.95) 100%);
  z-index: 1;
}
.pt-usecase-card--image .pt-usecase-card__content {
  position: relative;
  z-index: 2;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.pt-usecase-card--image svg {
  color: var(--accent-red-light);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}
.pt-usecase-card--image h3 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.pt-usecase-card--image p {
  color: rgba(255, 255, 255, 0.85);
}

/* When no image — keep old layout */
.pt-usecase-card:not(.pt-usecase-card--image) .pt-usecase-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

/* ═══════════════════════════════════════════════════
   USP cards na /o-firmie/ — featured image + icon overlay
   ═══════════════════════════════════════════════════ */

.pt-cat-card--usp {
  cursor: default;
}
.pt-cat-card--usp:hover {
  transform: translateY(-4px);
  /* zostawiamy hover effect ale nie tak mocny jak na klikalnym */
}
.pt-cat-card--usp .pt-cat-card__media {
  aspect-ratio: 16 / 10;
  position: relative;
}
.pt-cat-card--usp .pt-cat-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.60) 100%);
  z-index: 1;
}
/* Icon over image, centered */
.pt-cat-card--usp .pt-cat-card__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: transparent;
  margin: 0;
}
.pt-cat-card--usp .pt-cat-card__icon svg {
  width: 56px;
  height: 56px;
  color: #fff;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  stroke-width: 1.5;
}
.pt-cat-card--usp .pt-cat-card__body {
  padding: 24px 24px 26px;
}
.pt-cat-card--usp .pt-cat-card__name {
  font-size: 19px;
  margin-bottom: 12px;
}
.pt-cat-card--usp .pt-cat-card__desc {
  font-size: 14px;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════
   CERT CARDS — PDF download cards z podglądem pierwszej strony
   "Dokument na biurku" — paper z lekkim cieniem
   ═══════════════════════════════════════════════════ */

.pt-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pt-cert-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  border-radius: var(--radius-lg);
  background: rgba(20, 24, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}
.pt-cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6), 0 0 32px rgba(219, 8, 18, 0.15);
}

/* "Paper" — symuluje arkusz dokumentu na biurku */
.pt-cert-card__paper {
  position: relative;
  padding: 24px 24px 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 0, 0, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(20, 24, 32, 0.4) 0%, rgba(15, 22, 35, 0.6) 100%);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.pt-cert-card__page {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  border-radius: 6px 6px 0 0;
  box-shadow:
    0 16px 40px -8px rgba(0, 0, 0, 0.55),
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: perspective(800px) rotateX(2deg);
  transform-origin: center bottom;
  transition: transform 0.5s var(--ease);
}
.pt-cert-card:hover .pt-cert-card__page {
  transform: perspective(800px) rotateX(0deg) translateY(-4px);
}

.pt-cert-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-transform: uppercase;
}

.pt-cert-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pt-cert-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

.pt-cert-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.pt-cert-card__meta svg {
  width: 14px;
  height: 14px;
  color: var(--accent-red-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.pt-cert-card:hover .pt-cert-card__meta svg {
  transform: translateY(2px);
  color: var(--text-primary);
}

@media (max-width: 980px) {
  .pt-cert-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .pt-cert-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ═══════════════════════════════════════════════════
   /kontakt/ — quick info cards + modern person cards
   ═══════════════════════════════════════════════════ */

/* Quick info cards (godziny, email, telefon) */
.pt-kontakt-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pt-kontakt-info__card {
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.7) 0%, rgba(16, 20, 28, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.pt-kontakt-info__card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
}
.pt-kontakt-info__card--accent {
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.18) 0%, rgba(24, 65, 132, 0.22) 100%);
  border-color: rgba(255, 100, 110, 0.25);
}
.pt-kontakt-info__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(219, 8, 18, 0.12);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.pt-kontakt-info__icon svg {
  width: 28px; height: 28px;
  color: var(--accent-red-light);
  fill: none; stroke: currentColor; stroke-width: 1.6;
}
.pt-kontakt-info__title {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.pt-kontakt-info__big {
  font-size: 22px; font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.2;
  word-break: break-word;
}
.pt-kontakt-info__big a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.pt-kontakt-info__big a:hover { color: var(--accent-red-light); }
.pt-kontakt-info__sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .pt-kontakt-info { grid-template-columns: 1fr; gap: 16px; }
  .pt-kontakt-info__card { padding: 28px 22px; }
}

/* Modern person cards */
.pt-person-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pt-person-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: rgba(20, 24, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pt-person-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 100, 110, 0.3);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.5);
}
.pt-person-card--expert {
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.10) 0%, rgba(24, 65, 132, 0.15) 100%);
  border-color: rgba(255, 100, 110, 0.20);
}

.pt-person-card__avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}
.pt-person-card__avatar--image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pt-person-card__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.pt-person-card--navy .pt-person-card__avatar--initials {
  background: linear-gradient(135deg, var(--accent-navy) 0%, var(--accent-navy-light) 100%);
}
.pt-person-card--red .pt-person-card__avatar--initials {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
}
.pt-person-card--expert .pt-person-card__avatar {
  border: 2px solid rgba(255, 100, 110, 0.4);
}

.pt-person-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pt-person-card__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  background: rgba(219, 8, 18, 0.18);
  border: 1px solid rgba(255, 100, 110, 0.35);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-red-light);
  margin-bottom: 4px;
}
.pt-person-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.pt-person-card__role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.pt-person-card__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.pt-person-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-red-light) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}
.pt-person-card__phone:hover { color: var(--text-primary) !important; }
.pt-person-card__phone svg {
  width: 14px; height: 14px;
  color: currentColor;
  fill: none; stroke: currentColor; stroke-width: 1.6;
}

@media (max-width: 640px) {
  .pt-person-card { grid-template-columns: 64px 1fr; padding: 16px; gap: 14px; }
  .pt-person-card__avatar { width: 64px; height: 64px; }
  .pt-person-card__avatar--initials { font-size: 22px; }
  .pt-person-card__name { font-size: 16px; }
}

/* Map actions below iframe */
.pt-map-actions {
  margin-top: 16px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   /kontakt/ — REFRESH: 3-col company + 3-col person grid
   (replaces narrow 2-col layout)
   ═══════════════════════════════════════════════════ */

/* Company info — 3-col cards */
.pt-company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.pt-company-card {
  padding: 32px 28px;
  background: rgba(20, 24, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pt-company-card:hover {
  border-color: rgba(255, 100, 110, 0.25);
  transform: translateY(-2px);
}
.pt-company-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(219, 8, 18, 0.10);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pt-company-card__icon svg {
  width: 22px; height: 22px;
  color: var(--accent-red-light);
  fill: none; stroke: currentColor; stroke-width: 1.6;
}
.pt-company-card__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.pt-company-card__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-company-card__body strong {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.pt-company-card__body a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.pt-company-card__body a:hover { color: var(--accent-red-light); }
.pt-company-card__sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 6px;
}
.pt-company-card__body > .pt-company-card__sub:first-child { margin-top: 0; }

@media (max-width: 900px) {
  .pt-company-grid { grid-template-columns: 1fr; gap: 16px; }
  .pt-company-card { padding: 24px 22px; }
}

/* Person grid — 3-col, vertical card layout */
.pt-person-grid {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) {
  .pt-person-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Override poprzedniego layout (grid 88px + 1fr) na vertical w nowym kontekście */
.pt-person-grid .pt-person-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  grid-template-columns: none;
  padding: 28px 28px 24px;
  align-items: flex-start;
}
.pt-person-grid .pt-person-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 8px;
}
.pt-person-grid .pt-person-card__avatar {
  width: 64px; height: 64px;
  margin: 0;
  flex-shrink: 0;
}
.pt-person-grid .pt-person-card__avatar--initials {
  font-size: 22px;
}
.pt-person-grid .pt-person-card__badge {
  margin: 0;
}
.pt-person-grid .pt-person-card__name {
  font-size: 20px;
  letter-spacing: -0.01em;
}
.pt-person-grid .pt-person-card__role {
  font-size: 14px;
  color: var(--text-muted);
}
.pt-person-grid .pt-person-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 8px 0 12px;
  flex: 1;
}
.pt-person-grid .pt-person-card__phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}
.pt-person-grid .pt-person-card__phone {
  font-size: 16px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════
   /kontakt/ — Józef expert hero card + handlowcy 2-col
   ═══════════════════════════════════════════════════ */

/* === Józef Żaba — feature card (full-width, horizontal) === */
.pt-expert-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
  padding: 48px 56px;
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.10) 0%, rgba(24, 65, 132, 0.20) 100%);
  border: 1px solid rgba(255, 100, 110, 0.20);
  border-radius: 24px;
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pt-expert-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(219, 8, 18, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

.pt-expert-card__portrait {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto;
}
.pt-expert-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 100, 110, 0.35);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5),
              0 0 0 8px rgba(219, 8, 18, 0.08);
}
.pt-expert-card__badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 20px -4px rgba(219, 8, 18, 0.5);
}

.pt-expert-card__body { display: flex; flex-direction: column; gap: 12px; }
.pt-expert-card__name {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 6px 0 0;
  letter-spacing: -0.02em;
}
.pt-expert-card__role {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}
.pt-expert-card__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 8px 0 16px;
  max-width: 640px;
}
.pt-expert-card__desc strong { color: var(--text-primary); font-weight: 700; }

.pt-expert-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.pt-expert-card__actions .btn {
  font-variant-numeric: tabular-nums;
}
.pt-expert-card__bio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  color: var(--accent-red-light) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}
.pt-expert-card__bio-link:hover { color: var(--text-primary) !important; gap: 10px; }
.pt-expert-card__bio-link svg { width: 12px; height: 12px; color: currentColor; }

@media (max-width: 900px) {
  .pt-expert-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 28px;
    text-align: center;
  }
  .pt-expert-card__portrait { width: 200px; height: 200px; }
  .pt-expert-card__name { font-size: 28px; }
  .pt-expert-card__desc { font-size: 15px; }
  .pt-expert-card__actions { justify-content: center; }
  .pt-expert-card__actions .btn { width: 100%; justify-content: center; }
  .pt-expert-card__bio-link { margin-left: 0; }
}

/* === Handlowcy — DZ, RG 2-col grid === */
.pt-handlowcy-grid {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pt-handlowiec-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: rgba(20, 24, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pt-handlowiec-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 100, 110, 0.25);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
}
.pt-handlowiec-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.pt-handlowiec-card--navy .pt-handlowiec-card__avatar {
  background: linear-gradient(135deg, var(--accent-navy) 0%, var(--accent-navy-light) 100%);
}
.pt-handlowiec-card--red .pt-handlowiec-card__avatar {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
}

.pt-handlowiec-card__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pt-handlowiec-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.pt-handlowiec-card__role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.pt-handlowiec-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
  margin: 4px 0 0;
}
.pt-handlowiec-card__phone {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .pt-handlowcy-grid { grid-template-columns: 1fr; }
  .pt-handlowiec-card {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 20px 22px;
  }
  .pt-handlowiec-card__avatar { width: 56px; height: 56px; font-size: 18px; }
  .pt-handlowiec-card__phone {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    margin-top: 6px;
  }
}

/* ═══════════════════════════════════════════════════
   GDPR COOKIES BANNER + MODAL
   ═══════════════════════════════════════════════════ */

.pt-cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 9990;
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.95) 0%, rgba(16, 20, 28, 0.98) 100%);
  border: 1px solid rgba(255, 100, 110, 0.25);
  border-radius: 16px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: pt-cookie-slide-up 0.45s var(--ease);
  max-width: 1100px;
  margin: 0 auto;
}
@keyframes pt-cookie-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.pt-cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 22px 28px;
}
.pt-cookie-banner__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-red-light);
  margin: 0 0 6px;
}
.pt-cookie-banner__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
  max-width: 720px;
}
.pt-cookie-banner__desc a {
  color: var(--accent-red-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pt-cookie-banner__desc a:hover { color: var(--text-primary); }
.pt-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 780px) {
  .pt-cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 22px;
  }
  .pt-cookie-banner__actions { justify-content: stretch; }
  .pt-cookie-banner__actions .btn { flex: 1; min-width: 0; justify-content: center; }
}

/* Modal */
.pt-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pt-cookie-modal[hidden],
.pt-cookie-banner[hidden],
.pt-cookie-manage[hidden] { display: none !important; }
.pt-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pt-modal-fade 0.3s ease;
}
@keyframes pt-modal-fade { from { opacity: 0; } to { opacity: 1; } }
.pt-cookie-modal__card {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.98) 0%, rgba(16, 20, 28, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 40px 32px;
  box-shadow: 0 32px 80px -12px rgba(0, 0, 0, 0.7);
  animation: pt-modal-rise 0.4s var(--ease);
}
@keyframes pt-modal-rise {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.pt-cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.pt-cookie-modal__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}
.pt-cookie-modal__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.pt-cookie-modal__lead {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0 0 24px;
}

.pt-cookie-category {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pt-cookie-category:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.pt-cookie-category__head { margin-bottom: 6px; }
.pt-cookie-category__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}
.pt-cookie-category__title input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent-red);
  cursor: pointer;
}
.pt-cookie-category__title input[disabled] { cursor: not-allowed; opacity: 0.6; }
.pt-cookie-category__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-pill);
  color: #6ee7b7;
}
.pt-cookie-category__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 6px 0 0;
  padding-left: 28px;
}
.pt-cookie-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 540px) {
  .pt-cookie-modal__card { padding: 28px 24px 24px; }
  .pt-cookie-modal__title { font-size: 20px; }
  .pt-cookie-modal__actions { flex-direction: column; }
  .pt-cookie-modal__actions .btn { width: 100%; justify-content: center; }
}

/* Floating "manage cookies" trigger po decyzji */
.pt-cookie-manage {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9985;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(20, 24, 32, 0.85);
  color: var(--accent-red-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  opacity: 0.6;
}
.pt-cookie-manage:hover {
  transform: scale(1.08);
  border-color: var(--accent-red-light);
  opacity: 1;
}
.pt-cookie-manage svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
}

@media print {
  .pt-cookie-banner, .pt-cookie-modal, .pt-cookie-manage { display: none !important; }
}

/* ═══════════════════════════════════════════════════
   /mapa-strony/ — HTML sitemap
   ═══════════════════════════════════════════════════ */

.pt-page-mapa { background: transparent; }

.pt-mapa-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: 40px;
  margin-top: 32px;
}
@media (max-width: 1024px) {
  .pt-mapa-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pt-mapa-grid { grid-template-columns: 1fr; gap: 32px; }
}

.pt-mapa-col__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 100, 110, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pt-mapa-col__title svg {
  width: 18px; height: 18px;
  color: var(--accent-red-light);
  fill: none; stroke: currentColor; stroke-width: 1.8;
}

.pt-mapa-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pt-mapa-list a {
  display: inline-block;
  padding: 4px 0;
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease, padding-left 0.2s ease;
  border-left: 2px solid transparent;
  padding-left: 8px;
  margin-left: -10px;
}
.pt-mapa-list a:hover {
  color: var(--accent-red-light);
  border-left-color: var(--accent-red-light);
  padding-left: 14px;
}
.pt-mapa-list--nested > li > a { font-weight: 600; color: var(--text-primary); }
.pt-mapa-list--nested ul {
  list-style: none;
  padding: 6px 0 12px 16px;
  margin: 4px 0 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.pt-mapa-list--nested ul a {
  font-size: 13px;
  color: var(--text-muted);
}
.pt-mapa-list--nested ul a:hover { color: var(--accent-red-light); }

.pt-mapa-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-red-light) !important;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  width: 100%;
  transition: gap 0.2s;
}
.pt-mapa-all:hover { gap: 10px; color: var(--text-primary) !important; }
.pt-mapa-all svg { width: 12px; height: 12px; }

.pt-mapa-section {
  margin-top: 56px;
  padding: 32px 36px;
  background: rgba(20, 24, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}
.pt-mapa-intro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 16px;
  max-width: 640px;
}

/* ═══════════════════════════════════════════════════
   PRINT stylesheet
   ═══════════════════════════════════════════════════ */

@media print {
  /* === RESET → biało-czarny print look === */
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  html, body {
    background: white !important;
    font-size: 11pt;
    line-height: 1.45;
    font-family: Georgia, 'Times New Roman', serif !important;
  }
  body {
    margin: 0 !important;
    padding: 0 !important;
  }
  @page {
    size: A4;
    margin: 18mm 16mm;
  }

  /* === Hide chrome elements === */
  .site-topbar,
  .site-header,
  .site-footer,
  .site-nav-mobile,
  .site-header__toggle,
  .pt-breadcrumbs-section,
  .pt-cookie-banner,
  .pt-cookie-manage,
  .pt-cookie-modal,
  .pt-hero__orb,
  .pt-hero__noise,
  .pt-anim,
  .pt-article-toc,
  .pt-article-layout__sidebar,
  .pt-article-cta,
  .pt-related-products,
  .pt-related-articles,
  .pt-article-hero__overlay,
  .pt-form,
  .pt-cta-banner,
  .pt-wizard,
  .pt-center-cta,
  .pt-articles,
  .pt-cats,
  .pt-cta-band,
  .pt-cert-grid,
  .pt-handlowcy-grid,
  .pt-expert-card__actions,
  .pt-product-rfq-cta,
  .pt-usecase-grid,
  .pt-map-wrapper,
  .pt-map-actions,
  .btn,
  iframe,
  video,
  audio,
  noscript,
  script,
  [aria-hidden="true"] {
    display: none !important;
  }

  /* === Layout fixes === */
  .pt-article-layout,
  .pt-article-layout--single-col,
  main, article, section {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    background: white !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  /* === Article header — visible (print kept) === */
  .pt-article-hero {
    page-break-inside: avoid;
    min-height: auto !important;
    padding: 0 0 12mm !important;
    border-bottom: 2pt solid #000 !important;
    margin-bottom: 8mm !important;
  }
  .pt-article-hero__inner {
    padding: 0 !important;
    max-width: none !important;
  }
  .pt-article-hero__img,
  .pt-article-hero__media { display: none !important; }
  .pt-article-hero__title {
    font-family: Georgia, serif !important;
    font-size: 22pt !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 6mm !important;
    text-shadow: none !important;
  }
  .pt-article-hero__lead {
    font-size: 12pt;
    color: #333 !important;
    margin: 0 0 4mm !important;
  }
  .pt-article-hero__meta {
    font-size: 9pt;
    color: #555 !important;
  }
  .pt-article-hero__author-avatar { display: none !important; }

  /* === Single product print: featured params + schematy KEEP === */
  .pt-product-hero,
  .pt-product-specs,
  .pt-product-schemat,
  .pt-product-vars,
  .pt-variants-box {
    display: block !important;
    page-break-inside: avoid;
    margin-bottom: 6mm !important;
  }

  /* === Prose typography for print === */
  .pt-prose, .pt-prose p, .pt-prose li {
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.55;
  }
  .pt-prose h2 {
    font-size: 16pt !important;
    font-weight: 700 !important;
    margin: 8mm 0 3mm !important;
    page-break-after: avoid;
    border: 0 !important;
    color: #000 !important;
  }
  .pt-prose h3 {
    font-size: 13pt !important;
    margin: 6mm 0 2mm !important;
    page-break-after: avoid;
    color: #000 !important;
  }
  .pt-prose a {
    color: #000 !important;
    text-decoration: underline;
  }
  /* URL po linku — przydatne na druku */
  .pt-prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666 !important;
  }
  .pt-prose a[href^="/"]::after,
  .pt-prose a[href^="mailto:"]::after,
  .pt-prose a[href^="tel:"]::after { content: ""; }

  /* === Tables (np. parametry, układy sieci) === */
  table, .pt-compare-table {
    width: 100% !important;
    border-collapse: collapse !important;
    page-break-inside: avoid;
    margin: 4mm 0 !important;
    font-size: 10pt !important;
  }
  th, td {
    border: 1pt solid #555 !important;
    padding: 2mm 3mm !important;
    text-align: left !important;
    background: white !important;
  }
  th {
    background: #eee !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    font-weight: 700 !important;
  }

  /* === Pull quotes, callouts === */
  .pt-pull-quote, .pt-pullquote {
    padding: 4mm 5mm !important;
    border-left: 3pt solid #000 !important;
    page-break-inside: avoid;
    margin: 4mm 0 !important;
  }
  .pt-callout {
    border: 1pt solid #888 !important;
    padding: 4mm 5mm !important;
    page-break-inside: avoid;
    margin: 4mm 0 !important;
  }
  .pt-callout::before { display: none !important; }

  /* === Images === */
  img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
  }
  figure { page-break-inside: avoid; margin: 4mm 0 !important; }
  figcaption { font-size: 9pt; color: #555 !important; }

  /* === Contact info — keep visible === */
  .pt-company-grid,
  .pt-kontakt-info,
  .pt-expert-card,
  .pt-handlowiec-card {
    display: block !important;
    page-break-inside: avoid;
    margin: 4mm 0 !important;
  }
  .pt-company-card,
  .pt-kontakt-info__card {
    display: block !important;
    padding: 3mm 4mm !important;
    border: 1pt solid #ccc !important;
    margin-bottom: 3mm !important;
    page-break-inside: avoid;
  }
  .pt-handlowiec-card__phone, .pt-cta-band, .pt-form-wrapper { display: none !important; }

  /* === Footer info — print signature === */
  body::after {
    content: "PRO-TEC Sp. z o.o.  ·  ul. Wolności 345, 41-800 Zabrze  ·  info@pro-tec.com.pl  ·  pro-tec.com.pl";
    display: block;
    position: fixed;
    bottom: 5mm;
    left: 16mm;
    right: 16mm;
    font-size: 8pt;
    color: #666 !important;
    text-align: center;
    border-top: 0.5pt solid #999;
    padding-top: 2mm;
  }
}

/* ═══════════════════════════════════════════════════
   NEWSLETTER SIGNUP BAND (footer)
   ═══════════════════════════════════════════════════ */

.pt-newsletter-band {
  background: linear-gradient(135deg, rgba(219, 8, 18, 0.10) 0%, rgba(24, 65, 132, 0.20) 100%);
  border-top: 1px solid rgba(255, 100, 110, 0.20);
  border-bottom: 1px solid rgba(255, 100, 110, 0.20);
  padding: 48px 0;
  margin-bottom: 64px;
}
.pt-newsletter-band__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pt-newsletter-band__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.pt-newsletter-band__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
  max-width: 480px;
}

.pt-newsletter-form { width: 100%; }
.pt-newsletter-form__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 12px;
}
.pt-newsletter-form__field input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(8, 10, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.pt-newsletter-form__field input::placeholder { color: rgba(255, 255, 255, 0.40); }
.pt-newsletter-form__field input:focus {
  outline: none;
  border-color: var(--accent-red-light);
  background: rgba(8, 10, 15, 0.7);
  box-shadow: 0 0 0 3px rgba(219, 8, 18, 0.18);
}
.pt-newsletter-form__consent {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}
.pt-newsletter-form__consent input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--accent-red);
  flex-shrink: 0;
}
.pt-newsletter-form__consent a {
  color: var(--accent-red-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pt-newsletter-form__status {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}
.pt-newsletter-form__status--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #6ee7b7;
}
.pt-newsletter-form__status--error {
  background: rgba(219, 8, 18, 0.12);
  border: 1px solid rgba(219, 8, 18, 0.4);
  color: #fda4af;
}

@media (max-width: 900px) {
  .pt-newsletter-band__inner { grid-template-columns: 1fr; gap: 24px; }
  .pt-newsletter-band__title { font-size: 22px; }
  .pt-newsletter-band { padding: 36px 0; }
}
@media (max-width: 540px) {
  .pt-newsletter-form__row { grid-template-columns: 1fr; }
  .pt-newsletter-form__row .btn { justify-content: center; }
}

@media print {
  .pt-newsletter-band { display: none !important; }
}

/* ═══════════════════════════════════════════════════
   LOADING STATES + SKELETON SCREENS + IMAGE FADE-IN
   ═══════════════════════════════════════════════════ */

/* Skeleton shimmer animation */
@keyframes pt-skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.pt-skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: pt-skeleton-shimmer 1.6s ease-in-out infinite;
  border-radius: 8px;
}

/* Image fade-in po load — przez IntersectionObserver dodaje class */
img.pt-lazy-img,
.pt-article__media[style*="background-image"]:not(.pt-loaded),
.pt-cat-card__media[style*="background-image"]:not(.pt-loaded),
.pt-cert-card__page:not(.pt-loaded) {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
img.pt-lazy-img.pt-loaded,
.pt-article__media.pt-loaded,
.pt-cat-card__media.pt-loaded,
.pt-cert-card__page.pt-loaded {
  opacity: 1;
}

/* Skeleton background dla div z background-image przed load */
.pt-article__media[style*="background-image"]:not(.pt-loaded),
.pt-cat-card__media[style*="background-image"]:not(.pt-loaded) {
  background-color: rgba(24, 65, 132, 0.18);
}

/* Page transition — subtle fade-in na DOMContentLoaded */
html:not(.pt-ready) body {
  opacity: 0.85;
  transition: opacity 0.4s ease;
}
html.pt-ready body {
  opacity: 1;
}

/* Button loading state (consistent w całej stronie) */
.btn[disabled],
.btn.is-loading {
  cursor: wait;
  opacity: 0.65;
  pointer-events: none;
}
.btn.is-loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: pt-spinner 0.7s linear infinite;
}
@keyframes pt-spinner {
  to { transform: rotate(360deg); }
}

/* Form spinner (consistent z btn loading) */
[data-newsletter-submit].is-loading,
[data-submit-btn].is-loading,
[data-wizard-submit].is-loading {
  position: relative;
}

/* Wizard auto-advance loading hint */
.pt-wiz-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.pt-wiz-loading::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-red-light);
  border-top-color: transparent;
  border-radius: 50%;
  animation: pt-spinner 0.7s linear infinite;
}

/* Skeleton dla card placeholder (gdy WP_Query ładuje async) */
.pt-card-skeleton {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.pt-card-skeleton__media {
  aspect-ratio: 16 / 10;
  background: rgba(20, 24, 32, 0.6);
}
.pt-card-skeleton__body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pt-card-skeleton__title {
  height: 22px;
  width: 80%;
}
.pt-card-skeleton__desc {
  height: 12px;
  width: 100%;
}
.pt-card-skeleton__desc:nth-of-type(2) { width: 90%; }
.pt-card-skeleton__desc:nth-of-type(3) { width: 60%; }

@media (prefers-reduced-motion: reduce) {
  @keyframes pt-skeleton-shimmer { 0%, 100% { background-position: 0 0; } }
  .pt-skeleton, .btn.is-loading::after, .pt-wiz-loading::before { animation: none; }
  img.pt-lazy-img, .pt-article__media[style*="background-image"],
  .pt-cat-card__media[style*="background-image"], .pt-cert-card__page {
    opacity: 1 !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   READING PROGRESS BAR + SHARE BUTTONS
   ═══════════════════════════════════════════════════ */

/* Progress bar — top of page on single article */
.pt-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 9980;
  pointer-events: none;
}
.pt-read-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
  transition: width 0.1s linear;
  box-shadow: 0 1px 8px rgba(219, 8, 18, 0.5);
}

/* Share buttons bar — between prose end and CTA */
.pt-article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 40px 0 32px;
  padding: 20px 24px;
  background: rgba(20, 24, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}
.pt-article-share__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-right: 6px;
}
.pt-article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.pt-article-share__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 100, 110, 0.35);
  color: var(--text-primary) !important;
  transform: translateY(-2px);
}
.pt-article-share__btn svg {
  flex-shrink: 0;
}
.pt-article-share__btn[data-share="linkedin"]:hover { color: #0a66c2 !important; }
.pt-article-share__btn[data-share="copy"].is-copied {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #6ee7b7 !important;
}

@media (max-width: 540px) {
  .pt-article-share { gap: 8px; padding: 16px 18px; }
  .pt-article-share__label { width: 100%; margin-bottom: 4px; }
}
@media print {
  .pt-read-progress, .pt-article-share { display: none !important; }
}

/* ═══════════════════════════════════════════════════
   GLOSSARY AUTO-LINKS w artykułach
   ═══════════════════════════════════════════════════ */
.pt-glossary-link {
  color: inherit !important;
  text-decoration: none;
  border-bottom: 1px dotted var(--accent-red-light);
  cursor: help;
  transition: border-color 0.2s, color 0.2s;
}
.pt-glossary-link:hover {
  color: var(--accent-red-light) !important;
  border-bottom-style: solid;
}
@media print {
  .pt-glossary-link { border-bottom: 0 !important; color: inherit !important; }
}
