/* ==========================================================================
   Cact Button base
   ========================================================================== */

.btn {
  border-radius: 0.75rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/* Variante primaria */
.btn-primary {
  --bs-btn-bg: #A1561C;
  --bs-btn-border-color: #A1561C;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #7e461e;
  --bs-btn-hover-border-color: #7e461e;
  --bs-btn-hover-color: #fff;

  background-color: #A1561C;
  border-color: #A1561C;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #7e461e;
  border-color: #7e461e;
  color: #fff;
}

/* Tamaños */
.btn-lg {
  font-size: 1.125rem;
  line-height: 1.3;
  padding: 0.875rem 1.75rem;
}
.btn-sm {
  font-size: 0.875rem;
  line-height: 1.3;
  padding: 0.5rem 1rem;
}

/* Quita subrayado en enlaces */
.btn:link,
.btn:visited {
  text-decoration: none;
}

.btn:active,
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(156, 89, 40, 0.35);
}

.btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   CTA del Callout con extremos inclinados
   ========================================================================== */

/* Solo aplica a los botones dentro de .cact-callout__cta */
.cact-callout__cta .btn.btn-primary {
  background: #A1561C;
  color: #fff !important;
  border: none;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;

  padding: 0.875rem 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;

  /* forma tipo trapecio con ambos extremos inclinados */
  clip-path: polygon(0 0, 90% 0, 100% 100%, 10% 100%);

  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 4px 12px rgba(161, 86, 28, .18);
  position: relative;
}

/* Flecha SVG a la derecha */
.cact-callout__cta .btn.btn-primary::after {
  content: "";
  width: 18px;
  height: 18px;
  margin-left: .75rem;
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") no-repeat center / 18px 18px;
  flex: 0 0 18px;
}

/* Hover / Focus */
.cact-callout__cta .btn.btn-primary:hover,
.cact-callout__cta .btn.btn-primary:focus {
  background: #7e461e;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(126, 70, 30, .22);
  transform: translateY(-2px);
}

/* Tamaño grande */
.cact-callout__cta .btn.btn-primary.btn-lg {
  padding: 1rem 2.5rem;
}
