/* Footer-specific styles for Aranyvera */

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-8);
}

@media (max-width: 960px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff9ec 0, #ffd75e 38%, #f2b418 70%, #e09a0f 100%);
  box-shadow: 0 0 0 3px rgba(255, 215, 94, 0.5);
}

.footer-logo__text-group {
  display: flex;
  flex-direction: column;
}

.footer-logo__text {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-logo__tagline {
  font-size: var(--font-size-xs);
  opacity: 0.8;
}

.footer-description {
  max-width: 420px;
  color: rgba(246, 252, 252, 0.85);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-links-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-links-title {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.footer-links-group ul li + li {
  margin-top: 0.35rem;
}

.footer-links-group a {
  font-size: var(--font-size-sm);
  color: rgba(240, 250, 250, 0.9);
}

.footer-links-group a:hover,
.footer-links-group a:focus-visible {
  color: #ffffff;
}

.footer-contact a {
  color: rgba(246, 252, 252, 0.92);
}

.footer-contact i {
  margin-right: 0.4rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  padding: var(--space-4) var(--space-3);
  background: radial-gradient(circle at top left, rgba(2, 180, 199, 0.16), rgba(1, 15, 20, 0.98));
  color: #f7fbfb;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.35);
}

.cookie-banner--visible {
  display: block;
  animation: cookie-slide-up 220ms ease-out;
}

.cookie-banner--hidden {
  animation: cookie-slide-down 200ms ease-in forwards;
}

.cookie-banner__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.cookie-banner__text h2 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-2);
}

.cookie-banner__text p {
  margin-bottom: 0;
  font-size: var(--font-size-sm);
  color: rgba(234, 246, 246, 0.92);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cookie-button {
  font-size: var(--font-size-xs);
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

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

  .cookie-button.btn--full {
    width: 100%;
  }
}

@keyframes cookie-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes cookie-slide-down {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}