/* ============================================================
   SSH PREMIUM PASS — wszystkie nowe style w jednym pliku.
   Ładowany PO style.css, więc nadpisuje starsze reguły.
   ============================================================ */

:root {
  --ssh-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ssh-dot {
  color: var(--ssh-red, #e30613);
}

/* =========================
   TYPOGRAFIA TECHNICZNA — mono dla HUD
   ========================= */

.ssh-hud,
.ssh-kicker,
.ssh-section-kicker,
.ssh-partners__eyebrow,
.ssh-coverage-visual-top span,
.ssh-coverage-visual-top strong,
.ssh-map-panel span,
.ssh-map-panel strong,
.ssh-coverage-note span,
.ssh-logo-carousel__counter,
.ssh-footer__bottom,
.ssh-model-transfer-label,
.ssh-loader-copy,
.ssh-intro-skip,
.ssh-breadcrumb {
  font-family: var(--ssh-mono);
}

.ssh-kicker,
.ssh-section-kicker,
.ssh-partners__eyebrow {
  font-weight: 700;
  letter-spacing: .16em;
}

.ssh-hud {
  font-weight: 500;
  letter-spacing: .08em;
}

.ssh-hud output {
  display: inline;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  font-variant-numeric: tabular-nums;
}

.ssh-hero-stats strong,
.ssh-coverage-metrics strong,
.ssh-logo-carousel__counter {
  font-variant-numeric: tabular-nums;
}

/* =========================
   DETALE — selection, scrollbar, focus
   ========================= */

::selection {
  background: rgba(227, 6, 19, .85);
  color: #fff;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .22) #0a0e14;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0e14; }

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  border: 2px solid #0a0e14;
}

::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .30); }

:focus-visible {
  outline: 2px solid rgba(227, 6, 19, .75);
  outline-offset: 3px;
}

/* =========================
   INTRO — branding, HUD, loader
   ========================= */

.ssh-intro-brand {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  top: clamp(22px, 4vh, 44px);
  z-index: 6;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
}

.ssh-intro-brand::before,
.ssh-intro-brand::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  pointer-events: none;
}

.ssh-intro-brand::before {
  left: 0;
  top: 0;
  border-left: 1px solid rgba(255, 255, 255, .38);
  border-top: 1px solid rgba(255, 255, 255, .38);
}

.ssh-intro-brand::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid rgba(255, 255, 255, .38);
  border-bottom: 1px solid rgba(255, 255, 255, .38);
}

.ssh-intro-brand strong {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.05em;
}

.ssh-intro-brand strong::after {
  content: ".";
  color: var(--ssh-red, #e30613);
}

.ssh-intro-brand span {
  margin-top: 6px;
  color: rgba(255, 255, 255, .5);
  font-family: var(--ssh-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.ssh-intro-hud {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--ssh-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .34);
}

.ssh-intro-hud--tr {
  right: clamp(24px, 4vw, 56px);
  top: clamp(28px, 4.5vh, 50px);
  text-align: right;
}

.ssh-intro-hud--bl {
  left: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4.5vh, 48px);
}

.ssh-intro-hud span:first-child {
  color: rgba(255, 255, 255, .58);
}

.ssh-loader-copy { align-items: flex-end; }

.ssh-loader-copy strong {
  font-family: var(--ssh-mono);
  font-size: clamp(.82rem, 1.05vw, .98rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .06em;
  color: rgba(238, 244, 248, .52);
  text-shadow: 0 0 10px rgba(227, 6, 19, .12);
}

[data-ssh-loader-label]::after {
  content: "";
  display: inline-block;
  width: 1.4em;
  text-align: left;
  animation: sshLoaderDots 1.2s steps(1) infinite;
}

@keyframes sshLoaderDots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
}

.ssh-loader-bar { position: relative; }

.ssh-loader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  background-size: 200% 100%;
  animation: sshLoaderShimmer 1.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sshLoaderShimmer {
  0%   { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}

/* =========================
   HEADER LOGO — bez białego pudła
   ========================= */

.ssh-logo {
  width: auto !important;
  height: auto !important;
  left: clamp(16px, 2vw, 28px) !important;
  top: 50% !important;
  transform: translateY(-50%);
  padding: 12px 16px;
  align-items: flex-start !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ssh-logo::before,
.ssh-logo::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  transition: border-color .3s ease;
}

.ssh-logo::before {
  left: 0;
  top: 0;
  border-left: 1px solid rgba(255, 255, 255, .32);
  border-top: 1px solid rgba(255, 255, 255, .32);
}

.ssh-logo::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid rgba(255, 255, 255, .32);
  border-bottom: 1px solid rgba(255, 255, 255, .32);
}

.ssh-logo:hover::before,
.ssh-logo:hover::after {
  border-color: rgba(227, 6, 19, .7);
}

.ssh-logo strong {
  color: #fff !important;
  font-size: 1.5rem !important;
  letter-spacing: -.05em !important;
}

.ssh-logo strong::after {
  content: ".";
  color: var(--ssh-red, #e30613);
}

.ssh-logo span {
  margin-top: 5px !important;
  color: rgba(255, 255, 255, .5) !important;
  font-family: var(--ssh-mono);
  font-size: .52rem !important;
  font-weight: 500 !important;
  letter-spacing: .28em !important;
}

/* =========================
   SKALA TYPOGRAFII + ODDECH SEKCJI
   ========================= */

.ssh-hero-copy h1 {
  font-size: clamp(2.5rem, 3.5vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

/* Radar za modelem — wyłączony, konkurował z autem. */
.ssh-hero .ssh-radar {
  display: none;
}

.ssh-hero-copy p {
  font-size: 1.02rem;
  max-width: 600px;
}

/* =========================
   HERO — ROTUJĄCE SŁOWO W GŁÓWNYM HAŚLE
   ========================= */

.ssh-headline-rotate {
  position: relative;
  display: inline-block;
  min-width: 9.4ch;
  overflow: hidden;
  color: #fff;
  white-space: nowrap;
  vertical-align: bottom;
  transition:
    opacity .42s ease,
    transform .42s cubic-bezier(.22, .72, .24, 1),
    filter .42s ease;
}

.ssh-headline-rotate.is-leaving {
  opacity: 0;
  transform: translate3d(0, -28%, 0);
  filter: blur(3px);
}

.ssh-headline-rotate.is-entering {
  opacity: 0;
  transform: translate3d(0, 28%, 0);
  filter: blur(3px);
}

.ssh-coverage-copy h2,
.ssh-partners h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.ssh-mission-v2,
.ssh-coverage,
.ssh-partners {
  padding-top: clamp(70px, 8vw, 130px);
  padding-bottom: clamp(70px, 8vw, 130px);
}

/* =========================
   HERO STATS — czysta typografia
   ========================= */

.ssh-hero-stats {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  max-width: 560px;
  margin-top: 34px;
}

.ssh-hero-stats i { display: none !important; }

.ssh-hero-stats div {
  min-height: 0 !important;
  padding: 4px 28px !important;
}

.ssh-hero-stats div:first-child { padding-left: 0 !important; }

.ssh-hero-stats div + div::before {
  top: 4px;
  bottom: 4px;
}

.ssh-hero-stats strong {
  font-size: 2.1rem !important;
  margin-bottom: 7px !important;
}

.ssh-hero-stats span {
  font-size: .74rem !important;
  color: rgba(255, 255, 255, .5) !important;
}

/* =========================
   HERO — sekwencyjne wejście
   ========================= */

.ssh-hero-copy > *,
.ssh-hero-model {
  opacity: 0;
}

body.is-site-visible .ssh-hero-copy > * {
  animation: sshHeroIn 1.15s cubic-bezier(.2, .82, .22, 1) backwards;
}

body.is-site-visible .ssh-hero-copy > :nth-child(1) { animation-delay: .15s; }
body.is-site-visible .ssh-hero-copy > :nth-child(2) { animation-delay: .32s; }
body.is-site-visible .ssh-hero-copy > :nth-child(3) { animation-delay: .50s; }
body.is-site-visible .ssh-hero-copy > :nth-child(4) { animation-delay: .66s; }
body.is-site-visible .ssh-hero-copy > :nth-child(5) { animation-delay: .84s; }
body.is-site-visible .ssh-hero-copy > :nth-child(6) { animation-delay: 1.05s; }

body.is-site-visible .ssh-hero-model {
  animation: sshHeroIn 1.25s cubic-bezier(.2, .82, .22, 1) backwards;
  animation-delay: 1.25s;
}

body.is-site-visible .ssh-hero-copy > *,
body.is-site-visible .ssh-hero-model {
  opacity: 1;
}

@keyframes sshHeroIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    filter: blur(7px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@media (max-width: 760px) {
  .ssh-headline-rotate {
    min-width: 0;
  }
}

/* Spokojna sieć punktów w tle hero. */
.ssh-hero-network {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .78;
  pointer-events: none;
  mix-blend-mode: screen;
  mask-image:
    linear-gradient(to bottom, rgba(0, 0, 0, .78), #000 46%, rgba(0, 0, 0, .94) 78%, transparent 100%);
}

.ssh-hero-inner {
  z-index: 3;
}

.ssh-hero .ssh-hud {
  z-index: 3;
}

@media (max-width: 760px) {
  .ssh-hero-network {
    opacity: .42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-hero-network {
    opacity: .28;
  }
}

/* =========================
   MISJA — PINNED SCROLL STORY
   ========================= */

.ssh-mission-viewport {
  position: relative;
}

@media (min-width: 821px) {
  .ssh-mission-v2.ssh-mission-scroll-stage {
    height: 215vh;
    min-height: 1280px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
    border-top: 0;
    background: transparent;
    isolation: auto;
  }

  .ssh-mission-scroll-stage::before,
  .ssh-mission-scroll-stage::after {
    content: none;
  }

  .ssh-mission-scroll-stage .ssh-mission-viewport {
    position: relative;
    top: auto;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background:
      radial-gradient(circle at 78% 20%, rgba(227, 6, 19, .105), transparent 29%),
      radial-gradient(circle at 16% 76%, rgba(255, 255, 255, .045), transparent 28%),
      linear-gradient(180deg, #070a0f 0%, #080d14 46%, #06090e 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .ssh-mission-scroll-stage.is-stage-pinned .ssh-mission-viewport {
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
  }

  .ssh-mission-scroll-stage.is-stage-complete .ssh-mission-viewport {
    position: absolute;
    z-index: 1;
    top: auto;
    bottom: 0;
    left: 0;
  }

  .ssh-mission-scroll-stage .ssh-mission-viewport::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
      linear-gradient(0deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .42;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
  }

  .ssh-mission-scroll-stage .ssh-mission-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    width: min(920px, 70vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(227, 6, 19, .56), rgba(255, 255, 255, .16), transparent);
  }

  .ssh-mission-scroll-stage .ssh-mission-inner {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 0;
    padding-top: calc(76px + clamp(22px, 3vh, 34px));
    padding-bottom: clamp(24px, 3vh, 34px);
  }

  .ssh-mission-scroll-stage .ssh-mission-head {
    margin-bottom: clamp(28px, 3.4vh, 42px);
  }

  .ssh-mission-scroll-stage.is-reveal-ready .ssh-section-kicker,
  .ssh-mission-scroll-stage.is-reveal-ready .ssh-mission-lead,
  .ssh-mission-scroll-stage.is-reveal-ready .ssh-proc__row,
  .ssh-mission-scroll-stage.is-reveal-ready.is-revealed .ssh-section-kicker,
  .ssh-mission-scroll-stage.is-reveal-ready.is-revealed .ssh-mission-lead,
  .ssh-mission-scroll-stage.is-reveal-ready.is-revealed .ssh-proc__row {
    animation: none !important;
  }

  .ssh-mission-scroll-stage .ssh-proc::after,
  .ssh-mission-scroll-stage.is-revealed .ssh-proc::after {
    animation: none !important;
    transform: scaleX(var(--mission-track-scale, 0));
  }
}

@media (min-width: 821px) and (max-height: 760px) {
  .ssh-mission-scroll-stage .ssh-mission-copy h2 {
    font-size: clamp(2.15rem, 3.5vw, 3.45rem);
  }

  .ssh-mission-scroll-stage .ssh-mission-lead {
    margin-top: 16px;
  }

  .ssh-mission-scroll-stage .ssh-mission-head {
    margin-bottom: 24px;
  }

  .ssh-mission-scroll-stage .ssh-proc__row {
    min-height: 205px;
  }

  .ssh-mission-scroll-stage .ssh-proc__num {
    margin-bottom: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-mission-v2.ssh-mission-scroll-stage {
    height: auto;
    min-height: 0;
    padding-top: clamp(66px, 6.2vw, 96px);
    padding-bottom: clamp(70px, 6.5vw, 100px);
  }

  .ssh-mission-scroll-stage .ssh-mission-viewport {
    position: relative;
    top: auto;
    height: auto;
    overflow: hidden;
  }

  .ssh-mission-scroll-stage .ssh-mission-inner {
    position: relative;
    top: auto;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* =========================
   MISJA — POZIOMY PROCES + TEXT REVEAL
   ========================= */

.ssh-mission-v2 {
  padding-top: clamp(66px, 6.2vw, 96px);
  padding-bottom: clamp(70px, 6.5vw, 100px);
}

.ssh-mission-v2 .ssh-mission-head {
  margin-bottom: clamp(38px, 4.2vw, 58px);
}

.ssh-mission-title-reveal {
  overflow: visible;
}

.ssh-mission-title-line {
  display: block;
  width: max-content;
  max-width: 100%;
}

.ssh-mission-v2.is-reveal-ready .ssh-mission-title-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

.ssh-mission-v2.is-reveal-ready .ssh-mission-title-line {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translate3d(0, 22px, 0);
  filter: blur(7px);
  will-change: clip-path, opacity, transform, filter;
}

.ssh-mission-v2.is-reveal-ready.is-revealed .ssh-mission-title-line {
  animation: sshMissionTextReveal 1.05s cubic-bezier(.2, .82, .22, 1) both;
}

.ssh-mission-v2.is-reveal-ready.is-revealed .ssh-mission-title-line:nth-child(1) {
  animation-delay: .1s;
}

.ssh-mission-v2.is-reveal-ready.is-revealed .ssh-mission-title-line:nth-child(2) {
  animation-delay: .24s;
}

@keyframes sshMissionTextReveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translate3d(0, 22px, 0);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.ssh-mission-v2 .ssh-proc {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 0;
}

.ssh-mission-v2 .ssh-proc::before,
.ssh-mission-v2 .ssh-proc::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 76px;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}

.ssh-mission-v2 .ssh-proc::before {
  background: rgba(255, 255, 255, .14);
}

.ssh-mission-v2 .ssh-proc::after {
  background: linear-gradient(90deg, #e30613, rgba(227, 6, 19, .82) 76%, rgba(227, 6, 19, 0));
  box-shadow: 0 0 18px rgba(227, 6, 19, .32);
  transform: scaleX(0);
  transform-origin: left;
}

.ssh-mission-v2.is-revealed .ssh-proc::after {
  animation: sshProcessTrack 1.65s cubic-bezier(.2, .78, .2, 1) .58s both;
}

@keyframes sshProcessTrack {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.ssh-mission-v2 .ssh-proc__row {
  position: relative;
  display: block;
  min-height: 238px;
  padding: 0 clamp(24px, 2.7vw, 42px) 4px;
  border-bottom: 0;
  border-right: 1px solid rgba(255, 255, 255, .1);
  transition: transform .42s cubic-bezier(.2, .82, .22, 1);
}

.ssh-mission-v2 .ssh-proc__row:first-child {
  padding-left: 0;
}

.ssh-mission-v2 .ssh-proc__row:last-child {
  padding-right: 0;
  border-right: 0;
}

.ssh-mission-v2 .ssh-proc__row::after {
  content: none;
}

.ssh-mission-v2 .ssh-proc__num {
  display: block;
  width: max-content;
  margin-bottom: 54px;
  font-size: clamp(2.45rem, 3.2vw, 3.45rem);
  transition: color .4s ease, -webkit-text-stroke-color .4s ease, transform .4s ease;
}

.ssh-mission-v2 .ssh-proc__body h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
}

.ssh-mission-v2 .ssh-proc__body p {
  max-width: 380px;
  margin-top: 12px;
  font-size: .9rem;
  line-height: 1.62;
}

.ssh-mission-v2 .ssh-proc__tag {
  display: block;
  justify-self: auto;
  margin-top: 22px;
  text-align: left;
}

.ssh-mission-v2 .ssh-proc__row:hover {
  transform: translateY(-5px);
}

.ssh-mission-v2 .ssh-proc__row:hover .ssh-proc__num {
  color: rgba(227, 6, 19, .12);
  -webkit-text-stroke-color: rgba(227, 6, 19, .92);
  transform: translateX(4px);
}

.ssh-mission-v2 .ssh-proc__row:hover .ssh-proc__body h3 {
  transform: translateX(5px);
}

@media (max-width: 820px) {
  .ssh-mission-v2 .ssh-proc {
    grid-template-columns: 1fr;
    padding-left: 54px;
  }

  .ssh-mission-v2 .ssh-proc::before,
  .ssh-mission-v2 .ssh-proc::after {
    top: 7px;
    right: auto;
    bottom: 7px;
    left: 18px;
    width: 1px;
    height: auto;
  }

  .ssh-mission-v2 .ssh-proc::after {
    transform: scaleY(0);
    transform-origin: top;
  }

  .ssh-mission-v2.is-revealed .ssh-proc::after {
    animation-name: sshProcessTrackMobile;
  }

  @keyframes sshProcessTrackMobile {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
  }

  .ssh-mission-v2 .ssh-proc__row,
  .ssh-mission-v2 .ssh-proc__row:first-child,
  .ssh-mission-v2 .ssh-proc__row:last-child {
    min-height: 0;
    padding: 0 0 34px;
    margin-bottom: 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .ssh-mission-v2 .ssh-proc__row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .ssh-mission-v2 .ssh-proc__num {
    margin-bottom: 20px;
    font-size: 2.5rem;
  }

  .ssh-mission-v2 .ssh-proc__row:hover,
  .ssh-mission-v2 .ssh-proc__row:hover .ssh-proc__num,
  .ssh-mission-v2 .ssh-proc__row:hover .ssh-proc__body h3 {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-mission-v2.is-reveal-ready .ssh-mission-title-line {
    opacity: 1;
    clip-path: none;
    transform: none;
    filter: none;
    animation: none;
  }

  .ssh-mission-v2 .ssh-proc::after {
    transform: none;
    animation: none !important;
  }
}

/* =========================
   SCROLL TEXT REVEAL — MISJA
   ========================= */

.ssh-mission-scroll-reveal .ssh-scroll-reveal-line {
  display: block;
  width: max-content;
  max-width: 100%;
}

.ssh-mission-scroll-reveal .ssh-scroll-reveal-char {
  display: inline-block;
  will-change: opacity, filter, transform;
}

.ssh-mission-scroll-reveal .ssh-scroll-reveal-char--space {
  width: .26em;
}

.ssh-mission-v2.is-reveal-ready .ssh-mission-scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

/* Poprzedni reveal przeniesiony na następną sekcję. */
.ssh-coverage-title-reveal > span {
  display: block;
}

.ssh-coverage.is-reveal-ready .ssh-coverage-title-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

.ssh-coverage.is-reveal-ready .ssh-coverage-title-reveal > span {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translate3d(0, 22px, 0);
  filter: blur(7px);
}

.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-title-reveal > span {
  animation: sshMissionTextReveal 1.05s cubic-bezier(.2, .82, .22, 1) .12s both;
}

@media (prefers-reduced-motion: reduce) {
  .ssh-mission-scroll-reveal .ssh-scroll-reveal-char,
  .ssh-coverage.is-reveal-ready .ssh-coverage-title-reveal > span {
    opacity: 1 !important;
    clip-path: none;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-headline-rotate {
    transition: none;
  }
}

/* =========================
   HERO VIDEO — TECHNICZNY KADR / SUBTELNY HUD
   ========================= */

.ssh-hero-video {
  min-height: clamp(420px, 56vh, 620px);
  isolation: isolate;
}

.ssh-hero-video__frame {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 3px;
  background: #070a0f;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(227, 6, 19, .05),
    inset 0 0 70px rgba(0, 0, 0, .25);
  transform: translateY(-50%);
}

.ssh-hero-video__media,
.ssh-hero-video__shade,
.ssh-hero-video__scan,
.ssh-hero-video__corners {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ssh-hero-video__media {
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(.78) contrast(1.07) brightness(.74);
  transform: scale(1.012);
  transition: filter .8s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}

.ssh-hero-video:hover .ssh-hero-video__media {
  filter: saturate(.86) contrast(1.06) brightness(.8);
  transform: scale(1.025);
}

.ssh-hero-video__shade {
  z-index: 1;
  background:
    radial-gradient(circle at 93% 82%, rgba(227, 6, 19, .2), transparent 34%),
    linear-gradient(90deg, rgba(5, 8, 13, .34), transparent 40%, rgba(5, 8, 13, .08) 72%, rgba(5, 8, 13, .34)),
    linear-gradient(0deg, rgba(5, 8, 13, .72), transparent 31%, rgba(5, 8, 13, .14) 76%, rgba(5, 8, 13, .42));
  pointer-events: none;
}

.ssh-hero-video__scan {
  z-index: 2;
  top: -20%;
  bottom: auto;
  height: 18%;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(227, 6, 19, .055), rgba(255, 255, 255, .18), transparent);
  mix-blend-mode: screen;
  animation: sshVideoScan 6.8s cubic-bezier(.35, 0, .25, 1) 2.4s infinite;
  pointer-events: none;
}

.ssh-hero-video__corners {
  z-index: 3;
  inset: 12px;
  width: auto;
  height: auto;
  border: 0;
  background:
    linear-gradient(#e30613, #e30613) left top / 28px 1px no-repeat,
    linear-gradient(#e30613, #e30613) left top / 1px 28px no-repeat,
    linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) right bottom / 28px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) right bottom / 1px 28px no-repeat;
  opacity: .72;
  pointer-events: none;
}

.ssh-hero-video .ssh-hero-model__label,
.ssh-hero-video .ssh-hero-model__caption {
  z-index: 4;
}

.ssh-hero-video .ssh-hero-model__label {
  padding-block: 7px;
  background: linear-gradient(90deg, rgba(6, 9, 14, .76), rgba(6, 9, 14, .1));
  backdrop-filter: blur(5px);
}

.ssh-hero-video .ssh-hero-model__label--flip {
  background: linear-gradient(270deg, rgba(6, 9, 14, .76), rgba(6, 9, 14, .1));
}

.ssh-hero-video .ssh-hero-model__label--a { top: 13%; right: 2%; }
.ssh-hero-video .ssh-hero-model__label--c { top: 26%; left: 1%; }
.ssh-hero-video .ssh-hero-model__label--f { top: auto; right: 2%; bottom: 17%; }

@keyframes sshVideoScan {
  0%, 20% { opacity: 0; transform: translateY(0); }
  28% { opacity: .72; }
  68% { opacity: .58; }
  76%, 100% { opacity: 0; transform: translateY(670%); }
}

@media (max-width: 1120px) {
  .ssh-hero-video { min-height: clamp(340px, 48vh, 480px); }
  .ssh-hero-video .ssh-hero-model__label--c { display: none; }
}

@media (max-width: 760px) {
  .ssh-hero-video { min-height: clamp(290px, 68vw, 360px); }
  .ssh-hero-video__frame { width: calc(100% + 10px); left: -5px; }
  .ssh-hero-video__media { object-position: 54% 50%; }
  .ssh-hero-video .ssh-hero-model__label--a { top: 10%; right: 2%; }
  .ssh-hero-video .ssh-hero-model__label--f { right: 2%; bottom: 15%; }
  .ssh-hero-video .ssh-hero-model__caption { bottom: 3%; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-hero-video__scan { display: none; }
  .ssh-hero-video__media { transition: none; }
  .ssh-hero-video:hover .ssh-hero-video__media { transform: scale(1.012); }
}

/* =========================
   HERO — MODEL NA SCENIE
   ========================= */

.ssh-hero-model {
  position: relative;
  align-self: center;
  min-height: clamp(420px, 58vh, 680px);
}

.ssh-hero-model__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  cursor: default;
}

.ssh-hero-model__label {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 18px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .82, .22, 1), filter .9s ease;
}

.ssh-hero-model__label.is-on {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: sshLabelFloat 6.5s ease-in-out infinite;
}

.ssh-hero-model__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(227, 6, 19, .75);
  box-shadow: 0 0 7px rgba(227, 6, 19, .35);
}

.ssh-hero-model__label span {
  font-family: var(--ssh-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .44);
}

.ssh-hero-model__label strong {
  font-family: var(--ssh-mono);
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* Czerwona kreska od kropki w stronę modelu.
   Domyślnie etykieta jest PO PRAWEJ stronie modelu — kreska idzie w lewo. */
.ssh-hero-model__label::after {
  content: "";
  position: absolute;
  right: calc(100% - 3px);
  top: calc(.38em + 2px);
  width: clamp(110px, 12vw, 230px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, .5));
}

/* Wariant lustrzany: etykieta PO LEWEJ stronie modelu — kropka i kreska po prawej. */
.ssh-hero-model__label--flip {
  padding-left: 0;
  padding-right: 18px;
  align-items: flex-end;
  text-align: right;
}

.ssh-hero-model__label--flip::before {
  left: auto;
  right: 0;
}

.ssh-hero-model__label--flip::after {
  right: auto;
  left: calc(100% - 3px);
  background: linear-gradient(90deg, rgba(227, 6, 19, .5), transparent);
}

.ssh-hero-model__label--a { top: 16%; right: 6%; }
.ssh-hero-model__label--b { bottom: 24%; left: 0; }
.ssh-hero-model__label--c { top: 30%; left: 4%; }
.ssh-hero-model__label--d { top: 12%; left: 22%; }
.ssh-hero-model__label--e { bottom: 16%; right: 10%; }
.ssh-hero-model__label--f { top: 46%; right: 0; }

@keyframes sshLabelFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.ssh-hero-model__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--ssh-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .34);
  pointer-events: none;
}

.ssh-hero-model__caption strong {
  color: rgba(227, 6, 19, .8);
  font-weight: 500;
}

@media (max-width: 1120px) {
  .ssh-hero-model { min-height: clamp(320px, 46vh, 460px); }
  .ssh-hero-model__label--c { display: none; }
}

/* =========================
   MISJA — statement
   ========================= */

.ssh-mission-v2 .ssh-mission-head {
  grid-template-columns: 1fr;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 0;
  margin-bottom: clamp(32px, 3.6vw, 56px);
}

.ssh-mission-v2 .ssh-mission-copy h2 {
  max-width: 900px;
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  line-height: .96;
  letter-spacing: -.045em;
}

.ssh-mission-v2 .ssh-mission-lead {
  max-width: 640px;
  margin-top: 26px;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
  color: rgba(246, 248, 251, .6);
}

/* =========================
   PROOF — dowody bez pudełek
   ========================= */

.ssh-proof {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.5vw, 56px);
  margin: 0 0 clamp(32px, 3.6vw, 52px);
  padding: 0;
  list-style: none;
}

.ssh-proof li {
  position: relative;
  max-width: 300px;
  padding-left: 22px;
  color: rgba(246, 248, 251, .66);
  font-size: .92rem;
  line-height: 1.6;
}

.ssh-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 9px;
  height: 9px;
  background: var(--ssh-red, #e30613);
  box-shadow: 0 0 14px rgba(227, 6, 19, .55);
}

/* =========================
   PROC — proces jako typograficzny indeks
   ========================= */

.ssh-proc {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.ssh-proc__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(90px, .16fr) minmax(0, 1fr) minmax(200px, .34fr);
  gap: clamp(18px, 3.4vw, 52px);
  align-items: start;
  padding: clamp(24px, 3.2vw, 42px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ssh-proc__row::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--ssh-red, #e30613), rgba(227, 6, 19, 0));
  box-shadow: 0 0 16px rgba(227, 6, 19, .5);
  transition: width .7s cubic-bezier(.2, .82, .22, 1);
}

.ssh-proc__row:hover::after { width: 100%; }

.ssh-proc__num {
  font-family: var(--ssh-mono);
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .3);
  transition: -webkit-text-stroke-color .5s ease;
  user-select: none;
}

.ssh-proc__row:hover .ssh-proc__num {
  -webkit-text-stroke-color: rgba(227, 6, 19, .9);
}

.ssh-proc__body h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1;
  letter-spacing: -.035em;
  transition: transform .5s cubic-bezier(.2, .82, .22, 1);
}

.ssh-proc__row:hover .ssh-proc__body h3 { transform: translateX(14px); }

.ssh-proc__body p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(246, 248, 251, .58);
  font-size: .95rem;
  line-height: 1.7;
}

.ssh-proc__tag {
  justify-self: end;
  margin-top: 10px;
  font-family: var(--ssh-mono);
  font-style: normal;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(255, 255, 255, .34);
  transition: color .5s ease;
}

.ssh-proc__row:hover .ssh-proc__tag { color: rgba(255, 255, 255, .62); }

@media (max-width: 820px) {
  .ssh-proc__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ssh-proc__tag {
    justify-self: start;
    text-align: left;
    margin-top: 2px;
  }

  .ssh-proc__row:hover .ssh-proc__body h3 { transform: none; }
}

/* =========================
   REVEAL — wejścia sekcji przy scrollu
   ========================= */

@keyframes sshPremiumReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 38px, 0);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.ssh-mission-v2.is-reveal-ready .ssh-proof,
.ssh-mission-v2.is-reveal-ready .ssh-proc__row,
.ssh-coverage.is-reveal-ready .ssh-coverage-copy > *,
.ssh-coverage.is-reveal-ready .ssh-coverage-visual,
.ssh-partners.is-reveal-ready .ssh-partners__head > *,
.ssh-partners.is-reveal-ready .ssh-logo-carousel {
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  filter: blur(10px);
  will-change: opacity, transform, filter;
}

.ssh-mission-v2.is-reveal-ready.is-revealed .ssh-proof,
.ssh-mission-v2.is-reveal-ready.is-revealed .ssh-proc__row,
.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-copy > *,
.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-visual,
.ssh-partners.is-reveal-ready.is-revealed .ssh-partners__head > *,
.ssh-partners.is-reveal-ready.is-revealed .ssh-logo-carousel {
  animation: sshPremiumReveal 1.05s cubic-bezier(.2, .82, .22, 1) both;
}

.ssh-mission-v2.is-reveal-ready.is-revealed .ssh-proof { animation-delay: .3s; }
.ssh-mission-v2.is-reveal-ready.is-revealed .ssh-proc__row:nth-child(1) { animation-delay: .45s; }
.ssh-mission-v2.is-reveal-ready.is-revealed .ssh-proc__row:nth-child(2) { animation-delay: .62s; }
.ssh-mission-v2.is-reveal-ready.is-revealed .ssh-proc__row:nth-child(3) { animation-delay: .8s; }

.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-copy > :nth-child(1) { animation-delay: .04s; }
.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-copy > :nth-child(2) { animation-delay: .12s; }
.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-copy > :nth-child(3) { animation-delay: .20s; }
.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-copy > :nth-child(4) { animation-delay: .28s; }
.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-copy > :nth-child(5) { animation-delay: .36s; }
.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-copy > :nth-child(6) { animation-delay: .44s; }
.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-copy > :nth-child(7) { animation-delay: .52s; }
.ssh-coverage.is-reveal-ready.is-revealed .ssh-coverage-visual { animation-delay: .30s; }

.ssh-partners.is-reveal-ready.is-revealed .ssh-partners__head > :nth-child(1) { animation-delay: .04s; }
.ssh-partners.is-reveal-ready.is-revealed .ssh-partners__head > :nth-child(2) { animation-delay: .16s; }
.ssh-partners.is-reveal-ready.is-revealed .ssh-logo-carousel { animation-delay: .30s; }

/* =========================
   MOBILE — korekty
   ========================= */

@media (max-width: 900px) {
  .ssh-hero-copy h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .ssh-mission-v2 .ssh-mission-head { min-height: 0; }

  .ssh-mission-v2 .ssh-mission-copy h2 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .ssh-coverage-copy h2,
  .ssh-partners h2 {
    font-size: clamp(2rem, 8.5vw, 2.9rem);
  }
}

/* =========================
   INTRO SKIP — przycisk pominięcia
   ========================= */

.ssh-intro-skip {
  appearance: none;
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3.4vh, 38px);
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ssh-intro-skip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.ssh-model-stage.is-exploding .ssh-intro-skip,
.ssh-model-stage.is-analysis-done .ssh-intro-skip {
  opacity: 0;
  pointer-events: none;
}

/* =========================
   PARTNERZY — niższe karty, mniej pustki, pełne loga
   ========================= */

.ssh-logo-card {
  height: clamp(92px, 8.5vw, 116px) !important;
  flex-basis: clamp(160px, 15vw, 210px) !important;
  padding: clamp(14px, 1.4vw, 20px) !important;
  border-radius: 14px !important;
}

.ssh-logo-carousel__viewport {
  /* Delikatniejsze wygaszanie krawędzi — loga nie wyglądają na ucięte. */
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent) !important;
  padding-block: 16px !important;
}

.ssh-partners__head {
  margin-bottom: clamp(28px, 3.5vw, 44px) !important;
}

/* =========================
   COVERAGE — bez pudełek
   ========================= */

.ssh-coverage-metrics div {
  min-height: 0 !important;
  padding: 6px 0 6px 20px !important;
  border: none !important;
  border-left: 2px solid rgba(227, 6, 19, .75) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ssh-coverage-note {
  padding: 16px 0 0 !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, .14) !important;
  border-left: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Miasta: czysta typograficzna lista zamiast pigułek. */
.ssh-coverage-cities {
  gap: 10px 22px !important;
}

.ssh-coverage-cities span {
  position: relative;
  padding: 0 0 0 14px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--ssh-mono);
  font-size: .66rem !important;
  font-weight: 500 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .52) !important;
}

.ssh-coverage-cities span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: rgba(227, 6, 19, .7);
}

.ssh-coverage-cities span:first-child {
  color: #fff !important;
}

/* =========================
   GŁĘBIA — konturowe słowa w tle sekcji (parallax)
   ========================= */

.ssh-mission-v2,
.ssh-coverage,
.ssh-partners {
  position: relative;
  overflow: hidden;
}

.ssh-mission-inner,
.ssh-coverage-inner,
.ssh-partners__head,
.ssh-logo-carousel {
  position: relative;
  z-index: 1;
}

.ssh-bgword {
  position: absolute;
  right: -2%;
  top: 6%;
  z-index: 0;
  font-family: var(--ssh-mono);
  font-size: clamp(4.5rem, 11vw, 12rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.ssh-coverage .ssh-bgword {
  right: auto;
  left: -3%;
  top: auto;
  bottom: 8%;
}

/* =========================
   PROGRESS BAR SCROLLA
   ========================= */

.ssh-scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ssh-red, #e30613), #ff3945);
  box-shadow: 0 0 12px rgba(227, 6, 19, .5);
  pointer-events: none;
}

/* =========================
   CUSTOM KURSOR HUD (desktop)
   ========================= */

@media (hover: hover) and (pointer: fine) {
  .ssh-cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 300;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    pointer-events: none;
    transition: transform .18s cubic-bezier(.2, .82, .22, 1), opacity .25s ease;
  }

  .ssh-cursor::before,
  .ssh-cursor::after {
    content: "";
    position: absolute;
    background: rgba(227, 6, 19, .9);
  }

  /* Krzyżyk-celownik */
  .ssh-cursor::before {
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 1px;
    transform: translateX(-50%);
  }

  .ssh-cursor::after {
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1px;
    transform: translateY(-50%);
  }

  .ssh-cursor__ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    transition: transform .3s cubic-bezier(.2, .82, .22, 1), border-color .3s ease;
  }

  .ssh-cursor.is-hover .ssh-cursor__ring {
    transform: scale(1.7);
    border-color: rgba(227, 6, 19, .8);
  }

  .ssh-cursor.is-hidden {
    opacity: 0;
  }

  /* Chowamy systemowy kursor — poza polami tekstowymi. */
  html.is-custom-cursor,
  html.is-custom-cursor * {
    cursor: none !important;
  }

  html.is-custom-cursor input,
  html.is-custom-cursor textarea,
  html.is-custom-cursor select {
    cursor: text !important;
  }
}

/* =========================
   ODCHUDZENIE TŁA + NORMALNY KURSOR
   Ukryte: dziwne pojedyncze kropki ("floating points") oraz martwe
   dekoracje własnego kursora (aura/ring/cross — nic już nie śledzą).
   Siatka linii i szum tła — ZOSTAJĄ.
   ========================= */
.ssh-floating-points,
.ssh-cursor-aura,
.ssh-cursor-ring,
.ssh-cursor-cross {
  display: none;
}

/* Finalna korekta H1 na wąskich ekranach — po wszystkich starszych regułach. */
@media (max-width: 480px) {
  .ssh-hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 2.65rem);
    line-height: 1;
  }
}

/* =========================
   HERO CTA — SWEEP UIVERSE / PROSTOKĄTNY WARIANT SSH
   ========================= */

.ssh-hero-buttons .ssh-btn-red,
.ssh-hero-buttons .ssh-btn-ghost {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 50px;
  padding-inline: 24px;
  border-radius: 5px;
  border: 1px solid transparent;
  transform: translate3d(0, 0, 0);
  transition:
    transform .26s ease,
    border-color .26s ease,
    box-shadow .26s ease;
}

.ssh-hero-buttons .ssh-btn-red {
  color: #fff;
  background: linear-gradient(135deg, #f01725, #ce0713);
  box-shadow: 0 15px 38px rgba(227, 6, 19, .22);
}

.ssh-hero-buttons .ssh-btn-ghost {
  color: rgba(255, 255, 255, .94);
  border-color: rgba(255, 255, 255, .16);
  background: rgba(12, 15, 21, .88);
  box-shadow:
    0 15px 38px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}

.ssh-hero-buttons .ssh-btn-red::before,
.ssh-hero-buttons .ssh-btn-ghost::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -102%;
  top: 50%;
  width: 102%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate3d(0, -50%, 0);
  transition:
    transform .68s cubic-bezier(.22, .75, .2, 1),
    border-radius .68s ease;
  pointer-events: none;
}

.ssh-hero-buttons .ssh-btn-red::before {
  background: #080b10;
}

.ssh-hero-buttons .ssh-btn-ghost::before {
  background: #e30613;
}

.ssh-hero-buttons .ssh-btn-red::after,
.ssh-hero-buttons .ssh-btn-ghost::after {
  content: none;
}

.ssh-hero-buttons .ssh-btn-label,
.ssh-hero-buttons .ssh-btn-arrow {
  position: relative;
  z-index: 1;
  color: inherit;
}

.ssh-hero-buttons .ssh-btn-label {
  transform: none;
}

.ssh-hero-buttons .ssh-btn-arrow {
  transition: transform .28s ease;
}

.ssh-hero-buttons .ssh-btn-red:hover,
.ssh-hero-buttons .ssh-btn-ghost:hover {
  color: #fff;
  transform: translateY(-1px);
}

.ssh-hero-buttons .ssh-btn-red:hover {
  border-color: rgba(255, 255, 255, .12);
  background: linear-gradient(135deg, #f01725, #ce0713);
  box-shadow: 0 18px 44px rgba(227, 6, 19, .27);
}

.ssh-hero-buttons .ssh-btn-ghost:hover {
  border-color: rgba(255, 255, 255, .26);
  background: rgba(12, 15, 21, .88);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.ssh-hero-buttons .ssh-btn-red:hover::before,
.ssh-hero-buttons .ssh-btn-ghost:hover::before {
  opacity: 1;
  border-radius: 0;
  transform: translate3d(100%, -50%, 0);
}

.ssh-hero-buttons .ssh-btn-red:hover .ssh-btn-label,
.ssh-hero-buttons .ssh-btn-ghost:hover .ssh-btn-label {
  transform: none;
}

.ssh-hero-buttons .ssh-btn-red:hover .ssh-btn-arrow,
.ssh-hero-buttons .ssh-btn-ghost:hover .ssh-btn-arrow {
  color: inherit;
  transform: translateX(3px);
}

.ssh-hero-buttons .ssh-btn-red:active,
.ssh-hero-buttons .ssh-btn-ghost:active {
  transform: translate(3px, 3px);
}

@media (prefers-reduced-motion: reduce) {
  .ssh-hero-buttons .ssh-btn-red::before,
  .ssh-hero-buttons .ssh-btn-ghost::before {
    display: none;
  }
}

/* Krótszy pierwszy widok i czystszy film bez pływających okien HUD. */
.ssh-hero {
  min-height: clamp(620px, calc(86vh - 76px), 900px);
  padding-bottom: clamp(28px, 3vw, 46px);
}

.ssh-hero-model.ssh-hero-video {
  min-height: clamp(390px, 52vh, 560px);
}

@media (max-width: 1120px) {
  .ssh-hero {
    min-height: auto;
  }

  .ssh-hero-model.ssh-hero-video {
    min-height: clamp(320px, 44vh, 440px);
  }
}

@media (max-width: 760px) {
  .ssh-hero {
    padding-bottom: 30px;
  }

  .ssh-hero-model.ssh-hero-video {
    min-height: clamp(260px, 62vw, 320px);
  }
}

/* Płynniejsze wejście panelu wideo. */
body.is-site-visible .ssh-hero-model.ssh-hero-video {
  animation: sshHeroVideoPanelIn 1.75s cubic-bezier(.16, 1, .3, 1) backwards;
  animation-delay: .92s;
}

@keyframes sshHeroVideoPanelIn {
  0% {
    opacity: 0;
    transform: translate3d(42px, 20px, 0) scale(.965);
    filter: blur(12px);
  }
  58% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

/* Sieć punktów w pozostałych sekcjach — spokojniejsza niż w hero. */
.ssh-section-network {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .78;
  pointer-events: none;
  mix-blend-mode: screen;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .78), #000 46%, rgba(0, 0, 0, .94) 78%, transparent 100%);
}

.ssh-mission-viewport .ssh-section-network {
  opacity: .78;
}

/* Coverage: bardziej spójny panel danych i lżejsza rama mapy. */
.ssh-coverage-inner {
  align-items: stretch;
}

.ssh-coverage-copy {
  position: relative;
  align-self: center;
  padding: clamp(24px, 2.8vw, 40px) clamp(22px, 2.6vw, 36px);
  border-left: 1px solid rgba(227, 6, 19, .48);
  background:
    linear-gradient(90deg, rgba(227, 6, 19, .055), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .006));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.ssh-coverage-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(110px, 34%, 190px);
  height: 1px;
  background: linear-gradient(90deg, #e30613, rgba(227, 6, 19, 0));
  box-shadow: 0 0 16px rgba(227, 6, 19, .28);
}

.ssh-coverage-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ssh-coverage-visual-top {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.ssh-coverage-visual-top::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 6, 19, .62), rgba(255, 255, 255, .12) 48%, transparent);
}

.ssh-coverage-map-wrap {
  padding: 7px !important;
  border-radius: 18px !important;
  border-color: rgba(255, 255, 255, .16) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(227, 6, 19, .16), transparent 32%),
    rgba(7, 11, 17, .86) !important;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, .36),
    0 0 42px rgba(227, 6, 19, .055),
    inset 0 1px 0 rgba(255, 255, 255, .07) !important;
}

.ssh-live-map {
  border-radius: 13px;
}

.ssh-coverage-legend {
  margin-top: 12px !important;
  padding: 13px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.ssh-coverage.is-hub-pulse-active .ssh-coverage-legend div:first-child i {
  animation: sshCoverageLegendPulse 1.65s cubic-bezier(.2, .72, .25, 1) both;
}

@keyframes sshCoverageLegendPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(227, 6, 19, .68);
  }
  55% {
    transform: scale(1.45);
    box-shadow: 0 0 0 13px rgba(227, 6, 19, 0), 0 0 24px rgba(227, 6, 19, .82);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 14px rgba(227, 6, 19, .72);
  }
}

@media (max-width: 1120px) {
  .ssh-coverage-copy {
    padding: 24px 22px;
  }
}

@media (max-width: 720px) {
  .ssh-coverage-copy {
    padding: 22px 18px;
  }
}

.ssh-mission-inner,
.ssh-coverage-inner,
.ssh-partners__head,
.ssh-logo-carousel {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .ssh-section-network {
    opacity: .3;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-site-visible .ssh-hero-model.ssh-hero-video {
    animation: none;
  }

  .ssh-section-network {
    opacity: .22;
  }
}

/* Po intro zerowy transform nie może tworzyć kontenera dla sticky. */
body.is-site-visible .ssh-site {
  transform: none;
}

.ssh-hero-build-canvas {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  mix-blend-mode: normal;
  background-color: rgba(7, 10, 15, .22);
  transition: background-color 1.45s cubic-bezier(.16, 1, .3, 1);
}

body.is-hero-scene-revealed .ssh-hero-build-canvas {
  background-color: rgba(7, 10, 15, 0);
}

/* Podczas przygotowania finalnego layoutu intro pozostaje nieruchomą osłoną.
   Dopiero pierwsza narysowana klatka punktów przejmuje samochód. */
body.is-hero-building:not(.is-hero-particles-ready) .ssh-intro {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  pointer-events: none !important;
  transition: none !important;
}

body.is-hero-building.is-hero-particles-ready .ssh-intro {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: opacity 1.45s cubic-bezier(.16, 1, .3, 1), visibility 1.45s ease !important;
}

body.is-hero-building.is-hero-particles-ready.is-hero-scene-revealed .ssh-intro {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.is-hero-building .ssh-model-actions,
body.is-hero-building .ssh-intro-skip {
  transition:
    opacity 1.1s linear,
    transform 1.1s cubic-bezier(.45, 0, .55, 1) !important;
}

body.is-hero-building .ssh-intro-brand,
body.is-hero-building .ssh-intro-hud,
body.is-hero-building .ssh-model-loader,
body.is-hero-building .ssh-model-transfer-label {
  transition:
    opacity 1.05s linear,
    transform 1.05s cubic-bezier(.45, 0, .55, 1) !important;
}

body.is-hero-building.is-hero-particles-ready .ssh-intro-brand,
body.is-hero-building.is-hero-particles-ready .ssh-intro-hud,
body.is-hero-building.is-hero-particles-ready .ssh-model-loader,
body.is-hero-building.is-hero-particles-ready .ssh-model-transfer-label {
  opacity: 0 !important;
  transform: translate3d(0, -7px, 0) !important;
  pointer-events: none !important;
}

body.is-hero-building .ssh-model-canvas {
  transition: opacity .76s linear !important;
}

body.is-hero-particles-ready .ssh-model-canvas {
  opacity: 0 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

body.is-hero-scene-revealed .ssh-model-canvas {
  visibility: hidden !important;
}

/* Podczas składania punktowa wersja jest jedyną widoczną treścią hero.
   Oryginalny DOM pojawia się dopiero przy końcowym przekazaniu. */
body.is-hero-building .ssh-site {
  opacity: 1;
  transform: none;
  transition: none;
}

body.is-hero-building .ssh-header-inner > *,
body.is-hero-building .ssh-hero-copy > *,
body.is-hero-building .ssh-hero-model,
body.is-hero-building .ssh-hud {
  opacity: 0 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
}

body.is-hero-building .ssh-logo::before,
body.is-hero-building .ssh-logo::after,
body.is-hero-building .ssh-logo strong::after,
body.is-hero-building .ssh-nav a::after,
body.is-hero-building .ssh-services-trigger::after,
body.is-hero-building .ssh-kicker::before,
body.is-hero-building .ssh-kicker::after,
body.is-hero-building .ssh-hero-buttons .ssh-btn::before,
body.is-hero-building .ssh-hero-buttons .ssh-btn::after {
  animation: none !important;
  transition: none !important;
}

body.is-hero-building.is-hero-stage-0 .ssh-header-inner > *,
body.is-hero-building.is-hero-stage-1 .ssh-hero-copy > :nth-child(1),
body.is-hero-building.is-hero-stage-1 .ssh-hero-copy > :nth-child(2),
body.is-hero-building.is-hero-stage-1 .ssh-hero-copy > :nth-child(3),
body.is-hero-building.is-hero-stage-2 .ssh-hero-copy > :nth-child(4),
body.is-hero-building.is-hero-stage-3 .ssh-hero-copy > :nth-child(5),
body.is-hero-building.is-hero-stage-4 .ssh-hero-copy > :nth-child(6),
body.is-hero-building.is-hero-stage-5 .ssh-hero-model {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  transition:
    opacity .92s cubic-bezier(.16, 1, .3, 1) !important;
}

@media (max-width: 980px) {
  .ssh-logo {
    top: 38px !important;
    transform: translateY(-50%) !important;
  }
}

body.is-hero-built.is-site-visible .ssh-header-inner > *,
body.is-hero-built.is-site-visible .ssh-hero-copy > *,
body.is-hero-built.is-site-visible .ssh-hero-model {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
}

/* Logo używa transformu do pozycjonowania, nie jako animacji wejścia. */
body.is-hero-building .ssh-logo,
body.is-hero-building.is-hero-stage-0 .ssh-logo,
body.is-hero-built.is-site-visible .ssh-logo {
  transform: translateY(-50%) !important;
}

/* Intro jest osobnym, nieruchomym ekranem. Ani kółko myszy, ani historia
   przeglądarki nie mogą przesunąć dokumentu pod modelem. */
html.ssh-intro-locked,
html.ssh-intro-locked body {
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

html.ssh-intro-locked body {
  position: fixed;
  inset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ssh-hero-build-canvas {
    display: none;
  }
}

/* `hidden` na osi X tworzył dodatkowy kontener przewijania i blokował sticky. */
html,
body.is-site-visible {
  overflow-x: clip;
  overflow-y: visible;
}

/* Inteligentny header: znika przy ruchu w dol i wraca przy ruchu w gore.
   Cienka strefa przy gornej krawedzi pozwala przywolac go kursorem. */
@media (min-width: 981px) and (hover: hover) and (pointer: fine) {
  .ssh-header {
    will-change: transform;
    transition:
      transform .48s cubic-bezier(.22, 1, .36, 1),
      box-shadow .3s ease,
      border-color .3s ease;
  }

  .ssh-header.is-smart-hidden {
    transform: translate3d(0, calc(-100% - 2px), 0);
    box-shadow: none;
  }

  .ssh-header-reveal-zone {
    position: fixed;
    z-index: 21;
    top: 0;
    left: 0;
    width: 100%;
    height: 22px;
    pointer-events: none;
  }

  .ssh-header-reveal-zone::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: rgba(255, 18, 42, .82);
    box-shadow: 0 0 12px rgba(255, 18, 42, .38);
    transform: translateX(-50%);
    transition: width .3s cubic-bezier(.22, 1, .36, 1);
  }

  .ssh-header-reveal-zone.is-active {
    pointer-events: auto;
  }

  .ssh-header-reveal-zone.is-active:hover::after {
    width: min(170px, 28vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-header,
  .ssh-header.is-smart-hidden {
    transform: none !important;
  }

  .ssh-header-reveal-zone {
    display: none;
  }
}

/* Usługi: ta sama głębia techniczna co na stronie głównej, ale w lżejszej
   warstwie o wysokości ekranu zamiast płótna wysokiego na cały artykuł. */
.ssh-services-article-page {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.ssh-services-article-page .ssh-services-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  pointer-events: none;
  opacity: .48;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0 95px, rgba(227, 6, 19, .028) 96px, transparent 97px),
    linear-gradient(0deg, transparent 0 95px, rgba(227, 6, 19, .024) 96px, transparent 97px);
  background-size: 48px 48px, 48px 48px, 192px 192px, 192px 192px;
  mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
}

.ssh-services-ambient {
  position: sticky;
  z-index: 1;
  top: 0;
  width: 100%;
  height: 100vh;
  margin-bottom: -100vh;
  overflow: hidden;
  pointer-events: none;
}

.ssh-services-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 24%, rgba(227, 6, 19, .11), transparent 31%),
    radial-gradient(circle at 16% 72%, rgba(41, 102, 154, .07), transparent 28%);
}

.ssh-services-ambient .ssh-services-network {
  z-index: 0;
  opacity: .68;
  mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0, 0, 0, .94) 58%, transparent 100%);
}

.ssh-services-article-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .ssh-services-article-page .ssh-services-bg {
    opacity: .30;
  }

  .ssh-services-ambient .ssh-services-network {
    opacity: .34;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-services-ambient .ssh-services-network {
    opacity: .22;
  }
}

/* Opinia techniczna: żywy schemat składania raportu w pierwszym ekranie. */
.ssh-opinion-hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(350px, 1.06fr);
  gap: clamp(28px, 3.6vw, 54px);
  align-items: center;
  padding: 8px 0 14px;
}

.ssh-opinion-hero__copy {
  position: relative;
  z-index: 2;
}

.ssh-opinion-hero__copy h1 {
  max-width: 610px;
  font-size: clamp(2.2rem, 3.7vw, 4.35rem);
}

.ssh-opinion-hero__copy .ssh-service-lead-box {
  margin-top: 24px;
  padding: 19px 21px;
}

.ssh-opinion-hero__copy .ssh-service-lead-box p {
  font-size: .9rem;
  line-height: 1.68;
}

.ssh-opinion-builder {
  position: relative;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 6, 19, .14), transparent 34%),
    rgba(5, 9, 14, .72);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .045);
  overflow: hidden;
  transform-style: preserve-3d;
}

.ssh-opinion-builder::before,
.ssh-opinion-builder::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.ssh-opinion-builder::before {
  top: 6px;
  left: 6px;
  border-top: 1px solid rgba(227, 6, 19, .8);
  border-left: 1px solid rgba(227, 6, 19, .8);
}

.ssh-opinion-builder::after {
  right: 6px;
  bottom: 6px;
  border-right: 1px solid rgba(255, 255, 255, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.ssh-opinion-builder__bar {
  min-height: 33px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .38);
  font-family: var(--ssh-mono);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.ssh-opinion-builder__bar span {
  color: var(--ssh-red);
}

.ssh-opinion-builder__bar em {
  font-style: normal;
}

.ssh-opinion-builder__sheet {
  position: relative;
  padding: clamp(20px, 2.5vw, 29px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .014));
  background-size: 28px 28px, 28px 28px, auto;
}

.ssh-opinion-builder__head {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.ssh-opinion-builder__head > i {
  width: 30px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .22);
  background:
    linear-gradient(rgba(227, 6, 19, .72), rgba(227, 6, 19, .72)) 7px 9px / 15px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .24), rgba(255, 255, 255, .24)) 7px 16px / 12px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .18)) 7px 23px / 15px 1px no-repeat;
  box-shadow: 0 0 20px rgba(227, 6, 19, .09);
}

.ssh-opinion-builder__head strong,
.ssh-opinion-builder__head span {
  display: block;
}

.ssh-opinion-builder__head strong {
  color: #fff;
  font-size: .82rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.ssh-opinion-builder__head span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .38);
  font-family: var(--ssh-mono);
  font-size: .52rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ssh-opinion-builder__head b {
  position: relative;
  padding-left: 13px;
  color: rgba(255, 255, 255, .48);
  font-family: var(--ssh-mono);
  font-size: .52rem;
  letter-spacing: .14em;
}

.ssh-opinion-builder__head b::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ssh-red);
  box-shadow: 0 0 12px rgba(227, 6, 19, .78);
  transform: translateY(-50%);
}

.ssh-opinion-builder__progress {
  height: 1px;
  margin: 18px 0 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .075);
}

.ssh-opinion-builder__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--ssh-red), rgba(227, 6, 19, .16));
  box-shadow: 0 0 12px rgba(227, 6, 19, .34);
  transform-origin: left center;
}

.ssh-opinion-builder__stages {
  position: relative;
  display: grid;
}

.ssh-opinion-builder__stages > div {
  position: relative;
  min-height: 60px;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.ssh-opinion-builder__stages > div::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .26);
  transform: translateY(-50%);
}

.ssh-opinion-builder__stages > div > span {
  color: var(--ssh-red);
  font-family: var(--ssh-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.ssh-opinion-builder__stages p,
.ssh-opinion-builder__stages strong,
.ssh-opinion-builder__stages small {
  display: block;
  margin: 0;
}

.ssh-opinion-builder__stages strong {
  color: rgba(255, 255, 255, .88);
  font-size: .74rem;
  line-height: 1.2;
}

.ssh-opinion-builder__stages small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .35);
  font-family: var(--ssh-mono);
  font-size: .49rem;
  line-height: 1.35;
  letter-spacing: .035em;
}

.ssh-opinion-builder__foot {
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--ssh-mono);
  font-size: .5rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ssh-opinion-builder__foot span {
  color: rgba(255, 255, 255, .30);
}

.ssh-opinion-builder__foot strong {
  color: var(--ssh-red);
}

.ssh-opinion-builder__scan {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: -22%;
  width: 18%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, .055), transparent);
  transform: skewX(-8deg);
}

.ssh-opinion-builder.is-building {
  animation: sshOpinionBuilderIn .9s cubic-bezier(.16, 1, .3, 1) both;
}

.ssh-opinion-builder.is-building .ssh-opinion-builder__progress i {
  animation: sshOpinionProgress 2.6s .38s cubic-bezier(.22, 1, .36, 1) both;
}

.ssh-opinion-builder.is-building .ssh-opinion-builder__stages > div {
  animation: sshOpinionStageIn .62s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(.56s + var(--stage) * .38s);
}

.ssh-opinion-builder.is-building .ssh-opinion-builder__stages > div::before {
  animation: sshOpinionStageDot 3.05s ease both;
  animation-delay: calc(.58s + var(--stage) * .38s);
}

.ssh-opinion-builder.is-building .ssh-opinion-builder__foot {
  animation: sshOpinionStageIn .7s 2.05s cubic-bezier(.22, 1, .36, 1) both;
}

.ssh-opinion-builder.is-building .ssh-opinion-builder__scan {
  animation: sshOpinionScan 5.6s 2.25s ease-in-out infinite;
}

@keyframes sshOpinionBuilderIn {
  from {
    opacity: 0;
    transform: translate3d(26px, 16px, 0) rotateY(-3deg) scale(.975);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes sshOpinionProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes sshOpinionStageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sshOpinionStageDot {
  0% {
    border-color: rgba(255, 255, 255, .20);
    background: transparent;
    box-shadow: none;
  }
  18%, 72% {
    border-color: var(--ssh-red);
    background: var(--ssh-red);
    box-shadow: 0 0 0 5px rgba(227, 6, 19, .08), 0 0 14px rgba(227, 6, 19, .54);
  }
  100% {
    border-color: rgba(227, 6, 19, .62);
    background: rgba(227, 6, 19, .72);
    box-shadow: 0 0 9px rgba(227, 6, 19, .35);
  }
}

@keyframes sshOpinionScan {
  0%, 62%, 100% {
    left: -22%;
    opacity: 0;
  }
  7% { opacity: 1; }
  28% {
    left: 106%;
    opacity: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .ssh-opinion-builder {
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), border-color .35s ease, box-shadow .35s ease;
  }

  .ssh-opinion-builder:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 6, 19, .30);
    box-shadow:
      0 34px 92px rgba(0, 0, 0, .40),
      0 0 34px rgba(227, 6, 19, .07),
      inset 0 1px 0 rgba(255, 255, 255, .055);
  }
}

@media (max-width: 940px) {
  .ssh-opinion-hero {
    grid-template-columns: 1fr;
  }

  .ssh-opinion-hero__copy h1 {
    max-width: 760px;
  }

  .ssh-opinion-builder {
    width: min(100%, 620px);
  }
}

@media (max-width: 560px) {
  .ssh-opinion-builder {
    padding: 8px;
    border-radius: 14px;
  }

  .ssh-opinion-builder__sheet {
    padding: 17px 15px;
  }

  .ssh-opinion-builder__bar {
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-opinion-builder,
  .ssh-opinion-builder.is-building,
  .ssh-opinion-builder.is-building .ssh-opinion-builder__progress i,
  .ssh-opinion-builder.is-building .ssh-opinion-builder__stages > div,
  .ssh-opinion-builder.is-building .ssh-opinion-builder__stages > div::before,
  .ssh-opinion-builder.is-building .ssh-opinion-builder__foot,
  .ssh-opinion-builder.is-building .ssh-opinion-builder__scan {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .ssh-opinion-builder.is-building .ssh-opinion-builder__scan {
    opacity: 0;
  }
}

/* Usługi: premium article frame, indeks oraz czytelniejszy raport. */
.ssh-services-article-page .ssh-services-article-inner {
  grid-template-columns: 294px minmax(0, 1fr);
  gap: clamp(26px, 3vw, 46px);
}

.ssh-services-article-page .ssh-services-article-nav {
  counter-reset: ssh-service-index;
  padding: 20px 16px 18px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, .13);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .048), transparent 42%),
    radial-gradient(circle at 0 0, rgba(227, 6, 19, .16), transparent 39%),
    rgba(5, 9, 14, .82);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 255, 255, .055);
  backdrop-filter: blur(18px);
}

.ssh-services-article-page .ssh-services-article-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--ssh-red), rgba(227, 6, 19, 0));
  box-shadow: 0 0 14px rgba(227, 6, 19, .35);
}

.ssh-services-article-page .ssh-services-article-nav__title {
  position: relative;
  padding: 4px 12px 20px 32px;
  color: rgba(255, 255, 255, .92);
  font-family: var(--ssh-mono);
  font-size: .67rem;
  letter-spacing: .22em;
}

.ssh-services-article-page .ssh-services-article-nav__title::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 12px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--ssh-red);
  box-shadow: 0 0 11px rgba(227, 6, 19, .34);
}

.ssh-services-article-page .ssh-services-article-nav button {
  counter-increment: ssh-service-index;
  position: relative;
  min-height: 58px;
  padding: 11px 34px 11px 49px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, .58);
  font-size: .83rem;
  line-height: 1.35;
  transition:
    color .35s ease,
    border-color .35s ease,
    background .35s ease,
    transform .45s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s ease;
}

.ssh-services-article-page .ssh-services-article-nav button::before {
  content: "0" counter(ssh-service-index);
  position: absolute;
  top: 50%;
  left: 14px;
  color: rgba(255, 255, 255, .25);
  font-family: var(--ssh-mono);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  transform: translateY(-50%);
  transition: color .35s ease;
}

.ssh-services-article-page .ssh-services-article-nav button::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--ssh-red);
  font-size: .85rem;
  opacity: 0;
  transform: translate(-8px, -50%);
  transition: opacity .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}

.ssh-services-article-page .ssh-services-article-nav button + button {
  margin-top: 5px;
}

.ssh-services-article-page .ssh-services-article-nav button:hover {
  color: rgba(255, 255, 255, .92);
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
  transform: translateX(3px);
}

.ssh-services-article-page .ssh-services-article-nav button.is-active {
  color: #fff;
  border-color: rgba(227, 6, 19, .26);
  background:
    linear-gradient(90deg, rgba(227, 6, 19, .23), rgba(227, 6, 19, .055)),
    rgba(255, 255, 255, .025);
  box-shadow:
    inset 3px 0 0 var(--ssh-red),
    0 12px 28px rgba(0, 0, 0, .18),
    0 0 22px rgba(227, 6, 19, .055);
  transform: none;
}

.ssh-services-article-page .ssh-services-article-nav button:hover::before,
.ssh-services-article-page .ssh-services-article-nav button.is-active::before {
  color: var(--ssh-red);
}

.ssh-services-article-page .ssh-services-article-nav button:hover::after,
.ssh-services-article-page .ssh-services-article-nav button.is-active::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.ssh-service-view[data-service-view="opinia-techniczna"] .ssh-service-article-document {
  padding: clamp(34px, 3.4vw, 50px);
  border-color: rgba(255, 255, 255, .13);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    radial-gradient(circle at 94% 7%, rgba(227, 6, 19, .13), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .013) 46%),
    rgba(6, 10, 15, .78);
  background-size: 64px 64px, auto, auto, auto;
  box-shadow:
    0 30px 84px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .055);
  backdrop-filter: blur(12px);
}

.ssh-service-view[data-service-view="opinia-techniczna"] .ssh-service-article-document::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: clamp(34px, 3.4vw, 50px);
  width: min(210px, 30%);
  height: 1px;
  background: linear-gradient(90deg, var(--ssh-red), transparent);
  box-shadow: 0 0 15px rgba(227, 6, 19, .42);
}

.ssh-service-view[data-service-view="opinia-techniczna"] .ssh-service-article-document > * {
  position: relative;
  z-index: 1;
}

.ssh-breadcrumb a {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  transition: color .3s ease;
}

.ssh-breadcrumb a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ssh-red);
  box-shadow: 0 0 7px rgba(227, 6, 19, .4);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .48s cubic-bezier(.22, 1, .36, 1);
}

.ssh-breadcrumb a:hover::after,
.ssh-breadcrumb a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.ssh-opinion-hero {
  grid-template-columns: minmax(285px, .84fr) minmax(410px, 1.16fr);
  gap: clamp(25px, 3vw, 42px);
  align-items: stretch;
  padding-top: 5px;
}

.ssh-opinion-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 14px;
}

.ssh-opinion-hero__copy h1 {
  font-size: clamp(2.35rem, 3.4vw, 4.15rem);
  line-height: .98;
}

.ssh-opinion-hero__copy .ssh-service-lead-box {
  position: relative;
  padding: 22px 23px 22px 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-left: 3px solid var(--ssh-red);
  background:
    linear-gradient(105deg, rgba(227, 6, 19, .12), rgba(255, 255, 255, .025) 70%),
    rgba(4, 8, 13, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.ssh-opinion-hero__copy .ssh-service-lead-box p {
  color: rgba(247, 249, 252, .72);
  font-size: .94rem;
  line-height: 1.72;
}

.ssh-opinion-builder {
  isolation: isolate;
  padding: 10px;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 6, 19, .17), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 45%),
    rgba(3, 7, 12, .91);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(255, 255, 255, .065);
}

.ssh-opinion-builder::before {
  top: 7px;
  left: 7px;
  width: 20px;
  height: 20px;
}

.ssh-opinion-builder::after {
  right: 7px;
  bottom: 7px;
  width: 20px;
  height: 20px;
}

.ssh-opinion-builder__bar {
  min-height: 41px;
  padding: 0 14px;
  font-size: .6rem;
  letter-spacing: .18em;
}

.ssh-opinion-builder__bar em {
  color: rgba(255, 255, 255, .48);
}

.ssh-opinion-builder__sheet {
  padding: clamp(23px, 2.3vw, 31px);
  border-color: rgba(255, 255, 255, .14);
  border-radius: 11px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    radial-gradient(circle at 100% 0%, rgba(227, 6, 19, .075), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .046), rgba(255, 255, 255, .014));
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 16px 45px rgba(0, 0, 0, .22);
}

.ssh-opinion-builder__head {
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  padding-bottom: 21px;
}

.ssh-opinion-builder__head > i {
  width: 36px;
  height: 43px;
  background:
    linear-gradient(rgba(227, 6, 19, .85), rgba(227, 6, 19, .85)) 8px 10px / 18px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .30), rgba(255, 255, 255, .30)) 8px 19px / 14px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)) 8px 28px / 18px 1px no-repeat;
}

.ssh-opinion-builder__head strong {
  font-size: .93rem;
  letter-spacing: -.01em;
}

.ssh-opinion-builder__head span {
  margin-top: 6px;
  color: rgba(255, 255, 255, .46);
  font-size: .55rem;
  line-height: 1.45;
}

.ssh-opinion-builder__head b {
  padding: 7px 10px 7px 20px;
  border: 1px solid rgba(227, 6, 19, .18);
  background: rgba(227, 6, 19, .06);
  color: rgba(255, 255, 255, .68);
  font-size: .54rem;
}

.ssh-opinion-builder__head b::before {
  left: 8px;
  width: 5px;
  height: 5px;
}

.ssh-opinion-builder__progress {
  height: 2px;
  margin: 19px 0 6px;
}

.ssh-opinion-builder__stages {
  padding-left: 17px;
}

.ssh-opinion-builder__stages::before {
  content: "";
  position: absolute;
  top: 31px;
  bottom: 31px;
  left: 20px;
  width: 1px;
  background: linear-gradient(180deg, var(--ssh-red), rgba(227, 6, 19, .12));
  box-shadow: 0 0 10px rgba(227, 6, 19, .18);
}

.ssh-opinion-builder__stages > div {
  min-height: 71px;
  grid-template-columns: 51px minmax(0, 1fr);
  gap: 13px;
  padding-right: 8px;
  border-bottom-color: rgba(255, 255, 255, .075);
}

.ssh-opinion-builder__stages > div::before {
  right: auto;
  left: 0;
  width: 8px;
  height: 8px;
  border: 3px solid #090d12;
  background: var(--ssh-red);
  box-shadow: 0 0 0 1px rgba(227, 6, 19, .7), 0 0 15px rgba(227, 6, 19, .42);
}

.ssh-opinion-builder__stages > div > span {
  padding-left: 15px;
  color: rgba(255, 255, 255, .45);
  font-size: .6rem;
}

.ssh-opinion-builder__stages strong {
  color: rgba(255, 255, 255, .96);
  font-size: .86rem;
  letter-spacing: -.01em;
}

.ssh-opinion-builder__stages small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .48);
  font-size: .55rem;
  line-height: 1.45;
  letter-spacing: .025em;
}

.ssh-opinion-builder__foot {
  padding: 18px 4px 1px;
  font-size: .53rem;
}

.ssh-opinion-builder__foot span {
  color: rgba(255, 255, 255, .42);
}

.ssh-opinion-builder__foot strong {
  padding-left: 15px;
  position: relative;
}

.ssh-opinion-builder__foot strong::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--ssh-red);
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 1120px) {
  .ssh-services-article-page .ssh-services-article-inner {
    grid-template-columns: 1fr;
  }

  .ssh-services-article-page .ssh-services-article-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ssh-opinion-hero {
    grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
  }
}

@media (max-width: 820px) {
  .ssh-opinion-hero {
    grid-template-columns: 1fr;
  }

  .ssh-opinion-builder {
    width: min(100%, 640px);
  }
}

@media (max-width: 560px) {
  .ssh-services-article-page .ssh-services-article-nav {
    padding: 16px 12px;
    grid-template-columns: 1fr;
  }

  .ssh-services-article-page .ssh-services-article-nav button {
    min-height: 52px;
  }

  .ssh-service-view[data-service-view="opinia-techniczna"] .ssh-service-article-document {
    padding: 23px 18px;
  }

  .ssh-breadcrumb {
    margin-bottom: 27px;
  }

  .ssh-opinion-builder__head {
    grid-template-columns: 38px 1fr;
  }

  .ssh-opinion-builder__head b {
    display: none;
  }

  .ssh-opinion-builder__stages {
    padding-left: 10px;
  }

  .ssh-opinion-builder__stages::before {
    left: 13px;
  }

  .ssh-opinion-builder__stages > div {
    grid-template-columns: 45px minmax(0, 1fr);
  }

  .ssh-opinion-builder__foot span {
    display: none;
  }

  .ssh-opinion-builder__foot {
    justify-content: flex-end;
  }
}

/* Opinia techniczna: spokojniejszy panel i modułowa treść dokumentu. */
.ssh-opinion-builder__stages {
  margin-top: 8px;
}

.ssh-opinion-builder__stages > div {
  margin-inline: -8px;
  padding-inline: 8px;
  border-radius: 7px;
  transition: background .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}

.ssh-opinion-details {
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: clamp(24px, 2.8vw, 38px);
  margin-top: clamp(44px, 5vw, 68px);
}

.ssh-opinion-details .ssh-service-article-main {
  counter-reset: ssh-opinion-section;
  gap: 14px;
}

.ssh-opinion-details .ssh-service-article-main > section {
  counter-increment: ssh-opinion-section;
  position: relative;
  padding: 27px 25px 27px 68px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 13px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .037), transparent 44%),
    rgba(3, 7, 12, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition:
    border-color .4s ease,
    background .4s ease,
    transform .5s cubic-bezier(.22, 1, .36, 1),
    box-shadow .4s ease;
}

.ssh-opinion-details .ssh-service-article-main > section::before {
  content: "0" counter(ssh-opinion-section);
  position: absolute;
  top: 29px;
  left: 24px;
  color: var(--ssh-red);
  font-family: var(--ssh-mono);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.ssh-opinion-details .ssh-service-article-main > section::after {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 25px;
  left: 28px;
  width: 1px;
  background: linear-gradient(180deg, rgba(227, 6, 19, .68), rgba(227, 6, 19, .05));
}

.ssh-opinion-details .ssh-service-article-main h2 {
  margin-bottom: 12px;
  font-size: clamp(1.16rem, 1.35vw, 1.48rem);
  letter-spacing: -.03em;
}

.ssh-opinion-details .ssh-service-article-main p {
  color: rgba(246, 248, 251, .65);
  font-size: .91rem;
  line-height: 1.68;
}

.ssh-opinion-details .ssh-service-bullets {
  margin-top: 4px;
  gap: 8px;
}

.ssh-opinion-details .ssh-service-bullets li {
  padding: 8px 12px 8px 27px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 7px;
  background: rgba(255, 255, 255, .018);
  color: rgba(255, 255, 255, .66);
  font-size: .85rem;
  line-height: 1.45;
}

.ssh-opinion-details .ssh-service-bullets li::before {
  left: 12px;
  top: 1.08em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(227, 6, 19, .3);
}

.ssh-opinion-details .ssh-service-inline-panel {
  margin-top: 18px;
  padding: 13px;
  gap: 7px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .018);
}

.ssh-opinion-details .ssh-service-inline-panel strong {
  flex-basis: 100%;
  margin: 0 0 3px;
  color: rgba(255, 255, 255, .48);
  font-family: var(--ssh-mono);
  font-size: .56rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ssh-opinion-details .ssh-service-inline-panel span {
  min-height: 29px;
  border-radius: 5px;
  color: rgba(255, 255, 255, .65);
  font-size: .65rem;
}

.ssh-opinion-details .ssh-service-result-list {
  margin-top: 2px;
  gap: 7px;
}

.ssh-opinion-details .ssh-service-result-list p {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .68);
  transition: color .3s ease, background .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}

.ssh-opinion-details .ssh-service-result-list strong {
  width: 39px;
  font-family: var(--ssh-mono);
  font-size: .65rem;
}

.ssh-opinion-details .ssh-service-article-aside {
  gap: 13px;
}

.ssh-opinion-details .ssh-service-info-card,
.ssh-opinion-details .ssh-service-contact-card {
  position: relative;
  overflow: hidden;
  padding: 23px;
  border-color: rgba(255, 255, 255, .105);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), transparent 52%),
    rgba(3, 7, 12, .54);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}

.ssh-opinion-details .ssh-service-info-card::before,
.ssh-opinion-details .ssh-service-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 68px;
  height: 1px;
  background: linear-gradient(90deg, var(--ssh-red), transparent);
  box-shadow: 0 0 10px rgba(227, 6, 19, .28);
}

.ssh-opinion-details .ssh-service-info-card > span,
.ssh-opinion-details .ssh-service-contact-card > span {
  margin-bottom: 18px;
  font-family: var(--ssh-mono);
  font-size: .58rem;
}

.ssh-opinion-details .ssh-service-info-card dl div {
  padding: 13px 0;
}

.ssh-opinion-details .ssh-service-info-card dt {
  font-family: var(--ssh-mono);
  font-size: .56rem;
}

.ssh-opinion-details .ssh-service-info-card dd {
  font-size: .8rem;
  line-height: 1.48;
}

.ssh-opinion-details .ssh-service-contact-card p {
  color: rgba(255, 255, 255, .60);
  line-height: 1.58;
}

.ssh-opinion-details .ssh-service-contact-card .ssh-service-cta {
  width: 100%;
  justify-content: space-between;
  min-height: 46px;
  border-radius: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .ssh-opinion-builder__stages > div:hover {
    background: linear-gradient(90deg, rgba(227, 6, 19, .055), rgba(255, 255, 255, .018));
    transform: translateX(4px);
  }

  .ssh-opinion-details .ssh-service-article-main > section:hover {
    border-color: rgba(255, 255, 255, .14);
    background:
      linear-gradient(120deg, rgba(227, 6, 19, .045), transparent 46%),
      rgba(5, 9, 14, .55);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .17), inset 0 1px 0 rgba(255, 255, 255, .035);
    transform: translateY(-3px);
  }

  .ssh-opinion-details .ssh-service-result-list p:hover {
    color: rgba(255, 255, 255, .9);
    background: linear-gradient(90deg, rgba(227, 6, 19, .055), transparent);
    transform: translateX(3px);
  }
}

@media (max-width: 1120px) {
  .ssh-opinion-details {
    grid-template-columns: minmax(0, 1fr) 255px;
  }
}

@media (max-width: 820px) {
  .ssh-opinion-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ssh-opinion-details .ssh-service-article-main > section {
    padding: 23px 18px 23px 52px;
  }

  .ssh-opinion-details .ssh-service-article-main > section::before {
    top: 25px;
    left: 17px;
  }

  .ssh-opinion-details .ssh-service-article-main > section::after {
    top: 44px;
    bottom: 21px;
    left: 21px;
  }
}

/* Opinia techniczna: warstwowa teczka sprawy inspirowana Fey Cards. */
.ssh-case-file {
  --case-tilt-x: 0deg;
  --case-tilt-y: 0deg;
  position: relative;
  min-width: 0;
  min-height: 532px;
  display: flex;
  flex-direction: column;
  perspective: 1300px;
  isolation: isolate;
}

.ssh-case-file::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 4% 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(227, 6, 19, .16), rgba(227, 6, 19, .025) 45%, transparent 72%);
  filter: blur(24px);
  opacity: .72;
  transition: opacity .6s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

.ssh-case-file:is(:hover, :focus-within, .is-open)::before {
  opacity: 1;
  transform: scale(1.08);
}

.ssh-case-file__bar,
.ssh-case-file__hint {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ssh-mono);
  text-transform: uppercase;
}

.ssh-case-file__bar {
  min-height: 34px;
  padding: 0 8px;
  color: rgba(255, 255, 255, .38);
  font-size: .54rem;
  letter-spacing: .15em;
}

.ssh-case-file__bar span {
  color: var(--ssh-red);
  font-weight: 800;
}

.ssh-case-file__bar em,
.ssh-case-file__hint i {
  font-style: normal;
}

.ssh-case-file__deck {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 450px;
  transform-style: preserve-3d;
}

.ssh-case-card {
  --closed-x: 0px;
  --closed-y: 0px;
  --closed-r: 0deg;
  --open-x: 0px;
  --open-y: 0px;
  --open-r: 0deg;
  --open-scale: 1;
  position: absolute;
  top: 49%;
  left: 50%;
  width: min(330px, 78%);
  height: 402px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform:
    translate(-50%, -50%)
    translate3d(var(--closed-x), var(--closed-y), 0)
    rotate(var(--closed-r));
  transform-origin: 50% 88%;
  transform-style: preserve-3d;
  transition:
    transform .92s cubic-bezier(.16, 1, .3, 1),
    filter .45s ease;
}

.ssh-case-card--request {
  --closed-x: -14px;
  --closed-y: -17px;
  --closed-r: -4.5deg;
  --open-x: -92px;
  --open-y: -5px;
  --open-r: -8deg;
  --open-scale: .90;
  z-index: 4;
}

.ssh-case-card--photos {
  --closed-x: -6px;
  --closed-y: -8px;
  --closed-r: -2deg;
  --open-x: -31px;
  --open-y: -2px;
  --open-r: -3deg;
  --open-scale: .92;
  z-index: 5;
}

.ssh-case-card--inspection {
  --closed-x: 5px;
  --closed-y: 5px;
  --closed-r: 1.6deg;
  --open-x: 31px;
  --open-y: 2px;
  --open-r: 3deg;
  --open-scale: .94;
  z-index: 6;
}

.ssh-case-card--report {
  --closed-x: 14px;
  --closed-y: 17px;
  --closed-r: 4.2deg;
  --open-x: 92px;
  --open-y: 5px;
  --open-r: 8deg;
  --open-scale: .96;
  z-index: 7;
}

.ssh-case-file:is(:hover, :focus-within, .is-open) .ssh-case-card {
  transform:
    translate(-50%, -50%)
    translate3d(var(--open-x), var(--open-y), 0)
    rotate(var(--open-r))
    scale(var(--open-scale));
}

.ssh-case-card.is-selected {
  z-index: 30;
  filter: drop-shadow(0 32px 35px rgba(0, 0, 0, .32));
}

.ssh-case-card__surface {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  background: #080c11;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .44),
    0 0 0 1px rgba(0, 0, 0, .5),
    inset 0 1px 0 rgba(255, 255, 255, .055);
  transform: rotateX(var(--case-tilt-x)) rotateY(var(--case-tilt-y));
  transform-style: preserve-3d;
  transition:
    transform .55s cubic-bezier(.22, 1, .36, 1),
    border-color .35s ease,
    box-shadow .35s ease;
}

.ssh-case-card.is-selected .ssh-case-card__surface,
.ssh-case-card:focus-visible .ssh-case-card__surface {
  border-color: rgba(227, 6, 19, .38);
  box-shadow:
    0 38px 90px rgba(0, 0, 0, .52),
    0 0 36px rgba(227, 6, 19, .08),
    inset 0 1px 0 rgba(255, 255, 255, .07);
}

.ssh-case-card__surface::before,
.ssh-case-card__surface::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ssh-case-card__surface::before {
  z-index: 10;
  top: 8px;
  left: 8px;
  width: 15px;
  height: 15px;
  border-top: 1px solid var(--ssh-red);
  border-left: 1px solid var(--ssh-red);
  opacity: .86;
}

.ssh-case-card__surface::after {
  z-index: 0;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .055), transparent 24%, transparent 72%, rgba(227, 6, 19, .045));
  opacity: .7;
}

.ssh-case-card__topline,
.ssh-case-card__footer {
  position: relative;
  z-index: 12;
  min-height: 22px;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 8px;
  font-family: var(--ssh-mono);
  font-size: .48rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ssh-case-card__topline {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.ssh-case-card__topline b {
  color: var(--ssh-red);
}

.ssh-case-card__topline em,
.ssh-case-card__topline i,
.ssh-case-card__footer i,
.ssh-case-card__footer b {
  font-style: normal;
}

.ssh-case-card__topline em {
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
}

.ssh-case-card__topline i {
  color: rgba(255, 255, 255, .34);
}

.ssh-case-card__footer {
  grid-template-columns: 1fr auto;
  min-height: 24px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .29);
}

.ssh-case-card__footer b {
  color: rgba(227, 6, 19, .8);
}

.ssh-case-card--request .ssh-case-card__surface {
  color: #11161b;
  border-color: rgba(255, 255, 255, .34);
  background:
    linear-gradient(rgba(24, 31, 37, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 31, 37, .045) 1px, transparent 1px),
    #dad7cf;
  background-size: 25px 25px, 25px 25px, auto;
}

.ssh-case-card--request .ssh-case-card__topline {
  border-bottom-color: rgba(17, 22, 27, .13);
}

.ssh-case-card--request .ssh-case-card__topline em {
  color: rgba(17, 22, 27, .76);
}

.ssh-case-card--request .ssh-case-card__topline i,
.ssh-case-card--request .ssh-case-card__footer {
  color: rgba(17, 22, 27, .45);
}

.ssh-case-card--request .ssh-case-card__footer {
  border-top-color: rgba(17, 22, 27, .12);
}

.ssh-case-request {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 26px 10px 18px;
  display: flex;
  flex-direction: column;
}

.ssh-case-request__status {
  align-self: flex-start;
  padding: 6px 9px;
  border: 1px solid rgba(227, 6, 19, .26);
  background: rgba(227, 6, 19, .07);
  color: #a40b16;
  font-family: var(--ssh-mono);
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.ssh-case-request > strong {
  margin-top: 22px;
  font-size: 1.42rem;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.ssh-case-request > small {
  max-width: 235px;
  margin-top: 10px;
  color: rgba(17, 22, 27, .62);
  font-size: .68rem;
  line-height: 1.55;
}

.ssh-case-request__data {
  margin-top: auto;
  display: grid;
  border-top: 1px solid rgba(17, 22, 27, .14);
}

.ssh-case-request__data > span {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid rgba(17, 22, 27, .11);
}

.ssh-case-request__data i,
.ssh-case-request__data b {
  font-style: normal;
}

.ssh-case-request__data i {
  color: rgba(17, 22, 27, .43);
  font-family: var(--ssh-mono);
  font-size: .5rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ssh-case-request__data b {
  font-size: .67rem;
}

.ssh-case-photos,
.ssh-case-inspection,
.ssh-case-report {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  margin: 12px -5px;
  overflow: hidden;
  border-radius: 9px;
}

.ssh-case-photos {
  display: grid;
  grid-template-columns: 1fr 69px;
  gap: 5px;
  background: #05080b;
}

.ssh-case-photos img,
.ssh-case-inspection__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ssh-case-photos__main {
  filter: saturate(.66) contrast(1.03) brightness(.76);
}

.ssh-case-photos__details {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
}

.ssh-case-photos__details img {
  min-height: 0;
  filter: saturate(.6) contrast(1.06) brightness(.66);
}

.ssh-case-photos::after,
.ssh-case-inspection__shade {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 6, 9, .18) 58%, rgba(3, 6, 9, .94) 100%);
}

.ssh-case-photos__caption,
.ssh-case-inspection__caption {
  position: absolute;
  z-index: 4;
  right: 13px;
  bottom: 13px;
  left: 13px;
  color: #fff;
}

.ssh-case-photos__caption b,
.ssh-case-photos__caption i,
.ssh-case-inspection__caption b,
.ssh-case-inspection__caption i {
  display: block;
  font-style: normal;
}

.ssh-case-photos__caption b,
.ssh-case-inspection__caption b {
  font-size: .79rem;
}

.ssh-case-photos__caption i,
.ssh-case-inspection__caption i {
  margin-top: 5px;
  color: rgba(255, 255, 255, .52);
  font-family: var(--ssh-mono);
  font-size: .47rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ssh-case-inspection {
  background: #06090c;
}

.ssh-case-inspection__photo {
  filter: saturate(.55) contrast(1.05) brightness(.61);
}

.ssh-case-inspection__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, .12), transparent 56%),
    linear-gradient(180deg, transparent 24%, rgba(3, 6, 9, .22) 55%, rgba(3, 6, 9, .96) 100%);
}

.ssh-case-inspection__form {
  position: absolute;
  z-index: 3;
  top: 28px;
  right: 14px;
  width: 105px;
  height: 139px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .27);
  border-radius: 3px;
  background: rgba(225, 220, 210, .92);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .38);
  transform: rotate(5deg);
}

.ssh-case-inspection__form img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 146px;
  height: 198px;
  object-fit: cover;
  opacity: .48;
  filter: grayscale(1) contrast(1.05) blur(1.25px);
  transform: translate(-50%, -50%) rotate(90deg);
}

.ssh-case-inspection__form::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 13, 17, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 13, 17, .08) 1px, transparent 1px),
    rgba(255, 255, 255, .10);
  background-size: 13px 13px;
}

.ssh-case-inspection__form b {
  position: absolute;
  z-index: 3;
  right: 7px;
  bottom: 8px;
  left: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(17, 22, 27, .22);
  color: rgba(17, 22, 27, .72);
  font-family: var(--ssh-mono);
  font-size: .4rem;
  letter-spacing: .09em;
  text-align: center;
}

.ssh-case-report {
  margin-inline: 0;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .02) 1px, transparent 1px),
    radial-gradient(circle at 100% 0, rgba(227, 6, 19, .13), transparent 34%),
    #070b10;
  background-size: 25px 25px, 25px 25px, auto, auto;
}

.ssh-case-report__brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 7px;
}

.ssh-case-report__brand b {
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -.08em;
}

.ssh-case-report__brand b::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 2px;
  background: var(--ssh-red);
}

.ssh-case-report__brand i,
.ssh-case-report__meta {
  font-family: var(--ssh-mono);
  font-style: normal;
  text-transform: uppercase;
}

.ssh-case-report__brand i {
  color: rgba(255, 255, 255, .35);
  font-size: .34rem;
  letter-spacing: .2em;
}

.ssh-case-report__meta {
  margin-top: 25px;
  color: var(--ssh-red);
  font-size: .43rem;
  letter-spacing: .13em;
}

.ssh-case-report > strong {
  margin-top: 9px;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.ssh-case-report__rows {
  margin-top: 20px;
  display: grid;
}

.ssh-case-report__rows > span {
  min-height: 40px;
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.ssh-case-report__rows i,
.ssh-case-report__rows em {
  font-family: var(--ssh-mono);
  font-style: normal;
  text-transform: uppercase;
}

.ssh-case-report__rows i {
  color: var(--ssh-red);
  font-size: .46rem;
}

.ssh-case-report__rows b {
  color: rgba(255, 255, 255, .78);
  font-size: .58rem;
}

.ssh-case-report__rows em {
  color: rgba(255, 255, 255, .34);
  font-size: .38rem;
  letter-spacing: .05em;
}

.ssh-case-report__seal {
  align-self: flex-end;
  margin-top: auto;
  padding: 8px 10px 8px 23px;
  border: 1px solid rgba(227, 6, 19, .32);
  color: var(--ssh-red);
  font-family: var(--ssh-mono);
  font-size: .45rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.ssh-case-report__seal::before {
  content: "✓";
  margin-right: 8px;
}

.ssh-case-file__hint {
  min-height: 32px;
  padding: 0 9px;
  color: rgba(255, 255, 255, .28);
  font-size: .45rem;
  letter-spacing: .11em;
}

.ssh-case-file__hint i {
  color: var(--ssh-red);
  font-size: .72rem;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.ssh-case-file:is(:hover, :focus-within, .is-open) .ssh-case-file__hint i {
  transform: translate(3px, -3px);
}

.ssh-case-file.is-building .ssh-case-card__surface {
  animation: sshCaseCardSurfaceIn .82s cubic-bezier(.16, 1, .3, 1) both;
}

.ssh-case-file.is-building .ssh-case-card:nth-child(2) .ssh-case-card__surface { animation-delay: .10s; }
.ssh-case-file.is-building .ssh-case-card:nth-child(3) .ssh-case-card__surface { animation-delay: .20s; }
.ssh-case-file.is-building .ssh-case-card:nth-child(4) .ssh-case-card__surface { animation-delay: .30s; }

@keyframes sshCaseCardSurfaceIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.95);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .ssh-case-card:hover .ssh-case-card__surface {
    transform: translateY(-8px) rotateX(var(--case-tilt-x)) rotateY(var(--case-tilt-y)) scale(1.025);
    border-color: rgba(255, 255, 255, .27);
  }
}

@media (max-width: 820px) {
  .ssh-case-file {
    width: min(100%, 640px);
    min-height: 515px;
  }

  .ssh-case-card {
    width: min(326px, 76%);
  }
}

@media (max-width: 560px) {
  .ssh-case-file {
    min-height: 470px;
  }

  .ssh-case-file__deck {
    min-height: 405px;
  }

  .ssh-case-card {
    top: 50%;
    width: min(252px, 82%);
    height: 365px;
  }

  .ssh-case-card--request { --open-x: -47px; --open-r: -7deg; --open-scale: .93; }
  .ssh-case-card--photos { --open-x: -16px; --open-r: -2.5deg; --open-scale: .95; }
  .ssh-case-card--inspection { --open-x: 16px; --open-r: 2.5deg; --open-scale: .97; }
  .ssh-case-card--report { --open-x: 47px; --open-r: 7deg; --open-scale: .99; }

  .ssh-case-card__surface {
    padding: 13px;
    border-radius: 13px;
  }

  .ssh-case-request {
    padding: 20px 7px 13px;
  }

  .ssh-case-request > strong {
    margin-top: 17px;
    font-size: 1.16rem;
  }

  .ssh-case-request__data > span {
    padding: 8px 0;
  }

  .ssh-case-report {
    padding: 17px 15px;
  }

  .ssh-case-report__meta {
    margin-top: 17px;
  }

  .ssh-case-report > strong {
    font-size: 1.05rem;
  }

  .ssh-case-report__rows {
    margin-top: 13px;
  }

  .ssh-case-report__rows > span {
    min-height: 36px;
  }

  .ssh-case-file__hint span {
    max-width: 220px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-case-file,
  .ssh-case-file::before,
  .ssh-case-card,
  .ssh-case-card__surface,
  .ssh-case-file.is-building .ssh-case-card__surface,
  .ssh-case-file__hint i {
    animation: none !important;
    transition: none !important;
  }
}

/* Usługi — zwijany indeks inspirowany sidebar Aceternity. */
@media (min-width: 1121px) {
  .ssh-services-article-page .ssh-services-article-inner {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: clamp(24px, 2.8vw, 42px);
    transition: grid-template-columns .72s cubic-bezier(.16, 1, .3, 1);
  }

  .ssh-services-article-page .ssh-services-article-inner.is-sidebar-open {
    grid-template-columns: 294px minmax(0, 1fr);
  }

  .ssh-services-article-page .ssh-services-article-inner:has(> .ssh-services-article-nav:hover),
  .ssh-services-article-page .ssh-services-article-inner:has(> .ssh-services-article-nav.is-keyboard-open) {
    grid-template-columns: 294px minmax(0, 1fr);
  }

  .ssh-services-article-page .ssh-services-article-nav {
    width: 82px;
  }

  .ssh-services-article-page .ssh-services-article-nav:hover,
  .ssh-services-article-page .ssh-services-article-nav.is-keyboard-open,
  .ssh-services-article-page .ssh-services-article-nav.is-expanded {
    width: 294px;
  }
}

/* Kontakt — spokojny kanał operacyjny z własnym tłem i mocniejszym formularzem. */
.ssh-contact-page {
  padding-top: clamp(108px, 8.5vw, 138px);
  background:
    radial-gradient(circle at 84% 9%, rgba(227, 6, 19, .16), transparent 30%),
    radial-gradient(circle at 13% 42%, rgba(20, 64, 92, .16), transparent 34%),
    linear-gradient(122deg, #060b11 0%, #070a0f 52%, #10070b 100%);
  isolation: isolate;
}

.ssh-contact-page::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, .024) 46.08%, transparent 46.16%),
    linear-gradient(115deg, transparent 0 68%, rgba(227, 6, 19, .035) 68.08%, transparent 68.16%);
  pointer-events: none;
}

.ssh-contact-page__network {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .78;
  pointer-events: none;
}

.ssh-contact-page__bg {
  z-index: 1;
  opacity: .23;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .021) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 92%);
}

.ssh-contact-page__inner {
  z-index: 3;
  width: min(1220px, 100%);
}

.ssh-contact-page__breadcrumb {
  margin-bottom: 28px;
}

.ssh-contact-page__hero {
  position: relative;
  max-width: 970px;
  margin-bottom: clamp(36px, 4vw, 52px);
  padding-left: 2px;
}

.ssh-contact-page__hero::after {
  content: "CONTACT / WARSAW / POLAND";
  position: absolute;
  right: -210px;
  bottom: 8px;
  color: rgba(255, 255, 255, .16);
  font-family: var(--ssh-mono);
  font-size: .52rem;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
}

.ssh-contact-page__hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4.35vw, 5.25rem) !important;
  line-height: .94 !important;
}

.ssh-contact-page__hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, .69);
}

.ssh-contact-page__grid--form {
  grid-template-columns: minmax(0, 1fr) minmax(315px, .38fr);
  gap: clamp(26px, 3vw, 38px);
}

.ssh-contact-form-card,
.ssh-contact-page__channel {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, .12);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .015) 1px, transparent 1px),
    radial-gradient(circle at 0% 0%, rgba(227, 6, 19, .12), transparent 31%),
    linear-gradient(155deg, rgba(10, 15, 22, .96), rgba(3, 7, 12, .91));
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow:
    0 30px 82px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .055);
}

.ssh-contact-form-card::before,
.ssh-contact-page__channel::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  width: 27px;
  height: 27px;
  border-top: 1px solid var(--ssh-red);
  border-left: 1px solid var(--ssh-red);
  pointer-events: none;
}

.ssh-contact-form-card::after,
.ssh-contact-page__channel::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  width: 27px;
  height: 27px;
  border-right: 1px solid rgba(255, 255, 255, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  pointer-events: none;
}

.ssh-contact-form-card {
  padding: clamp(29px, 3vw, 42px);
}

.ssh-contact-form-card__head {
  margin-bottom: 24px;
}

.ssh-contact-form-card__head > span,
.ssh-contact-form-hint > span,
.ssh-contact-page__channel-head > span {
  font-family: var(--ssh-mono);
  font-size: .56rem;
  letter-spacing: .17em;
}

.ssh-contact-form-card__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 27px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(1, 5, 10, .48);
}

.ssh-contact-form-card__steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 6, 19, .55), rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
}

.ssh-contact-form-card__steps span {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .48);
  background: #080c12;
  font-size: .66rem;
  font-weight: 800;
  white-space: nowrap;
}

.ssh-contact-form-card__steps i {
  color: var(--ssh-red);
  font-family: var(--ssh-mono);
  font-size: .52rem;
  font-style: normal;
  letter-spacing: .1em;
}

.ssh-contact-form {
  gap: 16px;
}

.ssh-contact-form__row {
  gap: 16px;
}

.ssh-contact-form label {
  position: relative;
  gap: 9px;
}

.ssh-contact-form label > span {
  color: rgba(255, 255, 255, .57);
  font-family: var(--ssh-mono);
  font-size: .58rem;
  letter-spacing: .11em;
}

.ssh-contact-form label::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--ssh-red), transparent 45%);
  opacity: 0;
  transform: scaleX(.2);
  transform-origin: left;
  transition: opacity .28s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

.ssh-contact-form label:focus-within::after {
  opacity: .9;
  transform: scaleX(1);
}

.ssh-contact-form input,
.ssh-contact-form select,
.ssh-contact-form textarea,
.ssh-custom-select__button {
  border-color: rgba(255, 255, 255, .11);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01)),
    rgba(2, 6, 11, .72);
}

.ssh-contact-form input,
.ssh-contact-form select {
  min-height: 52px;
}

.ssh-contact-form textarea {
  min-height: 176px;
}

.ssh-contact-form input:focus,
.ssh-contact-form select:focus,
.ssh-contact-form textarea:focus,
.ssh-custom-select.is-open .ssh-custom-select__button,
.ssh-custom-select__button:focus-visible {
  border-color: rgba(227, 6, 19, .5);
  background-color: rgba(6, 10, 16, .95);
  box-shadow: 0 0 0 2px rgba(227, 6, 19, .08), 0 16px 34px rgba(0, 0, 0, .22);
}

.ssh-custom-select__icon {
  border-radius: 6px;
}

.ssh-contact-form__bottom {
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 6, 19, .1), transparent 38%),
    rgba(2, 6, 11, .62);
}

.ssh-contact-form__bottom .ssh-btn {
  min-height: 52px;
  border-radius: 6px;
}

.ssh-contact-page__channel {
  padding: clamp(27px, 2.5vw, 34px);
}

.ssh-contact-page__channel-head {
  margin-bottom: 23px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ssh-contact-page__channel-head em {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .48);
  font-family: var(--ssh-mono);
  font-size: .55rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ssh-contact-page__channel-head em i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24d268;
  box-shadow: 0 0 0 4px rgba(36, 210, 104, .08), 0 0 13px rgba(36, 210, 104, .5);
}

.ssh-contact-page__data div {
  position: relative;
  padding: 17px 30px 17px 0;
  transition: padding-left .35s ease, background .35s ease;
}

.ssh-contact-page__data div::after {
  content: "↗";
  position: absolute;
  top: 50%;
  right: 2px;
  color: rgba(227, 6, 19, .6);
  font-size: .72rem;
  transform: translateY(-50%);
}

.ssh-contact-page__data div:hover {
  padding-left: 9px;
  background: linear-gradient(90deg, rgba(227, 6, 19, .05), transparent);
}

.ssh-contact-page__tags em {
  border-radius: 6px;
}

.ssh-contact-form-hint li::before {
  width: 5px;
  height: 5px;
  border-radius: 1px;
}

.ssh-contact-page__scope {
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(227, 6, 19, .09), transparent 30%),
    linear-gradient(145deg, rgba(10, 15, 22, .94), rgba(3, 7, 12, .9));
}

.ssh-contact-page__scope ul {
  counter-reset: contact-scope;
}

.ssh-contact-page__scope li {
  counter-increment: contact-scope;
  position: relative;
  padding: 21px 18px 18px 52px;
  border-radius: 10px;
  background: rgba(2, 6, 11, .48);
}

.ssh-contact-page__scope li::before {
  content: "0" counter(contact-scope);
  position: absolute;
  top: 22px;
  left: 17px;
  color: var(--ssh-red);
  font-family: var(--ssh-mono);
  font-size: .56rem;
  letter-spacing: .08em;
}

@media (hover: hover) and (pointer: fine) {
  .ssh-contact-form-card:hover,
  .ssh-contact-page__channel:hover,
  .ssh-contact-page__scope:hover {
    border-color: rgba(227, 6, 19, .22);
  }
}

@media (max-width: 980px) {
  .ssh-contact-page__hero::after {
    display: none;
  }

  .ssh-contact-page__grid--form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ssh-contact-page {
    padding-top: 104px;
  }

  .ssh-contact-form-card__steps {
    grid-template-columns: 1fr;
  }

  .ssh-contact-form-card__steps::before {
    display: none;
  }

  .ssh-contact-form-card__steps span {
    padding-block: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-contact-form label::after,
  .ssh-contact-page__data div {
    transition: none !important;
  }
}

.ssh-services-article-page .ssh-services-article-nav {
  --ssh-nav-indicator-y: 70px;
  --ssh-nav-indicator-height: 58px;
  min-height: 526px;
  padding: 15px 11px 17px;
  overflow: hidden;
  isolation: isolate;
  z-index: 20;
  transition:
    width .72s cubic-bezier(.16, 1, .3, 1),
    border-color .45s ease,
    box-shadow .45s ease;
}

.ssh-services-article-page .ssh-services-article-nav:hover,
.ssh-services-article-page .ssh-services-article-nav.is-keyboard-open,
.ssh-services-article-page .ssh-services-article-nav.is-expanded {
  border-color: rgba(255, 255, 255, .18);
  box-shadow:
    0 34px 84px rgba(0, 0, 0, .44),
    0 0 50px rgba(227, 6, 19, .06),
    inset 0 1px 0 rgba(255, 255, 255, .07);
}

.ssh-services-article-page .ssh-services-article-nav::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 62px;
  bottom: 24px;
  left: 40px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, .13) 8%,
    rgba(255, 255, 255, .05) 82%,
    transparent
  );
  pointer-events: none;
}

.ssh-services-article-page .ssh-services-article-nav__title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 270px;
  height: 48px;
  padding: 0 7px 8px;
  white-space: nowrap;
}

.ssh-services-article-page .ssh-services-article-nav__title::before {
  display: none;
}

.ssh-services-article-nav__brand-icon,
.ssh-services-article-nav__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .5);
  transition:
    color .35s ease,
    transform .55s cubic-bezier(.16, 1, .3, 1),
    filter .35s ease;
}

.ssh-services-article-nav__brand-icon {
  width: 43px;
  height: 34px;
  color: var(--ssh-red);
}

.ssh-services-article-nav__brand-icon svg,
.ssh-services-article-nav__icon svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ssh-services-article-nav__title-label,
.ssh-services-article-nav__count {
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity .28s ease,
    transform .58s cubic-bezier(.16, 1, .3, 1);
}

.ssh-services-article-nav__title-label {
  font-weight: 800;
}

.ssh-services-article-nav__count {
  margin-left: auto;
  padding-right: 7px;
  color: rgba(255, 255, 255, .3);
  font-size: .54rem;
  letter-spacing: .12em;
}

.ssh-services-article-nav:is(:hover, .is-keyboard-open, .is-expanded) .ssh-services-article-nav__title-label,
.ssh-services-article-nav:is(:hover, .is-keyboard-open, .is-expanded) .ssh-services-article-nav__count {
  opacity: 1;
  transform: translateX(0);
  transition-delay: .1s;
}

.ssh-services-article-nav__indicator {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 11px;
  right: 11px;
  height: var(--ssh-nav-indicator-height);
  border: 1px solid rgba(227, 6, 19, .36);
  border-radius: 12px;
  background:
    linear-gradient(100deg, rgba(227, 6, 19, .25), rgba(227, 6, 19, .06) 68%, transparent),
    rgba(255, 255, 255, .025);
  box-shadow:
    inset 3px 0 0 var(--ssh-red),
    0 12px 28px rgba(0, 0, 0, .24),
    0 0 24px rgba(227, 6, 19, .075);
  opacity: 0;
  transform: translateY(var(--ssh-nav-indicator-y));
  transition:
    transform .68s cubic-bezier(.16, 1, .3, 1),
    height .5s cubic-bezier(.16, 1, .3, 1),
    opacity .35s ease,
    border-color .35s ease;
  pointer-events: none;
}

.ssh-services-article-nav.is-indicator-ready .ssh-services-article-nav__indicator {
  opacity: 1;
}

.ssh-services-article-page .ssh-services-article-nav button {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 43px 28px minmax(156px, 1fr) 20px;
  align-items: center;
  width: 270px;
  min-height: 58px;
  padding: 9px 11px 9px 7px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, .56);
  font-size: .83rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
  transition:
    color .35s ease,
    background .35s ease;
}

.ssh-services-article-page .ssh-services-article-nav button::before,
.ssh-services-article-page .ssh-services-article-nav button::after {
  content: none;
  display: none;
}

.ssh-services-article-page .ssh-services-article-nav button:hover,
.ssh-services-article-page .ssh-services-article-nav button.is-active {
  color: #fff;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.ssh-services-article-nav__index {
  color: rgba(255, 255, 255, .24);
  font-family: var(--ssh-mono);
  font-size: .54rem;
  font-weight: 800;
  letter-spacing: .08em;
  opacity: 0;
  transform: translateX(-7px);
  transition:
    color .35s ease,
    opacity .28s ease,
    transform .55s cubic-bezier(.16, 1, .3, 1);
}

.ssh-services-article-nav__label {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.22;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity .28s ease,
    transform .58s cubic-bezier(.16, 1, .3, 1);
}

.ssh-services-article-nav__arrow {
  color: var(--ssh-red);
  font-size: .84rem;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity .3s ease,
    transform .45s cubic-bezier(.16, 1, .3, 1);
}

.ssh-services-article-nav:is(:hover, .is-keyboard-open, .is-expanded) .ssh-services-article-nav__index,
.ssh-services-article-nav:is(:hover, .is-keyboard-open, .is-expanded) .ssh-services-article-nav__label {
  opacity: 1;
  transform: translateX(0);
  transition-delay: .08s;
}

.ssh-services-article-nav button:hover .ssh-services-article-nav__arrow,
.ssh-services-article-nav button.is-active .ssh-services-article-nav__arrow {
  opacity: 1;
  transform: translateX(0);
}

.ssh-services-article-nav button:hover .ssh-services-article-nav__icon,
.ssh-services-article-nav button.is-active .ssh-services-article-nav__icon {
  color: var(--ssh-red);
  filter: drop-shadow(0 0 8px rgba(227, 6, 19, .34));
  transform: scale(1.06);
}

.ssh-services-article-nav button:hover .ssh-services-article-nav__index,
.ssh-services-article-nav button.is-active .ssh-services-article-nav__index {
  color: var(--ssh-red);
}

.ssh-services-article-page .ssh-services-article-nav button:focus,
.ssh-services-article-page .ssh-services-article-nav button:focus-visible {
  outline: none;
}

@media (max-width: 1120px) {
  .ssh-services-article-page .ssh-services-article-nav {
    width: 100%;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .ssh-services-article-page .ssh-services-article-nav::after,
  .ssh-services-article-nav__indicator {
    display: none;
  }

  .ssh-services-article-page .ssh-services-article-nav__title {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ssh-services-article-nav__title-label,
  .ssh-services-article-nav__count,
  .ssh-services-article-nav__index,
  .ssh-services-article-nav__label {
    opacity: 1;
    transform: none;
  }

  .ssh-services-article-page .ssh-services-article-nav button {
    grid-template-columns: 38px 26px minmax(0, 1fr) 18px;
    width: 100%;
    border: 1px solid transparent;
  }

  .ssh-services-article-page .ssh-services-article-nav button:hover,
  .ssh-services-article-page .ssh-services-article-nav button.is-active {
    border-color: rgba(227, 6, 19, .25);
    background: linear-gradient(90deg, rgba(227, 6, 19, .18), rgba(227, 6, 19, .035));
    box-shadow: inset 2px 0 0 var(--ssh-red);
  }
}

@media (max-width: 560px) {
  .ssh-services-article-page .ssh-services-article-nav {
    grid-template-columns: 1fr;
    padding: 13px 11px;
  }

  .ssh-services-article-page .ssh-services-article-nav button {
    grid-template-columns: 38px 25px minmax(0, 1fr) 18px;
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-services-article-page .ssh-services-article-nav,
  .ssh-services-article-nav__indicator,
  .ssh-services-article-nav__title-label,
  .ssh-services-article-nav__count,
  .ssh-services-article-nav__index,
  .ssh-services-article-nav__label,
  .ssh-services-article-nav__arrow,
  .ssh-services-article-nav__icon {
    transition: none !important;
  }
}

/* AC — lekki skan pojazdu zbudowany z modelu punktowego intro. */
.ssh-service-view[data-service-view="ac"] .ssh-service-article-document {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .016) 1px, transparent 1px),
    radial-gradient(circle at 88% 8%, rgba(227, 6, 19, .14), transparent 33%),
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012) 48%),
    rgba(6, 10, 15, .8);
  background-size: 64px 64px, auto, auto, auto;
}

.ssh-ac-hero {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(470px, 1.22fr);
  gap: clamp(30px, 3.7vw, 58px);
  align-items: center;
}

.ssh-ac-hero__copy {
  position: relative;
  z-index: 2;
}

.ssh-ac-hero__copy h1 {
  max-width: 570px;
}

.ssh-ac-hero__copy .ssh-service-lead-box {
  margin-top: clamp(26px, 3.2vw, 42px);
}

.ssh-ac-scan {
  --ac-scan-tilt-x: 0deg;
  --ac-scan-tilt-y: 0deg;
  position: relative;
  min-height: 438px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 72% 44%, rgba(227, 6, 19, .13), transparent 29%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px),
    rgba(3, 7, 12, .72);
  background-size: auto, 28px 28px, 28px 28px, auto;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .055);
  transform: perspective(950px) rotateX(var(--ac-scan-tilt-x)) rotateY(var(--ac-scan-tilt-y));
  transition:
    transform .7s cubic-bezier(.16, 1, .3, 1),
    border-color .4s ease,
    box-shadow .4s ease;
  isolation: isolate;
}

.ssh-ac-scan:hover,
.ssh-ac-scan:focus-within {
  border-color: rgba(227, 6, 19, .25);
  box-shadow:
    0 34px 82px rgba(0, 0, 0, .4),
    0 0 34px rgba(227, 6, 19, .06),
    inset 0 1px 0 rgba(255, 255, 255, .065);
}

.ssh-ac-scan::before,
.ssh-ac-scan::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.ssh-ac-scan::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid var(--ssh-red);
  border-left: 1px solid var(--ssh-red);
}

.ssh-ac-scan::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid rgba(255, 255, 255, .32);
  border-bottom: 1px solid rgba(255, 255, 255, .32);
}

.ssh-ac-scan__bar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 2px 11px 12px;
  color: rgba(255, 255, 255, .35);
  font-family: var(--ssh-mono);
  font-size: .5rem;
  letter-spacing: .18em;
}

.ssh-ac-scan__bar span:first-child {
  color: rgba(227, 6, 19, .85);
}

.ssh-ac-scan__stage {
  position: relative;
  z-index: 2;
  min-height: 300px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.ssh-ac-scan__stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 15% 8% 4%;
  background: radial-gradient(ellipse at 50% 82%, rgba(227, 6, 19, .12), transparent 58%);
  filter: blur(14px);
  pointer-events: none;
}

.ssh-ac-scan__vehicle {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -5px;
  width: 112%;
  height: 102%;
  object-fit: contain;
  opacity: .68;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .42));
  transform: translateX(-50%) scale(.98);
  transition:
    opacity .55s ease,
    filter .55s ease,
    transform .8s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

.ssh-ac-scan:hover .ssh-ac-scan__vehicle,
.ssh-ac-scan:focus-within .ssh-ac-scan__vehicle {
  opacity: .82;
  filter:
    drop-shadow(0 20px 27px rgba(0, 0, 0, .48))
    drop-shadow(0 0 14px rgba(227, 6, 19, .08));
  transform: translateX(-50%) scale(1.005);
}

.ssh-ac-scan__beam {
  position: absolute;
  z-index: 3;
  top: 8%;
  bottom: 8%;
  left: 8%;
  width: 1px;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(227, 6, 19, .85) 18%, rgba(227, 6, 19, .85) 82%, transparent);
  box-shadow:
    0 0 10px rgba(227, 6, 19, .55),
    10px 0 26px rgba(227, 6, 19, .13),
    -10px 0 26px rgba(227, 6, 19, .13);
  pointer-events: none;
}

.ssh-ac-scan.is-scanning .ssh-ac-scan__beam {
  animation: sshAcVehicleScan 3.6s cubic-bezier(.22, .7, .16, 1) both;
}

@keyframes sshAcVehicleScan {
  0% { opacity: 0; transform: translateX(0); }
  12% { opacity: .76; }
  78% { opacity: .6; }
  100% { opacity: 0; transform: translateX(clamp(280px, 34vw, 510px)); }
}

.ssh-ac-zone {
  position: absolute;
  z-index: 5;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  background: rgba(3, 7, 12, .72);
  color: rgba(255, 255, 255, .58);
  font-family: var(--ssh-mono);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    color .3s ease,
    border-color .3s ease,
    background .3s ease,
    box-shadow .35s ease,
    transform .45s cubic-bezier(.16, 1, .3, 1);
}

.ssh-ac-zone span {
  display: block;
  color: rgba(227, 6, 19, .72);
  font-size: .45rem;
  letter-spacing: .12em;
}

.ssh-ac-zone strong {
  display: block;
  margin-top: 2px;
  font-size: .52rem;
  letter-spacing: .08em;
  white-space: nowrap;
}

.ssh-ac-zone:hover,
.ssh-ac-zone:focus-visible,
.ssh-ac-zone.is-active {
  color: #fff;
  border-color: rgba(227, 6, 19, .48);
  background: rgba(46, 5, 11, .78);
  box-shadow:
    inset 2px 0 0 var(--ssh-red),
    0 0 20px rgba(227, 6, 19, .13);
  transform: translateY(-3px);
  outline: none;
}

.ssh-ac-zone--scope { left: 5%; top: 29%; }
.ssh-ac-zone--policy { left: 34%; top: 15%; }
.ssh-ac-zone--repair { right: 22%; top: 45%; }
.ssh-ac-zone--cost { right: 4%; top: 24%; }

.ssh-ac-scan__status {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(120px, .72fr) minmax(190px, 1.28fr);
  gap: 14px;
  align-items: center;
  padding: 13px 10px 2px;
}

.ssh-ac-scan__status > span {
  color: rgba(227, 6, 19, .82);
  font-family: var(--ssh-mono);
  font-size: .46rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ssh-ac-scan__status strong {
  color: rgba(255, 255, 255, .9);
  font-size: .72rem;
}

.ssh-ac-scan__status p {
  margin: 0;
  color: rgba(255, 255, 255, .45);
  font-size: .62rem;
  line-height: 1.42;
}

@media (max-width: 1240px) {
  .ssh-ac-hero {
    grid-template-columns: minmax(260px, .86fr) minmax(410px, 1.14fr);
    gap: 30px;
  }

  .ssh-ac-scan__status {
    grid-template-columns: minmax(115px, .8fr) minmax(180px, 1.2fr);
  }

  .ssh-ac-scan__status > span {
    display: none;
  }
}

@media (max-width: 900px) {
  .ssh-ac-hero {
    grid-template-columns: 1fr;
  }

  .ssh-ac-scan {
    width: min(100%, 680px);
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .ssh-ac-scan {
    min-height: 365px;
    padding: 13px 10px;
    border-radius: 15px;
  }

  .ssh-ac-scan__stage {
    min-height: 250px;
  }

  .ssh-ac-zone {
    min-height: 28px;
    padding: 5px 7px;
  }

  .ssh-ac-zone strong {
    font-size: .46rem;
  }

  .ssh-ac-zone--scope { left: 1%; top: 31%; }
  .ssh-ac-zone--policy { left: 31%; top: 12%; }
  .ssh-ac-zone--repair { right: 19%; top: 48%; }
  .ssh-ac-zone--cost { right: 1%; top: 25%; }

  .ssh-ac-scan__status {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-inline: 6px;
  }

  .ssh-ac-scan__status p {
    font-size: .58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-ac-scan,
  .ssh-ac-scan__vehicle,
  .ssh-ac-zone,
  .ssh-ac-scan.is-scanning .ssh-ac-scan__beam {
    animation: none !important;
    transition: none !important;
  }

  .ssh-ac-scan__beam {
    display: none;
  }
}

/* AC — spokojna rama na prawdziwe zdjęcie lub przyszły materiał wideo. */
.ssh-ac-media {
  position: relative;
  min-height: 438px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(3, 7, 12, .78);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .36),
    inset 0 1px 0 rgba(255, 255, 255, .055);
  transition:
    transform .7s cubic-bezier(.16, 1, .3, 1),
    border-color .4s ease,
    box-shadow .4s ease;
  isolation: isolate;
}

.ssh-ac-media:hover {
  border-color: rgba(227, 6, 19, .25);
  box-shadow:
    0 34px 82px rgba(0, 0, 0, .42),
    0 0 36px rgba(227, 6, 19, .055),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  transform: translateY(-3px);
}

.ssh-ac-media__bar {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .35);
  background: rgba(3, 7, 12, .76);
  font-family: var(--ssh-mono);
  font-size: .5rem;
  letter-spacing: .18em;
  backdrop-filter: blur(12px);
}

.ssh-ac-media__bar span:first-child {
  color: rgba(227, 6, 19, .88);
}

.ssh-ac-media__visual {
  position: absolute;
  inset: 52px 0 0;
  overflow: hidden;
}

.ssh-ac-media__visual :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(.72) contrast(1.04) brightness(.76);
  transform: scale(1.015);
  transition:
    transform 1.15s cubic-bezier(.16, 1, .3, 1),
    filter .8s ease;
}

.ssh-ac-media:hover .ssh-ac-media__visual :is(img, video) {
  filter: saturate(.82) contrast(1.04) brightness(.82);
  transform: scale(1.045);
}

.ssh-ac-media__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 9, .04) 30%, rgba(2, 5, 9, .92) 100%),
    linear-gradient(90deg, rgba(2, 5, 9, .48), transparent 48%),
    radial-gradient(circle at 87% 18%, rgba(227, 6, 19, .14), transparent 36%);
  pointer-events: none;
}

.ssh-ac-media__corner {
  position: absolute;
  z-index: 3;
  width: 27px;
  height: 27px;
  pointer-events: none;
}

.ssh-ac-media__corner--top {
  top: 16px;
  left: 16px;
  border-top: 1px solid var(--ssh-red);
  border-left: 1px solid var(--ssh-red);
}

.ssh-ac-media__corner--bottom {
  right: 16px;
  bottom: 16px;
  border-right: 1px solid rgba(255, 255, 255, .42);
  border-bottom: 1px solid rgba(255, 255, 255, .42);
}

.ssh-ac-media__caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(125px, .65fr) minmax(180px, 1.15fr);
  gap: 7px 22px;
  align-items: end;
  padding: 52px 30px 27px;
}

.ssh-ac-media__caption > span {
  grid-row: 1 / span 2;
  align-self: center;
  padding-left: 13px;
  border-left: 2px solid var(--ssh-red);
  color: rgba(227, 6, 19, .9);
  font-family: var(--ssh-mono);
  font-size: .5rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ssh-ac-media__caption strong {
  color: #fff;
  font-size: clamp(.92rem, 1.25vw, 1.1rem);
  line-height: 1.2;
}

.ssh-ac-media__caption small {
  color: rgba(255, 255, 255, .55);
  font-family: var(--ssh-mono);
  font-size: .56rem;
  letter-spacing: .07em;
}

@media (max-width: 900px) {
  .ssh-ac-media {
    width: min(100%, 680px);
  }
}

@media (max-width: 560px) {
  .ssh-ac-media {
    min-height: 355px;
    border-radius: 15px;
  }

  .ssh-ac-media__bar {
    min-height: 46px;
    padding-inline: 15px;
    font-size: .43rem;
  }

  .ssh-ac-media__visual {
    inset-block-start: 46px;
  }

  .ssh-ac-media__visual :is(img, video) {
    object-position: 46% center;
  }

  .ssh-ac-media__caption {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 62px 18px 21px;
  }

  .ssh-ac-media__caption > span {
    grid-row: auto;
  }

  .ssh-ac-media__caption small {
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-ac-media,
  .ssh-ac-media__visual :is(img, video) {
    transition: none !important;
  }
}

/* Maszyny — wypełnienie pierwszego rzędu bez pustej przestrzeni pod opisem. */
.ssh-machinery-grid {
  margin-top: 34px;
  row-gap: 30px;
}

.ssh-machinery-grid .ssh-service-article-main--top {
  gap: 28px;
}

.ssh-machinery-grid .ssh-service-article-main--wide {
  margin-top: 0;
  gap: 30px;
}

.ssh-machinery-grid .ssh-service-article-aside {
  gap: 14px;
}

@media (max-width: 900px) {
  .ssh-machinery-grid {
    margin-top: 28px;
    row-gap: 26px;
  }
}

/* Ekspertyzy specjalistyczne — interaktywna matryca czterech obszarów. */
.ssh-special-matrix__network {
  --special-x: 50%;
  --special-y: 50%;
  position: relative;
  min-height: 440px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--special-x) var(--special-y), rgba(227, 6, 19, .11), transparent 24%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px),
    rgba(2, 6, 11, .6);
  background-size: auto, 34px 34px, 34px 34px, auto;
  transition: background-position .25s ease;
  isolation: isolate;
}

.ssh-special-matrix__network::before,
.ssh-special-matrix__network::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.ssh-special-matrix__network::before {
  top: 14px;
  left: 14px;
  border-top: 1px solid var(--ssh-red);
  border-left: 1px solid var(--ssh-red);
}

.ssh-special-matrix__network::after {
  right: 14px;
  bottom: 14px;
  border-right: 1px solid rgba(255, 255, 255, .34);
  border-bottom: 1px solid rgba(255, 255, 255, .34);
}

.ssh-special-matrix__lines {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ssh-special-matrix__lines line {
  vector-effect: non-scaling-stroke;
  stroke: rgba(255, 255, 255, .1);
  stroke-width: 1;
  stroke-dasharray: 4 7;
  transition:
    stroke .55s ease,
    stroke-width .55s ease,
    filter .55s ease;
}

.ssh-special-matrix__lines line.is-active {
  stroke: rgba(227, 6, 19, .9);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgba(227, 6, 19, .7));
  animation: sshSpecialSignal 2.2s linear infinite;
}

@keyframes sshSpecialSignal {
  to { stroke-dashoffset: -22; }
}

.ssh-special-node {
  position: absolute;
  z-index: 3;
  width: min(24%, 190px);
  min-height: 76px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  background: rgba(5, 9, 15, .84);
  color: rgba(255, 255, 255, .58);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    transform .55s cubic-bezier(.16, 1, .3, 1),
    color .35s ease,
    border-color .35s ease,
    background .35s ease,
    box-shadow .4s ease;
}

.ssh-special-node span {
  display: block;
  margin-bottom: 7px;
  color: rgba(227, 6, 19, .78);
  font-family: var(--ssh-mono);
  font-size: .54rem;
  letter-spacing: .15em;
}

.ssh-special-node strong {
  display: block;
  color: inherit;
  font-size: .88rem;
}

.ssh-special-node:is(:hover, :focus-visible, .is-active) {
  color: #fff;
  border-color: rgba(227, 6, 19, .48);
  background: rgba(39, 5, 10, .88);
  box-shadow:
    inset 2px 0 0 var(--ssh-red),
    0 12px 30px rgba(0, 0, 0, .3),
    0 0 25px rgba(227, 6, 19, .1);
  transform: translateY(-4px);
  outline: none;
}

.ssh-special-node--cause { top: 11%; left: 7%; }
.ssh-special-node--scope { top: 11%; right: 7%; }
.ssh-special-node--documents { bottom: 11%; left: 7%; }
.ssh-special-node--risk { right: 7%; bottom: 11%; }

.ssh-special-matrix__core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(35%, 270px);
  min-height: 154px;
  padding: 23px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(227, 6, 19, .3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 6, 19, .14), transparent 55%),
    rgba(4, 8, 14, .94);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .055);
  transform: translate(-50%, -50%);
}

.ssh-special-matrix__core > span {
  margin-bottom: 9px;
  color: rgba(227, 6, 19, .9);
  font-family: var(--ssh-mono);
  font-size: .5rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ssh-special-matrix__core strong {
  color: #fff;
  font-size: 1.08rem;
}

.ssh-special-matrix__core p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: .72rem;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .ssh-special-matrix__network {
    min-height: auto;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ssh-special-matrix__lines {
    display: none;
  }

  .ssh-special-matrix__core,
  .ssh-special-node {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .ssh-special-matrix__core {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 138px;
    margin-bottom: 4px;
  }

  .ssh-special-node {
    min-height: 70px;
  }

  .ssh-special-node:is(:hover, :focus-visible, .is-active) {
    transform: translateY(-2px);
  }
}

@media (max-width: 460px) {
  .ssh-special-matrix__network {
    grid-template-columns: 1fr;
  }

  .ssh-special-matrix__core {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssh-special-matrix__lines line.is-active {
    animation: none !important;
  }

  .ssh-special-node {
    transition: none !important;
  }
}

/* Sidebar usług — jeden tor animacji szerokości, bez podwójnego przeliczania panelu. */
@media (min-width: 1121px) {
  .ssh-services-article-page .ssh-services-article-inner {
    transition: grid-template-columns .88s cubic-bezier(.4, 0, .2, 1);
  }

  .ssh-services-article-page .ssh-services-article-inner > .ssh-services-article-nav,
  .ssh-services-article-page .ssh-services-article-inner > .ssh-services-article-nav:hover,
  .ssh-services-article-page .ssh-services-article-inner > .ssh-services-article-nav.is-keyboard-open,
  .ssh-services-article-page .ssh-services-article-inner > .ssh-services-article-nav.is-expanded {
    width: 100%;
    transition:
      border-color .45s ease,
      box-shadow .45s ease;
  }

  .ssh-services-article-content {
    min-width: 0;
    transform: translateZ(0);
  }

  .ssh-service-article-aside,
  .ssh-service-info-card,
  .ssh-service-contact-card {
    min-width: 0;
  }
}
