.site-footer {
  background: radial-gradient(circle at top, rgba(70, 164, 255, 0.14), transparent 60%), #040914;
  color: #e1edff;
  border-top: 1px solid rgba(112, 150, 191, 0.5);
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

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

.site-footer__brand {
  max-width: 420px;
}

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

.site-footer__logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #33a3ff, #5ee7ff);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.site-footer__tagline {
  margin: 0;
  margin-top: 0.25rem;
  color: #c3d6f3;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.site-footer__heading {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8fb8ff;
}

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

.site-footer__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  color: #dde9ff;
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #ffffff;
}

.site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  border-top: 1px solid rgba(92, 129, 170, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.85rem;
  color: #9bb2d6;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__social-link {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(126, 164, 209, 0.7);
  color: #dde9ff;
  text-decoration: none;
  font-size: 0.95rem;
  background: rgba(5, 14, 25, 0.85);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background: linear-gradient(135deg, #33a3ff, #5ee7ff);
  color: #04101f;
  border-color: transparent;
  transform: translateY(-1px);
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1100;
  background: rgba(3, 10, 20, 0.98);
  border-top: 1px solid rgba(93, 138, 189, 0.8);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.65);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease-out, opacity 0.24s ease-out;
}

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

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

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

.cookie-banner__text {
  max-width: 640px;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fb8ff;
}

.cookie-banner__description {
  margin: 0;
  font-size: 0.92rem;
  color: #d7e4ff;
}

.cookie-banner__link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #5ee7ff;
  text-decoration: none;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  text-decoration: underline;
}

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

.cookie-banner__button {
  min-width: 140px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.cookie-banner__button--secondary {
  background: transparent;
  color: #dbe7ff;
  border-color: rgba(131, 170, 215, 0.8);
}

.cookie-banner__button--secondary:hover,
.cookie-banner__button--secondary:focus-visible {
  background: rgba(14, 31, 53, 0.95);
}

.cookie-banner__button--primary {
  background: linear-gradient(135deg, #33a3ff, #5ee7ff);
  color: #04101f;
  box-shadow: 0 8px 24px rgba(5, 41, 78, 0.7);
}

.cookie-banner__button--primary:hover,
.cookie-banner__button--primary:focus-visible {
  filter: brightness(1.05);
}

.cookie-banner__button:focus-visible {
  outline: 2px solid #5ee7ff;
  outline-offset: 2px;
}

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

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

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

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

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

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1rem 1.1rem;
  }

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

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

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