.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: #A8BDB3;
  font-size: 11px;
}
.footer__legal a,
.footer__legal button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  cursor: pointer;
}
.footer__legal a:hover,
.footer__legal button:hover { color: var(--white); text-decoration-color: currentColor; }
.footer__legal button:focus-visible { outline: 2px solid #A3E6CE; outline-offset: 4px; }

.cookie-panel {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  width: min(520px, calc(100vw - 44px));
  padding: 24px;
  border: 1px solid #355449;
  border-radius: 12px;
  color: #DCE9E3;
  background: #0C2A25;
  box-shadow: 0 22px 60px rgba(16, 32, 29, .26);
}
.cookie-panel[hidden] { display: none; }
.cookie-panel__heading { display: flex; align-items: flex-start; gap: 14px; }
.cookie-panel__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #0C2A25;
  background: #A3E6CE;
}
.cookie-panel__mark .icon { width: 20px; height: 20px; }
.cookie-panel h2 { margin: 1px 0 6px; color: var(--white); font: 600 19px/1.3 var(--display); }
.cookie-panel p { margin: 0; color: #BDCEC7; font-size: 13px; line-height: 1.65; }
.cookie-panel p a { color: #CDEFE2; text-underline-offset: 3px; }
.cookie-panel__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.cookie-panel__actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #557267;
  border-radius: 7px;
  color: var(--white);
  background: transparent;
  font: 600 12px var(--body);
  cursor: pointer;
}
.cookie-panel__actions button:last-child { border-color: var(--amber); color: var(--petrol-3); background: var(--amber); }
.cookie-panel__actions button:hover { border-color: #A3E6CE; }
.cookie-panel__actions button:last-child:hover { border-color: var(--amber-tint); background: var(--amber-tint); }
.cookie-panel__actions button:focus-visible { outline: 2px solid #A3E6CE; outline-offset: 3px; }


@media (max-width: 620px) {
  .cookie-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 20px; }
  .cookie-panel__actions { flex-direction: column-reverse; }
  .cookie-panel__actions button { width: 100%; }
  .map-consent { min-height: 320px; padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-panel { scroll-behavior: auto; }
}
