/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-page {
  background: #fff;
}

.legal-hero {
  background-color: #f0eade;
  padding-block: clamp(40px, 5vw, 72px);
}

.legal-hero__title {
  font-family: var(--h-2-font-family);
  font-weight: var(--h-2-font-weight);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.15;
  color: #1e1e1e;
  margin: 0;
}

.legal-hero__line {
  border: none;
  border-top: 1px solid #ccc;
  width: clamp(240px, 50%, 768px);
  margin: 12px 0 0;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--h-2-font-family);
  font-size: clamp(22px, 2.5vw, 32px);
  color: #01579e;
  margin: 40px 0 12px;
}

.legal-content h3 {
  font-family: "DM Sans", Helvetica;
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 20px);
  color: #1e1e1e;
  margin: 28px 0 8px;
}

.legal-content p,
.legal-content li {
  font-family: var(--p-font-family);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: #1e1e1e;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content a {
  color: #01579e;
  text-decoration: underline;
}

.legal-note {
  margin-top: 40px;
  padding: 16px 20px;
  background: #f0eade;
  border-left: 4px solid #01579e;
  font-size: 14px !important;
}

/* =============================================
   FOOTER LEGAL LINKS
   ============================================= */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.footer-legal a {
  font-family: "DM Sans", Helvetica;
  font-size: 13px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  opacity: 0.85;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 720px;
  margin-inline: auto;
  background: #fff;
  color: #1e1e1e;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  border-radius: 16px;
  padding: clamp(16px, 3vw, 24px);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__title {
  font-family: "DM Sans", Helvetica;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  color: #01579e;
}

.cookie-banner__text {
  font-family: "DM Sans", Helvetica;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 16px;
}

.cookie-banner__text a {
  color: #01579e;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: "DM Sans", Helvetica;
  font-weight: 600;
  font-size: 14px;
}

.cookie-banner__btn--accept {
  background: #01579e;
  color: #fff;
}

.cookie-banner__btn--reject {
  background: #f0eade;
  color: #01579e;
}

.cookie-banner__btn--link {
  background: transparent;
  color: #1e1e1e;
  text-decoration: underline;
  padding-inline: 8px;
}

.map-consent-fallback {
  display: grid;
  place-items: center;
  min-height: 280px;
  background: #f0eade;
  color: #1e1e1e;
  text-align: center;
  padding: 24px;
  font-family: "DM Sans", Helvetica;
  font-size: 15px;
  line-height: 1.45;
}

.map-consent-fallback a {
  color: #01579e;
}

/* =============================================
   FORM PRIVACY
   ============================================= */
.form-privacy {
  margin: 20px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-privacy__label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: "DM Sans", Helvetica;
  font-size: 14px;
  line-height: 1.45;
  color: #1e1e1e;
  cursor: pointer;
}

.form-privacy__label input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #01579e;
}

.form-privacy__label a {
  color: #01579e;
  text-decoration: underline;
}

.form-privacy__note {
  margin: 0;
  font-family: "DM Sans", Helvetica;
  font-size: 13px;
  line-height: 1.4;
  color: #555;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}
