:root {
  --hg-footer-bg: #111313;
  --hg-footer-bg-deep: #0c0e0e;
  --hg-footer-line: rgba(255, 255, 255, 0.18);
  --hg-footer-text: #f6f6f3;
  --hg-footer-muted: #b5b8b8;
  --hg-footer-accent: #fdbb12;
}

#footer {
  margin-top: 0;
  color: var(--hg-footer-text);
  background: var(--hg-footer-bg);
}

.hg-footer {
  width: 100%;
  overflow: hidden;
  color: var(--hg-footer-text);
  background: var(--hg-footer-bg-deep);
}

.hg-footer a {
  color: inherit;
}

.hg-footer__trust {
  border-bottom: 1px solid var(--hg-footer-line);
}

.hg-footer__trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 32px;
}

.hg-footer__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hg-footer__trust-item .material-icons {
  color: var(--hg-footer-accent);
  font-size: 27px;
  line-height: 1;
}

.hg-footer__trust-divider {
  width: 1px;
  height: 30px;
  margin: 0 54px;
  background: var(--hg-footer-line);
}

.hg-footer__main-inner {
  display: grid;
  grid-template-columns: minmax(145px, 230px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  width: min(100% - 64px, 1570px);
  min-height: 88px;
  margin: 0 auto;
}

.hg-footer__brand {
  display: inline-flex;
  align-items: center;
  width: min(100%, 172px);
}

.hg-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hg-footer__nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px 38px;
  min-width: 0;
}

.hg-footer.is-enhanced .hg-footer__nav {
  display: flex;
}

.hg-footer__nav a {
  position: relative;
  padding: 10px 0;
  color: #f0f1ef;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 160ms ease;
}

.hg-footer__nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--hg-footer-accent);
  content: '';
  opacity: 0.68;
  transform: scaleX(0.72);
  transform-origin: left;
  transition: opacity 160ms ease, transform 160ms ease;
}

.hg-footer__nav a:hover,
.hg-footer__nav a:focus-visible {
  color: #fff;
}

.hg-footer__nav a:hover::after,
.hg-footer__nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hg-footer__social {
  display: none;
}

.hg-footer.has-social .hg-footer__social {
  display: block;
}

.hg-footer__social ul {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-footer__social li,
.hg-footer__social .block-social ul li {
  width: 38px;
  height: 38px;
  margin: 0;
  overflow: hidden;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px auto;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.hg-footer__social li:hover {
  background-color: rgba(253, 187, 18, 0.12);
  border-color: var(--hg-footer-accent);
}

.hg-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 0;
  text-indent: 0;
  white-space: nowrap;
}

.hg-footer__social a i {
  font-family: "roadthemes-icon";
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

.hg-footer__social .ei-facebook::before { content: '\e93c'; }
.hg-footer__social .ei-twitter::before { content: '\e932'; }
.hg-footer__social .ei-instagram::before { content: '\e934'; }
.hg-footer__social .ei-youtube::before { content: '\e933'; }
.hg-footer__social .ei-whatsapp::before { content: '\e970'; }
.hg-footer__social .ei-tiktok::before { content: '\e9a8'; }
.hg-footer__social .ei-pinterest::before { content: '\e93e'; }
.hg-footer__social .ei-linkedin::before { content: '\e935'; }

.hg-footer__native {
  grid-column: 1 / -1;
  color: var(--hg-footer-muted);
}

.hg-footer.is-enhanced .hg-footer__native {
  display: none;
}

.hg-footer__legal {
  min-height: 34px;
  padding: 7px 24px 10px;
  color: #c9cbca;
  font-size: 12px;
  line-height: 17px;
  text-align: center;
}

.hg-footer__nav a:focus-visible,
.hg-footer__brand:focus-visible,
.hg-footer__social a:focus-visible {
  outline: 2px solid var(--hg-footer-accent);
  outline-offset: 4px;
}

@media (max-width: 1199px) {
  .hg-footer__main-inner {
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 26px;
    width: min(100% - 40px, 1120px);
  }

  .hg-footer__nav {
    gap: 12px 22px;
    flex-wrap: wrap;
  }

  .hg-footer__nav a {
    padding-block: 5px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .hg-footer__trust-inner {
    min-height: 56px;
    padding: 0 18px;
  }

  .hg-footer__trust-item {
    gap: 8px;
    font-size: 12.5px;
  }

  .hg-footer__trust-item .material-icons {
    font-size: 20px;
  }

  .hg-footer__trust-divider {
    height: 22px;
    margin: 0 18px;
  }

  .hg-footer__main-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    width: calc(100% - 36px);
    min-height: 0;
    padding: 18px 0 12px;
  }

  .hg-footer__brand {
    width: 132px;
  }

  .hg-footer__nav,
  .hg-footer.is-enhanced .hg-footer__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 0 16px;
  }

  .hg-footer__nav a {
    padding-block: 4px;
    font-size: 12.5px;
    white-space: normal;
  }

  .hg-footer__social ul {
    gap: 9px;
  }

  .hg-footer__social li,
  .hg-footer__social .block-social ul li {
    width: 32px;
    height: 32px;
  }

  .hg-footer__legal {
    padding: 5px 18px 12px;
  }
}

@media (max-width: 479px) {
  .hg-footer__trust-inner {
    justify-content: space-between;
  }

  .hg-footer__trust-divider {
    margin: 0 10px;
  }

  .hg-footer__main-inner {
    grid-template-columns: 1fr;
  }

  .hg-footer__social {
    grid-row: 2;
  }

  .hg-footer__nav,
  .hg-footer.is-enhanced .hg-footer__nav {
    grid-row: 3;
  }

  .hg-footer__nav a {
    width: calc(50% - 10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hg-footer__nav a,
  .hg-footer__nav a::after,
  .hg-footer__social li {
    transition: none;
  }
}
