.whatsapp-block {
  position: fixed;
  z-index: 30;
  inset: auto clamp(.85rem, 2.5vw, 1.875rem) clamp(.85rem, 2.5vw, 1.875rem) auto;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  pointer-events: none;
}

.whatsapp-block[hidden], .whatsapp-chat-2[hidden] { display: none; }

.whatsapp-container {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 1px solid #ffffff4d;
  border-radius: 50%;
  background: #000;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transition: background .3s, transform .3s cubic-bezier(.45,.182,.111,.989);
}

.whatsapp-container:hover { background: #383838; transform: scale(1.05); }
.whatsapp-icon { width: 28px; height: 28px; }
.live-icon { position: absolute; inset: 0 auto auto 0; width: 15px; height: 15px; border-radius: 50%; background: #00b94a; }

.whatsapp-direct-hint {
  margin-bottom: .6rem;
  padding: .5rem .7rem;
  border: 1px solid #0002;
  border-radius: 100px;
  background: #fff;
  color: #111;
  box-shadow: 0 8px 24px #0002;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  pointer-events: auto;
}

.whatsapp-direct-hint:hover { text-decoration: underline; }
.whatsapp-block:has([aria-expanded="true"]) .whatsapp-direct-hint,
.home:has(.whatsapp-container[aria-expanded="true"]) .sticky-offer { visibility: hidden; }

.sticky-offer {
  position: fixed;
  z-index: 29;
  inset: auto auto 0 clamp(.85rem, 2.5vw, 1.875rem);
  padding: .75rem 2.5rem .75rem 1rem;
  border-radius: 18px 18px 0 0;
  background: #000;
  color: #fff;
  box-shadow: 0 4px 24px #0003;
}

.sticky-offer a { display: grid; gap: .15rem; font-size: .875rem; line-height: 1.25; text-decoration: none; }
.sticky-offer a:hover { text-decoration: underline; }
.sticky-offer strong { font-size: 1.4rem; }
.sticky-offer-close { position: absolute; top: .35rem; right: .35rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.sticky-offer-close:hover { background: #ffffff24; }

@media (max-width: 45rem) {
  .home .hero-copy { padding-bottom: 8rem; }
  .home .site-footer .wrap { padding-bottom: 7rem; }
}

@media (max-width: 25rem) {
  .whatsapp-direct-hint { max-width: 8rem; text-align: center; }
  .sticky-offer { max-width: calc(100vw - 10rem); padding-left: .7rem; padding-right: 2rem; }
}

.whatsapp-chat-2 {
  width: min(300px, calc(100vw - 2rem));
  margin-bottom: 16px;
  border: 1px solid #00000029;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px #0003;
  pointer-events: auto;
  animation: chat-in .28s ease-out both;
}

.top-section { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; }
.live-icon-chat { width: 40px; height: 40px; }
.live-chat-top-text { font-weight: 700; line-height: 1.2; }
.live-chat-bottom-text { font-size: .875rem; }
.close-live-chat-container { margin-left: auto; width: 2rem; height: 2rem; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.chat-section-2 { padding: 1rem; min-height: 7.5rem; background: #e6ddd4; }
.chat-block { width: 90%; padding: .7rem .85rem; background: #fff; border-radius: 8px; }
.chat-block .live-chat-top-text { margin-bottom: .3rem; }
.live-chat-link-2 { display: block; padding: .75rem 1rem; text-decoration: none; }
.livechat-button { display: flex; justify-content: center; align-items: center; gap: .5rem; min-height: 42px; background: #000; border-radius: 100px; color: #fff; font-size: .9rem; font-weight: 650; }
.small-whatsapp-icon { width: 16px; height: 16px; }

@keyframes chat-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-chat-2 { animation: none; }
  .whatsapp-container { transition: none; }
}
