
/* ===== PROMOCIONES ININTECH ===== */
:root {
  --promo-blue: #1e4fa3;
  --promo-deep: #0e469b;
  --promo-cyan: #00d2ff;
}

.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 15, 24, 0.40);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility .35s ease;
}

.promo-overlay.promo-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.promo-window {
  position: relative;
  width: min(100%, 760px);
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(0,210,255,.24), transparent 35%),
    linear-gradient(135deg, rgba(14,70,155,.94), rgba(10,15,24,.91));
  box-shadow: 0 25px 90px rgba(0,0,0,.30);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: promoEntrance .55s ease both;
}

.promo-window::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -60px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 25px rgba(255,255,255,.035),
    0 0 0 55px rgba(255,255,255,.025);
  pointer-events: none;
}

.promo-topline {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--promo-blue),
    var(--promo-cyan),
    #fff
  );
}

.promo-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.10);
  font-size: 25px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.promo-close:hover {
  background: rgba(255,255,255,.24);
  transform: rotate(90deg);
}

.promo-content {
  position: relative;
  z-index: 1;
  padding: 46px 48px 30px;
}

.promo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: #b9efff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.promo-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--promo-cyan);
}

.promo-slide {
  display: none;
  animation: promoFade .45s ease both;
}

.promo-slide.active {
  display: block;
}

.promo-number {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,.55);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 3px;
}

.promo-title {
  max-width: 610px;
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 53px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.promo-title span {
  color: var(--promo-cyan);
}

.promo-description {
  max-width: 520px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.8;
}

.promo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid white;
  border-radius: 12px;
  color: var(--promo-deep);
  background: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .25s ease;
}

.promo-cta:hover {
  color: white;
  background: var(--promo-blue);
  border-color: var(--promo-cyan);
  transform: translateY(-2px);
}

.promo-secondary {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  color: white;
  background: rgba(255,255,255,.07);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.promo-secondary:hover {
  background: rgba(255,255,255,.17);
}

.promo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 48px 25px;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}

.promo-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.promo-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: width .25s, background .25s;
}

.promo-dot.active {
  width: 28px;
  background: var(--promo-cyan);
}

.promo-counter {
  color: rgba(255,255,255,.7);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.promo-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.12);
}

.promo-progress-bar {
  width: 0;
  height: 100%;
  background: var(--promo-cyan);
}


/* Área de la imagen del producto */
.promo-image {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

/* Imagen del producto */
.promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.25));
}

/* Ajustes para celulares */
@media (max-width: 600px) {
  .promo-image {
    height: 160px;
    margin-bottom: 14px;
  }
}
@keyframes promoEntrance {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes promoFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .promo-overlay {
    padding: 14px;
  }

  .promo-window {
    border-radius: 21px;
  }

  .promo-content {
    padding: 43px 23px 25px;
  }

  .promo-title {
    letter-spacing: -1px;
  }

  .promo-description {
    font-size: 13px;
    line-height: 1.65;
  }

  .promo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .promo-cta,
  .promo-secondary {
    width: 100%;
  }

  .promo-footer {
    padding: 17px 23px 21px;
  }

  .promo-close {
    top: 12px;
    right: 12px;
    width: 35px;
    height: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-window,
  .promo-slide {
    animation: none;
  }

  .promo-overlay,
  .promo-cta,
  .promo-close,
  .promo-dot {
    transition: none;
  }
}