:root {
  /* Colores tomados del logo */
  --bg: #fbf2ed; --surface: #fff; --ink: #5b4334; --muted: #9a8577;
  --brand: #a8714b; --brand-dark: #8a5733; --brand-soft: #f6e8dc;
  --sage: #8f9a7a; --sage-soft: #e9ecdf;
  --rosa: #f6e1da; --celeste: #e0e9ec; --menta: #e6eadb;
  --line: #efe1d6; --wa: #25d366; --danger: #b3412f; --ok: #5f7a4a;
  --shadow: 0 6px 24px rgba(120, 80, 50, .08);
  --radius: 20px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Nunito, system-ui, sans-serif; background: var(--bg); color: var(--ink); }
h1, h2, h3, .logo-brand { font-family: Mali, Nunito, sans-serif; font-weight: 700; }
/* Ilustraciones: fondo blanco que se funde con el color de abajo */
.fox { mix-blend-mode: multiply; display: block; margin: 0 auto; height: auto; }
button { font: inherit; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
a { color: var(--brand-dark); }

.btn { border: 0; border-radius: 12px; padding: 10px 16px; font-weight: 700; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { filter: brightness(1.12); }
.btn:disabled { background: #cfc3bb; cursor: not-allowed; filter: none; }
.btn.brand { background: var(--brand); color: #fff; font-size: 1rem; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn.danger { background: #fff; color: var(--danger); border: 1.5px solid #f1c9c3; }
.btn.wa { background: var(--wa); }
.btn.sm { padding: 6px 10px; font-size: .85rem; border-radius: 10px; }
.btn.block { width: 100%; }

.input, select.input, textarea.input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 12px;
  font: inherit; background: #fff; color: var(--ink);
}
.input:focus { outline: 2px solid #f3c3a3; border-color: var(--brand); }
textarea.input { resize: vertical; min-height: 60px; }
label.lbl { display: block; font-size: .82rem; font-weight: 700; margin: 12px 0 5px; }

.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 600; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(40, 25, 15, .4); z-index: 60; display: none; align-items: flex-start; justify-content: center; padding: 4vh 12px; overflow: auto; }
.modal-bg.open { display: flex; }
.modal { background: var(--bg); border-radius: 24px; width: min(900px, 100%); position: relative; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.modal .x { position: absolute; top: 12px; right: 12px; z-index: 2; }
.x { border: 0; background: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 1.1rem; box-shadow: var(--shadow); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(140px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: .25s; z-index: 100; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translateX(-50%); }

.demo-banner { background: #fff3c4; color: #6b5300; text-align: center; font-size: .85rem; padding: 7px 16px; font-weight: 600; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; }
.ph img.fox { width: 66%; height: auto; object-fit: contain; }
.muted { color: var(--muted); }
