/* ===== Barra fija del logo ===== */
.lw-logo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(20, 22, 26, 0.78);
  backdrop-filter: blur(6px);
  padding: 14px 28px;
  transition: transform 0.3s ease;
}

.lw-logo-bar--oculta {
  transform: translateY(-100%);
}

.lw-logo-bar__img {
  height: 130px;
  display: block;
}

/* ===== Widget flotante de WhatsApp — verde oficial ===== */
.lw-wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.lw-wa-widget__toggle {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366; /* verde oficial de WhatsApp */
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.lw-wa-widget__toggle:hover {
  transform: scale(1.06);
}

/* Anillo decorativo dedicado al widget de WhatsApp — elemento propio,
   no la pleca del hero (esa es de marca/hero y ahora es un arco, no
   sirve para este propósito). */
.lw-wa-widget__toggle::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid var(--lw-color-accent);
  opacity: 0.85;
  pointer-events: none;
}

.lw-wa-widget__icon {
  width: 32px;
  height: 32px;
}

/* Globo de invitación, visible por default hasta que se abre el menú */
.lw-wa-widget__tooltip {
  position: absolute;
  right: 0;
  bottom: 76px; /* 64px del botón + 12px de aire — queda pegado al
                   botón sin importar si el menú (invisible pero con
                   espacio propio en el flex) está abierto o cerrado */
  background: #ffffff;
  color: #1a1a1a;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  animation: lw-tooltip-bounce 2.4s ease-in-out infinite;
}

.lw-wa-widget.is-open .lw-wa-widget__tooltip {
  display: none;
}

@keyframes lw-tooltip-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.lw-wa-widget__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}

.lw-wa-widget.is-open .lw-wa-widget__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lw-wa-widget__option {
  background: #ffffff;
  color: #1a1a1a;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.15s;
}

.lw-wa-widget__option:hover {
  background: #f2f2f2;
}

@media (max-width: 600px) {
  .lw-logo-bar__img {
    height: 100px;
  }
  .lw-logo-bar {
    padding: 10px 16px;
  }
  .lw-wa-widget {
    bottom: 16px;
    right: 16px;
  }
  .lw-wa-widget__toggle {
    width: 56px;
    height: 56px;
  }
  .lw-wa-widget__toggle::before {
    inset: -8px;
    border-width: 2px;
  }
  .lw-wa-widget__tooltip {
    font-size: 13px;
    bottom: 68px; /* 56px del botón (tamaño móvil) + 12px de aire */
  }
}
