.wa-lead[hidden] { display: none !important; }
.wa-lead {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}
.wa-lead-scrim {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 26, 0.46);
  backdrop-filter: blur(6px);
}
.wa-lead-panel {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: #fff;
  border-radius: 28px;
  padding: 26px 22px 22px;
  box-shadow: 0 24px 70px rgba(18, 20, 26, 0.22);
  border: 1px solid var(--line);
}
.wa-lead-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f6f7f9;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.wa-lead-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.wa-lead-panel h2 { font-size: 26px; margin: 0 0 8px; }
.wa-lead-lead { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.wa-lead-form label { display: block; margin: 0 0 12px; }
.wa-lead-form label span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.wa-lead-form label span em { font-style: normal; color: var(--muted); font-weight: 500; }
.wa-lead-form input,
.wa-lead-form select,
.wa-lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
.wa-lead-form textarea { resize: vertical; min-height: 72px; }
.wa-lead-trust {
  margin: 4px 0 14px;
  background: #163a0c;
  border-radius: 16px;
  padding: 12px 14px 11px;
  font-size: 15px;
  color: #f4ffe0;
  text-align: center;
  border: 1px solid #c8f542;
  animation: wa-glow 1.8s ease-in-out infinite;
}
.wa-lead-trust-main {
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.wa-lead-trust-main strong { color: #c8f542; }
.wa-lead-guarantee {
  display: inline-block;
  margin-top: 7px;
  background: #c8f542;
  color: #163a0c;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@keyframes wa-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(200, 245, 66, 0.35), 0 0 0 0 rgba(200, 245, 66, 0.2);
  }
  50% {
    box-shadow: 0 0 28px rgba(200, 245, 66, 0.75), 0 0 0 8px rgba(200, 245, 66, 0.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-lead-trust { animation: none; box-shadow: 0 0 16px rgba(200, 245, 66, 0.4); }
}
.wa-lead-submit { width: 100%; }
.wa-lead-form[hidden],
.wa-lead-done[hidden],
.wa-lead [hidden] { display: none !important; }
.wa-lead-timer {
  font-size: clamp(42px, 8vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1f6b2a;
  text-align: center;
  margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
}
.wa-lead-timer-cap {
  text-align: center;
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 13px;
}
.wa-lead-done .btn { width: 100%; }
.wa-lead-done-close { margin-top: 8px; }
.wa-btn-cancel {
  margin-top: 8px;
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}
.wa-btn-cancel:hover { filter: brightness(1.08); }
.wa-lead-close-hint {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 14px;
}
body.wa-lead-on { overflow: hidden; }

.wa-chip[hidden] { display: none !important; }
.wa-chip {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 70;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  background: #0a0a0c;
  color: #f4ffe0;
  border: 1px solid rgba(200, 245, 66, 0.55);
  border-radius: 40px;
  height: 76px;
  padding: 0 12px 0 16px;
  width: min(760px, calc(100vw - 16px));
  cursor: pointer;
  transform: translateX(-50%);
  transform-origin: top center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  font-family: Outfit, "Segoe UI", sans-serif;
  overflow: hidden;
  animation: wa-glow 1.8s ease-in-out infinite;
  transition:
    width 0.55s cubic-bezier(0.32, 0.72, 0, 1),
    height 0.55s cubic-bezier(0.32, 0.72, 0, 1),
    padding 0.45s cubic-bezier(0.32, 0.72, 0, 1),
    border-radius 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}
.wa-chip.is-mini {
  width: 132px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  gap: 8px;
  animation: wa-mini-glow 2.4s ease-in-out infinite;
}
.wa-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8f542;
  box-shadow: 0 0 10px #c8f542;
  flex: 0 0 auto;
  animation: wa-dot 1.4s ease-in-out infinite;
}
.wa-chip strong {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  min-width: 3.1em;
  text-align: left;
}
.wa-chip.is-mini strong { font-size: 15px; min-width: 0; }
.wa-chip-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  opacity: 1;
  max-width: none;
  overflow: visible;
  transition: max-width 0.45s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease;
}
.wa-chip.is-mini .wa-chip-wide {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.wa-chip-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 13.2em;
}
.wa-chip-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8f542;
  white-space: nowrap;
}
.wa-chip-cap {
  font-size: 12px;
  font-weight: 700;
  color: #d7e8c8;
  white-space: nowrap;
}
.wa-chip-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.wa-chip-mini {
  appearance: none;
  border: 0;
  background: #c8f542;
  color: #163a0c;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
}
.wa-chip-cancel {
  appearance: none;
  border: 0;
  background: #c0392b;
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
}
.wa-chip.is-due {
  animation: none;
  background: #12141a;
}
@media (max-width: 760px) {
  .wa-chip:not(.is-mini) {
    height: 128px;
    width: calc(100vw - 16px);
    border-radius: 32px;
    padding: 12px 14px;
    align-items: center;
  }
  .wa-chip:not(.is-mini) .wa-chip-wide {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .wa-chip:not(.is-mini) .wa-chip-copy {
    min-width: 0;
    flex: 1 1 auto;
  }
  .wa-chip:not(.is-mini) .wa-chip-actions {
    flex: 1 1 100%;
    width: 100%;
  }
  .wa-chip:not(.is-mini) .wa-chip-mini,
  .wa-chip:not(.is-mini) .wa-chip-cancel {
    flex: 1 1 0;
    text-align: center;
  }
}
@keyframes wa-mini-glow {
  0%, 100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(200, 245, 66, 0.2); }
  50% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 0 16px rgba(200, 245, 66, 0.45); }
}
@keyframes wa-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-chip, .wa-chip-wide, .wa-chip-dot { animation: none; transition: none; }
}
