/* Site footer (components/footer.js), laid out like the earlier FEED website: a wave over a green world-map
   background, the logo column, the link columns from Website → Menus, contact details, and the copyright bar. */

.fwc-footer {
  position: relative;
  margin-top: 40px;
  color: #ececec;
}

.fwc-footer a { color: inherit; text-decoration: none; }

/* global.css gives every element the design's font, so the earlier site's font is set on each one here */
.fwc-footer,
.fwc-footer * { font-family: 'Roboto', sans-serif; }

/* The wave sits on the page's own background, above the green part */
.fwc-footer-wave {
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: -1px;
}
.fwc-footer-green {
  position: relative;
  overflow: hidden;
  background: #3a8a1c url('../../images/classic/footer-bg.webp') right bottom / cover no-repeat;
}

.fwc-footer-body { position: relative; z-index: 1; padding: 40px 16px 20px; }

.fwc-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px 28px;
  max-width: 1320px;
  margin: 0 auto;
}

.fwc-footer-about p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.fwc-footer-logo { display: inline-block; margin-bottom: 15px; }
.fwc-footer-logo img { width: 120px; height: auto; }

.fwc-newsletter label { display: block; margin-bottom: 8px; color: #fff; font-size: 14px; font-weight: 500; }
.fwc-newsletter-row {
  display: flex;
  max-width: 320px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.fwc-newsletter-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.fwc-newsletter-row input::placeholder { color: rgba(255, 255, 255, .75); }
.fwc-newsletter-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  border: 0;
  background: #fff;
  color: #2f6f12;
  cursor: pointer;
}
.fwc-newsletter-row button:disabled { opacity: .6; }

.fwc-footer-title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}
/* The two short lines under each heading */
.fwc-footer-title::before,
.fwc-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 2px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .25);
}
.fwc-footer-title::before { left: 0; width: 10px; }
.fwc-footer-title::after { left: 14px; width: 30px; }

.fwc-footer-list { margin: 0; padding: 0; list-style: none; }
.fwc-footer-list li { margin-bottom: 6px; font-size: 16px; line-height: 1.6; }
.fwc-footer-list a { color: #ececec; transition: color .2s ease, padding-left .2s ease; }
.fwc-footer-list a:hover { color: #fff; padding-left: 4px; }
.fwc-footer-col:not(.fwc-footer-contact) .fwc-footer-list span { opacity: .6; cursor: default; } /* not linked yet */

.fwc-footer-contact .fwc-footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  color: #f5faff;
}
.fwc-contact-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

/* The plane crossing the footer, as on the earlier site */
.fwc-footer-plane {
  position: absolute;
  bottom: 120px;
  left: -10%;
  width: 80px;
  height: 60px;
  background: url('../../images/classic/plane.png') center / contain no-repeat;
  animation: fwcPlane 30s linear infinite;
  pointer-events: none;
  opacity: .9;
}
@keyframes fwcPlane { from { left: -10%; } to { left: 105%; } }

.fwc-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 15px 16px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.fwc-copyright { margin: 0; color: #f5faff; font-size: 16px; }

.fwc-social { display: flex; align-items: center; gap: 10px; color: #fff; }
.fwc-social a,
.fwc-scroll-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .2s ease;
}
.fwc-social a:hover { background: rgba(255, 255, 255, .22); }
.fwc-scroll-top { margin-left: 8px; background: #fff; color: #2f6f12; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .fwc-footer-plane { animation: none; display: none; }
}

@media (max-width: 991px) {
  .fwc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fwc-footer-about { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
  .fwc-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .fwc-footer-wave { height: 40px; }
  .fwc-footer-bottom { justify-content: center; text-align: center; }
  .fwc-copyright { font-size: 14px; }
}
