/* Footer */
.footer {
  margin-top: var(--section-gap);
  padding: 72px 0 36px;
  background: var(--gradient);
  color: var(--white);
}
.footer__grid {
  padding-bottom: 40px;
  margin: 0;
}
.footer__tag {
  margin: 18px 0 20px;
  max-width: 280px;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--white);
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a { display: inline-flex; }
.footer__social img { width: 48px; height: 48px; }
.footer__label {
  margin: 0 0 16px;
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  color: var(--smoke);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-content: start;
}
.footer__col a {
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--white);
}
.footer__col a:hover { opacity: .8; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 250, 250, .25);
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  color: var(--smoke);
}
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--white); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  max-width: 560px;
}
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Cookie consent */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--white);
  color: var(--gray);
  box-shadow: 0 16px 48px rgba(20, 30, 50, .22);
}
.cookie-bar.is-open { display: block; }
.cookie-bar__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--blue, #1e3a5f);
}
.cookie-bar__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
}
.cookie-bar__text a { color: var(--blue, #1e3a5f); text-decoration: underline; }
.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-bar__btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(80, 94, 114, .28);
  background: transparent;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  font-family: inherit;
}
.cookie-bar__btn--primary {
  border-color: var(--blue, #1e3a5f);
  background: var(--blue, #1e3a5f);
  color: var(--white);
}
.cookie-bar__btn:hover {
  opacity: .92;
}

@media (max-width: 991.98px) {
  .footer { margin-top: var(--section-gap); }
}

@media (max-width: 720px) {
  .footer { margin-top: var(--section-gap); padding-top: 48px; }
  .footer__bottom {
    flex-direction: column;
    text-align: left;
    gap: 10px;
  }
  .footer__legal {
    justify-content: flex-start;
    max-width: none;
  }
  .cookie-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px 16px;
  }
  .cookie-bar__actions {
    flex-direction: column;
  }
  .cookie-bar__btn {
    width: 100%;
  }
}
