/* DELARE · estilos base (el resto del diseño va en línea en cada página) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FBF8F2; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: #1C1C1C; }
a:hover { color: #9A6410; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #E9A325; outline-offset: 2px; }

input, select, textarea { max-width: 100%; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #1C1C1C !important;
  box-shadow: 0 0 0 3px rgba(233, 163, 37, 0.35);
}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

/* Preguntas frecuentes */
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] .chev { transform: rotate(45deg); }

/* Filtros del blog */
.chip {
  font: inherit; font-size: 14px; font-weight: 600;
  padding: 10px 18px; min-height: 44px; border-radius: 99px; cursor: pointer;
  border: 1px solid #1C1C1C; background: #FFFFFF; color: #1C1C1C;
}
.chip.is-active { background: #1C1C1C; color: #FFFFFF; }

/* Formularios */
[hidden] { display: none !important; }
.form-error { margin: 0; font-size: 14px; color: #B42318; }
button[disabled] { opacity: .6; cursor: progress; }

@media (max-width: 640px) {
  header nav > a:last-child { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
