/* Canonical landing footer — keep in sync with index.html */
.site-footer {
  background: #fff;
  border-top: 1px solid #ececec;
  margin: 8px 32px 0;
  padding: 28px 48px 18px;
  border-radius: 0 0 18px 18px;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto 24px;
}

.site-footer .footer-logo {
  display: flex;
  align-items: center;
}

.site-footer .footer-logo img {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.site-footer .footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.site-footer .footer-col h4 {
  font-size: 13px;
  color: #69707d;
  margin-bottom: 12px;
  font-weight: 700;
}

.site-footer .footer-col a {
  display: block;
  color: #8d95a2;
  font-size: 13px;
  margin-bottom: 8px;
  text-decoration: none;
}

.site-footer .footer-col a:hover {
  color: #061424;
}

.site-footer .footer-col input {
  width: 100%;
  min-width: 0;
  height: 32px;
  border: 1px solid #edf0ef;
  border-radius: 7px;
  padding: 0 10px;
  color: #334155;
  font-size: 12px;
}

.footer-newsletter-form {
  width: 100%;
  max-width: 220px;
}

.footer-newsletter-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.footer-newsletter-submit {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 7px;
  background: #0f5a43;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.footer-newsletter-submit:hover:not(:disabled) {
  background: #0c4a37;
}

.footer-newsletter-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.footer-newsletter-status {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.35;
}

.footer-newsletter-status--error {
  color: #b42318;
}

.footer-newsletter-status--success {
  color: #0f5a43;
}

.site-footer .footer-bottom {
  border-top: 1px solid #edf0ef;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer .footer-bottom p {
  color: #9aa2ad;
  font-size: 12.5px;
  margin: 0;
}

.site-footer .footer-socials {
  display: flex;
  gap: 14px;
  color: #475569;
}

.site-footer .footer-socials a {
  width: 16px;
  height: 16px;
  color: inherit;
}

.site-footer .footer-socials svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .site-footer {
    margin: 8px 16px 0;
    padding: 24px 20px 16px;
  }

  .site-footer .footer-top,
  .site-footer .footer-cols {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .site-footer {
    margin: 8px 12px 0;
    padding: 20px 16px 14px;
    border-radius: 0 0 12px 12px;
  }

  .site-footer .footer-logo img {
    height: 56px;
  }

  .site-footer .footer-col input {
    width: 100%;
    max-width: none;
  }

  .footer-newsletter-form {
    max-width: 100%;
  }
}
