/* Shared footer styles. Responsive rules stay beside their component. */

.site-footer {
  max-width: none;
  margin: 0;
  font-family: 'SoviOutfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

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

.site-footer .footer-links a {
  text-decoration: none;
  color: rgb(26 26 26 / 50%);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.site-footer .footer-links a:hover {
  color: #5f735b;
}

@media (width <= 768px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-footer {
  color: #0b4849;
  padding: 60px 40px 40px;
  border-top: 1px solid rgb(154 140 122 / 15%);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 780px);
  justify-content: space-between;
  align-items: stretch;
  gap: 32px 24px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  max-width: 780px;
  height: 100%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  max-width: 780px;
  gap: 14px 28px;
  justify-content: flex-start;
  align-items: center;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  max-width: 100ch;
}

.footer-links button {
  border: 0;
  background: none;
  font-size: 13px;
  color: #0b4849;
}

.footer-links a {
  color: #0b4849 !important;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  grid-column: 1 / -1;
  width: 100%;
  font-size: 12px;
  line-height: 1.7;
  border-top: 0;
  padding-top: 24px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  max-width: 100ch;
  margin: 0;
}

.footer-bottom .footer-ai-disclaimer {
  width: 100%;
  max-width: 1100px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.65;
}

@media (width <= 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer {
    padding: 40px 24px;
  }
}

.site-footer {
  background:
    linear-gradient(180deg, #f7f5ef 0%, #f7f5ef66 42%, #f7f5ef26 100%),
    url('/assets/brand/wave-divider-pastel.webp') no-repeat bottom center / 100% 240px,
    #f7f5ef;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-disclaimer {
  margin-top: auto;
}
