/* ═══════════════════════════════════════════════════════════════
   announcements.css — Banner transversal de anuncios BuildGets
   Creado: 2026-05-25
   Diseño validado en mockup v2 (altura matched a cards grid).
   ═══════════════════════════════════════════════════════════════ */

/* Contenedor que ocupa todo el ancho del grid de productos */
.bg-ann-wrap {
  position: relative;
  width: 100%;
}

/* Card principal */
.bg-ann {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  border: 2.5px solid #2563eb;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
  overflow: hidden;
  user-select: none;
  min-height: 260px;
}

.bg-ann-track {
  position: relative;
  min-height: 260px;
}

.bg-ann-slide {
  position: absolute;
  inset: 0;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 26px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  cursor: pointer;
}
.bg-ann-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Efecto radial decorativo por slide */
.bg-ann-slide::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  pointer-events: none;
  border-radius: 50%;
}
.bg-ann-slide.bg-ann-glow-orange::before  { top: -60px; right: -60px; background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%); }
.bg-ann-slide.bg-ann-glow-green::before   { top: -60px; left: -60px;  background: radial-gradient(circle, rgba(34, 197, 94, 0.13) 0%, transparent 70%); }
.bg-ann-slide.bg-ann-glow-emerald::before { bottom: -60px; right: -60px; background: radial-gradient(circle, rgba(16, 185, 129, 0.13) 0%, transparent 70%); }
.bg-ann-slide.bg-ann-glow-red::before     { top: -60px; right: -60px; background: radial-gradient(circle, rgba(239, 68, 68, 0.13) 0%, transparent 70%); }
.bg-ann-slide.bg-ann-glow-amber::before   { top: -60px; left: -60px;  background: radial-gradient(circle, rgba(251, 191, 36, 0.13) 0%, transparent 70%); }

/* Visual izquierdo (video / KPI / HTML) */
.bg-ann-visual {
  position: relative;
  width: 280px;
  height: 158px;
  border-radius: 14px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.bg-ann-visual-video {
  background-color: #1e293b;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}
.bg-ann-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.45) 0%, rgba(15,23,42,0.25) 50%, rgba(15,23,42,0.55) 100%);
  z-index: 0;
}
.bg-ann-play {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.bg-ann-slide:hover .bg-ann-play {
  transform: scale(1.1);
}
.bg-ann-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Visuales HTML libre */
.bg-ann-visual-html {
  flex-direction: column;
  gap: 6px;
  padding: 16px;
}
.bg-ann-visual-green,
.bg-ann-visual-emerald {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  border: 0.5px solid rgba(34, 197, 94, 0.25);
}
.bg-ann-visual-orange {
  background: linear-gradient(135deg, #7c2d12 0%, #431407 100%);
  border: 0.5px solid rgba(234, 88, 12, 0.3);
}
.bg-ann-visual-red {
  background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%);
  border: 0.5px solid rgba(239, 68, 68, 0.3);
}
.bg-ann-visual-amber {
  background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
  border: 0.5px solid rgba(251, 191, 36, 0.3);
}

/* KPI subcomponentes */
.bg-ann-kpi-num {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.bg-ann-kpi-num-big {
  font-size: 68px;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  letter-spacing: -0.04em;
}
.bg-ann-kpi-num-unit {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}
.bg-ann-kpi-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

/* Comparativa subcomponentes */
.bg-ann-compare-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bg-ann-compare-old {
  font-size: 28px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.7);
  text-decoration-thickness: 2px;
  white-space: nowrap;
}
.bg-ann-compare-old-unit {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
  color: #64748b;
}
.bg-ann-compare-arrow {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.4);
}
.bg-ann-compare-new {
  font-size: 32px;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -0.02em;
}
.bg-ann-compare-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
  font-weight: 600;
}

/* Contenido central */
.bg-ann-body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
}
.bg-ann-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  border: 1px solid transparent;
}
.bg-ann-badge-orange  { background: #ffedd5; border-color: #fdba74; color: #9a3412; }
.bg-ann-badge-green   { background: #dcfce7; border-color: #86efac; color: #166534; }
.bg-ann-badge-emerald { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.bg-ann-badge-red     { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.bg-ann-badge-amber   { background: #fef3c7; border-color: #fcd34d; color: #854d0e; }
.bg-ann-badge-blue    { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }

.bg-ann-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: bgAnnPulseDot 1.6s ease-in-out infinite;
}
@keyframes bgAnnPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.55; }
}

.bg-ann-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  color: #0f172a;
}
.bg-ann-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 500px;
}
.bg-ann-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #0f172a;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 11px;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.bg-ann-cta-ghost {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  box-shadow: none;
}
.bg-ann-slide:hover .bg-ann-cta {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.bg-ann-cta-arrow {
  width: 16px;
  height: 16px;
}

/* Flechas */
.bg-ann-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.18s;
  color: #0f172a;
  opacity: 0;
}
.bg-ann-wrap:hover .bg-ann-nav {
  opacity: 1;
}
.bg-ann-nav:hover {
  transform: translateY(-50%) scale(1.1);
  background: white;
}
.bg-ann-nav-prev { left: -18px; }
.bg-ann-nav-next { right: -18px; }

/* Dots */
.bg-ann-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}
.bg-ann-dot {
  width: 26px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.bg-ann-dot:hover { background: #94a3b8; }
.bg-ann-dot.is-active {
  background: #0f172a;
  width: 36px;
}
/* Hit area táctil invisible usando pseudo-elemento (no afecta layout) */
.bg-ann-dot::before {
  content: '';
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -3px;
  right: -3px;
}

/* Barra de progreso */
.bg-ann-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 5;
}
.bg-ann-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fbbf24, #ef4444);
  transition: width 0.1s linear;
}
.bg-ann.is-paused .bg-ann-progress-bar {
  transition: none;
}

/* Modo single — sin controles */
.bg-ann-wrap.is-single-wrap .bg-ann-nav,
.bg-ann-wrap.is-single-wrap .bg-ann-dots,
.bg-ann-wrap.is-single-wrap .bg-ann-progress {
  display: none;
}

/* Lightbox */
.bg-ann-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  /* Fallback sólido por si backdrop-filter no es soportado (Android <8, iOS <9, etc.) */
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Cuando backdrop-filter SÍ funciona, baja un poco la opacidad para que se note el blur */
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* iOS notch / Android nav bar */
  padding-top: max(20px, env(safe-area-inset-top, 20px));
  padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
  padding-left: max(20px, env(safe-area-inset-left, 20px));
  padding-right: max(20px, env(safe-area-inset-right, 20px));
  opacity: 0;
  transition: opacity 0.3s;
}
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .bg-ann-lightbox { background: rgba(0, 0, 0, 0.78); }
}
.bg-ann-lightbox.is-open {
  display: flex;
  opacity: 1;
}
.bg-ann-lightbox-content {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
}
.bg-ann-lightbox-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.bg-ann-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 44px;        /* WCAG / Apple HIG: mínimo 44px de área táctil */
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  /* Asegura que el padding del lightbox no esconda el botón */
  -webkit-tap-highlight-color: transparent;
}
.bg-ann-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* ───── Lockup AI MAX ULTRA (visual del slide tipo survey) ───── */
.bg-ann-visual-survey {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  border: 0.5px solid rgba(255, 215, 0, 0.3);
  flex-direction: column;
  gap: 16px;
  padding: 18px 14px;
}

.bg-ann-ultra-lockup {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  /* Reservar espacio inferior para el sello que cuelga */
  padding-bottom: 16px;
}
.bg-ann-ultra-zap {
  font-size: 1.8rem;
  line-height: 1;
}
.bg-ann-ultra-bg {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.bg-ann-ultra-aimax {
  position: relative;
  background: #FFD700;
  color: #1e3a8a;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
/* Sello ULTRA: cuelga debajo del badge AI MAX, alineado a la derecha
   pero DENTRO de los límites visuales (no se sale del contenedor). */
.bg-ann-ultra-seal {
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.bg-ann-ultra-tagline {
  font-family: ui-sans-serif, -apple-system, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #FFD700;
  letter-spacing: 0.4em;
  margin-top: 10px;
  text-transform: uppercase;
}

/* ───── Modal Encuesta ───── */
.bg-ann-survey {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top, 20px));
  padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
  opacity: 0;
  transition: opacity 0.3s;
}
.bg-ann-survey.is-open {
  display: flex;
  opacity: 1;
}
.bg-ann-survey-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}
.bg-ann-survey-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.bg-ann-survey-close:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}

.bg-ann-survey-header {
  margin-bottom: 22px;
}
.bg-ann-survey-eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  color: #dc2626;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.bg-ann-survey-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.bg-ann-survey-sub {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.bg-ann-survey-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bg-ann-survey-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.bg-ann-survey-opt:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.bg-ann-survey-opt input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bg-ann-survey-opt.is-checked {
  background: #eff6ff;
  border-color: #2563eb;
}

.bg-ann-survey-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  background: white;
  position: relative;
  transition: all 0.15s;
  margin-top: 1px;
}
.bg-ann-survey-opt.is-checked .bg-ann-survey-check {
  background: #2563eb;
  border-color: #2563eb;
}
.bg-ann-survey-opt.is-checked .bg-ann-survey-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.bg-ann-survey-text {
  flex: 1;
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.5;
}

.bg-ann-survey-opt-free {
  flex-direction: row;
  align-items: flex-start;
}
.bg-ann-survey-free-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bg-ann-survey-free-input {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.9rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  color: #0f172a;
  background: white;
  transition: border 0.15s;
  outline: none;
  resize: vertical;
  min-height: 56px;
  line-height: 1.5;
}
.bg-ann-survey-free-input:focus {
  border-color: #2563eb;
}

.bg-ann-survey-error {
  font-size: 0.85rem;
  color: #dc2626;
  margin-top: 4px;
  min-height: 1.2em;
}

.bg-ann-survey-submit {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  border: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}
.bg-ann-survey-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}
.bg-ann-survey-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.bg-ann-survey-thanks {
  text-align: center;
  padding: 30px 20px;
}
.bg-ann-survey-thanks-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.bg-ann-survey-thanks-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.bg-ann-survey-thanks-text {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Responsive móvil — modal encuesta */
@media (max-width: 768px) {
  .bg-ann-survey-card {
    padding: 26px 18px 22px;
    border-radius: 14px;
  }
  .bg-ann-survey-title { font-size: 1.15rem; }
  .bg-ann-survey-sub { font-size: 0.82rem; }
  .bg-ann-survey-text { font-size: 0.85rem; }
  .bg-ann-survey-opt { padding: 12px; }

  /* Lockup ULTRA en móvil */
  .bg-ann-ultra-zap { font-size: 1.5rem; }
  .bg-ann-ultra-bg { font-size: 1.25rem; }
  .bg-ann-ultra-aimax { font-size: 0.85rem; padding: 4px 10px; }
  .bg-ann-ultra-seal { font-size: 0.6rem; padding: 3px 9px; top: calc(100% - 3px); }
  .bg-ann-ultra-tagline { font-size: 11px; margin-top: 10px; letter-spacing: 0.35em; }
}
@media (max-width: 768px) {
  /* Banner: altura mínima generosa para que el contenido respire en móvil.
     Calculada para acomodar: visual (150px) + gap + badge + título 2 líneas
     + desc 3 líneas + CTA + padding superior/inferior. */
  .bg-ann { min-height: 460px; }
  .bg-ann-track { min-height: 460px; }

  .bg-ann-slide {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px 28px;
    position: absolute;
    inset: 0;
    gap: 14px;
    justify-content: center;
    align-items: center;
  }

  .bg-ann-visual {
    width: 100%;
    max-width: 320px;
    height: 145px;
    margin: 0 auto;
    flex-shrink: 0;
  }

  /* KPI: el número grande (68px) en móvil queda enorme */
  .bg-ann-kpi-num-big { font-size: 52px; }
  .bg-ann-kpi-num-unit { font-size: 16px; }

  /* Comparativa: textos pueden romperse si móvil estrecho */
  .bg-ann-compare-row {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .bg-ann-compare-old { font-size: 22px; }
  .bg-ann-compare-old-unit { font-size: 12px; }
  .bg-ann-compare-new { font-size: 26px; }
  .bg-ann-compare-arrow { width: 18px; height: 18px; }

  /* Body: ocupa el espacio restante y centra contenido */
  .bg-ann-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .bg-ann-badge {
    margin-bottom: 10px;
    font-size: 10px;
    padding: 4px 12px;
  }
  .bg-ann-title {
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: 10px;
    max-width: 100%;
  }
  .bg-ann-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 16px;
    color: #475569;
  }
  .bg-ann-cta {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  /* Flechas ocultas en móvil — se navega con swipe o dots */
  .bg-ann-nav { display: none; }

  /* Dots: tamaño visual razonable + más contraste para visibilidad en móvil.
     El hit area táctil viene del pseudo-elemento ::before definido arriba. */
  .bg-ann-dots {
    margin-top: 16px;
    gap: 10px;
  }
  .bg-ann-dot {
    width: 24px;
    height: 5px;          /* un poco más grueso para que se vea en móvil */
    background: #94a3b8;  /* gris MÁS contrastado (antes #cbd5e1 era invisible) */
    opacity: 0.6;
  }
  .bg-ann-dot.is-active {
    width: 32px;
    background: #0f172a;
    opacity: 1;
  }

  /* Lightbox: ratio 16:9 puede quedar muy pequeño en móviles altos */
  .bg-ann-lightbox { padding: 12px; }
  .bg-ann-lightbox-content {
    max-width: 100%;
    border-radius: 10px;
  }
  .bg-ann-lightbox-close {
    top: -50px;
    right: 0;
  }
}

/* Móviles muy estrechos (iPhone SE, Android antiguos) */
@media (max-width: 380px) {
  .bg-ann { min-height: 500px; }
  .bg-ann-track { min-height: 500px; }
  .bg-ann-visual { height: 130px; max-width: 280px; }
  .bg-ann-title { font-size: 1.08rem; }
  .bg-ann-desc { font-size: 0.84rem; }
  .bg-ann-kpi-num-big { font-size: 44px; }
  .bg-ann-compare-old { font-size: 18px; }
  .bg-ann-compare-new { font-size: 22px; }
}
