.cdk-footer {
  background-color: #0f345f;
  color: #e9f2ff;
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

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

.cdk-footer__col--brand {
  max-width: 320px;
}

.cdk-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.cdk-footer__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1c72d8, #35b8ff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}

.cdk-footer__brand-text {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}

.cdk-footer__tagline {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #c3d7f8;
  line-height: 1.5;
}

.cdk-footer__heading {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.cdk-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cdk-footer__links li + li {
  margin-top: 0.4rem;
}

.cdk-footer__links a {
  font-size: 0.9rem;
  color: #cfe1ff;
  text-decoration: none;
  transition: color 0.15s ease;
}

.cdk-footer__links a:hover,
.cdk-footer__links a:focus-visible {
  color: #ffffff;
}

.cdk-footer__bottom {
  border-top: 1px solid rgba(212, 223, 246, 0.18);
  padding-top: 0.9rem;
  padding-inline: 1.25rem;
}

.cdk-footer__copy {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: #b3c7ea;
}

/* Cookie banner */
.cdk-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: rgba(3, 18, 38, 0.96);
  color: #f4f7fb;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out, visibility 0.25s;
}

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

.cdk-cookie__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cdk-cookie__text {
  flex: 1 1 auto;
}

.cdk-cookie__title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.cdk-cookie__description {
  margin: 0;
  font-size: 0.85rem;
  color: #d3def6;
}

.cdk-cookie__link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #8fd0ff;
}

.cdk-cookie__link:hover,
.cdk-cookie__link:focus-visible {
  color: #c1e5ff;
}

.cdk-cookie__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cdk-cookie__button {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.cdk-cookie__button--primary {
  background: linear-gradient(135deg, #1c72d8, #35b8ff);
  border-color: rgba(143, 208, 255, 0.8);
  color: #031226;
}

.cdk-cookie__button--secondary {
  background-color: transparent;
  border-color: rgba(207, 225, 255, 0.5);
  color: #e0ebff;
}

.cdk-cookie__button:focus-visible {
  outline: 2px solid #8fd0ff;
  outline-offset: 2px;
}

.cdk-cookie__button--primary:hover,
.cdk-cookie__button--primary:focus-visible {
  background: linear-gradient(135deg, #2a80e4, #55c6ff);
}

.cdk-cookie__button--secondary:hover,
.cdk-cookie__button--secondary:focus-visible {
  border-color: #ffffff;
}

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

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

  .cdk-footer__col--brand {
    max-width: none;
  }

  .cdk-cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cdk-cookie__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cdk-cookie__button {
    flex: 1 1 auto;
    text-align: center;
  }
}

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