/**
 * Smart Catering — Button component
 * UNLAYERED to win against GP/Elementor `a` and `button` defaults.
 * Prefix `body.scc-fase0` for specificity (0,2,0).
 */

body.scc-fase0 .sc-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  background: transparent;
}
body.scc-fase0 .sc-button .sc-button__arrow,
body.scc-fase0 .sc-button svg.arrow {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
}
body.scc-fase0 .sc-button:hover .sc-button__arrow,
body.scc-fase0 .sc-button:hover svg.arrow { transform: translateX(4px); }

/* Gold filled — WCAG AA fix 2026-06-03: text negro #000 sobre #D99E39
 * Ratio antes (white #fff sobre #d99e39): 2.36:1 → FAIL
 * Ratio nuevo (black #000 sobre #d99e39): 8.91:1 → PASS AAA
 */
body.scc-fase0 .sc-button--gold {
  background: var(--color-gold, #D99E39);
  color: #000;
}
body.scc-fase0 .sc-button--gold:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

/* Ghost */
body.scc-fase0 .sc-button--ghost {
  border-color: #000;
  color: #000;
}
body.scc-fase0 .sc-button--ghost:hover {
  background: #000;
  color: #fff;
}
body.scc-fase0 .sc-button--ghost.sc-button--on-dark {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
body.scc-fase0 .sc-button--ghost.sc-button--on-dark:hover {
  background: #fff;
  color: #000;
}

/* Outline — light-background variant (page-finca.php: sc-finca-catering white section + cream CTA).
 * Visual twin of .sc-button--ghost: border #000 / color #000 on light bg, hover inverts dark/white.
 * Specificity (0,2,0) matching the unlayered body.scc-fase0 prefix convention. */
body.scc-fase0 .sc-button--outline {
  border-color: #000;
  color: #000;
}
body.scc-fase0 .sc-button--outline:hover {
  background: #000;
  color: #fff;
}

/* Large variant for hero CTAs */
body.scc-fase0 .sc-button--lg {
  padding: 1rem 2rem;
  font-size: 0.95rem;
}
