/* Formulario, CRM y política de Pasea. Mismos colores y letras que la web (sitio-pasea/index.html). */
:root {
  --tinta: #0f2a3d;
  --suave: #47606f;
  --papel: #ffffff;
  --bruma: #eef4f6;
  --bruma-2: #e2edf1;
  --sol: #f2a51f;
  --azul: #1f6fd6;
  --wa: #0d7a47;
  --error: #b3261e;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: "Figtree", system-ui, sans-serif; font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.022em; line-height: 1.08; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }

.marca { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -.03em; text-decoration: none; }
.marca svg { width: 26px; height: 26px; }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border: 0; border-radius: 15px; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.boton:hover { transform: translateY(-1px); }
.boton:active { transform: translateY(0) scale(.985); }
.boton svg { width: 22px; height: 22px; flex: none; }
.boton.wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(13, 122, 71, .27); }
.boton.wa:hover { background: #0a6a3d; }
.boton.tinta { background: var(--tinta); color: #fff; }
.boton.claro { background: var(--bruma); color: var(--tinta); }
.boton[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ------------------------------------------------------------ formulario */
.f-barra { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .96); padding: 14px 16px 0; }
.f-barra .fila { max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.paso { font-size: 15px; font-weight: 600; color: var(--suave); }
.avance { max-width: 560px; margin: 12px auto 0; height: 6px; border-radius: 6px; background: var(--bruma); overflow: hidden; }
.avance span { display: block; height: 100%; width: 0; background: var(--sol); border-radius: 6px; transition: width .3s ease; }
.f-main { max-width: 560px; margin: 0 auto; padding: 30px 16px 36px; }
.pantalla h1 { font-size: clamp(29px, 7.4vw, 40px); }
.pantalla h1:focus { outline: none; }
.entrada { color: var(--suave); font-size: 17px; margin-bottom: 18px; }
.opciones { display: grid; gap: 12px; margin-top: 26px; }
.opcion { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 66px; padding: 16px 20px; border: 0; border-radius: 16px; background: var(--bruma); text-align: left; font-weight: 600; font-size: 18.5px; line-height: 1.3; cursor: pointer; transition: background .15s, transform .15s, color .15s; }
.opcion::after { content: ""; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #c8d6dc; flex: none; }
.opcion:hover { background: var(--bruma-2); }
.opcion:active { transform: scale(.99); }
.opcion[aria-pressed="true"] { background: var(--tinta); color: #fff; }
.opcion[aria-pressed="true"]::after { background: var(--sol); box-shadow: inset 0 0 0 6px #fff; }
.atras { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; padding: 10px 2px; border: 0; background: none; font-weight: 600; font-size: 16px; color: var(--suave); cursor: pointer; }
.atras svg { width: 18px; height: 18px; }

.campo { margin-top: 20px; }
.campo label { display: block; font-weight: 600; font-size: 16.5px; margin-bottom: 7px; }
.campo label small { font-weight: 500; color: var(--suave); font-size: 15px; }
.campo input { scroll-margin-top: 110px; width: 100%; min-height: 58px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--bruma); font-size: 18px; }
.campo input:focus { outline: 3px solid var(--azul); outline-offset: 0; background: #fff; }
.campo input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.ayuda { font-size: 14.5px; color: var(--suave); margin-top: 7px; }
.error { color: var(--error); font-size: 15.5px; font-weight: 600; margin-top: 7px; }
.acepto { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 16px; line-height: 1.45; cursor: pointer; }
.acepto input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--tinta); flex: none; cursor: pointer; }
#turnstile { margin-top: 22px; min-height: 65px; }
.enviar { width: 100%; margin-top: 20px; min-height: 60px; font-size: 18px; }
.error.general { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fbeceb; }

.listo .sello { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px; border-radius: 50%; background: var(--wa); color: #fff; }
.listo .sello svg { width: 38px; height: 38px; }
.listo p { margin-top: 12px; color: var(--suave); font-size: 18px; }
.listo .boton { width: 100%; margin-top: 28px; min-height: 62px; font-size: 19px; }
.codigo { margin-top: 18px !important; font-size: 15.5px !important; }

.f-pie { max-width: 560px; margin: 0 auto; padding: 0 16px 30px; font-size: 14.5px; color: var(--suave); }

/* ------------------------------------------------------------ política */
.doc { max-width: 720px; margin: 0 auto; padding: 24px 16px 60px; }
.doc .aviso { margin: 20px 0 28px; padding: 14px 16px; border-radius: 14px; background: #fff4dc; font-weight: 600; font-size: 16px; }
.doc h1 { font-size: clamp(30px, 7vw, 42px); margin-top: 22px; }
.doc h2 { font-size: 23px; margin: 34px 0 10px; }
.doc p, .doc li { font-size: 17px; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc .version { margin-top: 10px; color: var(--suave); font-size: 15px; }

/* ------------------------------------------------------------ CRM */
.crm { background: var(--bruma); min-height: 100vh; }
.c-barra { position: sticky; top: 0; z-index: 5; background: #fff; box-shadow: 0 2px 14px rgba(15, 42, 61, .08); }
.c-barra .fila { max-width: 960px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.c-barra .yo { margin-left: auto; font-size: 14px; color: var(--suave); }
.c-main { max-width: 960px; margin: 0 auto; padding: 18px 16px 50px; }
.cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cifra { background: #fff; border-radius: 16px; padding: 14px 14px 12px; }
.cifra b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.cifra span { display: block; margin-top: 6px; font-size: 14px; color: var(--suave); line-height: 1.3; }
.cifras-nota { margin-top: 8px; font-size: 14px; color: var(--suave); }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 14px; align-items: center; }
.chip { min-height: 42px; padding: 8px 16px; border: 0; border-radius: 999px; background: #fff; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--tinta); color: #fff; }
.filtros select { min-height: 42px; padding: 8px 12px; border: 0; border-radius: 12px; background: #fff; font-weight: 600; font-size: 15.5px; margin-left: auto; }
.vacio { padding: 30px 18px; border-radius: 16px; background: #fff; color: var(--suave); text-align: center; }
.tarjetas { display: grid; gap: 12px; }
.tarjeta { background: #fff; border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 2px 10px rgba(15, 42, 61, .05); }
.tarjeta.es-nuevo { box-shadow: inset 4px 0 0 var(--sol), 0 2px 10px rgba(15, 42, 61, .05); }
.t-cabeza { display: flex; gap: 12px; align-items: flex-start; }
.cat { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; flex: none; }
.cat.A { background: #1d8a4e; } .cat.B { background: var(--azul); } .cat.C { background: #8a98a0; }
.t-quien { min-width: 0; flex: 1; }
.t-quien h2 { font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.t-quien p { font-size: 15px; color: var(--suave); overflow-wrap: anywhere; }
.t-fecha { font-size: 13.5px; color: var(--suave); text-align: right; flex: none; }
.t-respuestas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.t-respuestas span { padding: 4px 10px; border-radius: 8px; background: var(--bruma); font-size: 14px; }
.t-respuestas span.marca-aparte { background: #fff1d6; font-weight: 600; }
.t-ofrecer { margin-top: 10px; font-size: 15px; }
.t-ofrecer b { font-weight: 700; }
.t-control { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
.t-control select, .t-control textarea { width: 100%; border: 0; border-radius: 12px; background: var(--bruma); padding: 10px 12px; font-size: 16px; }
.t-control select { min-height: 46px; font-weight: 600; }
.t-control textarea { min-height: 70px; resize: vertical; line-height: 1.4; }
.t-acciones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.t-acciones .boton { min-height: 44px; padding: 9px 14px; font-size: 15px; box-shadow: none; }
.t-acciones .boton svg { width: 18px; height: 18px; }
.t-acciones .borrar { margin-left: auto; background: none; color: var(--error); }
.guardado { font-size: 14px; color: var(--wa); font-weight: 600; }
.c-pie { margin-top: 26px; font-size: 14px; color: var(--suave); }
@media (min-width: 720px) {
  .t-control { grid-template-columns: 220px 1fr; }
}
@media (max-width: 420px) {
  .cifras { grid-template-columns: repeat(2, 1fr); }
  .filtros select { margin-left: 0; width: 100%; }
}
