/* Footer styles for Zavero PL */

.zv-footer {
  background: #020617;
  color: #e5e7eb;
  border-top: 1px solid rgba(30, 64, 175, 0.65);
  padding-top: 2.5rem;
}

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

.zv-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.zv-footer__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #38bdf8, #1e40af 45%, #020617 100%);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4);
}

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

.zv-footer__logo-text--accent {
  color: #38bdf8;
}

.zv-footer__tagline {
  margin: 0;
  max-width: 26rem;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.zv-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.zv-footer__heading {
  margin: 0 0 0.75rem;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.zv-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.zv-footer__link {
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.18s ease-out, opacity 0.18s ease-out;
}

.zv-footer__link:hover,
.zv-footer__link:focus-visible {
  color: #38bdf8;
  opacity: 1;
}

.zv-footer__logo-link:focus-visible,
.zv-footer__link:focus-visible,
.zv-cookie-banner__button:focus-visible,
.zv-cookie-banner__link:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

.zv-footer__bottom {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  margin-top: 1.5rem;
  padding: 0.9rem 1rem 1.2rem;
}

.zv-footer__copy {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Cookie banner */
.zv-cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1100;
  background: linear-gradient(135deg, #020617, #020617 40%, #0f172a);
  border-top: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.9);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out, visibility 0.25s ease-out;
}

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

.zv-cookie-banner--hiding {
  transform: translateY(100%);
  opacity: 0;
}

.zv-cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.zv-cookie-banner__text {
  flex: 1 1 auto;
}

.zv-cookie-banner__title {
  margin: 0 0 0.3rem;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5e7eb;
}

.zv-cookie-banner__description {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.zv-cookie-banner__link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #38bdf8;
  text-decoration: underline;
}

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

.zv-cookie-banner__button {
  min-width: 130px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}

.zv-cookie-banner__button--secondary {
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.zv-cookie-banner__button--secondary:hover {
  background: rgba(15, 23, 42, 1);
}

.zv-cookie-banner__button--primary {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #020617;
  border-color: transparent;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(8, 47, 73, 0.65);
}

.zv-cookie-banner__button--primary:hover {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

/* Responsive footer */
@media (max-width: 900px) {
  .zv-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .zv-footer__inner {
    padding-inline: 1rem;
  }

  .zv-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .zv-cookie-banner__content {
    padding: 0.9rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .zv-cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }

  .zv-cookie-banner__button {
    flex: 1 1 auto;
  }
}
