.site-footer {
  background-color: #181717;
  color: #fff;
  padding: 60px 0 50px;
  margin-top: auto;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 100px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.footer-copyright p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  color: #fff;
  letter-spacing: 0.3px;
}

.footer-legal-box {
  background-color: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu li {
  margin: 0;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 100px;
}

.footer-logo {
  text-align: center;
}

.footer-logo a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
}

.footer-logo-image {
  max-height: 60px;
  width: auto;
  height: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}

.footer-logo-line-top {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  font-family: serif;
  margin-bottom: 2px;
}

.footer-logo-line-main {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.footer-logo-line-main .footer-logo-accent {
  color: #808080;
}

.footer-logo-line-bottom {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
  flex: 1;
}

.footer-contacts-box {
  background-color: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.6;
  transition: all 0.3s ease;
  padding: 0;
}

.contact-item:hover {
  color: #ffffff;
}

.contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.05);
}

.contact-item span {
  flex: 1;
}

.contact-item-address {
  cursor: default;
  pointer-events: none;
}

.contact-item-address:hover {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1200px) {
  .footer-container {
    gap: 80px;
    padding: 0 30px;
  }
}

@media (max-width: 1024px) {
  .footer-container {
    gap: 60px;
    padding: 0 30px;
  }

  .footer-logo-image {
    max-height: 50px;
    max-width: 180px;
  }
}

@media (max-width: 900px) {
  .footer-container {
    gap: 50px;
    padding: 0 25px;
  }

  .footer-copyright p {
    font-size: 15px;
  }

  .footer-menu a {
    font-size: 15px;
  }

  .contact-item {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
    align-items: center;
  }

  .site-footer {
    padding: 50px 0 40px;
  }

  .footer-left {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    width: 100%;
    align-items: center;
  }

  .footer-center {
    order: -1;
    margin-bottom: 0;
  }

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

  .footer-legal-box {
    align-items: center;
  }

  .footer-menu {
    align-items: center;
  }

  .footer-menu ul {
    align-items: center;
  }

  .contact-items {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
    font-size: 15px;
  }

  .footer-copyright p {
    font-size: 14px;
  }

  .footer-menu a {
    font-size: 14px;
  }

  .footer-logo-image {
    max-height: 45px;
    max-width: 160px;
  }

  .footer-logo-line-top {
    font-size: 16px;
  }

  .footer-logo-line-main {
    font-size: 20px;
  }

  .footer-logo-line-bottom {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 40px 0 30px;
  }

  .footer-container {
    gap: 35px;
    padding: 0 16px;
  }

  .footer-left,
  .footer-right {
    gap: 16px;
  }

  .footer-copyright p {
    font-size: 13px;
  }

  .footer-menu a {
    font-size: 13px;
  }

  .contact-item {
    font-size: 14px;
    gap: 10px;
  }

  .contact-icon {
    width: 18px;
    height: 18px;
  }

  .footer-logo-image {
    max-height: 40px;
    max-width: 140px;
  }

  .footer-logo-line-top {
    font-size: 14px;
  }

  .footer-logo-line-main {
    font-size: 18px;
  }

  .footer-logo-line-bottom {
    font-size: 12px;
  }

  .footer-legal-box,
  .footer-contacts-box {
    padding: 0;
  }
}

@media (max-width: 360px) {
  .site-footer {
    padding: 35px 0 25px;
  }

  .footer-container {
    gap: 30px;
    padding: 0 12px;
  }

  .footer-copyright p {
    font-size: 12px;
  }

  .footer-menu a {
    font-size: 12px;
  }

  .contact-item {
    font-size: 13px;
  }
}
