.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem 1rem;
  margin-top: .8rem;
}

.legal-links a,
.legal-links button {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.legal-links button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.map-consent {
  min-height: 250px;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: .9rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px dashed #91a291;
  border-radius: 12px;
  background: #f3f5f0;
}

.map-consent p { max-width: 54ch; margin: 0; }
.map-consent iframe { width: 100%; }
.map-consent:has(iframe:not([hidden])) { padding: 0; border: 0; }

.cookie-panel {
  position: fixed;
  z-index: 10000;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(520px, calc(100% - 2rem));
  padding: 1.25rem;
  color: #20251f;
  background: #fffefb;
  border: 1px solid #d8ddd4;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(20, 34, 21, .28);
  font-family: ui-rounded, "Trebuchet MS", system-ui, sans-serif;
}

.cookie-panel h2 { margin: 0 0 .5rem; font-size: 1.2rem; }
.cookie-panel p { margin: 0; line-height: 1.55; }
.cookie-panel a { color: #315f46; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.consent-action {
  min-height: 42px;
  padding: .65rem .95rem;
  border: 1px solid #315f46;
  border-radius: 9px;
  color: #244633;
  background: transparent;
  font: 600 .92rem/1 ui-rounded, "Trebuchet MS", system-ui, sans-serif;
  cursor: pointer;
}
.consent-action--primary { color: #fff; background: #315f46; }
.consent-action:focus-visible, .legal-links a:focus-visible, .legal-links button:focus-visible { outline: 3px solid #f0b85b; outline-offset: 3px; }

.legal-page { margin: 0; color: #20251f; background: #edf1eb; font-family: ui-rounded, "Trebuchet MS", system-ui, sans-serif; line-height: 1.7; }
.legal-shell { width: min(820px, calc(100% - 2rem)); margin: 2rem auto; padding: clamp(1.4rem, 5vw, 3.5rem); background: #fffefb; border-radius: 20px; box-shadow: 0 12px 45px rgba(20,34,21,.1); }
.legal-shell h1 { margin-top: 0; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; }
.legal-shell h2 { margin-top: 2rem; }
.legal-shell a { color: #315f46; }
.legal-back { display: inline-block; margin-bottom: 2rem; font-weight: 700; }
.legal-note { padding: 1rem; border-left: 4px solid #6b8b70; background: #f3f5f0; }

@media (max-width: 520px) {
  .cookie-actions { display: grid; }
  .consent-action { width: 100%; }
}
