.hkhs-site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  padding-block: 50px 20px;
  color: #d2c7b8;
  background: #17110b;
  direction: rtl;
  font-family: Vazirmatn, IRANSansX, IRANSans, Tahoma, Arial, sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

.hkhs-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  box-sizing: border-box;
}

.hkhs-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr 1fr;
  gap: clamp(28px, 5vw, 56px);
}

.hkhs-footer-grid * {
  box-sizing: border-box;
}

.hkhs-brand-footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.hkhs-brand-footer img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hkhs-brand-footer span {
  display: grid;
  line-height: 1.3;
}

.hkhs-brand-footer strong {
  font-size: .95rem;
  font-weight: 900;
}

.hkhs-brand-footer small {
  color: #c4b8a8;
  font-size: .72rem;
  margin-top: 3px;
}

.hkhs-footer-brand p {
  max-width: 310px;
  margin: 16px 0 0;
  color: #b7ab9c;
  font-size: .8rem;
  line-height: 1.85;
}

.hkhs-site-footer nav,
.hkhs-footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.hkhs-site-footer h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
}

.hkhs-site-footer nav a,
.hkhs-footer-contact a {
  width: fit-content;
  color: #c4b8a8;
  font-size: .8rem;
  text-decoration: none;
  transition: color .2s ease;
}

.hkhs-site-footer nav a:hover,
.hkhs-footer-contact a:hover {
  color: #f7df9c;
}

.hkhs-footer-contact small {
  max-width: 220px;
  color: #a99b8b;
  font-size: .7rem;
  line-height: 1.75;
}

.hkhs-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #a99b8b;
  font-size: .72rem;
}

.hkhs-enamad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  order: 2;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
}

.hkhs-enamad img {
  width: 56px;
  height: auto;
}

.hkhs-enamad-label {
  color: #c4b8a8;
  font-size: .72rem;
  font-weight: 700;
}

.hkhs-footer-bottom > a:not(.hkhs-enamad) {
  order: 3;
}

.hkhs-footer-bottom > p {
  order: 1;
}

.hkhs-footer-bottom p {
  margin: 0;
}

.hkhs-footer-bottom a {
  color: #aa9e90;
  text-decoration: none;
  cursor: pointer;
}

.hkhs-footer-bottom a:hover {
  color: #f7df9c;
}

@media (max-width: 900px) {
  .hkhs-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .hkhs-footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hkhs-site-footer {
    margin-top: 40px;
    padding-top: 36px;
  }
  .hkhs-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hkhs-footer-brand,
  .hkhs-footer-contact {
    grid-column: 1 / -1;
  }
  .hkhs-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
