.ha-footer {
  background: #f4efe8;
  border-top: 1px solid rgba(140, 120, 100, 0.25);
  color: #3a2d22;
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
}

.ha-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 3fr);
  gap: 2rem;
}

.ha-footer__brand {
  max-width: 360px;
}

.ha-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.ha-footer__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f7f1ea 0, #e0cfba 45%, #8b6a4a 100%);
  box-shadow: 0 4px 10px rgba(60, 42, 30, 0.25);
}

.ha-footer__logo-text {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.ha-footer__tagline {
  margin-top: 0.9rem;
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a4a3a;
}

.ha-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.ha-footer__nav-title {
  margin: 0 0 0.75rem;
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #2a231c;
}

.ha-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ha-footer__nav-list li + li {
  margin-top: 0.4rem;
}

.ha-footer__nav-list a {
  display: inline-flex;
  align-items: center;
  font-size: 0.93rem;
  color: #5a4a3a;
  text-decoration: none;
  transition: color 0.16s ease, transform 0.12s ease;
}

.ha-footer__nav-list a::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  margin-right: 0.4rem;
  background-color: rgba(139, 106, 74, 0.4);
  transform: scale(0.7);
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.ha-footer__nav-list a:hover {
  color: #2a231c;
}

.ha-footer__nav-list a:hover::before {
  background-color: #8b6a4a;
  transform: scale(1);
}

.ha-footer__nav-list a:focus-visible {
  outline: 2px solid #7f5b3c;
  outline-offset: 3px;
}

.ha-footer__bottom {
  border-top: 1px solid rgba(140, 120, 100, 0.3);
  padding: 1rem 1.25rem 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ha-footer__copyright {
  margin: 0;
  font-size: 0.85rem;
  color: #6d5c49;
}

/* Cookie banner */
.ha-cookie {
  position: fixed;
  inset-inline: 0.75rem;
  bottom: 0.75rem;
  z-index: 1100;
  max-width: 540px;
  margin-inline: auto;
  background: #f8f4ee;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(40, 28, 20, 0.38);
  border: 1px solid rgba(140, 120, 100, 0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.22s ease-out, transform 0.22s ease-out, visibility 0.22s linear;
}

.ha-cookie--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ha-cookie__inner {
  padding: 1rem 1.1rem 0.95rem;
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1.8fr);
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.ha-cookie__title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2a231c;
}

.ha-cookie__description {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #5a4a3a;
}

.ha-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ha-cookie__button {
  appearance: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.45rem 0.95rem;
  font-size: 0.86rem;
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.16s ease;
}

.ha-cookie__button--primary {
  background-color: #8b6a4a;
  color: #fbf7f2;
  border-color: #8b6a4a;
  box-shadow: 0 6px 16px rgba(55, 36, 20, 0.35);
}

.ha-cookie__button--secondary {
  background-color: transparent;
  color: #3a2d22;
  border-color: rgba(139, 106, 74, 0.6);
}

.ha-cookie__button--primary:hover {
  background-color: #78583b;
  border-color: #78583b;
}

.ha-cookie__button--secondary:hover {
  background-color: rgba(139, 106, 74, 0.08);
}

.ha-cookie__button:focus-visible {
  outline: 2px solid #7f5b3c;
  outline-offset: 2px;
}

.ha-cookie--hidden {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

@media (max-width: 900px) {
  .ha-footer__inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 2.4fr);
  }
}

@media (max-width: 720px) {
  .ha-footer {
    padding-top: 2rem;
  }

  .ha-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .ha-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .ha-footer__nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .ha-footer__bottom {
    padding-inline: 1rem;
  }

  .ha-cookie {
    inset-inline: 0.5rem;
    bottom: 0.5rem;
    border-radius: 14px;
  }

  .ha-cookie__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .ha-cookie__actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ha-cookie {
    transition: none !important;
  }

  .ha-cookie__button {
    transition: none !important;
  }
}
