/* ============================================================
   FOOTER — 5-column layout with newsletter
   ============================================================ */

#footer {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 72px 0 0;
}

#footer .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-column,
.footer-column-center {
  flex: 1 1 0;
  min-width: 0;
  padding: 40px 0 36px;
}

.footer-column-center {
  flex: 1.5 1 0;
  padding-left: 16px;
  padding-right: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.06));
  text-align: center;
  border-radius: var(--radius-md);
}

/* Column ordering */
.column-resources { order: 1; }
.column-services { order: 2; }
.footer-column-center { order: 3; }
.column-quick { order: 4; }
.column-3 { order: 5; }
.column-socials { display: none; }

/* Footer logo */
.footer-logo img {
  max-width: 120px;
  height: auto;
  margin-bottom: 14px;
}

/* Footer headings */
#footer h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Footer links */
#footer .simple-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#footer .simple-menu li {
  margin-bottom: 0;
}

#footer .simple-menu a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 13px;
  line-height: 2;
  text-decoration: none;
  transition: color 0.25s ease;
}

#footer .simple-menu a:hover {
  color: var(--color-accent);
}

/* Newsletter */
.footer-column-center h3 {
  font-size: 18px;
  margin-top: 8px;
}

.footer-column-center p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

.footer-column-center .hs-input {
  height: 36px;
  width: 100%;
  padding: 0 10px 0 36px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  outline: none;
  font-family: inherit;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease;
}

.footer-column-center .hs-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-column-center .hs-input:focus {
  border-bottom-color: var(--color-accent);
}

/* Contact column */
.column-3 ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.column-3 .icon-wrapper {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(177, 227, 88, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 14px;
}

.column-3 .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.column-3 .heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.column-3 .content-wrapper a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.column-3 .content-wrapper a:hover {
  color: var(--color-accent);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

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

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  transition: color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--color-accent);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-main {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-column,
  .footer-column-center {
    flex: 1 1 45%;
    padding: 24px 0;
  }
  .footer-column-center {
    flex: 1 1 100%;
    order: 0;
  }
}

@media (max-width: 600px) {
  .footer-column {
    flex: 1 1 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
