/* ==========================================================================
   E-PROTOKOŁY — Flagship Enterprise Extensions (Apple / Stripe / Linear / Vercel)
   - 100% czyste tło: ZERO „kafelków w kafelkach” (otwarta typografia, światło i linie podziału)
   - Ambient Aurora Mesh + Architektoniczna siatka z maską radialną (Stripe / Linear)
   - Fizyka mikro-interakcji: magnetyczne przyciski CTA i cursor spotlight (Apple / Vercel)
   - Kinetyczna typografia, złoty pasek postępu i pływająca kapsuła szybkich akcji (Command Pill)
   - Apple Product Showcase: poświata środowiskowa, perspektywa 3D i pływające statusy na żywo
   ========================================================================== */
@view-transition { navigation: auto; }

/* === 1. ZŁOTY PASEK POSTĘPU PRZEWIJANIA & KINETYCZNA TYPOGRAFIA (STYL APPLE) === */
.scroll-progress-bar { height: 3.5px !important; background: linear-gradient(90deg, var(--navy) 0%, #2b54c9 45%, var(--gold) 85%, #f7e4c0 100%) !important; box-shadow: 0 1px 12px rgba(229, 198, 147, 0.72), 0 0 4px rgba(20, 47, 144, 0.35); }
.eyebrow-gold { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-Warm); margin-bottom: 14px; }
.eyebrow-gold::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%); display: inline-block; }
@keyframes goldTextShimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.open-section-title .gold, .guarantee-section h2 .gold { background: linear-gradient(115deg, #c4a35a 0%, #e5c693 32%, #f4dfc0 50%, #c9af6c 72%, #e5c693 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: goldTextShimmer 8s ease-in-out infinite; display: inline-block; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.milestone-num, .roi-slider-value, .roi-metric-number { font-variant-numeric: tabular-nums; transition: transform 0.25s var(--ease-spring), color 0.25s ease; }
.roi-metric-number.is-updating, .roi-slider-value.is-updating { transform: translateY(-2px) scale(1.03); color: var(--navy-dark); }
.scrolling-tab-text-item { transition: opacity 0.22s ease, transform 0.42s cubic-bezier(0.25, 1, 0.5, 1) !important; }
.scrolling-tab-text-item.active { transition: opacity 0.42s ease 0.06s, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) 0.06s !important; }

/* === 2. AMBIENTOWE OŚWIETLENIE TŁA I SIATKA ARCHITEKTONICZNA (STYL STRIPE / LINEAR) === */
.open-section, .roi-section, .live-flow-section, .field-practice-section, .siwz-section, .compare-section, .results-section, .about-mission-section, .faq-section, .before-footer-form-section, .kontakt-hero-section { position: relative; overflow: hidden; }
.open-section::before, .roi-section::before, .live-flow-section::before, .field-practice-section::before, .siwz-section::before, .compare-section::before, .results-section::before, .about-mission-section::before, .faq-section::before, .before-footer-form-section::before, .kontakt-hero-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(640px circle at 14% 22%, rgba(156, 191, 238, 0.13), transparent 68%),
    radial-gradient(580px circle at 86% 78%, rgba(229, 198, 147, 0.14), transparent 68%),
    radial-gradient(480px circle at 50% 50%, rgba(20, 47, 144, 0.03), transparent 72%);
}
.open-section > *, .roi-section > *, .live-flow-section > *, .field-practice-section > *, .siwz-section > *, .compare-section > *, .results-section > *, .about-mission-section > *, .faq-section > *, .before-footer-form-section > *, .kontakt-hero-section > * { position: relative; z-index: 1; }

/* Otwarte elementy funkcji z subtelną linią architektoniczną i poświatą ikony (ZERO kafelków) */
.open-feature-item { position: relative; padding-top: 22px; }
.open-feature-item::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 32px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%); opacity: 0.45; transition: width 0.4s var(--ease-out), opacity 0.4s ease; }
.open-feature-item:hover::before { width: 72px; opacity: 1; }
.open-feature-item img { filter: drop-shadow(0 12px 24px rgba(20, 47, 144, 0.1)); }

/* === 3. FIZYKA MIKRO-INTERAKCJI: MAGNETYCZNE PRZYCISKI & CURSOR SPOTLIGHT (STYL VERCEL / APPLE) === */
.nectar-btn, .wave-btn, .gravity-submit-btn, .nav-btn-kontakt {
  position: relative; overflow: hidden;
  transform: translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0);
  will-change: transform;
}
.nectar-btn::before, .gravity-submit-btn::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(150px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.34), transparent 72%);
  opacity: 0; transition: opacity 0.3s ease;
}
.nectar-btn:hover::before, .gravity-submit-btn:hover::before { opacity: 1; }
.nectar-btn:hover, .wave-btn:hover, .gravity-submit-btn:hover { transform: translate3d(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 3px), 0); }

/* === 4. APPLE PRODUCT SHOWCASE: POŚWIATA, PERSPEKTYWA 3D I STATUSY NA ŻYWO (BEZ KAFELKÓW) === */
.home-hero-mockup { position: relative; perspective: 1200px; }
.home-hero-mockup::before {
  content: ''; position: absolute; inset: 8% 6%; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 48%, rgba(20, 47, 144, 0.16) 0%, rgba(229, 198, 147, 0.24) 46%, transparent 74%);
  filter: blur(36px);
}
.home-hero-mockup img {
  position: relative; z-index: 1;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 0.22s var(--ease-out), filter 0.35s ease;
}
.scrolling-visual-panel { position: relative; perspective: 1100px; }
.scrolling-visual-panel::before {
  content: ''; position: absolute; width: 78%; height: 74%; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(156, 191, 238, 0.22) 0%, rgba(229, 198, 147, 0.16) 52%, transparent 74%);
  filter: blur(28px); opacity: 0; transition: opacity 0.6s ease;
}
.scrolling-visual-panel.active::before { opacity: 1; }
.scrolling-visual-panel a { position: relative; z-index: 1; }
.scrolling-visual-panel.active img { filter: drop-shadow(0 26px 48px rgba(15, 23, 42, 0.12)); }

/* Otwarty pasek kluczowych standardów w Hero (zamiast pływających kafelków na mockupie) */
.hero-trust-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(20, 47, 144, 0.08); font-size: 13.5px; font-weight: 500; color: var(--muted); }
.hero-trust-inline span { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust-inline span:not(:first-child)::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-Warm); opacity: 0.75; }
.telemetry-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-Warm); flex-shrink: 0; }

/* === 5. DODATKOWE AKCJE W HERO (PRZYCISK PODGLĄDU E-PROTOKOŁU) === */
.hero-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.hero-sample-btn { display: inline-flex; align-items: center; gap: 10px; background: transparent; border: none; padding: 10px 4px; font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--navy); cursor: pointer; border-bottom: 2px solid rgba(20, 47, 144, 0.25); transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out); }
.hero-sample-btn svg { color: var(--gold-Warm); transition: transform 0.3s var(--ease-out); }
.hero-sample-btn:hover { color: var(--navy-dark); border-color: var(--gold-Warm); transform: translateY(-2px); }
.hero-sample-btn:hover svg { transform: translateX(3px); }
.hero-sample-btn--light { color: #ffffff; border-bottom-color: rgba(229, 198, 147, 0.55); }
.hero-sample-btn--light:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* === 6. KALKULATOR OSZCZĘDNOŚCI CZASU I PAPIERU (ROI NA CZYSTYM TLE) === */
.roi-section { padding: 5.5vw 8vw; background: var(--white); border-top: 1px solid rgba(20, 47, 144, 0.08); border-bottom: 1px solid rgba(20, 47, 144, 0.08); }
.roi-container { max-width: 1280px; margin: 0 auto; }
.roi-header { text-align: center; max-width: 880px; margin: 0 auto 3.5vw; }
.roi-controls-bar { max-width: 920px; margin: 0 auto 48px; }
.roi-slider-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.roi-slider-label { font-family: var(--font-display); font-size: clamp(1.1rem, 1.35vw, 1.35rem); font-weight: 700; color: var(--dark); }
.roi-slider-value-wrap { display: inline-flex; align-items: baseline; gap: 8px; }
.roi-slider-value { font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.roi-slider-unit { font-size: 15.5px; font-weight: 600; color: var(--muted); }
.roi-range-input { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--navy) 0%, var(--gold) var(--range-progress, 25%), #e2e8f0 var(--range-progress, 25%), #e2e8f0 100%); outline: none; cursor: pointer; margin-bottom: 20px; }
.roi-range-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 4px solid #ffffff; box-shadow: 0 4px 14px rgba(20, 47, 144, 0.35); cursor: pointer; transition: transform 0.2s var(--ease-spring), background-color 0.2s ease; }
.roi-range-input::-webkit-slider-thumb:hover { transform: scale(1.14); background: var(--navy-dark); }
.roi-range-input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 4px solid #ffffff; box-shadow: 0 4px 14px rgba(20, 47, 144, 0.35); cursor: pointer; transition: transform 0.2s var(--ease-spring), background-color 0.2s ease; }
.roi-presets { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.roi-preset-btn { background: transparent; border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: 6px 2px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: border-color 0.25s ease, color 0.25s ease; }
.roi-preset-btn:hover { color: var(--navy); }
.roi-preset-btn.active { color: var(--navy); font-weight: 800; border-bottom-color: var(--gold-Warm); background: transparent; transform: none; }
.roi-metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 36px 0; border-top: 1px solid rgba(20, 47, 144, 0.1); border-bottom: 1px solid rgba(20, 47, 144, 0.1); text-align: left; }
.roi-metric-col { padding: 0 8px; position: relative; }
.roi-metric-eyebrow { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }
.roi-metric-number { font-family: var(--font-display); font-size: clamp(2rem, 2.8vw, 2.75rem); font-weight: 800; color: var(--navy); line-height: 1.1; margin-bottom: 8px; letter-spacing: -0.025em; }
.roi-metric-number.gold-accent { color: var(--gold-Warm); }
.roi-metric-sub { font-size: 14.5px; line-height: 1.5; color: var(--text); }
.roi-bottom-bar { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.roi-bottom-note { font-size: 14.5px; color: var(--muted); }

/* === 7. PORÓWNANIE PRZED I PO (PAPIER VS E-PROTOKOŁY NA CZYSTYM TLE) === */
.compare-section { padding: 5.5vw 8vw; background: var(--white); }
.compare-container { max-width: 1240px; margin: 0 auto; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.compare-row { display: grid; grid-template-columns: 0.9fr 1.05fr 1.05fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid rgba(20, 47, 144, 0.1); align-items: baseline; transition: background-color 0.25s ease, padding-left 0.25s var(--ease-out); }
.compare-row:not(.compare-row--head):hover { background: linear-gradient(90deg, rgba(20, 47, 144, 0.025) 0%, rgba(229, 198, 147, 0.06) 50%, transparent 100%); padding-left: 10px; }
.compare-row--head { padding-bottom: 16px; border-bottom: 1px solid rgba(20, 47, 144, 0.16); font-family: var(--font-display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-col-stage { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--dark); }
.compare-col-paper { color: var(--muted); font-size: 15.5px; line-height: 1.6; position: relative; padding-left: 26px; }
.compare-col-paper::before { content: '✕'; position: absolute; left: 0; top: 1px; color: #94a3b8; font-weight: 700; }
.compare-col-digital { color: var(--dark); font-weight: 600; font-size: 15.5px; line-height: 1.6; position: relative; padding-left: 28px; }
.compare-col-digital::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--navy); font-weight: 800; }
.compare-head-paper { color: var(--muted); }
.compare-head-digital { color: var(--navy); }

/* === 8. PAS BEZPIECZEŃSTWA I SLA (ENTERPRISE TRUST STRIP NA CZYSTYM TLE) === */
.security-strip-section { padding: 5vw 8vw; background: var(--white); border-top: 1px solid rgba(20, 47, 144, 0.08); }
.security-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.security-item { display: flex; flex-direction: column; align-items: flex-start; padding: 4px 0; transition: transform 0.3s var(--ease-out); }
.security-item:hover { transform: translateY(-3px); }
.security-icon { width: 44px; height: 44px; color: var(--navy); margin-bottom: 16px; filter: drop-shadow(0 6px 14px rgba(20, 47, 144, 0.14)); }
.security-item h3 { font-size: 1.18rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.security-item p { font-size: 14.8px; line-height: 1.62; color: var(--text); }

/* === 9. SEKCJA FAQ (OTWARTA LISTA Z LINIAMI PODZIAŁU — ZERO KAFELKÓW) === */
.faq-section { padding: 5vw 8vw 4vw; background: var(--white); }
.faq-container { max-width: 960px; margin: 0 auto; }
.faq-list { border-top: 1px solid rgba(20, 47, 144, 0.14); }
.faq-item { border-bottom: 1px solid rgba(20, 47, 144, 0.14); }
.faq-question { width: 100%; background: transparent; border: none; padding: 24px 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--font-display); font-size: clamp(1.08rem, 1.3vw, 1.28rem); font-weight: 700; color: var(--dark); cursor: pointer; transition: color 0.25s ease; }
.faq-question:hover { color: var(--navy); }
.faq-icon { flex: 0 0 28px; width: 28px; height: 28px; color: var(--navy); transition: transform 0.3s var(--ease-out); }
.faq-item.is-open .faq-icon { transform: rotate(45deg); color: var(--gold-Warm); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-out), padding-bottom 0.35s var(--ease-out); }
.faq-item.is-open .faq-answer { max-height: 360px; padding-bottom: 24px; }
.faq-answer p { font-size: 15.5px; line-height: 1.72; color: var(--text); max-width: 860px; }

/* === 10. SZYBKI WYBÓR TEMATU W FORMULARZU (#PREZENTACJA) === */
.form-topic-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-bottom: 26px; border-bottom: 1px solid rgba(20, 47, 144, 0.1); }
.form-topic-label { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--muted); margin-right: 6px; padding-bottom: 2px; }
.topic-pill { background: transparent; border: none; border-bottom: 2.5px solid transparent; border-radius: 0; padding: 8px 2px 10px; margin-bottom: -1px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: border-color 0.22s ease, color 0.22s ease; }
.topic-pill:hover { color: var(--navy); transform: none; }
.topic-pill.active { background: transparent; color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }
.hp-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* === 11. PŁYWAJĄCY PASEK SZYBKICH AKCJI (FLOATING COMMAND PILL — STYL LINEAR / APPLE) === */
.cookie-banner { transition: bottom 0.35s var(--ease-out), opacity 0.3s ease; }
.floating-command-dock {
  position: fixed; bottom: 20px; left: 50%; z-index: 1150;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(229, 198, 147, 0.3);
  box-shadow: 0 22px 48px -12px rgba(4, 16, 109, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  color: #ffffff; font-family: var(--font-display);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate3d(-50%, 24px, 0) scale(0.96);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s;
}
.floating-command-dock.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translate3d(-50%, 0, 0) scale(1); }
.floating-command-dock.is-dismissed, .floating-command-dock.is-near-end, body:has(.cookie-banner.show) .floating-command-dock { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transform: translate3d(-50%, 24px, 0) scale(0.96) !important; }
.command-dock-status { display: inline-flex; align-items: center; gap: 8px; padding-right: 10px; margin-right: 4px; border-right: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, 0.86); letter-spacing: 0.02em; white-space: nowrap; }
.command-dock-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--radius-pill); border: none; background: transparent; color: rgba(255, 255, 255, 0.92); font-family: var(--font-display); font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease; }
.command-dock-btn:hover { background: rgba(255, 255, 255, 0.11); color: #ffffff; transform: translateY(-1px); }
.command-dock-btn--primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-Warm) 100%); color: var(--navy-deep) !important; box-shadow: 0 6px 18px rgba(229, 198, 147, 0.35); }
.command-dock-btn--primary:hover { background: linear-gradient(135deg, #f0d5a8 0%, var(--gold) 100%); color: var(--navy-deep) !important; }
.command-dock-close { width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.7); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; margin-left: 2px; transition: background-color 0.2s ease, color 0.2s ease; }
.command-dock-close:hover { background: rgba(255, 255, 255, 0.2); color: #ffffff; }

/* === 12. INTERAKTYWNY MODAL PODGLĄDU E-PROTOKOŁU === */
.protocol-modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.68); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; }
.protocol-modal-backdrop.is-open { display: flex; }
.protocol-modal { background: #ffffff; width: 100%; max-width: 880px; max-height: 90vh; border-radius: var(--radius-lg); box-shadow: var(--shadow-elevated); overflow-y: auto; padding: 36px 40px; position: relative; }
.protocol-modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(20, 47, 144, 0.12); margin-bottom: 24px; }
.protocol-modal-close { background: transparent; border: 1px solid #cbd5e1; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--dark); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.protocol-modal-close:hover { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.protocol-tabs { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(20, 47, 144, 0.12); }
.protocol-tab-btn { background: transparent; border: none; border-bottom: 2.5px solid transparent; border-radius: 0; padding: 8px 2px 12px; margin-bottom: -1px; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease; }
.protocol-tab-btn:hover { color: var(--navy); }
.protocol-tab-btn.active { background: transparent; color: var(--navy); border-bottom-color: var(--navy); }
.protocol-panel { display: none; }
.protocol-panel.active { display: block; }
.protocol-doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; padding: 20px 0; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; margin-bottom: 20px; }
.protocol-field-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
.protocol-field-val { font-size: 15.5px; font-weight: 600; color: var(--dark); }
.protocol-status-ok { color: #1e5641; font-weight: 700; }
.protocol-sign-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 12px; }

/* === 13. LIVE SIGNATURE PAD (<canvas>) W MODALU E-PROTOKOŁU (STYL STRIPE / DOCUSIGN, ZERO KAFELKÓW) === */
.sig-pad-wrap { padding-top: 8px; }
.sig-pad-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.sig-actions-bar { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.sig-btn { background: transparent; border: 1px solid rgba(20, 47, 144, 0.22); border-radius: var(--radius-pill); padding: 6px 14px; font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--text); cursor: pointer; transition: all 0.2s ease; }
.sig-btn:not(.sig-btn--verify) { border: none; border-bottom: 1px solid rgba(20, 47, 144, 0.25); border-radius: 0; padding: 5px 2px; }
.sig-btn:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.sig-btn--verify { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.sig-btn--verify:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #ffffff; box-shadow: 0 6px 16px rgba(20, 47, 144, 0.25); }
.sig-canvas-stage { position: relative; padding: 6px 0 12px; border-bottom: 1.5px dashed rgba(20, 47, 144, 0.28); margin-bottom: 14px; }
.sig-canvas { width: 100%; max-width: 520px; height: 110px; display: block; cursor: crosshair; touch-action: none; background: transparent; }
.sig-baseline-hint { position: absolute; right: 4px; bottom: 6px; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); pointer-events: none; opacity: 0.78; }
.sig-verify-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.sig-verify-badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--navy); padding: 4px 0; transition: color 0.25s ease, transform 0.25s var(--ease-spring); }
.sig-verify-badge.is-pending { color: var(--muted); }
.sig-verify-badge.is-warning { color: #8b2c2c; }
.sig-verify-badge.is-warning .telemetry-dot { background: #8b2c2c; }
.sig-verify-badge.is-pulsing { animation: sigVerifyPulse 0.55s var(--ease-spring); }
@keyframes sigVerifyPulse { 0% { transform: scale(0.96); opacity: 0.5; } 50% { transform: scale(1.03); } 100% { transform: scale(1); opacity: 1; } }

/* === 14. INTERAKTYWNY PRZEŁĄCZNIK PERSPEKTYWY (PERSONA SWITCHER NA OTWARTYM TLE — ZERO KAFELKÓW) === */
.persona-switcher-wrap { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 28px; margin-top: 26px; padding: 0; border-radius: 0; background: transparent; border: none; border-bottom: 1px solid rgba(20, 47, 144, 0.12); }
.persona-pill-btn { position: relative; background: transparent; border: none; border-radius: 0; padding: 10px 4px 13px; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; transition: color 0.25s ease; }
.persona-pill-btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, var(--navy) 0%, var(--gold-Warm) 100%); transform: scaleX(0); transition: transform 0.3s var(--ease-out); }
.persona-pill-btn:hover { color: var(--navy); }
.persona-pill-btn.active { background: transparent; color: var(--navy); box-shadow: none; }
.persona-pill-btn.active::after { transform: scaleX(1); }
.js-persona-features, .persona-outcomes-bar { transition: opacity 0.2s ease, transform 0.25s var(--ease-out); }
.js-persona-features.is-switching, .persona-outcomes-bar.is-switching { opacity: 0.25; transform: translateY(6px); }
.persona-outcomes-bar { max-width: 1320px; margin: 48px auto 0; padding: 34px 0 0; border-top: 1px solid rgba(20, 47, 144, 0.08); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: left; }
.persona-outcome-item { display: flex; flex-direction: column; gap: 6px; padding: 0; }
.persona-outcome-kicker { font-family: var(--font-display); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-Warm); }
.persona-outcome-val { font-family: var(--font-display); font-size: clamp(1.12rem, 1.35vw, 1.32rem); font-weight: 800; color: var(--navy); line-height: 1.25; }
.persona-outcome-sub { font-size: 14px; color: var(--text); line-height: 1.5; }

/* === 15. ŚWIETLNA OŚ CZASU WDROŻENIA I OBCHODU (SCROLL-LINKED LUMINESCENT TIMELINE — STYL APPLE) === */
.stages-timeline-axis { position: absolute; top: 140px; bottom: 40px; left: 46%; width: 2px; background: rgba(20, 47, 144, 0.14); pointer-events: none; z-index: 1; border-radius: 2px; }
.stages-timeline-beam { position: absolute; top: 0; left: 0; width: 100%; height: var(--timeline-progress, 0%); background: linear-gradient(180deg, var(--navy) 0%, #2b54c9 55%, var(--gold-Warm) 100%); box-shadow: 0 0 14px rgba(20, 47, 144, 0.35), 0 0 24px rgba(229, 198, 147, 0.65); border-radius: 2px; transition: height 0.12s linear; }
.stages-timeline-beam::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--gold-Warm); border: 2px solid #ffffff; box-shadow: 0 0 14px rgba(20, 47, 144, 0.55); }
.owocni_stage .stage-num { transition: color 0.45s ease, transform 0.45s var(--ease-out), text-shadow 0.45s ease; }
.owocni_stage.is-active-stage .stage-num { color: rgba(20, 47, 144, 0.22); text-shadow: 0 8px 28px rgba(229, 198, 147, 0.55); }
.owocni_stage.is-current-stage .stage-num { color: var(--gold-Warm); transform: scale(1.06); text-shadow: 0 10px 32px rgba(20, 47, 144, 0.22); }
.owocni_stage.is-active-stage h4 { color: var(--navy-deep); }

/* === 16. EKSPORT KALKULACJI ROI DLA ZARZĄDU (CZYSTE TŁO + @MEDIA PRINT) === */
.roi-actions-group { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.roi-action-btn { display: inline-flex; align-items: center; gap: 9px; background: transparent; border: none; border-bottom: 1.5px solid rgba(20, 47, 144, 0.22); border-radius: 0; padding: 10px 4px; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s var(--ease-out); }
.roi-action-btn svg { color: var(--gold-Warm); flex-shrink: 0; }
.roi-action-btn:hover { border-bottom-color: var(--gold-Warm); color: var(--navy-dark); background: transparent; transform: translateY(-1px); }
.roi-action-btn.is-copied { border-bottom-color: var(--gold-Warm); color: var(--navy-deep); background: transparent; }
.roi-action-btn.is-copied svg { color: var(--gold-Warm); }

/* === 17. PALETA SZYBKIEGO WYSZUKIWANIA I NAWIGACJI CTRL+K / CMD+K (STYL LINEAR / RAYCAST / VERCEL) === */
.command-dock-search-kbd { display: inline-block; padding: 0; margin-left: 4px; border-radius: 0; background: transparent; border: none; font-family: var(--font-sans); font-size: 11px; font-weight: 600; color: var(--gold); opacity: 0.78; line-height: 1.2; }
.cmd-palette-backdrop { position: fixed; inset: 0; z-index: 2200; background: rgba(15, 23, 42, 0.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: none; align-items: flex-start; justify-content: center; padding: 11vh 20px 24px; }
.cmd-palette-backdrop.is-open { display: flex; }
.cmd-palette-modal { width: 100%; max-width: 680px; background: #ffffff; border-radius: var(--radius-md); border: 1px solid rgba(20, 47, 144, 0.14); box-shadow: var(--shadow-elevated); overflow: hidden; animation: cmdModalIn 0.2s var(--ease-out); }
@keyframes cmdModalIn { from { opacity: 0; transform: translateY(-10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.cmd-search-bar { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(20, 47, 144, 0.1); }
.cmd-search-icon { color: var(--navy); flex-shrink: 0; }
.cmd-search-input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--font-sans); font-size: 15.5px; font-weight: 500; color: var(--dark); }
.cmd-search-input::placeholder { color: #94a3b8; }
.cmd-esc-btn { background: transparent; border: 1px solid #cbd5e1; border-radius: 6px; padding: 4px 8px; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; }
.cmd-esc-btn:hover { border-color: var(--navy); color: var(--navy); }
.cmd-results-list { max-height: 380px; overflow-y: auto; padding: 10px 0; }
.cmd-group-label { padding: 10px 22px 6px; font-family: var(--font-display); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-Warm); }
.cmd-item { width: 100%; background: transparent; border: none; padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; color: var(--dark); cursor: pointer; border-left: 3px solid transparent; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.cmd-item.is-selected, .cmd-item:hover { background: rgba(20, 47, 144, 0.055); color: var(--navy); border-left-color: var(--gold-Warm); }
.cmd-item-badge { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.cmd-item.is-selected .cmd-item-badge { color: var(--navy); }
.cmd-empty { padding: 32px 24px; text-align: center; font-size: 14.5px; color: var(--muted); }
.cmd-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 22px; border-top: 1px solid rgba(20, 47, 144, 0.08); font-size: 12px; color: var(--muted); }
.cmd-footer kbd { display: inline-block; padding: 2px 6px; margin-right: 4px; border-radius: 4px; border: 1px solid #cbd5e1; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--dark); }

/* === 18. STRONA 404 NA CZYSTYM, OTWARTYM TLE (ZERO KAFELKÓW) === */
.error-404-section { padding-top: calc(var(--header-h) + 5vw); padding-bottom: 6vw; text-align: center; }
.error-404-inner { max-width: 980px; margin: 0 auto; }
.error-404-code { font-family: var(--font-display); font-size: clamp(5.5rem, 13vw, 10.5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; background: linear-gradient(120deg, var(--navy) 0%, #2b54c9 48%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; user-select: none; }
.error-404-lead { max-width: 720px; margin: 0 auto 36px; }
.error-404-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 24px; margin-bottom: 56px; }
.error-404-links-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 36px; border-top: 1px solid rgba(20, 47, 144, 0.09); text-align: left; }
.error-404-nav-item { display: flex; flex-direction: column; gap: 6px; padding: 4px 0; transition: transform 0.25s var(--ease-out); }
.error-404-nav-item:hover { transform: translateY(-2px); }
.error-404-nav-kicker { font-family: var(--font-display); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-Warm); }
.error-404-nav-item strong { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--navy); }
.error-404-nav-item span:last-child { font-size: 14px; color: var(--text); line-height: 1.5; }

/* === 19. OTWARTY PAS SKALI ORAZ SYMULATOR OBIEGU NA ŻYWO (ZERO KAFELKÓW) === */
.scale-strip-section { padding: 3.6vw 8vw; background: var(--white); border-bottom: 1px solid rgba(20, 47, 144, 0.07); }
.scale-strip-grid { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.scale-strip-item { padding: 0; }
.scale-strip-num { font-family: var(--font-display); font-size: clamp(2.1rem, 3vw, 2.85rem); font-weight: 800; line-height: 1.05; color: var(--navy); letter-spacing: -0.03em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.scale-strip-num sup { font-size: 0.44em; font-weight: 700; color: var(--gold-Warm); margin-left: 3px; }
.scale-strip-num.gold-accent { color: var(--gold-Warm); }
.scale-strip-label { font-size: 14px; line-height: 1.55; color: var(--text); }

.live-flow-section, .field-practice-section { padding: 6vw 8vw; background: var(--white); border-top: 1px solid rgba(20, 47, 144, 0.07); }
.field-practice-section { border-bottom: 1px solid rgba(20, 47, 144, 0.07); }
.live-flow-container { max-width: 1280px; margin: 0 auto; }
.live-flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 52px; transition: opacity 0.2s ease, transform 0.25s var(--ease-out); }
.live-flow-grid.is-switching { opacity: 0.28; transform: translateY(6px); }
.live-flow-step { display: flex; flex-direction: column; gap: 12px; }
.live-flow-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.live-flow-num { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--gold-Warm); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.live-flow-step--office .live-flow-num { color: var(--navy); }
.live-flow-kicker { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.live-flow-step--office .live-flow-kicker { color: var(--navy); font-weight: 700; }
.live-flow-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(20, 47, 144, 0.14) 0%, rgba(229, 198, 147, 0.32) 60%, transparent 100%); }
.live-flow-step--office .live-flow-line { background: linear-gradient(90deg, rgba(201, 175, 108, 0.45) 0%, transparent 90%); }
.live-flow-title { font-family: var(--font-display); font-size: clamp(1.2rem, 1.4vw, 1.42rem); font-weight: 800; color: var(--navy); line-height: 1.28; letter-spacing: -0.02em; }
.live-flow-desc { font-size: 15.5px; line-height: 1.68; color: var(--text); }

/* === 20. GENERATOR KLAUZULI SIWZ I DANE REJESTROWE (ZERO KAFELKÓW) === */
.siwz-section { padding: 5.5vw 8vw; background: var(--white); border-top: 1px solid rgba(20, 47, 144, 0.08); border-bottom: 1px solid rgba(20, 47, 144, 0.08); }
.siwz-container { max-width: 1120px; margin: 0 auto; }
.siwz-clause-block { padding: 6px 0 6px 26px; border-left: 3px solid var(--gold-Warm); margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.siwz-clause-kicker { font-family: var(--font-display); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; color: var(--navy); }
.siwz-clause-block p { font-size: 15px; line-height: 1.7; color: var(--text); }
.siwz-clause-block strong { color: var(--dark); }

.company-registry-section { padding: 1vw 6vw 4vw; background: var(--white); }
.company-registry-grid { max-width: 1280px; margin: 0 auto; padding: 32px 0 8px; border-top: 1px solid rgba(20, 47, 144, 0.09); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: left; }
.company-registry-item { display: flex; flex-direction: column; gap: 5px; padding: 0; }
.company-registry-item strong { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--navy); }
.company-registry-item span:last-child { font-size: 14.5px; color: var(--text); }
.company-registry-item a { color: var(--navy); font-weight: 600; }

@media (max-width: 1000px) {
  .roi-metrics-grid, .security-grid, .persona-outcomes-bar, .error-404-links-strip, .scale-strip-grid, .company-registry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-flow-grid { grid-template-columns: 1fr; gap: 28px; }
  .compare-row { grid-template-columns: 1fr; gap: 10px; }
  .compare-row--head { display: none; }
  .command-dock-status, .stages-timeline-axis { display: none; }
}
@media (max-width: 640px) {
  .roi-metrics-grid, .security-grid, .protocol-doc-grid, .persona-outcomes-bar, .error-404-links-strip, .scale-strip-grid, .company-registry-grid { grid-template-columns: 1fr; }
  .protocol-modal { padding: 24px 20px; }
  .command-dock-search-kbd { display: none; }
  .floating-command-dock { bottom: 12px; padding: 5px 7px; gap: 3px; max-width: calc(100vw - 16px); }
  .command-dock-btn { padding: 7px 9px; font-size: 11px; gap: 5px; }
  .command-dock-btn span.dock-hide-sm { display: none; }
  .command-dock-close { width: 24px; height: 24px; font-size: 14px; }
}
@media print {
  body:not(:has(.protocol-modal-backdrop.is-open)) :is(.site-header, .scroll-progress-bar, #canvas, .home-hero-mockup, .hero-actions-row, .hero-trust-inline, .scale-strip-section, .live-flow-section, .field-practice-section, .siwz-section, .company-registry-section, .floating-command-dock, .cmd-palette-backdrop, .protocol-modal-backdrop, .cookie-banner, .scrolling-tabs-section, .przelom-section, .stages-section, .faq-section, .guarantee-section, .before-footer-form-section, .site-footer, .roi-range-input, .roi-presets, .roi-actions-group, .nectar-btn, .arrow-cta-wrap, .persona-switcher-wrap, .subpage-split-hero, .results-section, .carousel-fixed-section, .clients-split-section, .testimonials-section) { display: none !important; }
  body:has(.protocol-modal-backdrop.is-open) :is(.site-header, .scroll-progress-bar, main, .site-footer, .floating-command-dock, .cmd-palette-backdrop, .cookie-banner, .protocol-tabs, .protocol-modal-close, .sig-actions-bar, .js-print-protocol, .js-copy-siwz, .protocol-modal .nectar-btn) { display: none !important; }
  body:has(.protocol-modal-backdrop.is-open) .protocol-modal-backdrop.is-open { position: static !important; display: block !important; background: #ffffff !important; padding: 0 !important; backdrop-filter: none !important; }
  body:has(.protocol-modal-backdrop.is-open) .protocol-modal { max-width: 100% !important; max-height: none !important; overflow: visible !important; box-shadow: none !important; border-radius: 0 !important; padding: 8px 0 !important; }
  body:has(.protocol-modal-backdrop.is-open) .protocol-doc-grid { grid-template-columns: repeat(2, 1fr) !important; }
  body, .home-hero, .open-section, .roi-section, .compare-section, .security-strip-section { background: #ffffff !important; color: #0f172a !important; padding: 14px 0 !important; min-height: auto !important; box-shadow: none !important; }
  .reveal, .js-owocni-anim { opacity: 1 !important; transform: none !important; }
  .roi-metrics-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; padding: 16px 0 !important; }
  .compare-row { grid-template-columns: 0.9fr 1fr 1fr !important; padding: 10px 0 !important; }
}
