/* ==========================================================================
   FOOTER.CSS
   ========================================================================== */

.footer {
  background-color: var(--color-forest);
  color: rgba(255,255,255,0.85);
  position: relative;
}

.footer__wave {
  display: block;
  width: 100%;
  height: 64px;
  line-height: 0;
  transform: translateY(1px);
}

.footer__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer__top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__brand {
  display: flex;
  gap: 14px;
}

.footer__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer__brand-title {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.footer__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-harvest);
  margin-bottom: 18px;
}

.footer__links li {
  margin-bottom: 11px;
}

.footer__links a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer__links a:hover {
  color: var(--color-sage);
  padding-left: 4px;
}

.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-sage);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.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: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer__social a:hover {
  background-color: var(--color-leaf);
  transform: translateY(-3px);
}

.footer__social svg {
  width: 17px;
  height: 17px;
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
}

.footer__bottom a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s var(--ease);
}

.footer__bottom a:hover {
  color: var(--color-sage);
}

@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}