/* ============================================================
   BUTTONS — Warm light-theme button system
   ============================================================ */

/* ── BASE BUTTON ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  line-height: 1;
}

/* Ripple on click */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0);
  transition: background 300ms;
}
.btn:active::after { background: rgba(255,255,255,0.15); }

/* ── PRIMARY — Burnt orange fill ─────────────────────────── */
.btn-primary {
  background: rgba(232, 98, 26, 0.85);
  color: #fff;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(232, 98, 26, 0.4);
  box-shadow: 
    0 4px 16px rgba(232, 98, 26, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
  animation: btn-glow 3s infinite alternate ease-in-out;
}

@keyframes btn-glow {
  0% { box-shadow: 0 4px 16px rgba(232, 98, 26, 0.30), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -1px 0 rgba(0,0,0,0.1), inset 0 0 10px rgba(255,255,255,0.1); }
  100% { box-shadow: 0 4px 28px rgba(232, 98, 26, 0.65), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 0 rgba(0,0,0,0.1), inset 0 0 10px rgba(255,255,255,0.1); }
}

.btn-primary:hover {
  background: rgba(232, 98, 26, 0.95);
  transform: translateY(-2px);
  animation: none;
  box-shadow: 
    0 12px 32px rgba(232, 98, 26, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    inset 0 0 16px rgba(255, 255, 255, 0.2);
}
.btn-primary:active { transform: translateY(0); }

/* ── SECONDARY — Charcoal fill ───────────────────────────── */
.btn-secondary {
  background: var(--charcoal);
  color: #fff;
  box-shadow: 0 3px 12px rgba(26,17,8,0.18);
}
.btn-secondary:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,17,8,0.22);
}

/* ── GHOST — Outlined orange ─────────────────────────────── */
.btn-ghost {
  background: rgba(255, 255, 255, 0.2);
  color: var(--charcoal);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 4px 16px rgba(26, 17, 8, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.4);
  color: var(--orange-deep);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 12px 32px rgba(26, 17, 8, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ── ORANGE OUTLINE ───────────────────────────────────────── */
.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

/* ── SIZES ─────────────────────────────────────────────────── */
.btn-sm  { padding: 9px 20px; font-size: 0.8125rem; }
.btn-lg  { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-xl  { padding: 18px 48px; font-size: 1.0625rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* ── ICON BUTTON ─────────────────────────────────────────── */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* Arrow SVG inside buttons */
.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease-out);
}
.btn:hover svg { transform: translateX(3px); }

/* ── CTA PILL (hero) ─────────────────────────────────────── */
.btn-pill {
  border-radius: var(--radius-pill);
  padding: 14px 32px;
}

/* WhatsApp CTA variant */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 3px 12px rgba(37,211,102,0.30);
}
.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.38);
}
