/* Юридические ссылки в подвале: изолированные стили */
.footer .legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 26px;
  min-width: 0;
  max-width: 100%;
}
.footer .legal-links a {
  display: inline-block;
  flex: 0 0 auto;
  color: #cfc0e7;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  text-decoration: none;
  transition: color .2s ease;
}
.footer .legal-links a:hover,
.footer .legal-links a:focus-visible {
  color: #ff91da;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer .legal-links a:focus-visible { outline: 2px solid #ff91da; outline-offset: 5px; border-radius: 2px; }
.footer .footer-contact { margin: 0; line-height: 1.7; }
.footer .footer-copyright { display: block; width: 100%; margin-top: 6px; line-height: 1.7; }
@media (max-width: 760px) {
  .footer .legal-links { width: 100%; justify-content: center; gap: 8px 20px; }
  .footer .legal-links a { font-size: 13px; }
  .footer .footer-contact, .footer .footer-copyright { text-align: center; }
}

/* Кнопка связи через WhatsApp в подвале */
.footer .footer-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.footer-contact-label { font-weight: 500; }
.footer .footer-whatsapp { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; padding: 10px 15px; border: 1px solid rgba(91, 229, 152, .55); border-radius: 14px; background: rgba(37, 211, 102, .13); color: #e7ffed; font-weight: 700; text-decoration: none; line-height: 1.4; transition: background .2s, border-color .2s, transform .2s; }
.footer .footer-whatsapp:hover { background: rgba(37, 211, 102, .25); border-color: #25d366; transform: translateY(-1px); }
.footer .footer-whatsapp:focus-visible { outline: 2px solid #25d366; outline-offset: 3px; }
.footer-whatsapp-icon { width: 22px; height: 22px; flex: none; color: #25d366; }
.footer-whatsapp-cta { font-size: 12px; font-weight: 500; opacity: .88; }
@media (max-width: 760px) { .footer .footer-contact { flex-direction: column; justify-content: center; } }

/* Предохранитель от общих правил для SVG */
.footer a.footer-whatsapp svg.footer-whatsapp-icon { display:block!important; width:22px!important; height:22px!important; min-width:22px!important; max-width:22px!important; max-height:22px!important; flex:0 0 22px!important; }
