.gt-rebuild-footer {
  --gt-rebuild-footer-bg: #0b1426;
  --gt-rebuild-footer-surface: rgba(255, 255, 255, 0.06);
  --gt-rebuild-footer-text: #ffffff;
  --gt-rebuild-footer-link: #b8c3d3;
  --gt-rebuild-footer-subtle: #9daabd;
  --gt-rebuild-footer-border: rgba(255, 255, 255, 0.12);
  --gt-rebuild-footer-accent: #ff8a2b;
  display: block;
  margin: 0;
  padding: 36px 0 26px;
  overflow: hidden;
  color: #d8e0ec;
  background: var(--gt-rebuild-footer-bg);
}

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

.gt-rebuild-footer__top {
  display: grid;
  grid-template-columns: 190px repeat(4, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.gt-rebuild-footer__logo {
  display: inline-flex;
  width: 148px;
  padding: 10px;
  border-radius: 14px;
  background: var(--gt-rebuild-footer-surface);
}

.gt-rebuild-footer__logo img {
  display: block;
  width: 128px;
  max-width: 128px;
  height: auto;
  object-fit: contain;
}

.gt-rebuild-footer__text-logo {
  display: inline-flex;
  color: var(--gt-rebuild-footer-text);
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.gt-rebuild-footer__title {
  display: block;
  margin: 0 0 12px;
  color: var(--gt-rebuild-footer-text);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.gt-rebuild-footer__links,
.gt-rebuild-footer__contacts {
  display: grid;
  gap: 8px;
}

.gt-rebuild-footer__links a,
.gt-rebuild-footer__legal a,
.gt-rebuild-footer__copy,
.gt-rebuild-footer__social span {
  color: var(--gt-rebuild-footer-link);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
  text-decoration: none;
}

.gt-rebuild-footer__links a:hover,
.gt-rebuild-footer__links a:focus-visible,
.gt-rebuild-footer__legal a:hover,
.gt-rebuild-footer__legal a:focus-visible {
  color: var(--gt-rebuild-footer-text);
  text-decoration: none;
}

.gt-rebuild-footer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #d8e0ec;
  text-decoration: none;
}

.gt-rebuild-footer__contact svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  stroke: var(--gt-rebuild-footer-accent);
}

.gt-rebuild-footer__contact span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.gt-rebuild-footer__contact strong,
.gt-rebuild-footer__contact small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gt-rebuild-footer__contact strong {
  color: var(--gt-rebuild-footer-text);
  font-size: 13px;
  font-weight: 900;
}

.gt-rebuild-footer__contact small {
  color: var(--gt-rebuild-footer-subtle);
  font-size: 12px;
  font-weight: 650;
}

.gt-rebuild-footer__bottom {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 1fr) minmax(260px, 1.1fr);
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--gt-rebuild-footer-border);
}

.gt-rebuild-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gt-rebuild-footer__social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.gt-rebuild-footer__social-list {
  display: flex;
  gap: 8px;
}

.gt-rebuild-footer__social-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.gt-rebuild-footer__social-link:hover,
.gt-rebuild-footer__social-link:focus-visible {
  background: rgba(255, 138, 43, 0.18);
}

.gt-rebuild-footer__social-link img {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
}

@media (max-width: 1199px) {
  .gt-rebuild-footer__top {
    grid-template-columns: 170px repeat(2, minmax(0, 1fr));
  }

  .gt-rebuild-footer__bottom {
    grid-template-columns: 1fr;
  }

  .gt-rebuild-footer__social {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .gt-rebuild-footer {
    padding: 28px 0 22px;
  }

  .gt-rebuild-footer__top {
    grid-template-columns: 1fr;
  }
}
