/* QRN Systems — strona marketingowa */
:root {
  --font-sans: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  --qrn-blue: #0347d9;
  --qrn-blue-dark: #0230a8;
  --qrn-blue-soft: rgba(3, 71, 217, 0.08);
  --text-dark: #0f1221;
  --text-muted: #5c6478;
  --surface-soft: #f4f6fb;
  --bg-soft: var(--surface-soft);
  --white: #ffffff;
  --footer-blue: linear-gradient(135deg, #0230a8 0%, #0347d9 55%, #0a5cff 100%);
  --radius: 12px;
  --shadow-sm: 0 4px 24px rgba(15, 18, 33, 0.06);
  --shadow-md: 0 12px 40px rgba(3, 71, 217, 0.12);
  --surface-page: #ffffff;
  --surface-tint: #eef3fc;
  --border-theme: rgba(3, 71, 217, 0.14);
  --border-subtle: rgba(15, 18, 33, 0.08);
  /* Szerszy układ treści + nawigacji (nad domyślnym Bootstrap container) */
  --qrn-container-lg: 1040px;
  --qrn-container-xl: 1200px;
  --qrn-container-xxl: 1580px;
}

@media (min-width: 992px) {
  .navbar-qrn-shell .container.navbar-qrn-island,
  main .container {
    max-width: var(--qrn-container-lg);
  }
}

@media (min-width: 1200px) {
  .navbar-qrn-shell .container.navbar-qrn-island,
  main .container {
    max-width: var(--qrn-container-xl);
  }
}

@media (min-width: 1400px) {
  .navbar-qrn-shell .container.navbar-qrn-island,
  main .container {
    max-width: var(--qrn-container-xxl);
  }
}

html {
  scroll-behavior: smooth;
}

#hero,
#funkcje,
#technologia,
#dla-kogo,
#zaufanie,
#efekty,
#kontakt {
  scroll-margin-top: 6.5rem;
}

@media (min-width: 992px) {
  #hero,
  #funkcje,
  #technologia,
  #dla-kogo,
  #zaufanie,
  #efekty,
  #kontakt {
    scroll-margin-top: 5.5rem;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

body.is-page-loading {
  overflow: hidden;
}

/* Pełnoekranowy loader (logo + pasek + %) */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 2.5rem;
  background:
    radial-gradient(ellipse 100% 80% at 50% 20%, rgba(3, 71, 217, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f0f4ff 45%, var(--bg-soft) 100%);
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.page-loader--exiting {
  opacity: 0;
  visibility: hidden;
}

.page-loader--hidden {
  display: none;
  pointer-events: none;
}

.page-loader__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
}

.page-loader__logo {
  width: min(240px, 72vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(3, 71, 217, 0.15));
  animation: page-loader-logo-in 0.85s ease-out both;
}

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

@keyframes page-loader-logo-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.page-loader__bottom {
  width: 100%;
  max-width: min(420px, 92vw);
  margin-top: auto;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.page-loader__track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 18, 33, 0.08);
  box-shadow:
    0 2px 12px rgba(15, 18, 33, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-loader__fill {
  position: absolute;
  inset: 0;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--qrn-blue-dark) 0%, var(--qrn-blue) 45%, #0a5cff 100%);
  box-shadow: 0 0 20px rgba(3, 71, 217, 0.35);
}

.page-loader__percent {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Akapity — Poppins Light: lekki, czytelny blok tekstu */
p {
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

p strong,
p b {
  font-weight: 600;
}

/* Bardzo mały tekst: regular dla ostrości */
p.small,
p.text-muted.small {
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

figcaption.small,
figcaption.text-muted.small {
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

/* Tekst na ciemnym tle — nieco mocniejsza waga */
.cta-band__text,
.cta-band p,
.footer-cta p {
  font-weight: 400;
  letter-spacing: 0.018em;
}

/* Większe odstępy między sekcjami */
.py-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 992px) {
  .py-section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

.py-section-tight {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 992px) {
  .py-section-tight {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

/* Nav — „wyspa”: blur + zaokrąglenia */
.navbar-qrn-shell {
  background: transparent;
  padding-top: 1rem;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.navbar-qrn-shell .container.navbar-qrn-island {
  --nav-island-blur: 20px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(var(--nav-island-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--nav-island-blur)) saturate(180%);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 4px 24px rgba(15, 18, 33, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.navbar-qrn-shell.scrolled .navbar-qrn-island {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    var(--shadow-sm),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

@media (max-width: 991.98px) {
  .navbar-qrn-shell .container.navbar-qrn-island {
    border-radius: 1.35rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-qrn-island .navbar-collapse {
    margin-top: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 18, 33, 0.06);
  }

  .navbar-qrn-island .navbar-nav {
    padding-bottom: 0.35rem;
  }

  .navbar-qrn-island .btn-qrn-primary {
    width: 100%;
    margin-top: 0.35rem;
  }
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.nav-link-qrn {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
}

.nav-link-qrn:hover {
  color: var(--qrn-blue) !important;
}

.nav-link-qrn.is-active {
  color: var(--qrn-blue) !important;
  position: relative;
}

.nav-link-qrn.is-active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--qrn-blue);
  border-radius: 2px;
  opacity: 0.9;
}

.btn-qrn-primary {
  background: var(--qrn-blue);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-qrn-primary:hover {
  background: var(--qrn-blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-qrn-outline {
  border: 2px solid var(--qrn-blue);
  color: var(--qrn-blue);
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius);
  background: transparent;
}

.btn-qrn-outline:hover {
  background: var(--qrn-blue-soft);
  color: var(--qrn-blue-dark);
}

/* Hero */
.hero-section {
  padding: 7.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 130% 90% at 88% 8%, rgba(3, 71, 217, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse 100% 85% at 5% 95%, rgba(2, 48, 168, 0.12) 0%, transparent 48%),
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(10, 92, 255, 0.06) 0%, transparent 62%),
    linear-gradient(168deg, #ffffff 0%, #f5f8ff 28%, var(--bg-soft) 58%, #e8eefc 88%, #f0f4fb 100%);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-orbs {
  position: absolute;
  inset: -38% -18% -32% -12%;
  height: auto;
  min-height: 140%;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(92px);
  opacity: 0.62;
  will-change: transform;
}

.hero-orb--a {
  width: min(520px, 68vw);
  height: min(520px, 68vw);
  background: radial-gradient(circle, rgba(3, 71, 217, 0.5) 0%, rgba(3, 71, 217, 0.12) 42%, transparent 72%);
  top: -8%;
  left: -12%;
}

.hero-orb--b {
  width: min(400px, 52vw);
  height: min(400px, 52vw);
  background: radial-gradient(circle, rgba(10, 92, 255, 0.38) 0%, rgba(10, 92, 255, 0.08) 45%, transparent 70%);
  top: 18%;
  right: -14%;
}

.hero-orb--c {
  width: min(360px, 48vw);
  height: min(360px, 48vw);
  background: radial-gradient(circle, rgba(2, 48, 168, 0.42) 0%, rgba(2, 48, 168, 0.1) 40%, transparent 68%);
  bottom: -18%;
  left: 28%;
}

.js-magnetic {
  will-change: transform;
}

@media (min-width: 992px) {
  .hero-section {
    padding: 10rem 0 8.5rem;
  }
}

.hero-main-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: min(500px, 72vh);
}

.hero-photo-figure {
  margin: 0;
}

.hero-phone-layer {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .hero-phone-layer {
    margin-top: 0;
  }
}

/* —— Mobile / tablet: hero + sekcje —— */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: max(5.75rem, calc(env(safe-area-inset-top, 0px) + 5rem));
    padding-bottom: 3.25rem;
  }

  .hero-title {
    font-size: clamp(1.62rem, 7.2vw, 2.35rem);
    line-height: 1.11;
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 1.05rem;
    line-height: 1.72;
    margin-bottom: 1.5rem;
  }

  .hero-badge {
    margin-bottom: 1rem;
  }

  .hero-visual {
    min-height: 0;
    padding-bottom: 0.25rem;
  }

  .hero-visual::before {
    content: "";
    position: absolute;
    width: min(360px, 92vw);
    height: min(360px, 92vw);
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(3, 71, 217, 0.11) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
  }

  .hero-phone-layer {
    position: relative;
    z-index: 1;
  }

  .phone-mockup {
    width: min(288px, 84vw);
    border-width: 11px;
    border-radius: 34px;
    box-shadow:
      var(--shadow-md),
      0 28px 56px rgba(3, 71, 217, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  }

  .phone-mockup-inner {
    padding: 1.1rem;
    gap: 0.65rem;
  }

  .phone-card {
    padding: 0.75rem;
    font-size: 0.72rem;
    border-radius: 11px;
  }

  .hero-cta-row .btn-lg {
    min-height: 3.1rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    touch-action: manipulation;
  }

  .app-downloads--hero .app-downloads__label {
    text-align: center;
    width: 100%;
  }

  .app-downloads--hero .app-downloads__list {
    justify-content: center;
    width: 100%;
  }

  .app-downloads--hero .app-downloads__btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  .app-downloads--hero .app-downloads__btn-text {
    align-items: center;
    text-align: center;
  }

  .section-mobile-tight.py-section {
    padding-top: 3.65rem;
    padding-bottom: 3.65rem;
  }

  .section-title {
    font-size: clamp(1.52rem, 5.2vw, 2rem);
  }

  .section-sub {
    margin-bottom: 2.35rem;
    font-size: 1.02rem;
  }

  .visual-banner img {
    border-radius: 18px;
  }

  .visual-banner figcaption {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-top: 1.15rem !important;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  .feature-card {
    padding: 1.45rem 1.3rem;
    border-radius: 16px;
  }

  .tech-photo-wrap {
    border-radius: 18px;
    max-width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .section-editorial {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .trust-section__title {
    max-width: none;
  }

  .trust-section__head .btn-editorial {
    width: 100%;
    justify-content: center;
  }

  @media (min-width: 576px) {
    .trust-section__head .btn-editorial {
      width: auto;
      justify-content: center;
    }
  }

  .cta-band__inner {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .cta-band__title {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    margin-bottom: 0.65rem;
  }

  .audience-card {
    padding: 1.15rem 0.65rem;
  }

  .audience-card .bi {
    font-size: 1.65rem;
    margin-bottom: 0.65rem;
  }

  .audience-card h3 {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .stat-block {
    padding: 1.65rem 1rem;
  }

  .stat-number {
    font-size: clamp(1.85rem, 8vw, 2.65rem);
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: max(5.35rem, calc(env(safe-area-inset-top, 0px) + 4.65rem));
    padding-bottom: 2.75rem;
  }

  .hero-cta-row .btn-lg {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .app-downloads--hero .app-downloads__list {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .app-downloads--hero .app-downloads__btn {
    width: 100%;
    max-width: 20rem;
  }

  .section-mobile-tight.py-section {
    padding-top: 2.85rem;
    padding-bottom: 2.85rem;
  }

  .audience-section-photo {
    border-radius: 16px;
    max-height: 260px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-cta-row .btn-lg {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 11rem;
  }
}

.visual-banner {
  margin: 0;
}

.visual-banner img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-theme);
}

.visual-banner.section-media-panel img {
  box-shadow: none;
}

.visual-banner figcaption {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.tech-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface-page);
  border: 1px solid var(--border-theme);
}

.tech-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Technologia — ikona nad tekstem < lg, w rzędzie od lg (bez wychodzenia poza ekran) */
.tech-feature-list {
  max-width: 100%;
}

.tech-feature-row {
  min-width: 0;
}

.tech-feature-body {
  flex: 1 1 auto;
  min-width: 0;
}

.tech-feature-icon.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.audience-section-photo {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-theme);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--qrn-blue);
  background: var(--qrn-blue-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 32rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.phone-mockup {
  position: relative;
  width: 260px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 36px;
  border: 12px solid #1a1d2e;
  background: linear-gradient(160deg, #171b2f 0%, #0f1221 100%);
  box-shadow:
    var(--shadow-md),
    0 40px 80px rgba(3, 71, 217, 0.2);
  overflow: hidden;
  aspect-ratio: 9/18;
}

.phone-mockup-inner {
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phone-header {
  height: 8px;
  width: 40%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  margin: 0 auto 0.5rem;
}

.phone-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.85rem;
  font-size: 0.75rem;
  color: #aab4d6;
}

.phone-card strong {
  color: #eef2ff;
  display: block;
  margin-bottom: 0.25rem;
}

.hero-float {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.hero-float--1 {
  top: 5%;
  right: 0;
  color: var(--qrn-blue);
}

.hero-float--2 {
  bottom: 10%;
  left: 0;
  color: var(--qrn-blue-dark);
}

/* Pobieranie aplikacji (Google Play + App Store) */
.app-downloads__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.app-downloads--hero .app-downloads__label {
  margin-bottom: 0.75rem;
}

.app-downloads__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.app-downloads__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.45rem 1.1rem 0.45rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 18, 33, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(15, 18, 33, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.app-downloads__btn:hover {
  border-color: rgba(3, 71, 217, 0.45);
  color: var(--qrn-blue-dark);
  box-shadow: 0 6px 20px rgba(3, 71, 217, 0.12);
  transform: translateY(-1px);
}

.app-downloads__icon {
  font-size: 1.65rem;
  line-height: 1;
  flex-shrink: 0;
}

.app-downloads__btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.app-downloads__btn-kicker {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.72;
}

.app-downloads__btn-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.app-downloads__label--footer {
  color: rgba(255, 255, 255, 0.55);
}

.app-downloads__list--footer {
  gap: 0.85rem;
}

.app-downloads__btn--footer {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.app-downloads__btn--footer:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.app-downloads__btn--footer .app-downloads__btn-kicker {
  color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

/* Sections */
.section-soft {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border-subtle);
}

.py-section:not(.section-soft):not(.trust-section):not(.section-editorial--theme):not(.hero-section):not(.cta-band) {
  background: var(--surface-page);
}

/* Wspólny nagłówek sekcji (eyebrow + tytuł + lead) */
.section-head {
  margin-bottom: 2.75rem;
  max-width: 42rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .section-title {
  margin-bottom: 1rem;
}

.section-head .section-sub:not(.mb-4) {
  margin-bottom: 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qrn-blue);
  margin-bottom: 0.65rem;
}

.section-eyebrow--center {
  margin-left: auto;
  margin-right: auto;
}

.section-head--center .section-sub {
  max-width: 36rem;
}

/* Panel pod dużą grafikę (pas wizualny) */
.section-media-panel {
  background: var(--surface-page);
  border: 1px solid var(--border-theme);
  border-radius: 22px;
  padding: clamp(0.65rem, 2vw, 1rem);
  box-shadow: var(--shadow-sm);
}

.section-media-panel img {
  border: none;
  border-radius: 18px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.section-sub {
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

@media (min-width: 992px) {
  .section-sub {
    margin-bottom: 3.75rem;
  }
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--surface-page);
  border-radius: 20px;
  padding: 1.75rem 1.75rem 1.75rem 1.35rem;
  height: 100%;
  border: 1px solid var(--border-theme);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--qrn-blue) 0%, var(--qrn-blue-dark) 100%);
  opacity: 0.85;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(3, 71, 217, 0.22);
}

.feature-card:not(.js-tilt-card):hover {
  transform: translateY(-4px);
}

.js-tilt-card:hover {
  box-shadow: var(--shadow-md);
}

.js-tilt-parent {
  perspective: 1100px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--qrn-blue-soft);
  color: var(--qrn-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.68;
  letter-spacing: 0.018em;
  margin: 0;
}

/* Wide CTA band */
.cta-band {
  position: relative;
  min-height: 320px;
  background: linear-gradient(120deg, #0f1221 0%, #1a2040 50%, #0230a8 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 0;
}

.cta-band__glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse 50% 45% at 50% 50%, rgba(10, 92, 255, 0.45) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.cta-band .container {
  position: relative;
  z-index: 2;
}

.cta-band__inner {
  padding-top: 3.25rem !important;
  padding-bottom: 3.25rem !important;
}

@media (min-width: 992px) {
  .cta-band__inner {
    padding-top: 4.25rem !important;
    padding-bottom: 4.25rem !important;
  }
}

.cta-band__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.cta-band__title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-band__text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  max-width: 32rem;
}

/* Audience cards */
.audience-card {
  border: 1px solid var(--border-theme);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  background: var(--surface-page);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  cursor: default;
}

.audience-card:hover {
  border-color: rgba(3, 71, 217, 0.35);
  background: var(--qrn-blue-soft);
  box-shadow: var(--shadow-md);
}

.audience-card .bi {
  font-size: 2rem;
  color: var(--qrn-blue);
  margin-bottom: 1rem;
}

/* Stats (legacy — zachowane na wypadek ponownego użycia) */
.stat-block {
  text-align: center;
  padding: 2rem 1.25rem;
}

@media (min-width: 992px) {
  .stat-block {
    padding: 2.75rem 1.5rem;
  }
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--qrn-blue);
  line-height: 1.1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}

/* —— Sekcje editorial: motyw QRN (jasne, niebieskie akcenty) —— */
.section-editorial {
  padding: clamp(3.75rem, 11vw, 7.5rem) 0;
  overflow: hidden;
}

.section-editorial--theme {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(3, 71, 217, 0.07) 0%, transparent 52%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(2, 48, 168, 0.06) 0%, transparent 48%),
    linear-gradient(168deg, var(--surface-page) 0%, var(--surface-soft) 45%, var(--surface-tint) 100%);
  color: var(--text-dark);
  border-top: 1px solid var(--border-subtle);
}

.trust-section {
  background: var(--surface-soft);
  color: var(--text-dark);
  border-top: 1px solid var(--border-subtle);
}

.trust-section__head-text {
  flex: 1;
  min-width: 0;
  max-width: 40rem;
}

.trust-section__title {
  font-size: clamp(1.65rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-top: 0;
}

.trust-section .section-eyebrow {
  margin-bottom: 0.75rem;
}

.btn-editorial {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--qrn-blue);
  border: 1px solid var(--qrn-blue);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(3, 71, 217, 0.22);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn-editorial:hover {
  background: var(--qrn-blue-dark);
  border-color: var(--qrn-blue-dark);
  color: #fff;
  box-shadow: 0 8px 28px rgba(3, 71, 217, 0.28);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.65rem 1.5rem 1.5rem;
  background: var(--surface-page);
  border: 1px solid var(--border-theme);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.testimonial-card:hover {
  border-color: rgba(3, 71, 217, 0.28);
  box-shadow: var(--shadow-md);
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.testimonial-card__idx {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--qrn-blue);
  opacity: 0.75;
}

.testimonial-card__rule {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--border-theme) 0%, rgba(3, 71, 217, 0.04) 100%);
  transform-origin: left center;
}

.testimonial-card__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qrn-blue);
  opacity: 0.85;
  margin-bottom: 0.85rem;
}

.testimonial-card__quote {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.testimonial-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--qrn-blue-soft);
  color: var(--qrn-blue);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(3, 71, 217, 0.15);
}

.testimonial-card__icon-wrap .bi {
  line-height: 1;
}

.testimonial-card__footer-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.testimonial-card__footer-hint {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.35;
}

/* Impact / efekty — ta sama jasna estetyka */
.editorial-impact__intro .section-eyebrow {
  margin-bottom: 0.85rem;
}

.editorial-impact__intro {
  padding: 0 0 2.5rem;
}

@media (min-width: 992px) {
  .editorial-impact__intro {
    padding: 0.5rem 3rem 2rem 0;
    border-right: 1px solid var(--border-theme);
    margin-right: 0;
  }
}

.editorial-impact__title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.editorial-impact__lead {
  font-size: clamp(0.98rem, 2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.7;
  max-width: 38rem;
  color: var(--text-muted);
  margin: 0;
}

.editorial-impact__hr {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--border-theme) 0%, transparent 100%);
  margin: 0 0 2rem;
  transform-origin: left center;
}

.editorial-impact__stats {
  min-height: 12rem;
}

.editorial-impact__cell {
  padding: 1.5rem 0 2rem;
}

@media (min-width: 768px) {
  .editorial-impact__cell {
    padding: 2rem 1.5rem 2.5rem 0;
  }

  .editorial-impact__cell--split {
    position: relative;
    padding-left: 2rem;
    padding-right: 0;
  }
}

.editorial-impact__vline {
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--border-theme) 15%,
    var(--border-theme) 85%,
    transparent 100%
  );
  transform-origin: center top;
}

.editorial-stat__value {
  font-size: clamp(3.25rem, 12vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--qrn-blue);
  margin-bottom: 1.25rem;
}

.editorial-stat__value span {
  display: inline-block;
  color: inherit;
}

.editorial-stat__caption {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 17rem;
  margin: 0;
}

.editorial-impact__footnote {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--qrn-blue);
  opacity: 0.65;
  margin: 2rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-theme);
}

@media (max-width: 767.98px) {
  .editorial-impact__cell--split {
    border-top: 1px solid var(--border-theme);
    margin-top: 0.5rem;
    padding-top: 2rem;
  }

  .editorial-impact__hr.d-md-none {
    margin-bottom: 1.5rem;
  }
}

/* Footer CTA */
.footer-cta {
  background: var(--footer-blue);
  color: #fff;
  padding: 5.5rem 0 2.5rem;
}

@media (min-width: 992px) {
  .footer-cta {
    padding: 6.5rem 0 3rem;
  }
}

.footer-cta h2 {
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.footer-cta .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 28rem;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.footer-cta .form-control {
  border-radius: var(--radius);
  border: none;
  padding: 0.75rem 1rem;
}

.footer-cta .btn-submit {
  background: #fff;
  color: var(--qrn-blue);
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
}

.footer-cta .btn-submit:hover {
  background: #eef2ff;
  color: var(--qrn-blue-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (min-width: 992px) {
  .mb-lg-6 {
    margin-bottom: 5rem !important;
  }
}

/* GSAP will set initial state for .gsap-reveal */
.gsap-reveal {
  will-change: transform, opacity;
}
