/* ============================================================
   StayByOwner — Footer
   Depends on design-system.css for custom properties
   ============================================================ */

footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 32px 32px;
  font-family: var(--f-body);
}

/* ── Main Grid ─────────────────────────────────────────────── */
.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

/* ── Column Headings ───────────────────────────────────────── */
.footer-column h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  margin-bottom: 16px;
  font-family: var(--f-mono);
  line-height: 1;
}

/* ── Brand Block ───────────────────────────────────────────── */
.brand-name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.1;
  display: block;
}

.brand-tagline {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 260px;
}

/* ── Link Lists ────────────────────────────────────────────── */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li:last-child {
  margin-bottom: 0;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color var(--t-base);
}

.footer-column ul li a:hover {
  color: #ffffff;
}

/* ── Destinations Section ──────────────────────────────────── */
.footer-destinations {
  max-width: 1320px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-destinations h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-weight: 500;
}

.footer-dest-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}

.footer-dest-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  padding: 3px 12px 3px 0;
  transition: color var(--t-base);
  line-height: 1.5;
}

.footer-dest-links a:hover {
  color: #ffffff;
}

/* ── Copyright Bar ─────────────────────────────────────────── */
.footer-copyright {
  max-width: 1320px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--t-base);
}

.footer-copyright a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  footer {
    padding: 48px 24px 28px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .brand-tagline {
    max-width: 100%;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 40px 20px 24px;
  }
}
