/* Keep the temporary offer opposite the existing lower-right help button. */
.website-services-ad {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  box-sizing: border-box;
  width: min(300px, calc(100vw - 36px));
  padding: 19px;
  border: 1px solid #d8e1df;
  border-top: 4px solid #0f6d68;
  background: #ffffff;
  color: #1d2528;
  box-shadow: 0 8px 28px rgb(29 37 40 / 15%);
  /* Two gentle glow pulses draw attention without moving the reading target. */
  animation: website-services-pulse 2.2s ease-in-out 1s 2;
}
@keyframes website-services-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgb(29 37 40 / 15%), 0 0 0 0 rgb(15 109 104 / 0%); }
  50% { box-shadow: 0 8px 28px rgb(29 37 40 / 19%), 0 0 0 8px rgb(15 109 104 / 12%); }
}
/* Keep the offer still while someone uses it or requests reduced motion. */
.website-services-ad:hover,
.website-services-ad:focus-within { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .website-services-ad { animation: none; }
}
.website-services-ad h2 {
  margin: 0 22px 8px 0;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}
.website-services-ad p {
  margin: 0 0 13px;
  font-size: 16px;
  line-height: 1.45;
  color: #607075;
}
.website-services-ad .website-services-price {
  font-size: 14px;
  color: #1d2528;
}
.website-services-ad a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 12px;
  background: #0f6d68;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.website-services-close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #607075;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.website-services-ad :focus-visible {
  outline: 3px solid #aa7a18;
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .website-services-ad {
    left: max(12px, env(safe-area-inset-left));
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: min(280px, calc(100vw - 24px));
    padding: 15px;
  }
  /* Let the help conversation use the available mobile space while it is open. */
  body:has(.chatbot-panel:not([hidden])) .website-services-ad {
    display: none;
  }
}
@media print {
  .website-services-ad { display: none !important; }
}
