.site-footer__extra {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .site-footer__extra {
    grid-template-columns: 1fr 1.35fr;
    gap: 1.5rem 2.5rem;
    align-items: center;
  }
}

.site-footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.site-footer__social a {
  font-size: 0.84rem;
}

.site-footer__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer .site-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 223, 168, 0.55);
  color: #f0dfa8;
  font-weight: 600;
  font-size: 0.82rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.site-footer .site-footer__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transform: scale(1.02);
}

.site-footer .site-footer__btn--primary {
  background: #f0dfa8;
  border-color: #f0dfa8;
  color: var(--an-primary-deep);
}

.site-footer .site-footer__btn--primary:hover {
  background: #fff;
  color: var(--an-primary-deep);
}

/* Отступ снизу, чтобы cookie-баннер не перекрывал юр. блок */
body:has(.cookie-consent:not([hidden])) .site-footer__bottom {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 480px) {
  body:has(.cookie-consent:not([hidden])) .site-footer__bottom {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}
