/* ==========================================================================
   Cielo Vista Farms — Footer
   ========================================================================== */

.footer {
  background: #171512;
  color: #b9b3a8;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

.footer-inner {
  width: min(1320px, 100% - 3rem);
  margin-inline: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.1fr;
  gap: 3rem;
  padding: 4.5rem 0 3.5rem;
}

/* Brand block */
.footer-logo {
  height: 92px;
  width: auto;
  object-fit: contain;
  /* Lift the dark logo text off the dark background */
  filter: brightness(0) invert(1) opacity(0.92);
}

.footer-tagline {
  margin-top: 1.1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #fb923c;
}

.footer-blurb {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  max-width: 34ch;
  color: #948e82;
}

/* Link columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: #b9b3a8;
  font-size: 0.95rem;
  text-decoration: none;
  width: fit-content;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col a:hover {
  color: #fb923c;
  transform: translateX(3px);
}

/* Contact column */
.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  margin-top: 0.28rem;
  flex-shrink: 0;
  color: #e8731f;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #8a8478;
}

.footer-motto {
  color: #8a8478;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    width: calc(100% - 2.5rem);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding: 3.5rem 0 2.5rem;
  }

  .footer-logo {
    height: 76px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
