.site-footer {
  width: 1280px;
  padding: 0 0 40px;
  text-align: left;
  font-size: 15.5px;
  color: #000;
  font-family: "Reem Kufi";
  box-sizing: border-box;
}
.footer-divider-wrap,
.footer-inner,
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-inner {
  width: 1280px;
  height: 330px;
  box-shadow: 0 0 5px 1px rgba(0, 90, 141, 0.04);
  border-radius: 0 0 10px 10px;
  background-color: #fff;
  padding: 4px 0 40px;
  box-sizing: border-box;
  gap: 54px;
}
.footer-divider-wrap {
  width: 875px;
}
.footer-divider {
  width: 1284px;
  height: 0;
  position: relative;
  border-top: 1px solid #f0f4f5;
  box-sizing: border-box;
  flex-shrink: 0;
}
.footer-content,
.footer-nav {
  flex-direction: column;
}
.footer-content {
  display: flex;
  align-items: center;
  gap: 62px;
}
.footer-nav {
  gap: 63px;
}
.footer-nav,
.footer-nav-top,
.footer-manufacturers {
  display: flex;
  align-items: center;
}
.footer-nav-top {
  width: 1114px;
  gap: 41px;
}
.footer-manufacturers {
  cursor: pointer;
  border: 3px solid #fff;
  padding: 2px 18px 2px 2px;
  background-color: #f3f3f3;
  height: 44px;
  box-shadow: 0.5px 0.8px 2px rgba(0, 0, 0, 0.75);
  border-radius: 41px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-btn-icon-lg {
  align-self: stretch;
  width: 34px;
  flex-shrink: 0;
  position: relative;
  max-height: 100%;
  object-fit: cover;
}
.footer-btn-label {
  position: relative;
  font-size: 15.5px;
  font-weight: 600;
  font-family: "Reem Kufi";
  color: #000;
  white-space: nowrap;
  text-align: left;
  display: inline-block;
}
.footer-commission-a-project {
  cursor: pointer;
  border: 3px solid #fff;
  padding: 2px 18px 2px 2px;
  background-color: #f3f3f3;
  height: 44px;
  box-shadow: 0.5px 0.8px 2px rgba(0, 0, 0, 0.75);
  border-radius: 41px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-btn-label-commission,
.footer-btn-icon-sm {
  position: relative;
  flex-shrink: 0;
}
.footer-btn-icon-sm {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.footer-btn-label-commission {
  font-size: 15.5px;
  font-weight: 600;
  font-family: "Reem Kufi";
  color: #000;
  text-align: left;
  display: inline-block;
  white-space: nowrap;
}
.footer-contact-support {
  cursor: pointer;
  border: 3px solid #fff;
  padding: 2px 18px 2px 2px;
  background-color: #f3f3f3;
  height: 44px;
  box-shadow: 0.5px 0.8px 2px rgba(0, 0, 0, 0.75);
  border-radius: 41px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-btn-icon {
  width: 34px;
  position: relative;
  max-height: 100%;
  object-fit: cover;
}
.footer-btn-label-contact,
.footer-btn-label-howit,
.footer-btn-label-tutorials {
  position: relative;
  font-size: 15.5px;
  font-family: "Reem Kufi";
  color: #000;
  text-align: left;
  display: inline-block;
  white-space: nowrap;
}
.footer-btn-label-contact {
  font-weight: 600;
}
.footer-btn-label-howit,
.footer-btn-label-tutorials {
  font-weight: 500;
}
.footer-nav-links,
.footer-content-policy {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-nav-links {
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-content-policy {
  height: 44px;
  box-shadow: 0.5px 0.8px 2px rgba(0, 0, 0, 0.75);
  border-radius: 41px;
  background-color: #f3f3f3;
  border: 3px solid #fff;
  box-sizing: border-box;
  padding: 10px 18px;
}
.footer-link-terms,
.footer-link-privacy,
.footer-link-label {
  position: relative;
  font-weight: 500;
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
}
.footer-rules {
  cursor: pointer;
  border: 3px solid #fff;
  padding: 10px 18px;
  background-color: #f3f3f3;
  height: 44px;
  box-shadow: 0.5px 0.8px 2px rgba(0, 0, 0, 0.75);
  border-radius: 41px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-rules-label,
.footer-social {
  position: relative;
}
.footer-rules-label {
  font-size: 15.5px;
  font-weight: 500;
  font-family: "Reem Kufi";
  color: #000;
  text-align: left;
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
}
.footer-social {
  width: 181.4px;
  height: 31.9px;
}
.mask {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  height: 100%;
}
.social-item {
  height: 31.9px;
  width: 31.8px;
  position: relative;
}
.social-bg-telegram {
  position: absolute;
  top: 4.8px;
  left: 5.6px;
  background-color: #77b4c0;
  width: 21.5px;
  height: 21.5px;
}
.social-icon-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.social-bg-facebook {
  position: absolute;
  top: 5px;
  left: 3.9px;
  background-color: #0068f0;
  width: 21.5px;
  height: 21.5px;
}
.social-bg-instagram,
.social-bg-youtube {
  position: absolute;
  top: 4.8px;
  left: 5.6px;
  background-color: #d000b1;
  width: 21.5px;
  height: 21.5px;
}
.social-bg-youtube {
  top: 7.2px;
  background-color: #b10000;
}

/* ── Tablet: up to 1280px ───────────────────────────────────────── */
@media screen and (max-width: 1280px) {
  .site-footer,
  .footer-inner {
    width: 100%;
    box-sizing: border-box;
  }
  .footer-divider {
    width: 100%;
  }
  .footer-divider-wrap {
    width: 100%;
  }
  .footer-nav-top {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .footer-inner {
    height: auto;
    padding: 16px;
    gap: 24px;
  }
}

/* ── Tablet: up to 1024px ───────────────────────────────────────── */
@media screen and (max-width: 1024px) {
  .footer-content {
    gap: 24px;
  }
  .footer-nav {
    gap: 24px;
    width: 100%;
  }
  .footer-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* ── Mobile: up to 768px ────────────────────────────────────────── */
@media screen and (max-width: 768px) {
  /* footer */
  .site-footer {
    font-size: 13px;
  }
  .footer-inner {
    padding: 16px 12px;
    gap: 16px;
  }
  .footer-nav-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .footer-manufacturers,
  .footer-commission-a-project,
  .footer-contact-support {
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
  }
  .footer-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .footer-content-policy,
  .footer-rules {
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
  }
  .footer-social {
    width: 100%;
    height: 40px;
  }
  .mask {
    position: relative;
    justify-content: center;
  }
}
