/* Usage: <a class="btn btn--primary">Call</a>
   Variants: --primary (main action, brand red), --dark, --outline,
   --ghost-light (on black), --whatsapp, --danger (admin, in admin.css)
   Brand rule (page 8): buttons use Roboto Bold 700, 16px. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: filter 0.15s, background 0.15s;
}
.btn:hover { filter: brightness(0.96); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); filter: none; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--outline { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--tint); }
/* WhatsApp brand green. Dark text (not white) because white on this
   green is hard to read; near-black passes accessibility contrast easily. */
.btn--whatsapp { background: #25d366; color: var(--ink); border-color: #1fbd5a; }
.btn--whatsapp:hover { background: #1ebe5b; filter: none; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
/* On black, the brand puts white focus rings so they stay visible */
.btn--ghost-light:focus-visible { outline-color: #fff; }

.btn--sm { padding: 9px 16px; font-size: 0.875rem; }
.btn--block { width: 100%; }
