.footer-dark {
  padding: 48px 0 32px;
  color: #e8eef3;
  background: linear-gradient(180deg, #1a1d21 0%, #12141a 100%);
  border-top: 3px solid rgba(40, 167, 69, 0.5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.footer-dark .container {
  position: relative;
  z-index: 1;
}

/* Sticky footer - scroll to reveal */
.footer-dark.footer-sticky-reveal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.footer-dark.footer-sticky-reveal.revealed {
  transform: translateY(0);
}

/* Spacer so page content doesn't hide behind fixed footer */
body.has-sticky-footer {
  padding-bottom: 360px;
}

/* Mobile/tablet: reduce footer size so it doesn't cover entire viewport */
@media (max-width: 991px) {
  body.has-sticky-footer {
    padding-bottom: 280px;
  }
  .footer-dark.footer-sticky-reveal {
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .footer-dark {
    padding: 24px 0 20px;
  }
  .footer-dark .item:first-child ul {
    column-count: 1;
  }
  .footer-dark h3 {
    margin-bottom: 10px;
    font-size: 12px;
  }
  .footer-dark ul {
    font-size: 13px;
    line-height: 1.5;
  }
  .footer-dark .item.text p {
    font-size: 12px;
  }
  .footer-dark .copyright {
    padding-top: 16px;
    margin-top: 16px;
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  body.has-sticky-footer {
    padding-bottom: 0;
  }
  /* Static footer on mobile - flows normally at bottom instead of fixed */
  .footer-dark.footer-sticky-reveal {
    position: relative;
    transform: none;
    max-height: none;
    overflow: visible;
  }
  .footer-dark.footer-sticky-reveal.revealed {
    transform: none;
  }
  .footer-dark,
  .footer-dark.footer-sticky-reveal {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .footer-dark footer {
    padding-top: 12px !important;
  }
  .footer-dark .item:not(.social) {
    padding-bottom: 12px;
  }
  .footer-social-images a img {
    height: 45px !important;
  }
  .footer-dark .footer-social-images {
    margin-top: 10px !important;
  }
  .footer-dark .item.social {
    margin-top: 12px;
  }
}

.footer-dark h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.95;
}

.footer-dark ul {
  padding: 0;
  list-style: none;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 0;
}

/* Services column: two columns to keep footer compact when many links */
.footer-dark .item:first-child ul {
  column-count: 2;
  column-gap: 24px;
}

.footer-dark ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-dark ul a:hover {
  opacity: 1;
  color: #28a745;
}

.footer-dark ul a.footer-service-request {
  opacity: 1;
  color: #28a745;
  font-weight: 600;
}
.footer-dark ul a.footer-service-request:hover {
  color: #34ce57;
}

@media (max-width:767px) {
  .footer-dark .item:not(.social) {
    text-align: center;
    padding-bottom: 12px;
  }
}

.footer-dark .item.text {
  margin-bottom: 36px;
}

@media (max-width:767px) {
  .footer-dark .item.text {
    margin-bottom: 0;
  }
}

.footer-dark .item.text p {
  opacity: 0.7;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.7;
}

.footer-dark .item.social {
  text-align: center;
}

@media (max-width:991px) {
  .footer-dark .item.social {
    text-align: center;
    margin-top: 24px;
  }
}

.footer-dark .item.social > a {
  font-size: 18px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 6px;
  color: #fff;
  opacity: 0.85;
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.footer-dark .item.social > a:hover {
  background: rgba(40, 167, 69, 0.4);
  transform: translateY(-2px);
  opacity: 1;
}

.footer-dark .footer-social-images a:hover img {
  border-color: rgba(40, 167, 69, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.footer-dark .copyright {
  text-align: center;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.5;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

