/* ==========================================================================
   File: footer.css
   WETCO Synergies — Footer + Pre-Footer CTA
   ========================================================================== */

/* -----------------------------------------
   1. PRE-FOOTER CTA BAND
----------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy-deep), var(--color-navy) 60%, var(--color-navy-soft));
  border-radius: var(--radius-lg);
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  margin-inline: 24px;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 95% 30%, rgba(108, 201, 14, 0.18), transparent 50%);
}

.cta-band-text {
  position: relative;
  max-width: 560px;
}

.cta-band-text h2 {
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.cta-band-text p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band-actions {
  position: relative;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* -----------------------------------------
   2. MAIN FOOTER
----------------------------------------- */
.site-footer {
  background-color: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 48px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background-color: var(--color-lime);
  color: var(--color-navy-deep);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-lime);
}

.footer-col ul li {
  margin-bottom: 13px;
}

.footer-col ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition-fast);
}

.footer-col ul li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-lime);
  font-size: 0.7rem;
}

.footer-col ul li a:hover {
  color: var(--color-lime);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact li i {
  color: var(--color-lime);
  margin-top: 3px;
  width: 16px;
}

/* Newsletter */
.footer-newsletter {
  margin-top: 20px;
}

.footer-newsletter form {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 13px 16px;
  color: var(--color-text-light);
  font-size: 0.88rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter button {
  background-color: var(--color-lime);
  color: var(--color-navy-deep);
  padding: 0 20px;
  font-size: 1rem;
  transition: background-color var(--transition-fast);
}

.footer-newsletter button:hover {
  background-color: var(--color-lime-dark);
}

/* -----------------------------------------
   3. FOOTER BOTTOM BAR
----------------------------------------- */
.footer-bottom {
  padding-block: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-lime);
}

/* -----------------------------------------
   4. RESPONSIVE
----------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .cta-band {
    padding: 48px 36px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
    margin-inline: 16px;
    padding: 40px 24px;
  }

  .cta-band-actions {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
