/* Aviso “Plataforma en desarrollo” — landings públicas */

.ehs-dev-cd-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ehs-dev-cd-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ehs-dev-cd-modal {
  width: min(100%, 340px);
  background: #0a0a0a;
  color: #fff;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  padding: 16px 18px 18px;
  position: relative;
  transform: translateY(8px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ehs-dev-cd-overlay.is-open .ehs-dev-cd-modal {
  transform: translateY(0) scale(1);
}

.ehs-dev-cd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.ehs-dev-cd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1C56C6;
  line-height: 1.2;
}

.ehs-dev-cd-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1C56C6;
  box-shadow: 0 0 0 0 rgba(28, 86, 198, 0.55);
  animation: ehsDevCdPulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

@keyframes ehsDevCdPulse {
  0% { box-shadow: 0 0 0 0 rgba(28, 86, 198, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(28, 86, 198, 0); }
  100% { box-shadow: 0 0 0 0 rgba(28, 86, 198, 0); }
}

.ehs-dev-cd-close {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #9ca3af;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.ehs-dev-cd-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
}

.ehs-dev-cd-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.ehs-dev-cd-launch {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: #9ca3af;
  letter-spacing: 0.01em;
}

.ehs-dev-cd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.ehs-dev-cd-unit {
  text-align: center;
  min-width: 0;
}

.ehs-dev-cd-num {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.ehs-dev-cd-label {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

@media (max-width: 360px) {
  .ehs-dev-cd-modal {
    width: min(100%, 300px);
    padding: 14px 14px 16px;
  }

  .ehs-dev-cd-title {
    font-size: 1rem;
  }

  .ehs-dev-cd-num {
    font-size: 1.3rem;
  }
}
