.xhh-consent-banner {
  position: fixed;
  z-index: 9998;
  left: 22px;
  bottom: 22px;
  width: min(440px, calc(100vw - 44px));
  padding: 20px;
  color: #17263a;
  background: rgba(255, 255, 255, .985);
  border: 1px solid rgba(14, 43, 73, .14);
  border-radius: 14px;
  box-shadow: 0 18px 54px rgba(5, 25, 45, .22);
  font-family: Arial, Helvetica, sans-serif;
}
.xhh-consent-close {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #526276;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.xhh-consent-close:hover { background: #f2f5f8; color: #102a44; }
.xhh-consent-copy { padding-right: 28px; }
.xhh-consent-copy strong { display: block; margin-bottom: 7px; color: #0e2b49; font-size: 17px; line-height: 1.25; }
.xhh-consent-copy p { margin: 0; color: #526276; font-size: 13px; line-height: 1.52; }
.xhh-consent-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.xhh-consent-links a { color: #315f8b; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.xhh-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 16px; }
.xhh-consent-actions button {
  min-height: 42px;
  padding: 9px 12px;
  color: #173b5d;
  background: #fff;
  border: 1px solid #7c98b2;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
}
.xhh-consent-actions button[data-consent="granted"] { color: #fff; background: #0d3157; border-color: #0d3157; }
.xhh-consent-actions button:hover,
.xhh-consent-actions button:focus-visible { outline: 3px solid rgba(31, 95, 145, .18); outline-offset: 2px; }
body.xhh-consent-visible .mobile-contact-bar { opacity: 0 !important; pointer-events: none !important; transform: translateY(14px) !important; }
.site-footer .xhh-privacy-link { color: rgba(255,255,255,.72); }

body.xhh-privacy-open { overflow: hidden; }
.xhh-privacy-backdrop {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 20, 35, .72);
  font-family: Arial, Helvetica, sans-serif;
}
.xhh-privacy-backdrop[hidden] { display: none; }
.xhh-privacy-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 34px 34px 30px;
  color: #162438;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(3, 18, 32, .34);
}
.xhh-privacy-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: #162438;
  background: #fff;
  border: 2px solid #162438;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.xhh-privacy-close:focus-visible { outline: 4px solid rgba(31, 95, 145, .2); outline-offset: 2px; }
.xhh-privacy-brand { display: block; margin: 2px 56px 17px 0; color: #1f5f91; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.xhh-privacy-dialog h2 { margin: 0 54px 18px 0; color: #102a44; font-size: clamp(28px, 5vw, 38px); line-height: 1.08; }
.xhh-privacy-description { color: #46586d; font-size: 15px; line-height: 1.62; }
.xhh-privacy-description p { margin: 0 0 15px; }
.xhh-privacy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.xhh-privacy-actions button {
  min-height: 46px;
  padding: 10px 16px;
  color: #123653;
  background: #fff;
  border: 1px solid #285f8c;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}
.xhh-privacy-actions button:last-child { color: #fff; background: #1f5f91; }
.xhh-privacy-actions button[aria-pressed="true"] { box-shadow: 0 0 0 3px rgba(31, 95, 145, .22); }
.xhh-privacy-actions button:hover,
.xhh-privacy-actions button:focus-visible { outline: 3px solid rgba(31, 95, 145, .18); outline-offset: 2px; }

@media (max-width: 820px) {
  .xhh-consent-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; border-radius: 13px; }
  .xhh-consent-copy { padding-right: 26px; }
  .xhh-consent-actions { grid-template-columns: 1fr 1fr; }
  .xhh-privacy-dialog { padding: 28px 20px 22px; border-radius: 14px; }
  .xhh-privacy-actions { grid-template-columns: 1fr; }
}


@media (prefers-reduced-motion: reduce) {
  .xhh-consent-actions button { transition: none; }
}
