/* Kompaktowa stopka — układ jak w referencji nr 2. */
.ssh-footer {
  padding: 42px 0 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #070a0f;
}

.ssh-footer__inner {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.ssh-footer__top {
  min-height: 108px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: 166px auto;
  gap: 18px;
  align-items: center;
  justify-content: start;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ssh-footer__brand {
  position: relative;
  width: 166px;
  height: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.ssh-footer__brand::before,
.ssh-footer__brand::after,
.ssh-footer__brand-corners::before,
.ssh-footer__brand-corners::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: rgba(255,255,255,.82);
  border-style: solid;
}

.ssh-footer__brand::before {
  left: 0;
  top: 0;
  border-width: 3px 0 0 3px;
  border-radius: 5px 0 0;
}

.ssh-footer__brand::after {
  right: 0;
  bottom: 0;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 5px;
}

.ssh-footer__brand-corners::before {
  right: 0;
  top: 0;
  border-width: 3px 3px 0 0;
  border-radius: 0 5px 0 0;
}

.ssh-footer__brand-corners::after {
  left: 0;
  bottom: 0;
  border-width: 0 0 3px 3px;
  border-radius: 0 0 0 5px;
}

.ssh-footer__brand strong {
  font-size: 3.15rem;
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.08em;
}

.ssh-footer__brand > span:last-child {
  margin-top: 12px;
  color: rgba(255,255,255,.62);
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ssh-footer__top > p {
  justify-self: start;
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: .88rem;
  line-height: 1.65;
  text-align: left;
}
.ssh-footer__contact {
  min-height: 58px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ssh-footer__contact a {
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.ssh-footer__contact a:hover {
  color: var(--ssh-red);
}

.ssh-footer__contact span {
  color: rgba(255,255,255,.38);
  font-size: .76rem;
}

.ssh-footer__links {
  min-height: 58px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ssh-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
}

.ssh-footer__nav a {
  color: rgba(255,255,255,.48);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.ssh-footer__nav a:hover {
  color: #fff;
}

.ssh-footer__bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.28);
  font-size: .66rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .ssh-footer {
    padding-top: 34px;
  }

  .ssh-footer__inner {
    width: min(100% - 36px, 1180px);
  }

  .ssh-footer__top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ssh-footer__brand {
    width: 150px;
    height: 86px;
  }

  .ssh-footer__contact,
  .ssh-footer__links {
    padding: 18px 0;
  }

  .ssh-footer__contact,
  .ssh-footer__nav,
  .ssh-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
