/* ═══════════════════════════════════════
   BarmetMedia Calculadora — Promo CSS
   ═══════════════════════════════════════ */

/* ── Top Bar ── */
.barmet-promo-topbar {
  background: #1a1a2e;
  color: #fff;
  text-align: center;
  padding: 10px 40px 10px 20px;
  font-size: 0.9rem;
  position: relative;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: barmetSlideDown 0.4s ease;
}
.barmet-promo-topbar strong {
  color: #EF7D06;
}
.barmet-promo-topbar-link {
  background: linear-gradient(135deg, #D00E69, #EF7D06);
  color: #fff !important;
  padding: 4px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: transform 0.2s;
}
.barmet-promo-topbar-link:hover {
  transform: scale(1.05);
  color: #fff !important;
}
.barmet-promo-topbar-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
}
.barmet-promo-topbar-close:hover { color: #fff; }

@keyframes barmetSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── CTA Flotante ── */
.barmet-promo-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  background: linear-gradient(135deg, #D00E69, #EF7D06);
  color: #fff !important;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(208, 14, 105, 0.4);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: barmetPulse 2s infinite;
}
.barmet-promo-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(208, 14, 105, 0.5);
  color: #fff !important;
}
.barmet-promo-float-icon {
  font-size: 1.3rem;
}
@keyframes barmetPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(208, 14, 105, 0.4); }
  50% { box-shadow: 0 6px 24px rgba(208, 14, 105, 0.6), 0 0 0 8px rgba(208, 14, 105, 0.1); }
}

/* ── Pop-up ── */
.barmet-promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: barmetFadeIn 0.3s ease;
}
.barmet-promo-popup {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: barmetPopIn 0.4s ease;
}
.barmet-promo-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #999;
  cursor: pointer;
}
.barmet-promo-popup-close:hover { color: #333; }
.barmet-promo-popup-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.barmet-promo-popup-title {
  font-size: 1.4rem;
  color: #1a1a2e;
  margin: 0 0 10px;
}
.barmet-promo-popup-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px;
}
.barmet-promo-popup-btn {
  display: inline-block;
  background: linear-gradient(135deg, #D00E69, #EF7D06);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.2s;
}
.barmet-promo-popup-btn:hover { transform: scale(1.03); color: #fff !important; }
.barmet-promo-popup-dismiss {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: #999;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.barmet-promo-popup-dismiss:hover { color: #555; }

@keyframes barmetFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes barmetPopIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* ── Hero ── */
.barmet-promo-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 100%);
  border-radius: 16px;
  padding: 60px 40px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}
.barmet-promo-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(208, 14, 105, 0.15), transparent 70%);
  border-radius: 50%;
}
.barmet-promo-hero-content {
  position: relative;
  z-index: 1;
}
.barmet-promo-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #D00E69, #EF7D06);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.barmet-promo-hero-sub {
  font-size: 1.1rem;
  color: #b0b0c0;
  margin: 0 0 28px;
}
.barmet-promo-hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, #D00E69, #EF7D06);
  color: #fff !important;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(208, 14, 105, 0.3);
}
.barmet-promo-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(208, 14, 105, 0.5);
  color: #fff !important;
}
.barmet-promo-hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.barmet-promo-hero-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #c0c0d0;
}
.barmet-promo-hero-feat-icon {
  font-size: 1.2rem;
}

/* ── Bloque Servicios ── */
.barmet-promo-service-block {
  background: linear-gradient(135deg, #f8f0ff 0%, #fff5f0 100%);
  border: 2px solid #e8d0f0;
  border-radius: 12px;
  padding: 30px 28px;
  text-align: center;
  margin: 30px 0;
}
.barmet-promo-service-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.barmet-promo-service-title {
  font-size: 1.3rem;
  color: #1a1a2e;
  margin: 0 0 8px;
}
.barmet-promo-service-desc {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 18px;
}
.barmet-promo-service-btn {
  display: inline-block;
  background: linear-gradient(135deg, #D00E69, #EF7D06);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.barmet-promo-service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(208, 14, 105, 0.3);
  color: #fff !important;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .barmet-promo-hero {
    padding: 40px 20px 36px;
  }
  .barmet-promo-hero-title {
    font-size: 1.6rem;
  }
  .barmet-promo-hero-features {
    gap: 16px;
  }
  .barmet-promo-float {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }
  .barmet-promo-popup {
    padding: 28px 20px 24px;
  }
  .barmet-promo-topbar {
    font-size: 0.8rem;
    padding: 8px 36px 8px 12px;
  }
}
