/* ===== WhatsApp Float (Bottom Left) ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: waPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__tooltip {
  position: absolute;
  left: 72px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7); }
}

/* ===== Chatbot (Bottom Right) - Simple ===== */
.chatbot {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  font-family: var(--font-sans);
}

.chatbot__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  font-size: 14px;
  font-weight: 600;
}

.chatbot__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.chatbot__toggle.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.chatbot__toggle-text {
  white-space: nowrap;
}

.chatbot__panel {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s ease;
}

.chatbot__panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chatbot__header {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot__header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot__header-avatar {
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.chatbot__header-info strong {
  display: block;
  font-size: 14px;
}

.chatbot__header-info span {
  font-size: 11px;
  opacity: 0.7;
}

.chatbot__close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chatbot__body {
  padding: 20px;
}

.chatbot__welcome {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 16px;
}

.chatbot__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chatbot__form input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--color-off-white);
}

.chatbot__form input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
}

.chatbot__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: #25D366;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
}

.chatbot__submit:hover {
  background: #1da851;
}

/* ===== Reels Section ===== */
.reels {
  background: var(--color-primary);
  padding: 80px 0;
  overflow: hidden;
}

.reels .section-label {
  text-align: center;
}

.reels .section-title {
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}

.reels__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 24px 20px;
  -ms-overflow-style: none;
}

.reels__track::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 260px;
  scroll-snap-align: center;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #000;
  cursor: pointer;
  transition: var(--transition);
}

.reel-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(197, 160, 89, 0.25);
}

.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.8));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  pointer-events: none;
}

.reel-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: var(--transition);
}

.reel-card:hover .reel-card__play {
  opacity: 1;
}

.reel-card__title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.reel-card__tag {
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reels__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.reels__nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.reels__nav button:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .chatbot__panel {
    width: calc(100vw - 32px);
    right: 0;
    max-height: min(70vh, 520px);
  }

  .whatsapp-float,
  .chatbot {
    bottom: 20px;
  }

  .whatsapp-float {
    left: 16px;
    width: 54px;
    height: 54px;
  }

  .chatbot {
    right: 16px;
  }

  .chatbot__toggle {
    padding: 12px 16px;
    font-size: 13px;
  }

  .chatbot__toggle-text {
    display: none;
  }

  .whatsapp-float__tooltip {
    display: none;
  }

  .reel-card {
    flex: 0 0 200px;
  }
}

.mobile-bar {
  display: none;
}

@media (max-width: 1024px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .whatsapp-float,
  .chatbot {
    display: none;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
  }

  .mobile-bar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 6px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    color: #fff;
  }

  .mobile-bar__btn--dark {
    background: #1A1D1A;
  }

  .mobile-bar__btn--gold {
    background: #C5A059;
    color: #1A1D1A;
  }

  .mobile-bar__btn--wa {
    background: #25D366;
  }
}
