/* Fonty samodzielnie hostowane (Elms Sans) - musi byc na samej gorze, by @import zadzialal */
@import url('/google-fonts/css/elms-sans.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 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 {
  --ss-orange:      #ff6a13;
  --ss-amber:       #f59e1b;
  --ss-dark:        #1f2d3a;
  --ss-dark-mid:    #334251;
  --ss-navy:        #1b2d4f;
  --ss-blue:        #2b5fa3;
  --ss-blue-light:  #e8f0fb;
  --ss-text:        #1a202c;
  --ss-muted:       #5a6a7e;
  --ss-border:      #dde4ef;
  --ss-white:       #ffffff;
  --ss-bg-alt:      #f4f7fb;
  --ss-radius:      6px;
  --ss-radius-lg:   12px;
  --ss-shadow:      0 2px 14px rgba(31,45,58,.10);
  --ss-shadow-md:   0 6px 24px rgba(31,45,58,.14);
  --ss-max-width:   1200px;
  --ss-font-head:   'Elms Sans', 'Segoe UI', Arial, sans-serif;
  --ss-font-body:   'Elms Sans', 'Segoe UI', Arial, sans-serif;
  --ss-transition:  .2s ease;
}


/* ----------------------------------------------------------------
   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: #e55c0b; border-color: #e55c0b; 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: #e55c0b; 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%, #28394e 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: #e55c0b; }
.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 Elms Sans - 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; }
