/* Floating WhatsApp → Millie (desktop sitewide) */
.ogi-wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.35rem;
  z-index: 10040;
  display: none;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}

@media (min-width: 993px) {
  .ogi-wa-float {
    display: flex;
  }
}

.ogi-wa-float__fab {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.ogi-wa-float__icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-size: 34px;
  box-shadow:
    0 10px 28px rgba(18, 140, 126, 0.45),
    0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: ogi-wa-bob 2.8s ease-in-out infinite, ogi-wa-glow 2.2s ease-in-out infinite;
}

.ogi-wa-float__pulse,
.ogi-wa-float__pulse--delay {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: 1;
  animation: ogi-wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.ogi-wa-float__pulse--delay {
  animation-delay: 1.1s;
}

.ogi-wa-float__bubble {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: 210px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px 14px 4px 14px;
  background: #fff;
  color: #122;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.28);
  animation: ogi-wa-bubble 3.2s ease-in-out infinite;
}

.ogi-wa-float__bubble-kicker {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #128c7e;
  font-weight: 700;
}

.ogi-wa-float__bubble-main {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #1a1a1a;
}

@keyframes ogi-wa-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes ogi-wa-glow {
  0%,
  100% {
    box-shadow:
      0 10px 28px rgba(18, 140, 126, 0.45),
      0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow:
      0 14px 34px rgba(18, 140, 126, 0.55),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@keyframes ogi-wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@keyframes ogi-wa-bubble {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

body.ogi-wa-modal-open {
  overflow: hidden;
}

.ogi-wa-modal[hidden] {
  display: none !important;
}

.ogi-wa-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.ogi-wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 12, 0.55);
  backdrop-filter: blur(4px);
}

.ogi-wa-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  padding: 1.4rem 1.35rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.ogi-wa-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #444;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.ogi-wa-modal__brand {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  margin-bottom: 0.75rem;
}

.ogi-wa-modal__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: #121212 !important;
}

.ogi-wa-modal__lead {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.7);
}

.ogi-wa-modal__options {
  display: grid;
  gap: 0.65rem;
}

.ogi-wa-modal__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(18, 140, 126, 0.22);
  background: #f4fbf7;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.ogi-wa-modal__option:hover {
  border-color: #25d366;
  background: #e9f9ef;
  transform: translateY(-1px);
}

.ogi-wa-modal__option-label {
  font-weight: 600;
  font-size: 15px;
  color: #122;
}

.ogi-wa-modal__option-hint {
  font-size: 12.5px;
  color: rgba(26, 26, 26, 0.6);
}

.ogi-wa-modal__label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.65);
}

.ogi-wa-modal__label span {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
}

.ogi-wa-modal__input {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  background: #f7f7f7;
  color: #1a1a1a;
  font-size: 15px;
}

.ogi-wa-modal__textarea {
  resize: vertical;
  min-height: 84px;
}

.ogi-wa-modal__preview-label {
  margin: 0.9rem 0 0.35rem;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
}

.ogi-wa-modal__preview {
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  background: #f0faf4;
  border: 1px solid rgba(37, 211, 102, 0.25);
  font-size: 13.5px;
  line-height: 1.45;
  color: #1a1a1a;
  margin-bottom: 0.95rem;
}

.ogi-wa-modal__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 140, 126, 0.35);
}

.ogi-wa-modal__send:hover {
  filter: brightness(1.05);
}

.ogi-wa-modal__back {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  border: 0;
  background: transparent;
  color: rgba(26, 26, 26, 0.65);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 992px) {
  .ogi-wa-float {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ogi-wa-float__icon,
  .ogi-wa-float__pulse,
  .ogi-wa-float__pulse--delay,
  .ogi-wa-float__bubble {
    animation: none !important;
  }
}
