/* Fonty samodzielnie hostowane - musi byc na samej gorze, by @import zadzialal */
@import url('/google-fonts/css/space-grotesk.css');
@import url('/google-fonts/css/manrope.css');

/* Dostepnosc i ukryte elementy semantyczne (dla botow/SR) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   SoftwareStudio Group Sp. z o.o. - assets/style.css
   Strona główna (index.html) | 2026
   Kolory: #ff6a13 orange | #1f2d3a dark | #1b2d4f navy | #2b5fa3 blue
   ========================================================================== */
/* (fonty laduja sie lokalnie z /google-fonts/ - patrz @import na gorze pliku) */


/* ----------------------------------------------------------------
   ZMIENNE - zgodne z istniejącym design systemem SoftwareStudio
   ---------------------------------------------------------------- */
:root {
  /* Paleta wg makiety redesignu 2026 (_projekt/) */
  --ss-orange:      #ff6a13;
  --ss-orange-600:  #e85d09;
  --ss-orange-300:  #ff9a5c;
  --ss-amber:       #f59e1b;
  --ss-ink:         #0c1320;
  --ss-navy:        #16243f;
  --ss-navy-600:    #1b2d4f;
  --ss-blue:        #2b5fa3;
  --ss-blue-light:  #e8f0fb;
  --ss-text:        #14202f;
  --ss-muted:       #5a6a7e;
  --ss-faint:       #8a97a8;
  --ss-border:      #e4e9f2;
  --ss-white:       #ffffff;
  --ss-bg-alt:      #f5f7fb;

  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 100px;
  --sh-sm: 0 2px 8px rgba(12,19,32,.06);
  --sh:    0 6px 16px rgba(12,19,32,.08);
  --sh-md: 0 12px 28px rgba(12,19,32,.1);
  --sh-lg: 0 24px 56px rgba(12,19,32,.14);
  --sh-orange: 0 10px 26px rgba(255,106,19,.35);

  --ss-max-width:   1240px;
  --ss-font-head:   'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --ss-font-body:   'Manrope', 'Segoe UI', Arial, sans-serif;
  --ss-transition:  .2s ease;

  /* Aliasy wstecz zgodne - reszta arkusza uzywa tych nazw bez zmian */
  --ss-dark:        var(--ss-ink);
  --ss-dark-mid:    var(--ss-navy-600);
  --ss-radius:      var(--r);
  --ss-radius-lg:   var(--r-lg);
  --ss-shadow:      var(--sh);
  --ss-shadow-md:   var(--sh-md);
}


/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ss-font-body);
  color: var(--ss-text);
  background: var(--ss-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ss-blue); text-decoration: none; transition: color var(--ss-transition); }
a:hover { color: var(--ss-orange); text-decoration: underline; }
h1,h2,h3,h4 {
  font-family: var(--ss-font-head);
  color: var(--ss-navy);
  line-height: 1.25;
  font-weight: 700;
}
p { margin-bottom: 1rem; }

/* ----------------------------------------------------------------
   UTILITY
   ---------------------------------------------------------------- */
.container { max-width: var(--ss-max-width); margin: 0 auto; padding: 0 1.5rem; }

.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--center .section-lead { margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ss-orange);
  background: rgba(255,106,19,.09);
  border: 1px solid rgba(255,106,19,.25);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .75rem;
}
.section-title span { color: var(--ss-orange); }
.section-lead {
  font-size: 1.05rem;
  color: var(--ss-muted);
  max-width: 680px;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--ss-radius);
  font-family: var(--ss-font-head);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ss-transition), border-color var(--ss-transition), transform var(--ss-transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn--primary { background: var(--ss-orange); color: var(--ss-white); border-color: var(--ss-orange); }
.btn--primary:hover { background: var(--ss-orange-600); border-color: var(--ss-orange-600); color: var(--ss-white); }

.btn--outline-dark { background: transparent; color: var(--ss-dark); border-color: var(--ss-border); }
.btn--outline-dark:hover { border-color: var(--ss-orange); color: var(--ss-orange); }

.btn--outline-white { background: transparent; color: var(--ss-white); border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { background: var(--ss-orange); color: var(--ss-white); border-color: var(--ss-orange); }

/* Przyciski CTA na pomaranczowym tle (cta-product) */
.btn--cta-dark { background: var(--ss-dark); color: var(--ss-white); border-color: var(--ss-dark); }
.btn--cta-dark:hover { background: var(--ss-dark-mid); border-color: var(--ss-dark-mid); color: var(--ss-white); }
.btn--cta-white { background: var(--ss-white); color: var(--ss-navy); border-color: var(--ss-white); }
.btn--cta-white:hover { background: transparent; color: var(--ss-white); border-color: var(--ss-white); }

/* Galeria zrzutow ekranow produktu */
.screenshots { padding: 80px 0; background: var(--ss-bg-alt); }
.screenshots-intro { max-width: 620px; }
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2.5rem;
}
.screenshot-card {
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-lg);
  overflow: hidden;
  box-shadow: var(--ss-shadow);
  transition: box-shadow var(--ss-transition), transform var(--ss-transition);
}
.screenshot-card:hover { box-shadow: var(--ss-shadow-md); transform: translateY(-3px); }
.screenshot-card img { width: 100%; height: auto; display: block; }
.screenshot-card figcaption {
  padding: 12px 16px;
  font-size: .82rem;
  color: var(--ss-muted);
  font-weight: 500;
  border-top: 1px solid var(--ss-border);
}
.screenshot-card--wide { grid-column: span 2; }
@media (max-width: 768px) {
  .screenshots-grid { grid-template-columns: 1fr; }
  .screenshot-card--wide { grid-column: span 1; }
}

.btn--lg { padding: .9rem 2rem; font-size: .97rem; }

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--ss-white);
  border-bottom: 3px solid var(--ss-orange);
  box-shadow: 0 2px 12px rgba(31,45,58,.10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

/* Logo */
.logo-link { display: flex; align-items: center; flex-shrink: 0; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  padding: .55rem .85rem;
  font-family: var(--ss-font-head);
  font-size: .86rem;
  font-weight: 600;
  color: var(--ss-dark);
  border-radius: var(--ss-radius);
  transition: background var(--ss-transition), color var(--ss-transition);
  text-decoration: none;
}
.main-nav a:hover { background: var(--ss-bg-alt); color: var(--ss-orange); text-decoration: none; }
.main-nav .btn--demo {
  background: var(--ss-orange);
  color: var(--ss-white);
  margin-left: .5rem;
}
.main-nav .btn--demo:hover { background: var(--ss-orange-600); color: var(--ss-white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius);
  padding: .5rem .55rem;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ss-dark); border-radius: 2px; transition: var(--ss-transition); }

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--ss-dark) 0%, var(--ss-dark-mid) 55%, var(--ss-navy-600) 100%);
  color: var(--ss-white);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(135deg, transparent 30%, rgba(255,106,19,.06) 70%);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ss-orange), var(--ss-amber) 60%, transparent);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,106,19,.15);
  border: 1px solid rgba(255,106,19,.3);
  color: var(--ss-amber);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--ss-white);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  margin-bottom: 20px;
  border-left: 4px solid var(--ss-orange);
  padding-left: 1rem;
}
.hero h1 em { font-style: normal; color: var(--ss-orange); }
/* Pionowa kreska akcentowa obejmuje naglowek i lead (index.html) */
.hero-text-accent {
  border-left: 4px solid var(--ss-orange);
  padding-left: 1rem;
  margin-bottom: 2rem;
}
.hero-text-accent h1 { border-left: none; padding-left: 0; }
.hero-lead {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px;
  padding: 28px 0 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--ss-amber); line-height: 1; }
.stat-label { font-size: .76rem; color: rgba(255,255,255,.6); text-transform: none; letter-spacing: 0; margin-top: 4px; }

/* Hero visual - mini karty aplikacji */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--ss-radius-lg);
  padding: 16px 14px 16px 16px;
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background var(--ss-transition), border-color var(--ss-transition), transform var(--ss-transition), box-shadow var(--ss-transition);
  position: relative;
}
.hero-card:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,106,19,.55);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.hero-card::after {
  content: '\2192';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  color: rgba(255,106,19,.5);
  font-size: .95rem;
  transition: color var(--ss-transition), transform var(--ss-transition);
}
.hero-card:hover::after {
  color: var(--ss-orange);
  transform: translateY(-50%) translateX(3px);
}
.hero-card-icon {
  width: 44px; height: 44px;
  background: var(--ss-orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card--service .hero-card-icon {
  background: rgba(255,255,255,.12);
}
.hero-card-icon img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.hero-card-body { padding-right: 14px; }
.hero-card-body h3 { color: var(--ss-white); font-size: .88rem; font-weight: 600; margin-bottom: 3px; }
.hero-card-body p { color: rgba(255,255,255,.55); font-size: .75rem; margin: 0; line-height: 1.4; }

/* ----------------------------------------------------------------
   TRUST STRIP
   ---------------------------------------------------------------- */
.trust-strip {
  background: var(--ss-orange);
  padding: 16px 0;
}
.trust-strip-inner {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--ss-white);
  font-family: var(--ss-font-head);
  font-size: .85rem; font-weight: 600;
  white-space: nowrap;
}
.trust-item svg { flex-shrink: 0; opacity: .9; }

/* ----------------------------------------------------------------
   ABOUT
   ---------------------------------------------------------------- */
.about { padding: 88px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-stat-card {
  background: var(--ss-bg-alt);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: border-color var(--ss-transition), box-shadow var(--ss-transition);
}
.about-stat-card:hover { border-color: var(--ss-orange); box-shadow: var(--ss-shadow); }
.about-stat-card.accent { background: var(--ss-orange); border-color: var(--ss-orange); }
.about-stat-card.accent .stat-big,
.about-stat-card.accent .stat-desc { color: var(--ss-white); }
.stat-big { font-family: var(--ss-font-head); font-size: 2.2rem; font-weight: 800; color: var(--ss-orange); line-height: 1; margin-bottom: 6px; }
.stat-desc { font-size: .82rem; color: var(--ss-muted); line-height: 1.4; }
.about-content h2 { margin-bottom: .75rem; }
.about-content p { color: var(--ss-muted); font-size: .95rem; }
.about-content ul { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.about-content ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--ss-text);
}
.about-content ul li::before {
  content: '✓';
  color: var(--ss-orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ----------------------------------------------------------------
   PRODUCTS
   ---------------------------------------------------------------- */
.products { padding: 88px 0; background: var(--ss-bg-alt); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--ss-white);
  border-radius: var(--ss-radius-lg);
  padding: 32px 24px 28px;
  border: 1px solid var(--ss-border);
  border-top: 4px solid transparent;
  box-shadow: var(--ss-shadow);
  transition: border-top-color var(--ss-transition), box-shadow var(--ss-transition), transform var(--ss-transition);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.product-card:hover {
  border-top-color: var(--ss-orange);
  box-shadow: var(--ss-shadow-md);
  transform: translateY(-3px);
}
.product-card h3 { text-align: left; width: 100%; }
.product-card p  { text-align: left; width: 100%; }
.product-card .product-link { align-self: flex-start; }
.product-icon {
  width: 100px; height: 100px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ss-bg-alt);
  border-radius: 20px;
  margin-bottom: 18px;
}
.product-icon img { width: 72px; height: 72px; object-fit: contain; }
.product-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ss-orange); background: rgba(255,106,19,.09);
  border-radius: 4px; padding: 2px 8px;
  margin-bottom: 10px;
}
.product-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.product-card p { font-size: .88rem; color: var(--ss-muted); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.product-link {
  font-size: .85rem; font-weight: 700; color: var(--ss-orange);
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none;
}
.product-link::after { content: '→'; transition: transform var(--ss-transition); }
.product-link:hover { text-decoration: none; }
.product-link:hover::after { transform: translateX(4px); }

/* ----------------------------------------------------------------
   WHY US
   ---------------------------------------------------------------- */
.why-us { padding: 88px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.why-item { display: flex; gap: 18px; }
.why-icon {
  width: 52px; height: 52px;
  background: rgba(255,106,19,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.why-icon img { width: 32px; height: 32px; object-fit: contain; }
.why-content h3 { font-size: 1rem; margin-bottom: 8px; }
.why-content p { font-size: .87rem; color: var(--ss-muted); line-height: 1.65; margin: 0; }

/* ----------------------------------------------------------------
   INDUSTRIES
   ---------------------------------------------------------------- */
.industries { padding: 72px 0; background: var(--ss-bg-alt); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 2rem;
}
.industry-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-top: 3px solid transparent;
  border-radius: var(--ss-radius-lg);
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: var(--ss-shadow);
  transition: border-top-color var(--ss-transition), box-shadow var(--ss-transition), transform var(--ss-transition);
  cursor: default;
}
.industry-card:hover {
  border-top-color: var(--ss-orange);
  box-shadow: 0 6px 20px rgba(255,106,19,.13);
  transform: translateY(-3px);
}
.industry-card img {
  width: 64px; height: 64px; object-fit: contain;
}
.industry-card span {
  font-size: .85rem; font-weight: 600; color: var(--ss-navy); line-height: 1.3;
}

/* ----------------------------------------------------------------
   TECH STACK
   ---------------------------------------------------------------- */
.tech { padding: 80px 0; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tech-card {
  background: var(--ss-bg-alt);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius);
  padding: 24px 16px 20px;
  text-align: center;
  transition: border-color var(--ss-transition), box-shadow var(--ss-transition);
}
.tech-card:hover { border-color: var(--ss-blue); box-shadow: var(--ss-shadow); }
.tech-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.tech-card-icon img { width: 56px; height: 56px; object-fit: contain; }
.tech-card-name { font-size: .82rem; font-weight: 600; color: var(--ss-navy); }

/* ----------------------------------------------------------------
   CTA BAND
   ---------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--ss-dark) 0%, var(--ss-dark-mid) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--ss-white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   CONTACT
   ---------------------------------------------------------------- */
.contact { padding: 88px 0; background: var(--ss-bg-alt); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { color: var(--ss-muted); margin-bottom: 32px; font-size: .95rem; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row-icon {
  width: 44px; height: 44px;
  background: var(--ss-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-row-icon img { width: 26px; height: 26px; object-fit: contain; filter: brightness(0) invert(1); }
.contact-row-body strong { display: block; font-size: .85rem; color: var(--ss-navy); margin-bottom: 2px; }
.contact-row-body span, .contact-row-body a { font-size: .88rem; color: var(--ss-muted); }
.contact-row-body a:hover { color: var(--ss-orange); }
.contact-social { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  color: var(--ss-navy);
  text-decoration: none;
  transition: background var(--ss-transition), border-color var(--ss-transition), color var(--ss-transition), transform var(--ss-transition), box-shadow var(--ss-transition);
}
.social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27,45,79,.15);
  text-decoration: none;
}
.social-link[aria-label="Facebook"]:hover { background: #1877F2; border-color: #1877F2; }
.social-link[aria-label="LinkedIn"]:hover { background: #0077B5; border-color: #0077B5; }
.social-link[aria-label="YouTube"]:hover { background: #FF0000; border-color: #FF0000; }

.contact-form {
  background: var(--ss-white);
  border-radius: var(--ss-radius-lg);
  padding: 40px;
  box-shadow: var(--ss-shadow-md);
  border-top: 4px solid var(--ss-orange);
}
.contact-form h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .82rem; font-weight: 700;
  color: var(--ss-navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ss-border);
  border-radius: var(--ss-radius);
  font-family: var(--ss-font-body);
  font-size: .9rem;
  color: var(--ss-text);
  background: var(--ss-white);
  transition: border-color var(--ss-transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--ss-orange); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .79rem; color: var(--ss-muted);
  margin-bottom: 20px; line-height: 1.5;
}
.form-consent input[type="checkbox"] { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-consent a { color: var(--ss-orange); }

/* ----------------------------------------------------------------
   COOKIE BANNER
   ---------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ss-dark);
  color: rgba(255,255,255,.82);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 9000;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  font-size: .84rem;
  transform: translateY(0);
  transition: transform var(--ss-transition);
}
.cookie-banner.hidden { transform: translateY(110%); pointer-events: none; }
.cookie-banner p { flex: 1; margin: 0; }
.cookie-banner a { color: var(--ss-amber); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn--cookie-accept { background: var(--ss-orange); color: var(--ss-white); border: none; padding: 9px 20px; font-size: .82rem; border-radius: var(--ss-radius); font-weight: 700; cursor: pointer; }
.btn--cookie-reject { background: transparent; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.2); padding: 9px 14px; font-size: .82rem; border-radius: var(--ss-radius); font-weight: 600; cursor: pointer; }
.btn--cookie-accept:hover { background: var(--ss-orange-600); }
.btn--cookie-reject:hover { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.8); }

/* ----------------------------------------------------------------
   PRIVACY MODAL
   ---------------------------------------------------------------- */
.privacy-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9500;
  align-items: center; justify-content: center;
  padding: 20px;
}
.privacy-modal.open { display: flex; }
.privacy-box {
  background: var(--ss-white);
  border-radius: var(--ss-radius-lg);
  max-width: 760px; width: 100%;
  max-height: 82vh; overflow-y: auto;
  padding: 48px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
}
.privacy-box h2 { margin-bottom: .75rem; font-size: 1.4rem; }
.privacy-box h3 { margin: 1.5rem 0 .5rem; font-size: 1rem; color: var(--ss-navy); }
.privacy-box p, .privacy-box li { font-size: .88rem; color: var(--ss-muted); line-height: 1.7; margin-bottom: .5rem; }
.privacy-box ul, .privacy-box ol { padding-left: 1.25rem; }
.privacy-close {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer;
  color: var(--ss-muted); line-height: 1;
  transition: color var(--ss-transition);
}
.privacy-close:hover { color: var(--ss-dark); }

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--ss-dark);
  color: rgba(255,255,255,.65);
}
.footer-top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--ss-orange), var(--ss-amber) 60%, var(--ss-dark-mid));
}
.footer-inner {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 1.5rem 2.5rem;
  max-width: var(--ss-max-width);
  margin: 0 auto;
}
.footer-brand p { font-size: .86rem; line-height: 1.75; margin: 14px 0 20px; }
.footer-logo {
  display: flex; align-items: center;
  margin-bottom: 4px;
}

.footer-col h4 {
  color: var(--ss-orange);
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin: 0 0 .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.footer-col li a { color: rgba(255,255,255,.55); font-size: .86rem; transition: color var(--ss-transition); text-decoration: none; }
.footer-col li a:hover { color: var(--ss-amber); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: .9rem 1.5rem;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.45); margin-left: 1rem; transition: color var(--ss-transition); }
.footer-bottom a:hover { color: var(--ss-amber); text-decoration: none; }

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; order: -1; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--ss-white); border-bottom: 2px solid var(--ss-orange); box-shadow: var(--ss-shadow-md); padding: 1rem 0; z-index: 400; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .85rem 1.5rem; width: 100%; border-radius: 0; border-bottom: 1px solid var(--ss-border); }
  .main-nav .btn--demo { margin: .75rem 1.5rem 0; width: calc(100% - 3rem); justify-content: center; border-radius: var(--ss-radius); }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .hero { padding: 60px 0 52px; }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .trust-strip-inner { gap: 20px; }
  .products-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; padding: 2rem 1.25rem 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin-left: .5rem; }
  .contact-form { padding: 28px 20px; }
  .privacy-box { padding: 32px 20px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

@media (max-width: 540px) {
  .hero-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Breadcrumb - nawigacja okruszkowa (wspolna dla stron produktowych i demo)
   ========================================================================== */
.breadcrumb {
  background: var(--ss-bg-alt);
  border-bottom: 1px solid var(--ss-border);
  padding: 10px 0;
  font-size: .82rem;
  color: var(--ss-muted);
}
.breadcrumb ol,
.breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.breadcrumb li {
  display: flex;
  align-items: center;
}
.breadcrumb li + li::before {
  content: "\203A";
  margin: 0 6px;
  color: var(--ss-muted);
  aria-hidden: true;
}
.breadcrumb a {
  color: var(--ss-blue);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
  color: var(--ss-navy);
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--ss-orange); }

/* Breadcrumb w hero artykułu - wtopiony, bez ramki/tła, jako lekka linia okruszków */
.article-hero .breadcrumb {
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 14px;
  font-size: .82rem;
}
.article-hero .breadcrumb ul { gap: 2px 0; }
.article-hero .breadcrumb li + li::before {
  content: "\203A";
  margin: 0 9px;
  color: var(--ss-border);
  font-weight: 400;
}
.article-hero .breadcrumb a {
  color: var(--ss-muted);
  padding: 3px 9px;
  border-radius: var(--ss-radius);
  transition: background var(--ss-transition), color var(--ss-transition);
}
.article-hero .breadcrumb a:hover {
  color: var(--ss-blue);
  background: var(--ss-blue-light);
}
.article-hero .breadcrumb li:first-child a::before {
  content: "\2302";
  margin-right: 6px;
  opacity: .7;
}
.article-hero .breadcrumb [aria-current="page"] {
  color: var(--ss-navy);
  font-weight: 600;
  padding: 3px 9px;
}
/* ==========================================================================
   WPIS BLOGOWY / strona artykułu (.html w podfolderach)
   Spójne z design systemem SoftwareStudio. Dodane 2026.
   ========================================================================== */
.article-page { background: var(--ss-white); }

.article-hero {
  background: linear-gradient(180deg, var(--ss-bg-alt) 0%, var(--ss-white) 100%);
  border-bottom: 1px solid var(--ss-border);
  padding: 28px 0 22px;
}
.article-hero .container { max-width: var(--ss-max-width); }
.article-hero h1 {
  font-family: var(--ss-font-head);
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem);
  line-height: 1.18;
  color: var(--ss-navy);
  margin: 10px 0 12px;
}
.article-meta {
  font-size: .82rem;
  color: var(--ss-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.article-meta .tag {
  background: var(--ss-blue-light);
  color: var(--ss-blue);
  border-radius: var(--ss-radius);
  padding: 2px 10px;
  font-weight: 500;
}

/* Układ treści */
.article-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 20px 56px;
}
.article-figure { margin: 0 0 26px; }
.article-figure img { border-radius: var(--ss-radius-lg); box-shadow: var(--ss-shadow); width: 100%; }
.article-figure figcaption { font-size: .82rem; color: var(--ss-muted); margin-top: 8px; text-align: center; }

/* Proza */
.article-body { font-size: 1.05rem; color: var(--ss-text); }
.article-body h2 {
  font-family: var(--ss-font-head);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.8rem);
  color: var(--ss-navy);
  margin: 2em 0 .6em;
  padding-bottom: .25em;
  border-bottom: 2px solid var(--ss-orange);
  display: inline-block;
}
.article-body h3 {
  font-family: var(--ss-font-head);
  font-size: clamp(1.15rem, .95rem + .8vw, 1.4rem);
  color: var(--ss-dark);
  margin: 1.6em 0 .5em;
}
.article-body h4 {
  font-family: var(--ss-font-head);
  font-size: 1.1rem;
  color: var(--ss-dark-mid);
  margin: 1.4em 0 .4em;
}
.article-body p { margin: 0 0 1.15em; }
.article-body a { color: var(--ss-blue); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--ss-orange); }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.article-body li { margin-bottom: .5em; }
.article-body img { border-radius: var(--ss-radius); margin: 1.4em auto; box-shadow: var(--ss-shadow); }
.article-body figure { margin: 1.6em 0; }
.article-body figure figcaption { font-size: .82rem; color: var(--ss-muted); margin-top: 8px; text-align: center; }
.article-body blockquote {
  border-left: 4px solid var(--ss-orange);
  background: var(--ss-bg-alt);
  margin: 1.6em 0;
  padding: 14px 20px;
  border-radius: 0 var(--ss-radius) var(--ss-radius) 0;
  color: var(--ss-dark-mid);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: .95rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--ss-border);
  padding: 10px 12px;
  text-align: left;
}
.article-body th { background: var(--ss-bg-alt); color: var(--ss-navy); font-weight: 600; }

/* CTA pod artykułem */
.article-cta {
  background: var(--ss-navy);
  color: var(--ss-white);
  border-radius: var(--ss-radius-lg);
  padding: 28px 26px;
  margin: 40px 0 0;
  text-align: center;
}
.article-cta h2 { color: var(--ss-white); border: 0; display: block; margin: 0 0 .4em; }
.article-cta p { color: rgba(255,255,255,.82); margin-bottom: 1.2em; }

/* ==========================================================================
   Wariant dwukolumnowy treści artykułu (węższe szpalty - lepsza czytelność)
   Nagłówki i obrazy rozciągają się na całą szerokość, akapity płyną w 2 kolumnach.
   Na urządzeniach mobilnych układ zwija się do 1 kolumny.
   ========================================================================== */
.article-layout.is-wide { max-width: 1080px; }

.article-body.cols-2 {
  columns: 2;
  column-gap: 46px;
  column-rule: 1px solid var(--ss-border);
}
.article-body.cols-2 > h2,
.article-body.cols-2 > h3,
.article-body.cols-2 > h4,
.article-body.cols-2 > figure {
  column-span: all;
  -webkit-column-span: all;
}
.article-body.cols-2 > p,
.article-body.cols-2 > ul,
.article-body.cols-2 > ol {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.article-body.cols-2 > h2 { margin-top: 1.2em; }

@media (max-width: 860px) {
  .article-body.cols-2 { columns: 1; column-rule: none; }
  .article-layout.is-wide { max-width: 100%; }
}

/* ==========================================================================
   Bogaty układ artykułu (.rich) - czytelny, ozdobny, jednoszpaltowy
   Wygodna szerokość, wyróżniony lead, nagłówki z ikoną-odznaką, estetyczne listy.
   ========================================================================== */
.article-layout.is-narrow { max-width: 768px; }

.article-body.rich { font-size: 1.07rem; line-height: 1.8; }

/* Lead - pierwszy akapit */
.article-body.rich > p.lead {
  font-size: 1.16rem;
  line-height: 1.7;
  color: var(--ss-dark-mid);
  background: var(--ss-bg-alt);
  border-left: 4px solid var(--ss-orange);
  border-radius: 0 var(--ss-radius) var(--ss-radius) 0;
  padding: 18px 24px;
  margin-bottom: 1.6em;
}

/* Nagłówki H2 z ikoną-odznaką */
.article-body.rich h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  padding: 0 0 .55em;
  margin: 2.4em 0 .8em;
  border-bottom: 2px solid var(--ss-border);
}
.article-body.rich h2 .h2-icon {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  background: var(--ss-blue-light);
  border: 1px solid var(--ss-border);
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--ss-shadow);
}
.article-body.rich h2 .h2-icon img { width: 32px; height: 32px; display: block; }
.article-body.rich h2 .h2-text { flex: 1; }

/* Nagłówki H3 - akcent z lewej */
.article-body.rich h3 {
  border-left: 3px solid var(--ss-orange);
  padding-left: 14px;
  margin-top: 1.8em;
}

/* Estetyczne listy z pomarańczowym znacznikiem */
.article-body.rich ul {
  list-style: none;
  padding-left: 0;
}
.article-body.rich ul > li {
  position: relative;
  padding-left: 30px;
  margin-bottom: .7em;
}
.article-body.rich ul > li::before {
  content: "";
  position: absolute;
  left: 4px; top: .55em;
  width: 9px; height: 9px;
  background: var(--ss-orange);
  border-radius: 2px;
  transform: rotate(45deg);
}
.article-body.rich ul > li strong:first-child { color: var(--ss-navy); }

/* Obrazy w bogatym układzie - pełniejsza prezentacja */
.article-body.rich figure.article-figure img { border-radius: var(--ss-radius-lg); }

@media (max-width: 600px) {
  .article-body.rich h2 { gap: 12px; }
  .article-body.rich h2 .h2-icon { width: 42px; height: 42px; }
  .article-body.rich h2 .h2-icon img { width: 26px; height: 26px; }
}

/* Obraz w akapicie oznaczony jako element galerii (klikalny) */
.article-body .gallery-item.inline-shot {
  display: block;
  margin: 1.4em 0;
}
.article-body .gallery-item.inline-shot img {
  border-radius: var(--ss-radius);
  box-shadow: var(--ss-shadow);
}

/* ==========================================================================
   Strona kategorii - listing artykułów (/aplikacje/.../)
   ========================================================================== */
.cat-intro { color: var(--ss-muted); font-size: 1.02rem; margin-bottom: 6px; }
.cat-count { color: var(--ss-muted); font-size: .85rem; margin-bottom: 26px; }
.cat-list {
  column-width: 300px;
  column-gap: 34px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-list li {
  break-inside: avoid;
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.cat-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .5em;
  width: 8px; height: 8px;
  background: var(--ss-orange);
  border-radius: 2px;
  transform: rotate(45deg);
}
.cat-list a { color: var(--ss-text); text-decoration: none; font-size: .94rem; }
.cat-list a:hover { color: var(--ss-orange); text-decoration: underline; }

.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; margin-top: 8px; }

/* ==========================================================================
   Galeria zrzutów ekranów systemu (galeria.html)
   ========================================================================== */
.gal-hero { background: linear-gradient(135deg, var(--ss-navy) 0%, #16243f 60%, var(--ss-dark) 100%); color: var(--ss-white); padding: 56px 0 48px; }
.gal-hero .breadcrumb { background: transparent; border: 0; padding: 0; margin-bottom: 18px; }
.gal-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.gal-hero .breadcrumb a:hover { color: var(--ss-white); background: rgba(255,255,255,.1); }
.gal-hero .breadcrumb [aria-current="page"] { color: var(--ss-white); }
.gal-hero .breadcrumb li + li::before { color: rgba(255,255,255,.35); }
.gal-hero h1 { color: var(--ss-white); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); margin-bottom: 14px; }
.gal-hero p { color: rgba(255,255,255,.82); max-width: 680px; font-size: 1.08rem; }
.gal-hero .gal-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 28px; }
.gal-hero .gal-stat b { display: block; font-family: var(--ss-font-head); font-size: 1.9rem; color: var(--ss-amber); line-height: 1; }
.gal-hero .gal-stat span { font-size: .82rem; color: rgba(255,255,255,.6); }

.gal-section { padding: 48px 0 8px; }
.gal-section .section-label { margin-bottom: 10px; }
.gal-section h2 { font-size: clamp(1.3rem,1rem + 1.2vw,1.7rem); color: var(--ss-navy); margin-bottom: 6px; }
.gal-section .gal-section-lead { color: var(--ss-muted); margin-bottom: 26px; max-width: 720px; }

.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.shot-card {
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-lg);
  overflow: hidden;
  margin: 0;
  cursor: pointer;
  transition: transform var(--ss-transition), box-shadow var(--ss-transition), border-color var(--ss-transition);
}
.shot-card:hover { transform: translateY(-4px); box-shadow: var(--ss-shadow-md); border-color: var(--ss-orange); }
.shot-frame { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ss-bg-alt); border-bottom: 1px solid var(--ss-border); }
.shot-frame::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 22px;
  background: var(--ss-dark);
  z-index: 1;
}
.shot-frame::after {
  content: "";
  position: absolute; top: 7px; left: 12px; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ss-amber);
  box-shadow: 14px 0 0 rgba(255,255,255,.25), 28px 0 0 rgba(255,255,255,.25);
  z-index: 2;
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; margin: 0; display: block; padding-top: 22px; transition: transform .3s ease; border-radius: 0; box-shadow: none; }
.shot-card:hover .shot-frame img { transform: scale(1.03); }
.shot-card figcaption { padding: 14px 16px 16px; }

.shot-card figcaption strong { display: block; font-family: var(--ss-font-head); font-size: .96rem; color: var(--ss-navy); margin-bottom: 4px; }
.shot-card figcaption span { display: block; font-size: .82rem; color: var(--ss-muted); line-height: 1.5; }
@media (max-width: 600px) { .shot-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Animacje wejscia przy przewijaniu (Scroll-driven Fade-In) - subtelne, B2B
   Wykorzystuja wylacznie transform i opacity, by nie powodowac przesuniec ukladu (CLS)
   ========================================================================== */
.fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }
.stat-num { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .fade-in-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Dynamiczny uklad artykulu - urozmaicenie dlugiej tresci (wiersze feature, galeria)
   ========================================================================== */
/* Listy w dwoch kolumnach na duzych ekranach - skraca sciane tekstu */
@media (min-width: 900px) {
  .article-body.rich > ul, .article-body.rich > ol {
    columns: 2;
    column-gap: 42px;
  }
  .article-body.rich > ul > li, .article-body.rich > ol > li {
    break-inside: avoid;
  }
}

/* Wiersz feature - zrzut ekranu obok tekstu, naprzemiennie, wychodzi poza waska kolumne */
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 38px;
  align-items: center;
  width: min(1060px, 94vw);
  margin: 52px 50%;
  transform: translateX(-50%);
}
.feature-row--rev .feature-media { order: 2; }
.feature-media {
  margin: 0;
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-lg);
  overflow: hidden;
  box-shadow: var(--ss-shadow);
  background: var(--ss-bg-alt);
  transition: transform var(--ss-transition), box-shadow var(--ss-transition);
  cursor: pointer;
}
.feature-media:hover { transform: translateY(-4px); box-shadow: var(--ss-shadow-md); }
.feature-media .shot-frame { border-radius: 0; }
.feature-media figcaption { padding: 12px 16px; font-size: .82rem; color: var(--ss-muted); border-top: 1px solid var(--ss-border); background: var(--ss-white); }
.feature-body .feature-label {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ss-orange); margin-bottom: 8px;
}
.feature-body h3, .feature-body .feature-title { margin: 0 0 .5em; border: 0; padding: 0; }
.feature-body .feature-title {
  font-family: var(--ss-font-head);
  font-size: 1.18rem; font-weight: 700; line-height: 1.3; color: var(--ss-navy);
}
.feature-body p { margin: 0; color: var(--ss-dark-mid); }
.feature-body .feature-title + p { margin-top: 0; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; width: 100%; margin: 32px 0; transform: none; gap: 18px; }
  .feature-row--rev .feature-media { order: 0; }
}

/* Zamykajaca galeria zrzutow w artykule */
.article-gallery {
  width: min(1060px, 94vw);
  margin: 48px 50% 8px;
  transform: translateX(-50%);
}
.article-gallery h2 { border: 0; padding: 0; margin: 0 0 18px; display: block; }
.article-gallery .ag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
@media (max-width: 820px) { .article-gallery { width: 100%; margin: 32px 0; transform: none; } }

/* Przyciski w sekcji CTA artykulu - gwarantowany kontrast tekstu rowniez przy hover */
.article-cta .cta-actions .btn { border-width: 2px; }
.article-cta .btn--primary { background: var(--ss-orange); color: var(--ss-white); border-color: var(--ss-orange); }
.article-cta .btn--primary:hover { background: var(--ss-white); color: var(--ss-navy); border-color: var(--ss-white); }
.article-cta .btn--outline-white { background: transparent; color: var(--ss-white); border-color: rgba(255,255,255,.65); }
.article-cta .btn--outline-white:hover { background: var(--ss-white); color: var(--ss-navy); border-color: var(--ss-white); }

/* ==========================================================================
   Poprawki responsywne (telefon) - czytelnosc na malych ekranach
   ========================================================================== */
@media (max-width: 768px) {
  /* Tabele w tresci - poziome przewijanie zamiast lamania ukladu */
  .article-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .9rem; }
  /* Lamanie dlugich slow i adresow, by nic nie wystawalo poza ekran */
  .article-body { overflow-wrap: break-word; word-wrap: break-word; }
}
@media (max-width: 600px) {
  /* Zrzuty aplikacji na telefonie - pelny widok bez kadrowania (czytelnie, klikalne do lightboxa) */
  .shot-frame { aspect-ratio: auto; }
  .shot-frame img { height: auto; object-fit: contain; }
  /* Wiersz feature - obraz nad tekstem, pelna szerokosc */
  .feature-row { gap: 16px; }
  /* Hero - statystyki nie wystaja */
  .hero-stats { gap: 16px; }
}

/* ==========================================================================
   Typografia Space Grotesk / Manrope - zroznicowane grubosci dla poszczegolnych sekcji
   ========================================================================== */
body { font-weight: 400; }
h1, h2, h3, h4 { font-weight: 700; }
/* Hero - mocny, ekspozycyjny naglowek */
.hero h1, #hero-heading, .article-hero h1, .gal-hero h1 { font-weight: 800; letter-spacing: -.015em; }
.hero h1 em { font-weight: 800; font-style: italic; }
/* Naglowki sekcji i tresci - hierarchia wag */
.section-title { font-weight: 700; }
.article-body h2 { font-weight: 700; }
.article-body h3 { font-weight: 600; }
.article-body h4 { font-weight: 600; }
.feature-body h3, .feature-body .feature-title { font-weight: 700; }
/* Zajawki / lead - posredni ciezar dla wyroznienia */
.hero-lead, .section-lead, .cat-intro, .article-body p.lead { font-weight: 500; }
/* Etykiety, tagi, nawigacja, przyciski */
.section-label, .product-tag, .feature-label, .footer-col h4 { font-weight: 700; }
.main-nav a { font-weight: 600; }
.btn { font-weight: 700; }
/* Liczby statystyk - najmocniejszy akcent */
.stat-num, .stat-big { font-weight: 800; }
/* Pogrubienia w tresci - subtelniejsze niz naglowki */
.article-body strong { font-weight: 600; }

/* === ukladki spis-tresci / kategorie === */
.sitemap-section { padding: 56px 0; }
.sitemap-section + .sitemap-section { padding-top: 0; }
.sitemap-category { display: flex; align-items: center; gap: 12px; margin-bottom: 1.75rem; }
.sitemap-category h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--ss-navy); }
.sitemap-category-icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(255,106,19,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sitemap-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: var(--ss-radius); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.sitemap-card:hover { transform: translateY(-2px); box-shadow: var(--ss-shadow-md); }
.cat-intro-sec { padding: 48px 0; }

/* === uklad artykulu 2-kol === */
.art-grid { display: grid; grid-template-columns: minmax(0,720px) 300px; gap: 44px; align-items: start; padding: 52px 0; justify-content: center; }
@media (max-width: 920px) { .art-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; } }
.art-main { min-width: 0; }
.art-aside { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 920px) { .art-aside { position: static; } }
.art-card { background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: var(--ss-radius); padding: 22px; }
.art-cta-card { background: var(--ss-navy); border-color: var(--ss-navy); }
.art-cta-card h3 { color: var(--ss-white); font-size: 1.05rem; margin: 0 0 6px; }
.art-cta-card p { color: rgba(255,255,255,.7); font-size: .86rem; margin: 0 0 16px; line-height: 1.6; }
.art-cta-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.art-toc h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ss-muted); margin: 0 0 12px; }
.art-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.art-toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--ss-border); color: var(--ss-dark-mid); font-size: .86rem; line-height: 1.4; text-decoration: none; transition: all .15s ease; }
.art-toc a:hover { border-left-color: var(--ss-orange); color: var(--ss-orange); background: var(--ss-bg-alt); }
.art-main .feature-row { margin: 34px 0; }

/* === artykul: kolumna + faq === */
.art-article { max-width: 820px; margin: 0 auto; padding: 52px 0 8px; }
.art-faq { max-width: 820px; margin: 0 auto; padding: 12px 0 8px; }
.art-faq h2 { font-size: clamp(1.4rem,2.6vw,1.9rem); color: var(--ss-navy); margin: 0 0 1.2rem; }
.art-faq details { background: var(--ss-white); border: 1px solid var(--ss-border); border-left: 4px solid var(--ss-orange); border-radius: var(--ss-radius); padding: 1rem 1.25rem; margin-bottom: 14px; }
.art-faq summary { font-weight: 700; font-size: .96rem; color: var(--ss-navy); cursor: pointer; }
.art-faq details p { margin: .75rem 0 0; color: var(--ss-muted); font-size: .92rem; line-height: 1.75; }

/* === metryczka wymagan technicznych === */
.tech-specs { margin-top: 2.5rem; background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: var(--ss-radius); padding: 24px 28px; }
.tech-specs h3 { font-size: 1.05rem; color: var(--ss-navy); margin: 0 0 16px; }
.tech-specs dl { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 32px; margin: 0; }
@media (max-width: 600px) { .tech-specs dl { grid-template-columns: 1fr; } }
.tech-specs dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ss-muted); font-weight: 700; }
.tech-specs dd { margin: 3px 0 0; color: var(--ss-dark-mid); font-size: .92rem; }

/* === tabela porownawcza === */
.cmp-wrap { overflow-x: auto; margin: 1.6rem 0; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.cmp-table th, .cmp-table td { border: 1px solid var(--ss-border); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.55; }
.cmp-table thead th { background: var(--ss-navy); color: #fff; font-size: .86rem; }
.cmp-table thead th img { width: 20px; height: 20px; vertical-align: -4px; margin-right: 7px; filter: brightness(0) invert(1); }
.cmp-table tbody th { background: var(--ss-bg-alt); color: var(--ss-navy); width: 160px; font-weight: 700; }
.cmp-table tbody tr:nth-child(even) td { background: #fafbfc; }
.h2-icon { width: 26px; height: 26px; vertical-align: -4px; margin-right: 10px; }

/* === karty modulow (aplikacje) === */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 18px; }
@media (max-width: 720px) { .mod-grid { grid-template-columns: 1fr; } }
.mod-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: var(--ss-radius); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.mod-card:hover { transform: translateY(-3px); box-shadow: var(--ss-shadow-md); border-color: var(--ss-orange); }
.mod-card-ico { flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px; background: var(--ss-bg-alt); display: flex; align-items: center; justify-content: center; }
.mod-card-ico img { width: 30px; height: 30px; }
.mod-card-b { display: flex; flex-direction: column; gap: 5px; }
.mod-card-b h3 { margin: 0; font-size: 1.04rem; color: var(--ss-navy); }
.mod-card-b p { margin: 0; font-size: .87rem; color: var(--ss-muted); line-height: 1.55; }

/* === hero medialny artykulu === */
.article-hero--media { position: relative; overflow: hidden; background: var(--ss-navy); color: #fff; padding: 58px 0 54px; }
.article-hero--media .ah-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,19,.34), transparent 70%); top: -220px; right: -160px; filter: blur(42px); animation: ahGlow 12s ease-in-out infinite; pointer-events: none; }
@keyframes ahGlow { 0%,100% { transform: translate(0,0) scale(1); opacity:.65 } 50% { transform: translate(-46px,46px) scale(1.18); opacity:1 } }
.article-hero--media .ah-inner { position: relative; display: grid; grid-template-columns: 1fr .82fr; gap: 44px; align-items: center; }
@media (max-width: 880px) { .article-hero--media .ah-inner { grid-template-columns: 1fr; gap: 26px; } }
.article-hero--media .ah-crumbs { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.article-hero--media .ah-crumbs a { color: var(--ss-amber); text-decoration: none; }
.article-hero--media .ah-crumbs a:hover { text-decoration: underline; }
.article-hero--media .ah-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ss-amber); margin-bottom: 10px; }
.article-hero--media .ah-title { font-size: clamp(1.7rem, 3.5vw, 2.55rem); line-height: 1.16; margin: 0 0 14px; color: #fff; }
.article-hero--media .ah-lead { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.82); margin: 0 0 18px; max-width: 60ch; }
.article-hero--media .ah-meta { font-size: .8rem; color: rgba(255,255,255,.55); display: flex; gap: 18px; flex-wrap: wrap; }
.article-hero--media .ah-figure { margin: 0; }
.article-hero--media .ah-img { width: 100%; height: auto; border-radius: var(--ss-radius-lg); box-shadow: 0 22px 54px rgba(0,0,0,.45); display: block; }
.article-hero--media .ah-fade { animation: ahFade .7s ease both; }
.article-hero--media .ah-fade-2 { animation: ahFade .7s ease .12s both; }
@keyframes ahFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* FAQ i glosariusz artykulu */
.article-faq, .article-glossary { max-width: 820px; margin: 0 auto; padding: 14px 0; }
.article-faq h2, .article-glossary h2 { font-size: clamp(1.4rem,2.6vw,1.9rem); color: var(--ss-navy); margin: 0 0 1.2rem; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-list details { background: var(--ss-white); border: 1px solid var(--ss-border); border-left: 4px solid var(--ss-orange); border-radius: var(--ss-radius); padding: 1rem 1.25rem; }
.faq-list summary { font-weight: 700; font-size: .96rem; color: var(--ss-navy); cursor: pointer; }
.faq-list details p { margin: .75rem 0 0; color: var(--ss-muted); font-size: .92rem; line-height: 1.75; }
.glossary-list { display: grid; gap: 14px; margin: 0; }
.glossary-list dt { font-weight: 700; color: var(--ss-navy); font-size: .98rem; }
.glossary-list dd { margin: 3px 0 0; color: var(--ss-muted); font-size: .92rem; line-height: 1.7; }
@media (prefers-reduced-motion: reduce) {
  .article-hero--media .ah-glow { animation: none; }
  .article-hero--media .ah-fade, .article-hero--media .ah-fade-2 { animation: none; }
}

/* === hero artykulu v2 - gradient + akcenty + schodkowa animacja wejscia === */
.article-hero--media { background: linear-gradient(135deg, var(--ss-dark) 0%, var(--ss-dark-mid) 55%, var(--ss-navy-600) 100%); }
.article-hero--media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--ss-orange), var(--ss-amber)); opacity: .9; z-index: 2; }
.article-hero--media .ah-title { position: relative; padding-left: 16px; }
.article-hero--media .ah-title::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--ss-orange), var(--ss-amber)); }
.article-hero--media .ah-img { transition: transform .4s ease; border: 1px solid rgba(255,255,255,.10); }
.article-hero--media:hover .ah-img { transform: translateY(-4px); }
@keyframes ahFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ahImgIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.article-hero--media .ah-crumbs { animation: ahFadeUp .55s .04s ease both; }
.article-hero--media .ah-label  { animation: ahFadeUp .55s .12s ease both; }
.article-hero--media .ah-title  { animation: ahFadeUp .55s .20s ease both; }
.article-hero--media .ah-lead   { animation: ahFadeUp .55s .30s ease both; }
.article-hero--media .ah-meta   { animation: ahFadeUp .55s .38s ease both; }
.article-hero--media .ah-figure { animation: ahImgIn .7s .16s ease both; }
@media (prefers-reduced-motion: reduce) {
  .article-hero--media .ah-crumbs, .article-hero--media .ah-label, .article-hero--media .ah-title,
  .article-hero--media .ah-lead, .article-hero--media .ah-meta, .article-hero--media .ah-figure { animation: none; }
}

/* === glosariusz 2-kol + ikony sekcji inc === */
.article-faq h2 img, .article-glossary h2 img { width: 28px; height: 28px; vertical-align: -6px; margin-right: 10px; display: inline-block; box-shadow: none; border-radius: 0; }
.glossary-list { column-count: 2; column-gap: 36px; display: block; }
@media (max-width: 680px) { .glossary-list { column-count: 1; } }
.glossary-list dt { break-after: avoid; font-weight: 700; color: var(--ss-navy); font-size: .98rem; padding-left: 12px; border-left: 3px solid var(--ss-orange); }
.glossary-list dd { break-before: avoid; break-inside: avoid; margin: 3px 0 16px; padding-left: 12px; color: var(--ss-muted); font-size: .9rem; line-height: 1.65; }


/* === TCS overrides (ustalenia klienta) === */
.article-body .container { max-width: 820px; }
.article-faq, .article-glossary { max-width: 820px; }
main > .cta-band.article-cta {
  width: calc(100% - 48px);
  max-width: 1100px;
  margin: 56px auto 64px;
  border-radius: var(--ss-radius-lg);
  overflow: hidden;
}
@media (max-width: 600px) {
  main > .cta-band.article-cta { width: calc(100% - 24px); margin: 40px auto 48px; }
}


/* ----------------------------------------------------------------
   SEKCJA HOWTO (instrukcja krok po kroku)
   Wymóg: tekst widoczny musi być identyczny z JSON-LD HowTo.
   Struktura: .howto-section > article > h2 + .howto-description
              + .howto-meta (totalTime/koszt) + .howto-requirements (tool)
              + .howto-steps > ol > li.howto-step (h3 + p [+ media])
   ---------------------------------------------------------------- */
.howto-section {
  margin: 2.5rem 0;
  padding: 1.75rem 1.75rem 2rem;
  background: var(--ss-bg-alt);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-lg);
}
.howto-section > article { max-width: 820px; margin: 0 auto; }
.howto-section h2 {
  font-family: var(--ss-font-head);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ss-navy);
  margin: 0 0 .6rem;
}
.howto-description {
  color: var(--ss-muted);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}

/* Metadane: czas realizacji, koszt */
.howto-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  margin: 0 0 1.5rem;
}
.howto-meta > * {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: .9rem;
  color: var(--ss-text);
}
.howto-meta strong { color: var(--ss-navy); font-weight: 600; }

/* Wymagane narzędzia i uprawnienia (HowToTool) */
.howto-requirements {
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-left: 4px solid var(--ss-orange);
  border-radius: var(--ss-radius);
  padding: 1rem 1.25rem;
  margin: 0 0 1.75rem;
}
.howto-requirements h3 {
  font-family: var(--ss-font-head);
  font-size: 1.05rem;
  color: var(--ss-navy);
  margin: 0 0 .6rem;
}
.howto-requirements ul { margin: 0; padding-left: 1.2rem; }
.howto-requirements li { margin: .25rem 0; }

/* Kroki instrukcji */
.howto-steps h3.howto-steps__title,
.howto-steps > h3 {
  font-family: var(--ss-font-head);
  font-size: 1.2rem;
  color: var(--ss-navy);
  margin: 0 0 1rem;
}
.howto-steps ol {
  list-style: none;
  counter-reset: howto;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.howto-step {
  counter-increment: howto;
  position: relative;
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius);
  padding: 1.1rem 1.25rem 1.1rem 3.75rem;
  box-shadow: var(--ss-shadow);
}
.howto-step::before {
  content: counter(howto);
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--ss-orange);
  color: var(--ss-white);
  font-family: var(--ss-font-head);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
}
.howto-step h3 {
  font-family: var(--ss-font-head);
  font-size: 1.1rem;
  color: var(--ss-navy);
  margin: 0 0 .35rem;
  line-height: 1.35;
}
.howto-step p { margin: 0; color: var(--ss-text); }
.howto-step img,
.howto-step video {
  display: block;
  width: 100%;
  height: auto;
  margin-top: .85rem;
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius);
}

@media (max-width: 600px) {
  .howto-section { padding: 1.25rem 1.1rem 1.5rem; }
  .howto-section h2 { font-size: 1.3rem; }
  .howto-step { padding: 1rem 1rem 1rem 3.4rem; }
  .howto-step::before { left: .85rem; }
}
/* Hero: ikony bold jako samodzielne kafelki (mocniejszy kontrast) */
.hero-card-icon { background: transparent; }
.hero-card--service .hero-card-icon { background: transparent; }
.hero-card-icon img { width: 44px; height: 44px; filter: none; border-radius: 10px; }
/* === koniec TCS overrides === */

/* ==========================================================================
   STRONA GLOWNA - sekcje uzupelniajace (integracje, wdrozenie, branze,
   licencjonowanie, baza wiedzy, z bloga, FAQ master-detail)
   ========================================================================== */

.integrations { padding: 80px 0; }
.deployment { padding: 80px 0; background: var(--ss-bg-alt); }
.deployment .howto-section { background: var(--ss-white); }
.licensing { padding: 80px 0; }
.knowledge { padding: 80px 0; background: var(--ss-bg-alt); }
.blog-section { padding: 80px 0; }

/* --- FAQ master-detail --- */
.faq { padding: 88px 0; background: var(--ss-bg-alt); }
.fa { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.fa-list { display: flex; flex-direction: column; gap: 8px; }
.fa-q {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius);
  padding: 16px 18px;
  font-family: var(--ss-font-head);
  font-size: .95rem; font-weight: 600;
  color: var(--ss-navy);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.fa-q:hover { border-color: var(--ss-orange); }
.fa-q .qn { font-size: .78rem; font-weight: 800; color: var(--ss-muted); flex-shrink: 0; }
.fa-q.on { border-color: var(--ss-orange); background: var(--ss-white); box-shadow: var(--ss-shadow); }
.fa-q.on .qn { color: var(--ss-orange); }
.fa-panel {
  position: relative;
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-lg);
  padding: 34px;
  min-height: 240px;
}
.fa-ans { display: none; }
.fa-ans.on { display: block; animation: faIn .3s ease both; }
@keyframes faIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fa-ans .big { font-size: 2.6rem; font-weight: 800; color: rgba(255,106,19,.16); line-height: 1; margin-bottom: 10px; }
.fa-ans h3 { margin: 0 0 12px; }
.fa-ans p { color: var(--ss-muted); margin: 0; line-height: 1.75; }
@media (max-width: 800px) {
  .fa { grid-template-columns: 1fr; }
  .fa-panel { min-height: 0; }
}

/* --- def-box (W skrocie) i podpis autora artykulu --- */
.def-box {
  background: var(--ss-bg-alt);
  border-left: 4px solid var(--ss-orange);
  border-radius: 0 var(--ss-radius) var(--ss-radius) 0;
  padding: 16px 20px;
  margin: 0 0 1.6em;
}
.def-label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ss-orange);
  margin-bottom: 6px;
}
.def-box p { margin: 0; color: var(--ss-text); font-size: 1rem; line-height: 1.6; }
.art-byline { font-size: .84rem; color: var(--ss-muted); margin: 0 0 1.4em; }

/* --- wide-section: uniwersalny wrapper sekcji poza układem art-grid --- */
.wide-section { padding: 72px 0; }
.wide-section.section--alt { background: var(--ss-bg-alt); }

/* ==========================================================================
   REDESIGN 2026 - nadpisania komponentow wg makiety _projekt/
   (Demo Hub + WMS Demo). Sekcja dopisana na koncu pliku - zgodnie z
   konwencja juz stosowana w tym arkuszu ("=== TCS overrides ===" wyzej),
   pozniejsze regoly o tej samej specyficznosci nadpisuja wczesniejsze.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  @keyframes blobPulseA { 0%,100% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.18) translate(30px,-20px); } }
  @keyframes blobPulseB { 0%,100% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.1) translate(-24px,18px); } }
  @keyframes ctaPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,106,19,.45); } 70%,100% { box-shadow: 0 0 0 14px rgba(255,106,19,0); } }
  @keyframes floatSlow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
  @keyframes floatSlower { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }
  @keyframes pulseGlow { 0%,100% { opacity: .45; transform: scale(1); } 50% { opacity: .9; transform: scale(1.14); } }
  @keyframes dashFlow { to { stroke-dashoffset: -48; } }
  @keyframes rackGlow { 0%,100% { fill: var(--ss-navy-600); } 50% { fill: var(--ss-blue); } }
  @keyframes scanMove { 0% { transform: translateY(0); } 100% { transform: translateY(324px); } }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .cta-band::before,
  .btn--primary.pulse, .hg-node, .hg-scan, .rack-rect { animation: none !important; }
}

/* --- Przyciski: pigulka (pill), zgodnie z makieta --- */
.btn {
  border-radius: var(--r-pill);
  padding: .95rem 1.75rem;
  font-size: .92rem;
  border-width: 1.5px;
}
.btn--lg { padding: 1.05rem 2.1rem; }
.btn--primary { box-shadow: var(--sh-orange); }
.btn--primary:hover { background: var(--ss-orange-600); border-color: var(--ss-orange-600); }
.btn--outline-white { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.btn--outline-white:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); color: var(--ss-white); }
.btn--cta-dark { box-shadow: 0 6px 16px rgba(12,19,32,.25); }
.btn--cta-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(12,19,32,.32); }

/* --- Header: szklana belka sticky --- */
.site-header {
  background: rgba(246,248,252,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ss-border);
  box-shadow: none;
}
.main-nav a { border-radius: var(--r); }
.main-nav .btn--demo {
  padding: .6rem 1.3rem;
  border-radius: var(--r-pill);
  background: var(--ss-navy);
  box-shadow: 0 6px 16px rgba(12,19,32,.2);
  transition: background var(--ss-transition), transform var(--ss-transition), box-shadow var(--ss-transition);
}
.main-nav .btn--demo:hover {
  background: var(--ss-navy-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12,19,32,.28);
}
@media (max-width: 768px) {
  .main-nav { background: var(--ss-white); }
}

/* --- Hero: gradient ink -> navy + rozmyte blob-y w tle --- */
.hero {
  background: linear-gradient(160deg, var(--ss-ink) 0%, var(--ss-navy) 55%, var(--ss-navy-600) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,19,.22), transparent 70%);
  top: -160px; left: -160px;
  filter: blur(10px);
  clip-path: none;
  animation: blobPulseA 11s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,95,163,.28), transparent 70%);
  bottom: -140px; right: -100px;
  left: auto; right: -100px;
  height: 420px;
  filter: blur(10px);
  animation: blobPulseB 13s ease-in-out infinite;
}
.hero h1 {
  border-left: 0;
  padding-left: 0;
  letter-spacing: -.01em;
}
.hero-text-accent { border-left: 0; padding-left: 0; }
.hero-text-accent h1 { border-left: 0; padding-left: 0; }
.hero-badge {
  background: rgba(255,154,92,.15);
  border: 1px solid rgba(255,154,92,.35);
  color: var(--ss-orange-300);
  border-radius: var(--r-pill);
}
.hero-actions .btn--primary { animation: ctaPulse 2.6s ease-out infinite; }

/* --- Trust strip: pasek zaufania na jasnym tle z pigulkami --- */
.trust-strip { background: var(--ss-white); border-bottom: 1px solid var(--ss-border); padding: 34px 0; }
.trust-strip-inner { justify-content: space-between; }
.trust-label { font-size: .84rem; font-weight: 700; color: var(--ss-faint); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.trust-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-chip { padding: 8px 16px; border-radius: var(--r-pill); background: var(--ss-bg-alt); border: 1px solid var(--ss-border); font-size: .87rem; font-weight: 600; color: var(--ss-text); }
.trust-note { font-size: .84rem; color: var(--ss-faint); white-space: nowrap; }
.trust-note strong { color: var(--ss-text); }
.trust-item { color: var(--ss-text); }

/* --- Eyebrow: mala etykieta pigulkowa nad naglowkami sekcji --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--r-pill);
  background: rgba(43,95,163,.1); color: var(--ss-blue);
  font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 18px;
}

/* --- Stats band: pasek duzych liczb na ciemnym tle --- */
.stats-band {
  position: relative;
  background: linear-gradient(160deg, var(--ss-ink) 0%, var(--ss-navy) 60%, var(--ss-navy-600) 100%);
  padding: 64px 0;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,95,163,.28), transparent 70%);
  top: -120px; right: 10%;
  filter: blur(6px);
  animation: blobPulseA 12s ease-in-out infinite;
}
.stats-grid { position: relative; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.stat-block { flex: 1 1 200px; text-align: center; }
.stat-block .num { font-family: var(--ss-font-head); font-size: clamp(40px,5.5vw,60px); font-weight: 700; color: var(--ss-white); line-height: 1; }
.stat-block .lbl { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 10px; }

/* --- Process steps: kroki "jak to dziala" --- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 28px; }
.process-step .num-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ss-navy); color: var(--ss-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ss-font-head); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 20px;
}
.process-step.is-last .num-circle { background: var(--ss-orange); }
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { font-size: .9rem; color: var(--ss-muted); line-height: 1.6; margin: 0; }

/* --- Feature icon grid: karty funkcji z ikona (strony produktowe) --- */
.feature-icon-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px; }
.feature-icon-card { background: var(--ss-bg-alt); border: 1px solid var(--ss-border); border-radius: var(--r-xl); padding: 28px; transition: transform var(--ss-transition), box-shadow var(--ss-transition); }
.feature-icon-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.feature-icon-badge { width: 48px; height: 48px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--ss-navy-600), var(--ss-blue)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon-badge svg { display: block; }
.feature-icon-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-icon-card p { font-size: .9rem; color: var(--ss-muted); line-height: 1.6; margin: 0; }

/* --- Integrations bar: pasek integracji ERP (pigulki) --- */
.integrations-bar { background: var(--ss-white); border-top: 1px solid var(--ss-border); border-bottom: 1px solid var(--ss-border); padding: 30px 0; }
.integrations-bar .trust-strip-inner { border: 0; padding: 0; }

/* --- Dashboard preview: poglądowa makieta panelu w "oknie" przegladarki --- */
.dash-window {
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.dash-titlebar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--ss-bg-alt); border-bottom: 1px solid var(--ss-border); }
.dash-titlebar span { width: 11px; height: 11px; border-radius: 50%; background: var(--ss-border); }
.dash-titlebar .url { margin-left: 12px; font-size: .78rem; color: var(--ss-faint); background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: var(--r-pill); padding: 4px 14px; }
.dash-body { padding: 28px; background: var(--ss-bg-alt); }
.dash-kpis { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 16px; margin-bottom: 22px; }
.dash-kpi { background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: var(--r-lg); padding: 16px; }
.dash-kpi .lbl { font-size: .75rem; color: var(--ss-faint); margin-bottom: 6px; }
.dash-kpi .val { font-family: var(--ss-font-head); font-size: 1.5rem; font-weight: 700; color: var(--ss-navy); }
.dash-kpi .val.accent { color: var(--ss-blue); }
.dash-chart { background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: var(--r-lg); padding: 20px; margin-bottom: 16px; }
.dash-chart .cap { font-size: .8rem; font-weight: 700; color: var(--ss-text); margin-bottom: 14px; }
.dash-bars { display: flex; align-items: flex-end; gap: 10px; height: 100px; }
.dash-bars i { flex: 1; display: block; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--ss-blue), var(--ss-navy-600)); }
.dash-bars i.hi { background: linear-gradient(180deg, var(--ss-orange), var(--ss-orange-300)); }
.dash-table { background: var(--ss-white); border: 1px solid var(--ss-border); border-radius: var(--r-lg); padding: 18px 20px; }
.dash-table .hd { display: flex; justify-content: space-between; font-size: .74rem; color: var(--ss-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding-bottom: 10px; border-bottom: 1px solid var(--ss-border); margin-bottom: 4px; }
.dash-table .row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: .85rem; color: var(--ss-text); }
.dash-table .status { font-weight: 600; }
.dash-table .status.ok { color: #12B886; }
.dash-table .status.progress { color: var(--ss-blue); }
.dash-table .status.pending { color: var(--ss-orange); }
.dash-note { text-align: center; font-size: .82rem; color: var(--ss-faint); margin-top: 16px; }

/* --- CTA band: ten sam gradient co hero, z blobem --- */
.cta-band {
  background: linear-gradient(160deg, var(--ss-ink) 0%, var(--ss-navy) 55%, var(--ss-navy-600) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,27,.22), transparent 70%);
  bottom: -160px; left: -100px;
  filter: blur(8px);
  animation: blobPulseB 12s ease-in-out infinite;
}
.cta-band .container { position: relative; }

/* --- Article hero media: ten sam schemat gradientu --- */
.article-hero--media { background: linear-gradient(160deg, var(--ss-ink) 0%, var(--ss-navy) 55%, var(--ss-navy-600) 100%); }

/* --- FAQ accordion (uzywane obok istniejacego master-detail .fa-*) --- */
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid var(--ss-border); border-radius: var(--r-lg); overflow: hidden; background: var(--ss-white); }
.acc-q {
  all: unset; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 24px; cursor: pointer;
  font-family: var(--ss-font-head); font-size: .98rem; font-weight: 700; color: var(--ss-navy);
}
.acc-q svg { flex-shrink: 0; transition: transform .3s ease; }
.acc-item.open .acc-q svg { transform: rotate(180deg); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc-item.open .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a p { margin: 0; padding: 0 24px 20px; font-size: .92rem; line-height: 1.6; color: var(--ss-muted); }

/* --- Hero hub diagram (SVG na stronie glownej) --- */
.hg-wrap { display: flex; justify-content: center; }
.hg-wrap svg { max-width: 460px; width: 100%; height: auto; animation: floatSlow 9s ease-in-out infinite; }

/* --- Blob dekoracyjny wielokrotnego uzytku --- */
.bg-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }

/* --- Logo lockup: ikona + tekst (header/footer), wg makiety --- */
.logo-link { gap: 10px; }
.logo-word { font-family: var(--ss-font-head); font-size: 19px; line-height: 1; }
.logo-word-a { font-weight: 700; color: var(--ss-navy); }
.logo-word-b { font-weight: 500; color: var(--ss-orange); letter-spacing: .02em; }
.footer-logo { gap: 10px; }
.logo-word--footer { font-family: var(--ss-font-head); font-size: 17px; font-weight: 700; color: var(--ss-white); }

/* ----------------------------------------------------------------
   LIVE REVIEW PATCH - pelne logo, cta pulse, ikony, howto, wymagania,
   kontakt bez formularza
   ---------------------------------------------------------------- */

/* Pelne logo w nagłówku i stopce (zamiast sygnet + tekst) */
.logo-link img.logo-full { height: 32px; width: auto; display: block; }
.footer-logo img.logo-full { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }

/* Pulsujaca ramka na glownym CTA w hero */
@keyframes ctaPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,106,19,.45); } 70% { box-shadow: 0 0 0 14px rgba(255,106,19,0); } }
.cta-pulse { animation: ctaPulse 2.6s ease-out infinite; }

/* Animowany diagram hub w hero (plik svg zamiast inline) */
.hg-wrap img { max-width: 460px; width: 100%; height: auto; display: block; }

/* Wymagania techniczne - czytelna karta zamiast plaskiej listy dl */
.tech-specs {
  margin-top: 2.5rem;
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-lg);
  padding: 30px 32px;
  box-shadow: var(--ss-shadow);
}
.tech-specs h3 { font-size: 1.05rem; color: var(--ss-navy); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.tech-specs h3::before { content: ''; width: 6px; height: 22px; background: var(--ss-orange); border-radius: 3px; display: inline-block; }
.tech-specs dl { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin: 0; border-top: 1px solid var(--ss-border); }
.tech-specs dt, .tech-specs dd { padding: 13px 4px; border-bottom: 1px solid var(--ss-border); margin: 0; }
.tech-specs dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ss-muted); font-weight: 700; }
.tech-specs dd { color: var(--ss-dark-mid); font-size: .92rem; font-weight: 600; text-align: right; }
@media (max-width: 600px) {
  .tech-specs dl { grid-template-columns: 1fr; }
  .tech-specs dd { text-align: left; padding-top: 0; }
}

/* Sekcja "Jak wyglada wdrozenie" - polaczony timeline zamiast plaskiej listy */
.howto-requirements {
  background: var(--ss-blue-light);
  border-left: 4px solid var(--ss-orange);
  border-radius: 0 var(--ss-radius) var(--ss-radius) 0;
  padding: 14px 20px;
  margin: 0 0 2.6rem;
  font-size: .92rem;
  color: var(--ss-navy);
}
.howto-steps { list-style: none; margin: 0; padding: 0; }
.howto-step { position: relative; display: flex; gap: 22px; padding: 0 0 32px; }
.howto-step:last-child { padding-bottom: 0; }
.howto-step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ss-orange), var(--ss-amber));
  color: #fff; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(255,106,19,.3);
  position: relative; z-index: 1;
}
.howto-step:not(:last-child) .howto-step-num::after {
  content: '';
  position: absolute;
  top: 44px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 32px;
  background: var(--ss-border);
}
.howto-step-body { padding-top: 4px; }
.howto-step-body h3 { font-size: 1.02rem; margin: 0 0 6px; color: var(--ss-navy); }
.howto-step-body p { margin: 0; color: var(--ss-muted); font-size: .9rem; line-height: 1.65; }

/* Kontakt - panel CTA zamiast formularza */
.contact-cta-panel {
  background: var(--ss-white);
  border-radius: var(--ss-radius-lg);
  padding: 40px;
  box-shadow: var(--ss-shadow-md);
  border-top: 4px solid var(--ss-orange);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.contact-cta-panel h3 { margin: 0; }
.contact-cta-panel p { color: var(--ss-muted); font-size: .92rem; line-height: 1.65; margin: 0; }
.contact-cta-panel .btn { width: 100%; justify-content: center; }

/* Ikony social media jako inline svg (currentColor sledzi hover) */
.social-link svg { width: 19px; height: 19px; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   ROLE CARDS - selektor roli na stronach demo (np. /demo-magazyn/)
   ---------------------------------------------------------------- */
.role-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin: 1.5rem 0 2.5rem; }
.role-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-lg);
  padding: 26px 24px;
  box-shadow: var(--ss-shadow);
  transition: border-color var(--ss-transition), box-shadow var(--ss-transition), transform var(--ss-transition);
}
.role-card:hover { border-color: var(--ss-orange); box-shadow: var(--ss-shadow-md); transform: translateY(-3px); }
.role-card-top { display: flex; align-items: flex-start; gap: 14px; }
.role-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--ss-bg-alt);
  display: flex; align-items: center; justify-content: center;
}
.role-card h3 { margin: 0 0 4px; font-size: 1.02rem; }
.role-badge {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ss-blue); background: var(--ss-blue-light);
  border-radius: 4px; padding: 2px 8px;
}
.role-card > p { margin: 0; color: var(--ss-muted); font-size: .88rem; line-height: 1.65; flex: 1; }
.role-cta { align-self: flex-start; }
@media (max-width: 700px) { .role-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   POPRAWKI: logo w nagłówku/stopce - większy, czytelny rozmiar
   ---------------------------------------------------------------- */
.logo-link img.logo-full { height: 42px; width: auto; display: block; }
.footer-logo img.logo-full { height: 34px; width: auto; display: block; filter: brightness(0) invert(1); }

/* ----------------------------------------------------------------
   POPRAWKA: przyciski .btn wewnątrz .article-body (np. role-cta,
   link-card) dziedziczyły kolor/podkreślenie z reguły ".article-body a"
   (wyższa specyficzność niż sam ".btn"), co dawało niebieski,
   podkreślony tekst zamiast białej czcionki na wypełnieniu,
   a po najechaniu pomarańczowy tekst na pomarańczowym tle.
   ---------------------------------------------------------------- */
.article-body a.btn,
.article-body a.btn:visited { color: var(--ss-white); text-decoration: none; }
.article-body a.btn:hover,
.article-body a.btn:focus { color: var(--ss-white); text-decoration: none; }
.article-body a.btn--outline-white { color: var(--ss-navy); }
.article-body a.btn--outline-white:hover { color: var(--ss-white); }

/* ----------------------------------------------------------------
   POPRAWKA: sekcja "Jak wygląda wdrożenie" (HowTo) na stronie głównej
   - usunięcie zdublowanego numeru (stary licznik ::before z
   wcześniejszej wersji sekcji, nakładający się na .howto-step-num)
   oraz dodanie realnego odstępu między krokami (margines zamiast
   samego paddingu wewnątrz karty).
   ---------------------------------------------------------------- */
.howto-step::before { content: none; }
.howto-step:not(:last-child) .howto-step-num::after { content: none; }
.howto-steps .howto-step {
  padding: 18px 20px;
  margin: 0 0 14px;
  align-items: flex-start;
}
.howto-steps .howto-step:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------
   NOWY KOMPONENT: karty linków do podstron (prezentacja/cena/
   dokumentacja) - zastępuje zwykłą listę wypunktowaną
   ---------------------------------------------------------------- */
.resource-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.article-body a.link-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-lg);
  padding: 20px 20px;
  box-shadow: var(--ss-shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--ss-transition), box-shadow var(--ss-transition), transform var(--ss-transition);
}
.article-body a.link-card:hover,
.article-body a.link-card:focus {
  border-color: var(--ss-orange);
  box-shadow: var(--ss-shadow-md);
  transform: translateY(-3px);
  color: inherit;
}
.link-card-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--ss-blue-light);
  display: flex; align-items: center; justify-content: center;
}
.link-card-body h3 { margin: 0 0 4px; font-size: .96rem; color: var(--ss-navy); }
.link-card-body p { margin: 0; font-size: .84rem; color: var(--ss-muted); line-height: 1.55; }
.link-card-arrow { margin-left: auto; align-self: center; color: var(--ss-orange); font-size: 1.15rem; flex-shrink: 0; }
@media (max-width: 820px) { .resource-links { grid-template-columns: 1fr; } }

/* Stopka - większe logo na życzenie */
.footer-logo img.logo-full { height: 100px; width: auto; display: block; filter: brightness(0) invert(1); }

/* Listy linków wielokolumnowe (np. spis-tagow) */
.tag-list { column-count: 3; column-gap: 28px; margin: 0 0 1rem; padding: 0; list-style: none; }
.tag-list li { break-inside: avoid; margin: 0 0 8px; }
.tag-list a { font-size: .86rem; color: var(--ss-blue); text-decoration: none; }
.tag-list a:hover { color: var(--ss-orange); text-decoration: underline; }
@media (max-width: 900px) { .tag-list { column-count: 2; } }
@media (max-width: 600px) { .tag-list { column-count: 1; } }
.taglist-section { margin: 0 0 2.5rem; }

/* Hero SVG - dodatkowe animacje (demo-reklamacje, demo-narzedziarnia) */
@keyframes rmaTravel {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  30% { transform: translateY(106px); }
  55% { transform: translateY(212px); }
  85% { transform: translateY(318px); opacity: 1; }
  100% { transform: translateY(318px); opacity: 0; }
}
@keyframes resolvedPop {
  0%, 80%, 100% { transform: scale(1); opacity: .9; }
  88% { transform: scale(1.35); opacity: 1; }
  94% { transform: scale(1); opacity: 1; }
}
@keyframes gearSpin { to { transform: rotate(360deg); } }
@keyframes ticketProgress {
  0%, 10% { transform: scaleX(0); }
  55%, 100% { transform: scaleX(1); }
}
@keyframes badgePop {
  0%, 60%, 100% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.25); opacity: 1; }
  78% { transform: scale(1); opacity: 1; }
}

/* Hero SVG - dodatkowe animacje (demo-awizacje: brama i ciezarowka) */
@keyframes yardBarrier {
  0%, 15% { transform: rotate(0deg); }
  28%, 60% { transform: rotate(-32deg); }
  75%, 100% { transform: rotate(0deg); }
}
@keyframes yardTruck {
  0% { transform: translateY(0); opacity: 0; }
  6% { opacity: 1; }
  50% { transform: translateY(-230px); opacity: 1; }
  62% { transform: translateY(-260px); opacity: 0; }
  100% { transform: translateY(-260px); opacity: 0; }
}

/* ----------------------------------------------------------------
   DEMO-MAGAZYN: odstep hero-lead/hero-actions, wyroznienie sekcji
   wyboru roli i zroznicowanie przyciskow/kart per rola
   ---------------------------------------------------------------- */
.hero .hero-lead { margin-bottom: 1.6rem; }

.role-section {
  margin: 3rem 0 3.5rem;
  padding: 2.4rem 2.2rem 2.6rem;
  background: var(--ss-bg-alt);
  border: 1px solid var(--ss-border);
  border-radius: var(--r-xl);
}
.role-section h2 { margin-top: 0; }

.role-card--manager { background: #fff4ec; }
.role-card--client { background: #eaf2fc; }
.role-card--tablet { background: #e9f8f1; }
.role-card--collector { background: #f3edfe; }

.role-card--client:hover { border-color: var(--ss-blue); }
.role-card--tablet:hover { border-color: #0e9f6e; }
.role-card--collector:hover { border-color: #7c3aed; }

.role-cta--manager { background: var(--ss-orange); border-color: var(--ss-orange); color: var(--ss-white); }
.role-cta--manager:hover { background: var(--ss-orange-600); border-color: var(--ss-orange-600); color: var(--ss-white); }

.role-cta--client { background: var(--ss-blue); border-color: var(--ss-blue); color: var(--ss-white); }
.role-cta--client:hover { background: #204d89; border-color: #204d89; color: var(--ss-white); }

.role-cta--tablet { background: #0e9f6e; border-color: #0e9f6e; color: var(--ss-white); }
.role-cta--tablet:hover { background: #0b7f58; border-color: #0b7f58; color: var(--ss-white); }

.role-cta--collector { background: #7c3aed; border-color: #7c3aed; color: var(--ss-white); }
.role-cta--collector:hover { background: #6425d1; border-color: #6425d1; color: var(--ss-white); }
