/* Footer styles for HomeAeroClima */

.ha-footer {
  background: #020617;
  color: #e5f3ff;
  border-top: 1px solid rgba(148, 210, 255, 0.24);
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.ha-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2.3fr) minmax(0, 1.8fr);
  gap: 2rem;
  align-items: flex-start;
}

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

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

.ha-footer__logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: radial-gradient(circle at 25% 20%, #bbf7d0 0, #22c55e 30%, #0ea5e9 70%);
  box-shadow: 0 0 0 1px rgba(148, 210, 255, 0.35), 0 10px 20px rgba(15, 23, 42, 0.8);
}

.ha-footer__logo-text {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1rem;
}

.ha-footer__tagline {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #bfdbfe;
}

/* Footer nav */

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

.ha-footer__nav-title {
  margin: 0 0 0.75rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}

.ha-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.ha-footer__nav-list a {
  font-size: 0.92rem;
  color: #e5f3ff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s ease-out, color 0.15s ease-out, transform 0.12s ease-out;
}

.ha-footer__nav-list a:hover {
  opacity: 1;
  color: #38bdf8;
  transform: translateX(2px);
}

.ha-footer__nav-list a:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* Contact */

.ha-footer__contact-line {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: #dbeafe;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.ha-footer__contact-line i {
  margin-top: 0.15rem;
  color: #22c55e;
}

.ha-footer__contact-line a {
  color: #e5f3ff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(148, 210, 255, 0.5);
}

.ha-footer__contact-line a:hover {
  color: #38bdf8;
  border-bottom-style: solid;
}

.ha-footer__contact-line a:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* Bottom bar */

.ha-footer__bottom {
  max-width: 1200px;
  margin: 2.25rem auto 0;
  padding: 0 1.25rem;
  border-top: 1px solid rgba(51, 65, 85, 0.9);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.ha-footer__copy {
  margin: 0;
}

.ha-footer__bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ha-footer__bottom-links a {
  color: #cbd5f5;
  text-decoration: none;
}

.ha-footer__bottom-links a:hover {
  color: #38bdf8;
}

.ha-footer__bottom-links a:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* Cookie banner */

.ha-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: radial-gradient(circle at 10% -20%, rgba(45, 212, 191, 0.15), transparent 55%), rgba(15, 23, 42, 0.98);
  color: #e5f3ff;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.95);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease-out, opacity 0.25s ease-out, visibility 0.25s ease-out;
}

.ha-cookie__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}



.ha-cookie__title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:#fff;
}

.ha-cookie__description {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #dbeafe;
}

.ha-cookie__description a {
  color: #38bdf8;
  text-decoration: underline;
}

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

.ha-cookie__btn {
  min-width: 150px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ha-cookie__btn--primary {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #022c22;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.7);
}

.ha-cookie__btn--primary:hover {
  background: linear-gradient(135deg, #16a34a, #0284c7);
}

.ha-cookie__btn--secondary {
  background: transparent;
  color: #e5f3ff;
  border-color: rgba(148, 210, 255, 0.6);
}

.ha-cookie__btn--secondary:hover {
  border-color: #38bdf8;
  background-color: rgba(15, 23, 42, 0.7);
}

.ha-cookie__btn:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

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

.ha-cookie--hidden {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 960px) {
  .ha-footer__inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
    row-gap: 2.25rem;
  }

  .ha-footer__contact {
    grid-column: 1 / -1;
  }
}

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

  .ha-footer__brand {
    max-width: none;
  }

  .ha-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .ha-cookie__inner {
    padding: 0.9rem 1rem 1.05rem;
    flex-direction: column;
    align-items: stretch;
  }

  .ha-cookie__actions {
    justify-content: stretch;
  }

  .ha-cookie__btn {
    flex: 1 1 auto;
  }
}

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