/* Botón fijo con typing loop en CSS puro */
.contact-trigger {
  position: fixed;
  top: 45px;
  right: 24px;
  z-index: 50;
  background: #0d0f14;
  border: 1px solid rgba(0,255,225,0.35);
  border-radius: 4px;
  padding: 8px 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 20px;
  color: #00ffe1;
  cursor: pointer;
}

.contact-trigger .type-text {
  display: inline-block;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #00ffe1;
  animation: typeLoop 3.5s steps(9) infinite;
}

@keyframes typeLoop {
  0%   { width: 0; }
  40%  { width: 9ch; }
  70%  { width: 9ch; }
  100% { width: 0; }
}

/* Modal centrado, oculto por defecto */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.contact-modal.open { display: flex; }

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,7,10,0.85);
  backdrop-filter: blur(2px);
}

.contact-terminal {
  position: relative;
  z-index: 1;
  width: 90%;
  max-height: 250px;
  max-width: 420px;
}

.contact-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #ff2ec4;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}