/* ================================================================
   ASCII Banner – Estilos base
   ================================================================ */

/* ── Wrapper principal ─────────────────────────────────────────── */
.ascii-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0f0f0f; /* fallback sin foto */
}

/* Forzar full-width dentro de Elementor (quita padding de columna) */
.elementor-widget-ascii-banner .elementor-widget-container {
  padding: 0 !important;
}

/* ── Foto de fondo ─────────────────────────────────────────────── */
.ascii-banner .ascii-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* ── Overlay ───────────────────────────────────────────────────── */
.ascii-banner .ascii-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Canvas ASCII ──────────────────────────────────────────────── */
.ascii-banner .ascii-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
}

/* ── Logo (referencia invisible para el canvas) ────────────────── */
.ascii-banner .ascii-logo-spacer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;        /* detrás del canvas */
  pointer-events: none;
}

.ascii-banner .ascii-logo-ref {
  width: 100%;
  display: block;
  visibility: hidden; /* ocupa espacio pero no se ve */
}

/* ── Capa de contenido (texto + botón) ─────────────────────────── */
.ascii-banner .ascii-content-layer {
  position: absolute;
  bottom: 8%;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 5%;
  pointer-events: none; /* el canvas sigue recibiendo mousemove */
}

/* ── Texto ─────────────────────────────────────────────────────── */
.ascii-banner .ascii-text {
  margin: 0;
  line-height: 1.5;
  max-width: 680px;
  width: 100%;
}

/* ── Botón ─────────────────────────────────────────────────────── */
.ascii-banner .ascii-btn {
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-weight: 500;
  cursor: pointer;
  pointer-events: all; /* el botón sí recibe clicks */
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .ascii-banner .ascii-content-layer {
    bottom: 6%;
  }
}
