.footer-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.footer-button:hover { color: #c9ff4a; }

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: none;
  max-width: 980px;
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: #10291f;
  color: white;
  box-shadow: 0 24px 70px rgba(10,30,20,.34);
}
.cookie-banner.show { display: block; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.cookie-banner strong { display: block; margin-bottom: 3px; font-family: "Manrope", sans-serif; font-size: 1.05rem; }
.cookie-banner p { margin: 0; color: #bdd0c5; font-size: .87rem; line-height: 1.45; }
.cookie-banner a { color: #c9ff4a; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex: 0 0 auto; gap: 9px; }
.cookie-actions button, .privacy-modal button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.cookie-actions .cookie-primary, .privacy-modal .cookie-primary { border-color: #c9ff4a; background: #c9ff4a; color: #10291f; }
.privacy-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(5,18,12,.68);
  backdrop-filter: blur(5px);
}
.privacy-backdrop.show { display: grid; }
.privacy-modal { width: min(580px, 100%); max-height: min(680px, calc(100vh - 40px)); overflow: auto; padding: 26px; border-radius: 24px; background: white; color: #102019; box-shadow: 0 26px 80px rgba(0,0,0,.3); }
.privacy-modal-head { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.privacy-modal h2 { margin: 0 0 7px; font-family: "Manrope", sans-serif; font-size: 1.55rem; letter-spacing: -.035em; }
.privacy-modal p { margin: 0; color: #5f6b64; line-height: 1.55; }
.privacy-close { width: 38px; min-width: 38px !important; height: 38px; min-height: 38px !important; padding: 0 !important; border-color: #dce5de !important; color: #102019 !important; font-size: 1.3rem !important; }
.privacy-option { display: flex; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 17px; border: 1px solid #dce5de; border-radius: 16px; background: #f8faf5; }
.privacy-option strong { display: block; margin-bottom: 4px; }
.privacy-option small { display: block; color: #5f6b64; line-height: 1.45; }
.privacy-status { flex: 0 0 auto; align-self: center; padding: 5px 9px; border-radius: 999px; background: #e9f8ef; color: #206d45; font-size: .74rem; font-weight: 800; }
.privacy-status-off { background: #eef1ef; color: #5f6b64; }
.privacy-option-toggle { align-items: center; cursor: pointer; }
.privacy-switch { position: relative; flex: 0 0 auto; width: 50px; height: 29px; }
.privacy-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.privacy-switch span { position: absolute; inset: 0; border-radius: 999px; background: #c9d2cc; transition: .2s ease; }
.privacy-switch span::after { content: ""; position: absolute; width: 21px; height: 21px; left: 4px; top: 4px; border-radius: 50%; background: white; box-shadow: 0 2px 7px rgba(0,0,0,.18); transition: .2s ease; }
.privacy-switch input:checked + span { background: #2c8b58; }
.privacy-switch input:checked + span::after { transform: translateX(21px); }
.privacy-switch input:focus-visible + span { outline: 3px solid rgba(44,139,88,.28); outline-offset: 3px; }
.privacy-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.privacy-modal .cookie-primary { color: #10291f; }
.privacy-note { margin-top: 16px !important; font-size: .8rem; }
.privacy-note a { color: #2c8b58; text-decoration: underline; }
body.privacy-open { overflow: hidden; }

.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 85;
  display: grid;
  gap: 1px;
  min-width: 152px;
  padding: 13px 18px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: linear-gradient(145deg,#174b35,#10291f);
  color: white;
  text-align: left;
  box-shadow: 0 18px 48px rgba(3,38,23,.28);
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.chat-launcher:hover { transform: translateY(-3px); }
.chat-launcher:focus-visible { outline: 3px solid rgba(201,255,74,.7); outline-offset: 4px; }
.chat-launcher.widget-ready { opacity: 0; visibility: hidden; pointer-events: none; }
.chat-launcher.is-loading { opacity: .72; }
.chat-online { display: flex; align-items: center; gap: 7px; color: #c9ff4a; font-size: .68rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.chat-online i { width: 8px; height: 8px; border: 2px solid rgba(201,255,74,.28); border-radius: 50%; background: #c9ff4a; box-shadow: 0 0 0 4px rgba(201,255,74,.12); }
.chat-launcher strong { font-family: "Manrope", sans-serif; font-size: .92rem; letter-spacing: -.01em; }
body.cookie-choice-pending .chat-launcher { top: 96px; bottom: auto; }
body.privacy-open .chat-launcher { display: none; }

.legal-body { margin: 0; background: #f8faf5; color: #102019; font-family: "DM Sans", sans-serif; line-height: 1.65; }
.legal-top { background: #10291f; color: white; }
.legal-wrap { width: min(940px, calc(100% - 40px)); margin-inline: auto; }
.legal-nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.legal-logo { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.1rem; }
.legal-logo span { color: #c9ff4a; }
.legal-back { color: #d7e3dc; font-weight: 700; }
.legal-hero { padding: 70px 0 42px; background: #e9f8ef; border-bottom: 1px solid #dce5de; }
.legal-hero small { color: #2c8b58; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.legal-hero h1 { margin: 10px 0 12px; font-family: "Manrope", sans-serif; font-size: clamp(2.3rem, 6vw, 4.3rem); line-height: 1.05; letter-spacing: -.055em; }
.legal-hero p { max-width: 720px; margin: 0; color: #526159; }
.legal-main { padding: 58px 0 80px; }
.legal-card { padding: 40px; border: 1px solid #dce5de; border-radius: 26px; background: white; box-shadow: 0 12px 34px rgba(16,41,31,.05); }
.legal-card h2 { margin: 36px 0 9px; font-family: "Manrope", sans-serif; font-size: 1.42rem; letter-spacing: -.025em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #526159; }
.legal-card a { color: #2c8b58; text-decoration: underline; text-underline-offset: 2px; }
.legal-card table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.legal-card th, .legal-card td { padding: 13px; border: 1px solid #dce5de; text-align: left; vertical-align: top; }
.legal-card th { background: #e9f8ef; }
.legal-callout { margin: 0 0 28px; padding: 17px 19px; border-left: 4px solid #2c8b58; border-radius: 0 14px 14px 0; background: #e9f8ef; color: #244c36; }
.legal-footer { padding: 30px 0 42px; background: #0b1e16; color: #9db0a5; }
.legal-footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.legal-footer a, .legal-footer button { color: white; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 700px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 88px; padding: 16px; }
  .cookie-inner, .cookie-actions { align-items: stretch; flex-direction: column; }
  .cookie-actions button { width: 100%; }
  .privacy-modal { padding: 21px; }
  .privacy-modal-actions { align-items: stretch; flex-direction: column; }
  .privacy-option { align-items: flex-start; }
  .privacy-option-toggle { align-items: center; }
  .chat-launcher { right: 12px; bottom: 14px; min-width: 137px; padding: 11px 15px 10px; border-radius: 16px; }
  body.has-mobile-cta .chat-launcher { bottom: 84px; }
  body.cookie-choice-pending .chat-launcher { top: 92px; bottom: auto; }
  .legal-wrap { width: min(100% - 28px, 940px); }
  .legal-card { padding: 24px; }
  .legal-card table, .legal-card thead, .legal-card tbody, .legal-card tr, .legal-card th, .legal-card td { display: block; }
  .legal-card thead { display: none; }
  .legal-card tr + tr { margin-top: 14px; }
  .legal-card td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: #102019; font-weight: 800; }
}

@media print {
  .cookie-banner, .privacy-backdrop, .chat-launcher { display: none !important; }
}
