/* ════════════════════════════════════════════
   Arrow Button for Elementor — v4.1
   Colores via propiedades CSS directas (no vars)
   para máxima compatibilidad con Elementor.
   ════════════════════════════════════════════ */

.arrow-btn-wrap { display: block; line-height: 1; }

/* ── Variables solo para forma y animación ── */
.arrow-btn {
  --ab-depth:  28px;
  --ab-tip-r:  0px;
  --ab-corn-r: 0px;
  --ab-speed:  480;
}

/* ── Botón base ─────────────────────────────── */
.arrow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 52px;
  min-width: 200px;

  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1a1a1a;           /* valor por defecto; Elementor lo sobreescribe con color: */
  text-decoration: none;
  white-space: nowrap;

  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  transition: color calc(var(--ab-speed) * 1ms) ease;
}

/* ── SVG de fondo ────────────────────────────── */
.ab-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;    /* permite que el stroke no se recorte */
  pointer-events: none;
}

/* ── Path SVG — fill y stroke directos ──────────
   Elementor escribe fill: / stroke: / stroke-width:
   directamente sobre .ab-path, sin CSS variables.
   ─────────────────────────────────────────────── */
.ab-path {
  fill:         #ddd9d0;   /* default; Elementor sobreescribe */
  stroke:       transparent;
  stroke-width: 0;
  paint-order:  stroke fill;  /* stroke por debajo → queda exterior al fill */
  transition:
    fill         calc(var(--ab-speed) * 1ms) ease,
    stroke       calc(var(--ab-speed) * 1ms) ease,
    stroke-width calc(var(--ab-speed) * 1ms) ease;
}

/* ── Texto y puntos siempre encima del SVG ──── */
.ab-dot,
.ab-label { position: relative; z-index: 1; }

/* ── Puntos decorativos ─────────────────────── */
.ab-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  transition:
    opacity   0.18s ease 0.05s,
    transform 0.26s ease 0.05s;
}
.arrow-btn:hover .ab-dot,
.arrow-btn.ab-open .ab-dot {
  opacity: 0;
  transform: scale(0);
  transition-delay: 0s;
}

/* ── Focus ──────────────────────────────────── */
.arrow-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
  border-radius: 4px;
}
