/* HAVEN MALL - Footer */

.site-footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-about {
  margin-top: 1rem;
  font-size: 0.925rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 34ch;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.925rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--sale-orange);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--sale-orange);
  margin-top: 0.2rem;
}

/* Newsletter */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.newsletter-text h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.newsletter-text p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.newsletter-form-wrap {
  flex: 1;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-form input::placeholder {
  color: #64748b;
}

.newsletter-form input:focus {
  border-color: var(--sale-orange);
}

.newsletter-msg {
  font-size: 0.85rem;
  margin-top: 0.6rem;
  color: #94a3b8;
  min-height: 1.2em;
}

.newsletter-msg.success {
  color: var(--success-green);
}

.newsletter-msg.error {
  color: #f87171;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--sale-orange);
}

.footer-built-by a {
  color: var(--sale-orange);
  font-weight: 600;
}

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

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

  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }

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

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