/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--industrial-blue-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-20) 0 var(--space-6);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-orange) 35%, transparent 35%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border-dark);
}

.footer__brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.footer__brand h3 span {
  color: var(--accent-orange);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 340px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer__col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-orange);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__list a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__list a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer__contact-icon {
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
}

.footer__social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-dark);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer__social:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer logo image */
.footer__logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-4);
  /* The invert filter was removed because it turns JPGs into solid color blocks */
  opacity: 0.9;
  transition: opacity var(--transition-base);
}

.footer__logo-img:hover {
  opacity: 1;
}

.footer__brand a {
  display: inline-block;
}



/* SEO keyword links */
.footer__seo-links {
  padding: var(--space-4) 0;
}

.footer__seo-links p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}
