/* ============================================================
   ESTUDIO RETÓRICA · Componentes base
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-spring),
    box-shadow var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid rgba(254,234,0,0.5);
  outline-offset: 2px;
}
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 15px; border-radius: 14px; }
.btn--xl { min-height: 62px; padding: 0 34px; font-size: 16px; border-radius: 16px; }

.btn--primary {
  background: var(--brand-yellow);
  color: var(--brand-black);
  box-shadow: var(--shadow-yellow);
}
.btn--primary:hover { background: var(--brand-yellow-600); }
.btn--yellow { background: var(--brand-yellow); color: var(--brand-black); }
.btn--yellow:hover { background: var(--brand-yellow-600); }
.btn--secondary {
  background: transparent;
  border-color: var(--brand-black);
  color: var(--brand-black);
}
.btn--secondary:hover {
  background: var(--brand-black);
  color: var(--brand-white);
}
.btn--ghost {
  background: transparent;
  color: var(--brand-white);
  border-color: rgba(255,255,255,0.16);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
}
.btn--link {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--brand-black);
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; font-weight: 500; color: inherit; }
.field__hint, .field__error { font-size: 12px; }
.field__error { color: var(--brand-yellow); }
.input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--brand-white);
  transition: border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard);
}
.input::placeholder { color: rgba(255,255,255,0.48); }
.input:focus {
  outline: none;
  border-color: var(--brand-yellow);
  background: rgba(255,255,255,0.08);
}
.input--light {
  background: var(--brand-white);
  border: 1px solid var(--border);
  color: var(--brand-black);
}
.input--light::placeholder { color: #8d8d8d; }
.input--light:focus { border-color: var(--brand-black); background: var(--brand-white); }

.card {
  border-radius: 24px;
  background: var(--brand-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--brand-white);
  font-size: 13px;
  font-weight: 500;
}
.divider { height: 1px; background: var(--border); width: 100%; }
