.footer-main a,
.working-hours a {
  color: #d7dde2;
}

.footer {
  background: #0b1220;
  color: #999;
}

.footer-main {
  padding: 62px 0 48px;
}

.footer-about {
  max-width: 390px;
}

.footer-main > .container > .row {
  align-items: flex-start;
  row-gap: 2.5rem;
}

.footer-logo {
  display: block;
  filter: brightness(0) invert(1);
  height: auto;
  margin-bottom: 20px;
  max-height: 85px;
  max-width: 100px;
  object-fit: contain;
  object-position: left center;
  width: 130px;
}

.footer-logo-link {
  display: block;
  width: max-content;
}

.footer .widget-title {
  border-left: 3px solid var(--mabe-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 30px;
  padding-left: 15px;
  position: relative;
  text-transform: uppercase;
}

.footer-social {
  margin-top: 15px;
}

.footer-social ul {
  list-style: none;
  margin: 0 0 0 -13px;
  padding: 0;
}

.footer-social ul li {
  display: inline-block;
}

.footer-social ul li a i {
  color: #b8c0ca;
  display: block;
  font-size: 16px;
  padding: 10px 13px;
  transition: color 400ms;
}

.footer-social ul li a:hover i {
  color: var(--mabe-accent);
}

.footer-widget ul.list-arrow li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  padding: 10px 0;
}

.footer-widget ul.list-arrow {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget ul.list-arrow li::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-size: 16px;
  font-weight: 700;
  margin-right: 10px;
}

.footer-widget ul.list-arrow li:last-child {
  border-bottom: 0;
}

.footer-widget ul.list-arrow li a,
.footer-widget ul.list-arrow li::before {
  color: #aeb8c4;
}

.footer-widget ul.list-arrow li:hover a,
.footer-widget ul.list-arrow li:hover {
  color: var(--mabe-accent);
}

.working-hours p {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.5;
  margin-bottom: 13px !important;
}

.working-hours {
  padding-right: 10px;
}

.working-hours p i {
  color: var(--mabe-accent);
  flex: 0 0 16px;
  margin-right: 0 !important;
  margin-top: 5px;
  text-align: center;
}

.footer-main a:hover,
.working-hours a:hover {
  color: var(--mabe-accent);
}

.copyright {
  background-color: #060911 !important;
  background-image: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  padding: 22px 0 !important;
  position: relative;
  z-index: 1;
}

.copyright-info {
  color: #8592a3;
  font-size: 13px;
  line-height: 1.6;
}

.copyright-info span {
  color: #94a3b8 !important;
}

.footer-menu ul {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.footer-menu ul li {
  display: inline-flex;
  line-height: 1;
  padding: 0 !important;
}

.footer-menu ul li a {
  color: #94a3b8 !important;
  display: inline-block;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  padding: 4px 2px !important;
  text-decoration: none !important;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-menu ul li a:hover,
.footer-menu ul li a:focus-visible {
  color: var(--mabe-accent) !important;
  transform: translateY(-1px);
}

#back-to-top {
  bottom: 24px !important;
  display: none;
  height: 42px;
  overflow: visible;
  position: fixed !important;
  right: 24px !important;
  width: 42px;
  z-index: 99;
}

#back-to-top .btn.btn-primary {
  align-items: center;
  background: var(--mabe-primary) !important;
  border: 1px solid var(--mabe-primary) !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 16px rgba(17, 24, 32, 0.2) !important;
  color: var(--mabe-white) !important;
  cursor: pointer;
  display: flex !important;
  height: 42px !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, transform 0.2s ease;
  width: 42px !important;
}

#back-to-top .btn.btn-primary:hover,
#back-to-top .btn.btn-primary:focus-visible {
  background: var(--mabe-primary-hover) !important;
  border-color: var(--mabe-primary-hover) !important;
  color: var(--mabe-white) !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 767.98px) {
  #back-to-top {
    bottom: 16px !important;
    height: 36px;
    right: 16px !important;
    width: 36px;
  }

  #back-to-top .btn.btn-primary {
    height: 36px !important;
    width: 36px !important;
  }

  .copyright {
    padding: 22px 0 !important;
    text-align: center;
  }

  .footer-menu ul {
    gap: 8px 16px;
    justify-content: center;
    margin-bottom: 12px;
  }

  .copyright-info {
    text-align: center;
  }
}
