/* STAGE055.1 — static homepage footer.
   Exact footer layout extracted from the working internal-page footer.
   Kept separate so internal-page styles do not affect the homepage. */

.ms-footer-exact {
  display: block;
  width: 100%;
  background: #1f1f1f;
  color: #9b9b9b;
}

.ms-footer-rebuilt,
.ms-footer-rebuilt * {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.ms-footer-rebuilt {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 32px 28px;
  color: #9b9b9b;
}

.ms-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
  align-items: start;
}

.ms-footer-col {
  min-width: 0;
}

.ms-footer-title {
  margin: 0 0 18px;
  min-height: 28px;
  color: #fff;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.ms-footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ms-footer-list li,
.ms-footer-list a,
.ms-footer-list span,
.ms-footer-contact a,
.ms-footer-contact span:not(.ms-footer-icon) {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
}

.ms-footer-list a,
.ms-footer-list span,
.ms-footer-bottom a,
.ms-footer-bottom span,
.ms-footer-contact a {
  color: #9b9b9b;
  text-decoration: none;
  transition: color .22s ease, opacity .22s ease;
}

.ms-footer-list a:hover,
.ms-footer-list a:focus-visible,
.ms-footer-bottom a:hover,
.ms-footer-bottom a:focus-visible,
.ms-footer-contact a:hover,
.ms-footer-contact a:focus-visible {
  color: #fff;
  outline: none;
}

.ms-footer-contact-list {
  display: grid;
  gap: 10px;
}

.ms-footer-contact {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 24px;
}

.ms-footer-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-self: center;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 24px;
}

.ms-footer-icon svg {
  display: block;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ms-footer-icon img {
  display: block;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
}

.ms-footer-icon--wa { color: #25b95a; }
.ms-footer-icon--phone { color: #d6a91f; }
.ms-footer-icon--location { color: #55a9d6; }
.ms-footer-icon--email { color: #d85b5b; }

.ms-footer-divider {
  height: 1px;
  margin: 34px 0 22px;
  background: #333;
}

.ms-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding-bottom: 4px;
}

.ms-footer-bottom,
.ms-footer-bottom * {
  font-size: 14px;
  line-height: 21px;
}

.ms-footer-bottom-copy {
  color: #b0b0b0;
}

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

.ms-footer-bottom-dot {
  color: #9b9b9b;
  opacity: .45;
}

@media (max-width: 1199px) {
  .ms-footer-rebuilt {
    padding: 48px 26px 24px;
  }

  .ms-footer-grid {
    gap: 30px;
  }
}

@media (max-width: 959px) {
  .ms-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }
}

@media (max-width: 639px) {
  .ms-footer-rebuilt {
    padding: 34px 20px 28px;
  }

  .ms-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ms-footer-title {
    min-height: 0;
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 26px;
  }

  .ms-footer-list li,
  .ms-footer-list a,
  .ms-footer-list span,
  .ms-footer-contact a,
  .ms-footer-contact span:not(.ms-footer-icon) {
    font-size: 15px;
    line-height: 23px;
  }

  .ms-footer-divider {
    margin: 28px 0 18px;
  }

  .ms-footer-bottom {
    align-items: flex-start;
  }

  .ms-footer-bottom-links {
    gap: 12px 16px;
  }

  .ms-footer-bottom-dot {
    display: none;
  }
}
