@import url('global-header.css?v=20260812-1');

footer.footer-modern {
  border-top: 1px solid #202020;
  background: #050505;
  color: #777;
  padding: 0;
}

.footer-shell {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.footer-main {
  min-height: 190px;
  padding: 48px 0 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 80px;
}

.footer-logo {
  display: block;
  width: 142px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  margin: 12px 0 0;
  color: #777;
  font-size: 11px;
  line-height: 1.6;
  font-style: italic;
}

.footer-content small {
  display: block;
  margin-bottom: 14px;
  color: #777;
  font-size: 9px;
  letter-spacing: .15em;
}

.footer-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-content a,
.footer-legal-row a,
.footer-back {
  color: #aaa;
  font-size: 11px;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-content a:hover,
.footer-legal-row a:hover,
.footer-back:hover {
  color: #d71920;
}

.footer-legal-row {
  min-height: 42px;
  border-top: 1px solid #1d1d1d;
  border-bottom: 1px solid #1d1d1d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-legal-row a {
  color: #666;
  font-size: 9px;
}

.footer-bottom-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #555;
  font-size: 9px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-footer-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.social-footer-links a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #777;
  border-radius: 50%;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.social-footer-links a:hover,
.social-footer-links a:focus-visible {
  color: #fff;
  background: #d71920;
  outline: none;
}

.icon-instagram svg,
.icon-tiktok svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.icon-youtube span {
  position: relative;
  width: 16px;
  height: 11px;
  border-radius: 3px;
  background: currentColor;
}

.icon-youtube span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  border-left: 4px solid #050505;
  border-top: 2.5px solid transparent;
  border-bottom: 2.5px solid transparent;
}

.social-footer-links a:hover.icon-youtube span::after {
  border-left-color: #d71920;
}

.footer-back {
  color: #777;
  white-space: nowrap;
}

.footer-back i {
  width: 25px;
  height: 25px;
  margin-left: 8px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #333;
  border-radius: 50%;
  font-style: normal;
}

@media (max-width: 680px) {
  .footer-shell {
    width: min(100% - 30px, 1180px);
  }

  .footer-main {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 34px;
    padding: 42px 0 38px;
    text-align: center;
  }

  .footer-logo {
    width: 132px;
    margin: auto;
  }

  .footer-content nav,
  .footer-legal-row {
    justify-content: center;
  }

  .footer-legal-row {
    padding: 13px 0;
  }

  .footer-bottom-row {
    padding: 18px 0;
    flex-direction: column;
  }

  .footer-bottom-left {
    flex-direction: column;
    gap: 10px;
  }
}
