/* ============================================================
   Barra fija móvil — coherente con CTA amarillo + WhatsApp
   ============================================================ */
.sticky-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  max-width: 100vw;
  padding: 9px max(12px, env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: minmax(92px, 0.72fr) minmax(0, 1.55fr);
  gap: 8px;
  border-top: 1px solid rgba(8, 170, 165, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 30px rgba(8, 45, 69, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-bar__whatsapp,
.sticky-bar__cta {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 9px;
  border-radius: 9px;
  font-size: clamp(0.62rem, 2.6vw, 0.74rem);
  line-height: 1.15;
  text-align: center;
}

.sticky-bar__whatsapp {
  box-shadow: none;
}

.sticky-bar__cta {
  color: var(--color-navy);
  background: linear-gradient(180deg, #ffc91b 0%, #ffb700 100%);
  box-shadow: 0 6px 16px rgba(255, 184, 0, 0.2);
}

@media (max-width: 359px) {
  .sticky-bar {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 6px;
    padding-inline: 8px;
  }

  .sticky-bar__whatsapp,
  .sticky-bar__cta {
    padding-inline: 6px;
    font-size: 0.59rem;
  }
}

@media (min-width: 640px) {
  .sticky-bar {
    display: none;
  }
}