/* Footer styles for Home Aquya */
.ha-footer {
  background: radial-gradient(circle at top left, #e6fbff 0, #f8fbfd 40%, #ffffff 100%);
  border-top: 1px solid rgba(15, 98, 120, 0.08);
  color: #093545;
}

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

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

.ha-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ha-footer__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e6fbff 0, #c5f3ff 35%, #0b7285 80%);
}

.ha-footer__logo-text {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.ha-footer__tagline {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: #326577;
}

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

.ha-footer__heading {
  margin: 0 0 0.75rem;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0b7285;
}

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

.ha-footer__list li + li {
  margin-top: 0.35rem;
}

.ha-footer__list a {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  color: #145a72;
}

.ha-footer__list a:hover {
  color: #0b7285;
}

.ha-footer__list a:focus-visible {
  outline: 2px solid #0b7285;
  outline-offset: 3px;
  border-radius: 2px;
}

.ha-footer__bottom {
  border-top: 1px solid rgba(15, 98, 120, 0.08);
  padding: 0.85rem 1rem 1.2rem;
}

.ha-footer__copyright {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #4b6d7a;
}

/* Cookie banner */
.ha-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  padding: 0.75rem 0.5rem 0.9rem;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

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

.ha-cookie-banner__content {
  width: 100%;
  max-width: 1100px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 -8px 30px rgba(15, 98, 120, 0.25);
  padding: 0.95rem 1rem 0.9rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) auto;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.ha-cookie-banner__text {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #093545;
}

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

.ha-cookie-banner__button {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.ha-cookie-banner__button--primary {
  background: linear-gradient(135deg, #0b7285, #1cb59b);
  color: #ffffff;
  border-color: transparent;
}

.ha-cookie-banner__button--secondary {
  background-color: #ffffff;
  color: #145a72;
  border-color: rgba(11, 114, 133, 0.3);
}

.ha-cookie-banner__button:focus-visible {
  outline: 2px solid #0b7285;
  outline-offset: 2px;
}

.ha-cookie-banner__link {
  grid-column: 1 / -1;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #0b7285;
  text-decoration: underline;
}

.ha-cookie-banner__link:focus-visible {
  outline: 2px solid #0b7285;
  outline-offset: 2px;
}

/* Responsive footer & banner */
@media (max-width: 960px) {
  .ha-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

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

  .ha-cookie-banner__content {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }

  .ha-cookie-banner__actions {
    justify-content: flex-start;
  }
}

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

  .ha-cookie-banner__content {
    padding: 0.9rem 0.85rem 0.85rem;
  }

  .ha-cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ha-cookie-banner__button {
    width: 100%;
    text-align: center;
  }
}

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