/* ===================================
   FOOTER – single shared include, same on all pages
   Higher specificity so it overrides style.css
   =================================== */

.footer-section {
  width: 100%;
  background: #0a0a0a;
  color: #ffffff;
  padding: 4rem 0;
  margin: 0;
}

.footer-section .footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Grid: 1 col mobile, 2 cols tablet, 4 cols desktop */
.footer-section .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .footer-section .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

@media (min-width: 992px) {
  .footer-section .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
  }
}

.footer-section .footer-heading {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-section a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #f87171;
}

.footer-section .footer-tagline {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.85;
  margin-top: 1rem;
  max-width: 18rem;
  white-space: normal;
}

.footer-section .footer-tagline br {
  display: block;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li:last-child {
  margin-bottom: 0;
}

.footer-section ul a {
  display: inline-block;
  font-size: 0.9375rem;
  opacity: 0.85;
}

/* Logo column */
.footer-section .footer-grid > div:first-child {
  text-align: left;
}

.footer-section .footer-grid > div:first-child img {
  height: 5rem;
  width: auto;
  display: block;
}

/* Social links */
.footer-section .social-links-wrap {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.footer-section .social-link {
  font-size: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-section .social-link:hover {
  opacity: 1;
  color: #f87171;
}

/* Bottom bar */
.footer-section .footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

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

.footer-section .footer-bottom p + p {
  margin-top: 0.5rem;
}

/* Responsive: center logo + tagline on small screens, align tagline with logo */
@media (max-width: 599px) {
  .footer-section .footer-grid > div:first-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-section .footer-grid > div:first-child img {
    margin: 0 auto;
  }

  .footer-section .footer-tagline {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 20rem;
  }

  .footer-section .footer-grid > div h3 {
    text-align: center;
  }

  .footer-section .footer-grid > div ul {
    text-align: center;
  }

  .footer-section .social-links-wrap {
    justify-content: center;
  }
}
