/* ==========================================================================
   SERWIS OGRZEWANIA — THEME 2026 „SERWIS"
   Rynek: Częstochowa i okolice. Grafit + czerwień serwisowa.
   Wyróżnik rodziny: CIEMNY pasek nawigacji.
   Prefiks klas: .so-  |  Fonty: Archivo (nagłówki) + Inter (tekst)
   ========================================================================== */

:root {
  --so-ink: #17181D;          /* grafit — nav, stopka, panele */
  --so-ink-2: #24262E;
  --so-bg: #F7F7F8;
  --so-bg-2: #EEEFF1;
  --so-surface: #FFFFFF;
  --so-text: #1B1D24;
  --so-muted: #5D6470;
  --so-line: #E3E5E9;
  --so-red: #DC2626;          /* czerwień serwisowa */
  --so-red-2: #EF4444;
  --so-red-deep: #B91C1C;
  --so-amber: #F59E0B;        /* płomień — akcent drugorzędny */

  --so-font-head: "Archivo", system-ui, sans-serif;
  --so-font-body: "Inter", system-ui, -apple-system, sans-serif;

  --so-r-card: 16px;
  --so-r-btn: 12px;
  --so-r-panel: 24px;
  --so-r-pill: 999px;

  --so-sh-rest: 0 1px 2px rgba(23, 24, 29, .05), 0 10px 28px rgba(23, 24, 29, .08);
  --so-sh-hover: 0 2px 4px rgba(23, 24, 29, .06), 0 18px 44px rgba(23, 24, 29, .14);
  --so-sh-cta: 0 10px 30px rgba(220, 38, 38, .35);
  --so-sh-panel: 0 26px 80px rgba(23, 24, 29, .18);

  --so-container: 1180px;
}

/* --------------------------------------------------------------------------
   Baza
   -------------------------------------------------------------------------- */
.so-page {
  margin: 0;
  background: var(--so-bg);
  color: var(--so-text);
  font-family: var(--so-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.so-page *, .so-page *::before, .so-page *::after { box-sizing: border-box; }
.so-page img { max-width: 100%; height: auto; display: block; }
.so-page a { color: var(--so-red); text-decoration: none; }

.so-container { max-width: var(--so-container); margin: 0 auto; padding: 0 24px; }

.so-h1, .so-h2, .so-h3 {
  font-family: var(--so-font-head);
  color: var(--so-text);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
.so-h1 { font-size: clamp(36px, 4.8vw, 58px); font-weight: 700; }
.so-h2 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 700; }
.so-h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
.so-lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--so-muted); line-height: 1.6; }

.so-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--so-font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--so-red);
  margin-bottom: 14px;
}
.so-kicker::before {
  content: "";
  width: 22px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--so-amber), var(--so-red));
}

.so-grad {
  background: linear-gradient(94deg, var(--so-red-2) 0%, var(--so-red) 55%, var(--so-red-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* --------------------------------------------------------------------------
   Przyciski
   -------------------------------------------------------------------------- */
.so-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--so-font-head);
  font-size: 16px; font-weight: 600;
  padding: 15px 28px;
  border-radius: var(--so-r-btn);
  border: 0; cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.so-btn-cta {
  background: linear-gradient(135deg, var(--so-red-2), var(--so-red-deep) 92%);
  color: #fff !important;
  box-shadow: var(--so-sh-cta), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.so-btn-cta:hover {
  background: linear-gradient(135deg, #F05252, #A81919 92%);
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(220, 38, 38, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.so-btn-ghost {
  background: var(--so-surface);
  color: var(--so-text) !important;
  border: 1px solid var(--so-line);
  box-shadow: var(--so-sh-rest);
}
.so-btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--so-sh-hover); border-color: #CDD1D8; }
.so-btn-dark { background: var(--so-ink-2); color: #fff !important; }
.so-btn-dark:hover { background: var(--so-ink); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Nawigacja — CIEMNA (wyróżnik)
   -------------------------------------------------------------------------- */
.so-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(23, 24, 29, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.so-nav-inner {
  max-width: var(--so-container); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 13px 24px;
}
.so-logo { display: flex; align-items: center; gap: 10px; text-decoration: none !important; flex: 0 0 auto; }
.so-logo-icon { flex: 0 0 auto; filter: drop-shadow(0 3px 8px rgba(220, 38, 38, .4)); }
.so-logo-text {
  font-family: var(--so-font-head);
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1; white-space: nowrap;
}
.so-logo-text b { color: var(--so-red-2); font-weight: 700; }
.so-logo-text i { font-style: normal; color: #8A8F9A; font-size: 13px; font-weight: 500; margin-left: 1px; }

.so-nav-menu {
  display: flex; align-items: center; gap: 2px; flex-wrap: nowrap;
  list-style: none !important; margin: 0 0 0 auto !important; padding: 0 !important;
}
.so-nav-menu > li { list-style: none; position: relative; }
.so-nav-menu > li > a {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--so-font-head);
  font-size: 15px; font-weight: 500;
  color: #D3D6DC;
  padding: 9px 13px; border-radius: 10px;
  transition: background .18s ease, color .18s ease;
}
.so-nav-menu > li > a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.so-nav-menu > li.is-active > a { color: var(--so-red-2); font-weight: 700; }
.so-nav-caret { width: 14px; height: 14px; }

.so-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px;
  background: var(--so-surface);
  border: 1px solid var(--so-line);
  border-radius: 14px;
  box-shadow: var(--so-sh-panel);
  padding: 8px !important;
  margin: 0 !important;
  list-style: none !important;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.so-has-dropdown:hover .so-dropdown,
.so-has-dropdown:focus-within .so-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.so-dropdown li { list-style: none; }
.so-dropdown a {
  display: block;
  font-size: 14.5px; font-weight: 500;
  color: var(--so-text);
  padding: 10px 14px; border-radius: 9px;
}
.so-dropdown a:hover { background: var(--so-bg-2); color: var(--so-red); }

.so-nav-phone { flex: 0 0 auto; font-size: 15.5px; padding: 12px 22px; }

.so-nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px;
  background: transparent;
  cursor: pointer; position: relative;
  margin-left: auto;
}
.so-nav-burger span, .so-nav-burger span::before, .so-nav-burger span::after {
  content: ""; position: absolute; left: 50%;
  width: 20px; height: 2px; border-radius: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: all .25s ease;
}
.so-nav-burger span { top: 50%; margin-top: -1px; }
.so-nav-burger span::before { top: -7px; }
.so-nav-burger span::after { top: 7px; }
.so-nav-burger[aria-expanded="true"] span { background: transparent; }
.so-nav-burger[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.so-nav-burger[aria-expanded="true"] span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 1020px) {
  .so-nav-burger { display: inline-flex; }
  .so-nav-phone-desktop { display: none; }
  .so-nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--so-ink);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    padding: 12px 18px 18px !important;
    display: none;
  }
  .so-nav-menu.is-open { display: flex; }
  .so-nav-menu > li > a { padding: 13px 14px; font-size: 16px; }
  .so-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 16px !important;
    background: transparent;
    display: none;
  }
  .so-dropdown a { color: #B9BDC6; }
  .so-dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .so-has-dropdown.is-open .so-dropdown { display: block; }
  .so-nav-mobile-cta { margin-top: 10px; }
  .so-nav-mobile-cta .so-btn { width: 100%; }
}
@media (min-width: 1021px) { .so-nav-mobile-cta { display: none; } }

/* --------------------------------------------------------------------------
   HERO — grafitowy panel z czerwonym akcentem, zdjęcie po prawej
   -------------------------------------------------------------------------- */
.so-hero {
  position: relative;
  background: linear-gradient(160deg, var(--so-ink) 0%, var(--so-ink-2) 70%, #2E3039 100%);
  overflow: hidden;
}
.so-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='700' viewBox='0 0 1400 700' fill='none'%3E%3Cpath d='M-60 640 L 1460 240' stroke='%23DC2626' stroke-opacity='0.14' stroke-width='2'/%3E%3Cpath d='M-60 700 L 1460 320' stroke='%23F59E0B' stroke-opacity='0.08' stroke-width='2'/%3E%3Ccircle cx='1100' cy='334' r='5' fill='%23DC2626' fill-opacity='.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center top; background-size: 100% auto;
  pointer-events: none;
}
.so-hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 5vw, 70px);
  align-items: center;
  padding: clamp(52px, 7vw, 92px) 0 clamp(56px, 7vw, 96px);
}
.so-hero h1 { color: #fff; }
.so-hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--so-font-head);
  font-size: 13.5px; font-weight: 600;
  color: #FCA5A5;
  background: rgba(220, 38, 38, .16);
  border: 1px solid rgba(220, 38, 38, .4);
  border-radius: var(--so-r-pill);
  padding: 8px 16px;
  margin-bottom: 22px;
}
.so-hero-sub {
  font-size: clamp(17px, 1.6vw, 19px); line-height: 1.62;
  color: #B9BDC6;
  max-width: 560px;
  margin: 20px 0 0;
}
.so-hero-sub strong { color: #fff; font-weight: 700; }
.so-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.so-hero-cta .so-btn-cta { font-size: 17px; padding: 18px 32px; }
.so-hero-cta .so-btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff !important; box-shadow: none; }
.so-hero-cta .so-btn-ghost:hover { background: rgba(255,255,255,.14); }
.so-hero-brands {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.so-brand-chip {
  font-family: var(--so-font-head);
  font-size: 13px; font-weight: 600;
  color: #D3D6DC;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--so-r-pill);
  padding: 6px 13px;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
a.so-brand-chip:hover { border-color: var(--so-red-2); color: #fff; transform: translateY(-1px); }

.so-hero-media { position: relative; }
.so-hero-photo {
  position: relative;
  border-radius: var(--so-r-panel);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .45);
}
.so-hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.so-hero-stat {
  position: absolute; left: -18px; bottom: -22px;
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  padding: 13px 19px 13px 13px;
  font-size: 13.5px; line-height: 1.3;
}
.so-hero-stat-icon {
  width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #FEE2E2, #FECACA);
  color: var(--so-red);
}
.so-hero-stat strong { display: block; font-family: var(--so-font-head); font-size: 15px; color: var(--so-text); }
.so-hero-stat span { color: var(--so-muted); }

@media (max-width: 900px) {
  .so-hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .so-hero-media { max-width: 560px; }
  .so-hero-photo img { aspect-ratio: 16 / 10; }
  .so-hero-stat { left: 12px; bottom: -18px; }
  .so-hero-cta .so-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Sekcje
   -------------------------------------------------------------------------- */
.so-section { padding: clamp(60px, 8vw, 104px) 0; }
.so-section-head { max-width: 720px; margin-bottom: clamp(34px, 4.5vw, 52px); }
.so-section-head .so-lead { margin: 16px 0 0; }
.so-section-tint { background: var(--so-bg-2); }

/* --------------------------------------------------------------------------
   Karty usług
   -------------------------------------------------------------------------- */
.so-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.so-card {
  background: var(--so-surface);
  border: 1px solid var(--so-line);
  border-radius: var(--so-r-card);
  box-shadow: var(--so-sh-rest);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.so-card:hover { transform: translateY(-4px); box-shadow: var(--so-sh-hover); border-color: #D4C9C9; }
.so-card-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #FEE2E2, #FEF3C7);
  color: var(--so-red);
  margin-bottom: 16px; flex: 0 0 auto;
}
.so-card h3 { margin-bottom: 9px; }
.so-card p { margin: 0; font-size: 14.5px; color: var(--so-muted); flex: 1 1 auto; }
@media (max-width: 940px) { .so-grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .so-grid3 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   MARKI — siatka logotypowa (tekstowa, bez logo producentów)
   -------------------------------------------------------------------------- */
.so-brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.so-brand-card {
  position: relative;
  background: var(--so-surface);
  border: 1px solid var(--so-line);
  border-radius: var(--so-r-card);
  box-shadow: var(--so-sh-rest);
  padding: 26px 24px 22px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: block;
}
.so-brand-card:hover { transform: translateY(-4px); box-shadow: var(--so-sh-hover); border-color: #E5B4B4; }
.so-brand-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--so-red-2), var(--so-amber));
  opacity: 0; transition: opacity .22s ease;
}
.so-brand-card:hover::before { opacity: 1; }
.so-brand-card h3 { font-family: var(--so-font-head); font-size: 20px; font-weight: 700; color: var(--so-text); margin: 0 0 6px; }
.so-brand-card p { margin: 0 0 14px; font-size: 13.5px; color: var(--so-muted); }
.so-brand-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--so-font-head);
  font-size: 14px; font-weight: 700;
  color: var(--so-red) !important;
}
.so-brand-link svg { transition: transform .2s ease; }
.so-brand-card:hover .so-brand-link svg { transform: translateX(4px); }
@media (max-width: 940px) { .so-brands-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .so-brands-grid { grid-template-columns: 1fr; } }

/* disclaimer nieautoryzowany */
.so-disclaimer {
  background: linear-gradient(180deg, #FFFBEB, #FEF3C7);
  border: 1px solid #FDE68A;
  border-left: 4px solid var(--so-amber);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13.5px; color: #78350F;
  margin: 26px 0;
}

/* --------------------------------------------------------------------------
   Pasek liczb
   -------------------------------------------------------------------------- */
.so-stats { position: relative; z-index: 5; }
.so-stats-card {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-r-panel);
  box-shadow: var(--so-sh-panel);
  padding: clamp(24px, 3.2vw, 38px) clamp(20px, 3.2vw, 42px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.so-stat strong {
  display: block;
  font-family: var(--so-font-head);
  font-size: clamp(28px, 3.2vw, 42px); font-weight: 700;
  color: var(--so-text); line-height: 1.05;
  letter-spacing: -0.02em;
}
.so-stat strong em { font-style: normal; color: var(--so-red); }
.so-stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--so-muted); }
@media (max-width: 860px) { .so-stats-card { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; } }

/* --------------------------------------------------------------------------
   FAQ / kroki / CTA panel / stopka — wspólny rytm
   -------------------------------------------------------------------------- */
.so-faq { max-width: 820px; }
.so-faq details {
  background: var(--so-surface);
  border: 1px solid var(--so-line);
  border-radius: 14px;
  box-shadow: var(--so-sh-rest);
  margin-bottom: 12px;
  overflow: hidden;
}
.so-faq details[open] { border-color: rgba(220, 38, 38, .35); }
.so-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--so-font-head);
  font-size: 16px; font-weight: 600;
  color: var(--so-text);
  padding: 18px 22px;
  cursor: pointer; list-style: none;
}
.so-faq summary::-webkit-details-marker { display: none; }
.so-faq summary::after {
  content: "+"; font-size: 22px; font-weight: 500;
  color: var(--so-red); flex: 0 0 auto;
  transition: transform .25s ease;
}
.so-faq details[open] summary::after { transform: rotate(45deg); }
.so-faq .so-faq-a { padding: 0 22px 18px; font-size: 15px; color: var(--so-muted); }

.so-cta-panel {
  background: linear-gradient(120deg, var(--so-ink) 0%, var(--so-ink-2) 70%, #3A2224 100%);
  border-radius: var(--so-r-panel);
  box-shadow: var(--so-sh-panel);
  padding: clamp(32px, 4.5vw, 52px) clamp(24px, 4.5vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  position: relative; overflow: hidden;
}
.so-cta-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='300' viewBox='0 0 900 300' fill='none'%3E%3Cpath d='M-40 280 L 940 20' stroke='%23DC2626' stroke-opacity='0.2' stroke-width='2'/%3E%3C/svg%3E");
  background-size: cover; pointer-events: none;
}
.so-cta-panel h2 { color: #fff; font-size: clamp(23px, 3vw, 32px); position: relative; }
.so-cta-panel p { color: #B9BDC6; margin: 10px 0 0; max-width: 520px; font-size: 15px; position: relative; }
.so-cta-panel .so-btn-cta { font-size: 17px; padding: 18px 32px; flex: 0 0 auto; position: relative; }
@media (max-width: 760px) {
  .so-cta-panel { flex-direction: column; align-items: stretch; text-align: center; }
  .so-cta-panel p { max-width: none; }
}

.so-footer {
  background: var(--so-ink);
  color: #B9BDC6;
  margin-top: clamp(64px, 9vw, 110px);
  font-size: 14.5px;
}
.so-footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.05fr 1.15fr; gap: 36px;
  padding: clamp(44px, 6vw, 68px) 0 38px;
}
.so-footer .so-logo { margin-bottom: 16px; }
.so-footer-desc { margin: 0; font-size: 13.5px; color: #8A8F9A; max-width: 300px; }
.so-footer h4 {
  font-family: var(--so-font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; margin: 0 0 18px;
}
.so-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.so-footer ul a { color: #B9BDC6; font-size: 14px; transition: color .18s ease; }
.so-footer ul a:hover { color: var(--so-red-2); }
.so-footer-partner span { display: block; font-size: 12px; color: #8A8F9A; margin-top: 2px; }
.so-footer-contact strong { color: #fff; }
.so-footer-contact a { color: #F87171; font-weight: 600; }
.so-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between;
  font-size: 13px; color: #8A8F9A;
}
.so-footer-bottom a { color: #B9BDC6; }
.so-footer-bottom a:hover { color: var(--so-red-2); }
@media (max-width: 980px) { .so-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .so-footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Podstrony
   -------------------------------------------------------------------------- */
.so-page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--so-ink) 0%, var(--so-ink-2) 80%, #33232A 100%);
  padding: clamp(44px, 6vw, 76px) 0 clamp(40px, 5vw, 60px);
  text-align: center;
}
.so-page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='400' viewBox='0 0 1400 400' fill='none'%3E%3Cpath d='M-60 360 L 1460 100' stroke='%23DC2626' stroke-opacity='0.16' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 100% auto;
  pointer-events: none;
}
.so-page-hero > .so-container { position: relative; }
.so-page-hero h1 { color: #fff; max-width: 880px; margin: 0 auto; }
.so-page-hero .so-lead { color: #B9BDC6; max-width: 700px; margin: 16px auto 0; }
.so-breadcrumb { font-size: 13.5px; color: #8A8F9A; margin-bottom: 14px; }
.so-breadcrumb a { color: #8A8F9A; }
.so-breadcrumb a:hover { color: #fff; }
.so-page-hero .so-hero-cta { justify-content: center; }

.so-article { max-width: 860px; margin: 0 auto; }
.so-article h2 {
  font-family: var(--so-font-head);
  font-size: clamp(23px, 2.6vw, 30px); font-weight: 700;
  letter-spacing: -0.015em;
  margin: 42px 0 16px;
}
.so-article h3 {
  font-family: var(--so-font-head);
  font-size: clamp(18px, 2vw, 21px); font-weight: 600;
  margin: 30px 0 12px;
}
.so-article p { margin: 0 0 16px; color: #3A3E48; }
.so-article ul, .so-article ol { margin: 0 0 18px; padding-left: 24px; color: #3A3E48; }
.so-article li { margin-bottom: 8px; }
.so-article strong { color: var(--so-text); }
.so-article img {
  border-radius: var(--so-r-card);
  border: 1px solid var(--so-line);
  box-shadow: var(--so-sh-hover);
  margin: 10px 0 22px;
}
.so-article .so-callout {
  background: linear-gradient(180deg, #FFFAFA, #FEF2F2);
  border: 1px solid #FECACA;
  border-left: 4px solid var(--so-red);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 15px;
}
.so-cta-inline {
  background: linear-gradient(180deg, #FEF5F5, #FDECEC);
  border: 1px solid #FAD4D4;
  border-radius: var(--so-r-card);
  padding: 28px 30px;
  margin: 36px 0;
  text-align: center;
}
.so-cta-inline h3 { margin: 0 0 8px; }
.so-cta-inline p { margin: 0 0 18px; color: var(--so-muted); }

/* --------------------------------------------------------------------------
   POPUP „nie przyjmuję zleceń"
   -------------------------------------------------------------------------- */
.so-notice {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(23, 24, 29, .45);
  backdrop-filter: blur(5px) saturate(.9);
  -webkit-backdrop-filter: blur(5px) saturate(.9);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.so-notice.is-open { display: flex; }
.so-notice-box {
  max-width: 480px; width: 100%;
  background: #fff;
  border-radius: 20px;
  border-top: 5px solid var(--so-red);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
  padding: 32px 32px 28px;
  text-align: center;
}
.so-notice-icon {
  width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #FEE2E2, #FECACA);
  color: var(--so-red);
}
.so-notice-box h2 { font-family: var(--so-font-head); font-size: 21px; font-weight: 700; margin: 0 0 10px; color: var(--so-text); }
.so-notice-box p { margin: 0 0 20px; font-size: 15px; color: var(--so-muted); line-height: 1.6; }
.so-notice-box .so-btn { width: 100%; }
.so-notice-alt { margin-top: 12px !important; font-size: 13px !important; }
.so-notice-alt a { font-weight: 600; }

/* --------------------------------------------------------------------------
   Reveal + dostępność
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
}
.so-page a:focus-visible, .so-page button:focus-visible {
  outline: 3px solid rgba(220, 38, 38, .5);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ==========================================================================
   Popup-blokada: kafelki z logami + efekty wizualne
   ========================================================================== */
@keyframes so-pop-in {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes so-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes so-ring {
  0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, .38); }
  70%  { box-shadow: 0 0 0 14px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
@keyframes so-sheen {
  0%, 55% { background-position: 200% 0; }
  100%    { background-position: -200% 0; }
}

.so-notice.is-open .so-notice-box {
  animation: so-pop-in .55s cubic-bezier(.16, 1, .3, 1) both;
}
.so-notice-box { border-top: 0; position: relative; overflow: hidden; }
.so-notice-box::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--so-red-deep), var(--so-red-2), var(--so-amber), var(--so-red-2), var(--so-red-deep));
  background-size: 200% 100%;
  animation: so-sheen 3.6s linear infinite;
}
.so-notice-icon { animation: so-ring 2.4s ease-out infinite; }

.so-notice-links { display: grid; gap: 10px; margin-top: 6px; }
.so-notice-link {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--so-bg);
  border: 1px solid var(--so-line);
  border-radius: 14px;
  padding: 13px 16px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
  opacity: 0;
}
.so-notice.is-open .so-notice-link:nth-child(1) { animation: so-fade-up .5s .25s cubic-bezier(.16,1,.3,1) both; }
.so-notice.is-open .so-notice-link:nth-child(2) { animation: so-fade-up .5s .38s cubic-bezier(.16,1,.3,1) both; }
.so-notice.is-open .so-notice-link:nth-child(3) { animation: so-fade-up .5s .51s cubic-bezier(.16,1,.3,1) both; }

.so-notice-link:hover {
  border-color: #CDD1D8;
  background: #fff;
  transform: translateY(-3px) scale(1.015);
  box-shadow: var(--so-sh-hover);
}
.so-nl-icon { flex: 0 0 auto; filter: drop-shadow(0 3px 7px rgba(23, 24, 29, .18)); transition: transform .2s ease; }
.so-notice-link:hover .so-nl-icon { transform: scale(1.08) rotate(-3deg); }
.so-nl-txt { flex: 1 1 auto; min-width: 0; }
.so-nl-txt strong {
  display: block;
  font-family: var(--so-font-head);
  font-size: 15.5px; font-weight: 600; color: #1B1D24;
}
.so-nl-txt strong b { color: #0E7CD4; font-weight: 700; }
.so-nl-txt strong b.so-nl-hs { color: #0D9488; }
.so-nl-txt strong b.so-nl-cz { color: #0891B2; }
.so-nl-txt > span { display: block; font-size: 12.5px; color: var(--so-muted); }
.so-nl-arrow {
  flex: 0 0 auto; color: var(--so-muted);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}
.so-notice-link:hover .so-nl-arrow { opacity: 1; transform: none; color: var(--so-red); }

@media (prefers-reduced-motion: reduce) {
  .so-notice.is-open .so-notice-box,
  .so-notice.is-open .so-notice-link { animation: none; opacity: 1; }
  .so-notice-icon, .so-notice-box::before { animation: none; }
}
