/* ═══════════════════════════════════════════════════════════════════════
   Web pública (WEB-PUBLICA.md, fases B y C) — mockup aprobado:
   mockups/web-publica.html. Mismo sistema de la app: tokens de piel.css
   (las 4 paletas), un solo acento (--acc), Outfit, monogramas e íconos de
   trazo, nada por debajo de 12 px. Todo con prefijo wp- para no chocar con
   las hojas de la app. Teléfono primero; desde 760 px, dos columnas.
   ═══════════════════════════════════════════════════════════════════════ */
body.wp { margin: 0; background: var(--bg); color: var(--ink); font-family: "Outfit", system-ui, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.wp *, body.wp *::before, body.wp *::after { box-sizing: border-box; }
body.wp a { color: inherit; text-decoration: none; }
body.wp h1, body.wp h2, body.wp h3, body.wp p { margin: 0; }
body.wp h2, body.wp h3 { font-weight: 500; }
.wp .trazo { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wp-pg { min-height: 100vh; display: flex; flex-direction: column; }
.wp-ancho { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 16px; }
main.wp-ancho { padding-bottom: 8px; }
.wp-muted { color: var(--muted); }

/* Barra de arriba */
.wp-top { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.wp-top .wp-ancho { display: flex; align-items: center; gap: 10px; min-height: 60px; }
.wp-marca { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.wp-marca i { width: 30px; height: 30px; border-radius: 10px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; }
.wp-marca i .trazo { width: 17px; height: 17px; stroke-width: 2; }
.wp-top nav { display: none; gap: 22px; margin-left: 28px; font-size: 14px; color: var(--muted); }
.wp-top nav a.on { color: var(--ink); font-weight: 500; }
.wp-top nav a:hover { color: var(--ink); }
.wp-idioma-top { margin-left: auto; }
.wp-idiomas { display: inline-flex; background: var(--surf); border-radius: 999px; padding: 3px; box-shadow: var(--csh); }
.wp-idiomas a { font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 999px; color: var(--muted); }
.wp-idiomas a.on { background: var(--ink); color: var(--bg); }
.wp-idioma-top a { padding: 5px 9px; }

/* Botones y piezas */
.wp-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-btns.wp-col { flex-direction: column; }
.wp-sep { margin-top: 14px; }
.wp-btn { min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--acc); color: var(--acc-ink) !important; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 30px color-mix(in srgb, var(--acc) 30%, transparent); }
.wp-btn.sec { background: var(--surf); color: var(--ink) !important; box-shadow: var(--csh); }
.wp-btn.ink { background: var(--ink); color: var(--bg) !important; box-shadow: none; }
.wp-btn.chico { min-height: 36px; padding: 0 14px; font-size: 13px; box-shadow: none; }
.wp-btn.lleno { width: 100%; }
.wp-btn .trazo { width: 18px; height: 18px; }
.wp-btn.chico .trazo { width: 15px; height: 15px; }
.wp-btn-hero { max-width: 360px; }
.wp-nota { font-size: 13px; color: var(--muted); margin-top: 10px; }
.wp-pildora { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--field); color: var(--ink); white-space: nowrap; vertical-align: middle; }
.wp-pildora.acc { background: color-mix(in srgb, var(--acc) 14%, transparent); color: color-mix(in srgb, var(--acc) 75%, var(--ink)); }
.wp-pildora.ok { background: var(--ok-bg); color: var(--ok); }
.wp-pildora em { width: 7px; height: 7px; border-radius: 50%; background: currentColor; font-style: normal; }
.wp-tarjeta { background: var(--surf); border-radius: var(--r-sm); box-shadow: var(--csh); padding: 14px; display: block; }
.wp-mono { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 500; font-size: 15px; flex: none; object-fit: cover; }
img.wp-mono { background: var(--surf2); }
.wp-mono.grande { width: 64px; height: 64px; font-size: 20px; }
.wp-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--field); display: grid; place-items: center; flex: none; }
.wp-ico .trazo { width: 22px; height: 22px; }
.wp-migas { font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; padding-top: 14px; }
.wp-migas a:hover { color: var(--ink); }
.wp-migas b { color: var(--ink); font-weight: 400; }
.wp-titulo-sec { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 26px 0 10px; }
.wp-titulo-sec h2 { font-size: 18px; }
.wp-titulo-sec small { font-size: 13px; color: var(--muted); white-space: nowrap; }
.wp-tarjeta .wp-titulo-sec { margin: 0 0 10px; }
.wp-tarjeta .wp-titulo-sec h2 { font-size: 15px; }
.wp-vacio { color: var(--muted); font-size: 14px; }

/* Hero de /acerca y /negocios */
.wp-hero { padding: 28px 0 8px; display: grid; gap: 22px; }
.wp-hero h1 { font-size: 36px; font-weight: 300; line-height: 1.06; letter-spacing: -.025em; }
.wp-hero h1 b { font-weight: 500; }
.wp-lead { font-size: 16px; color: var(--muted); margin: 12px 0 18px !important; max-width: 520px; }
.wp-muestra { display: grid; gap: 10px; align-content: start; }
.wp-cifras { display: flex; gap: 8px; }
.wp-cifras div { flex: 1; background: var(--surf); border-radius: 14px; padding: 10px 8px; text-align: center; box-shadow: var(--csh); }
.wp-cifras.plano div { background: var(--field); box-shadow: none; }
.wp-cifras b { display: block; font-size: 24px; font-weight: 300; line-height: 1.1; }
.wp-cifras small { font-size: 12px; color: var(--muted); }

/* Qué haces / lo que tienes */
.wp-que { display: grid; gap: 10px; }
.wp-que .wp-tarjeta { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.wp-que h3 { font-size: 15px; margin-bottom: 2px; }
.wp-que p { font-size: 13px; color: var(--muted); line-height: 1.45; }
.wp-pasos { display: grid; gap: 10px; counter-reset: p; list-style: none; margin: 0; padding: 0; }
.wp-pasos li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 14px; }
.wp-pasos li::before { counter-increment: p; content: counter(p); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.wp-pasos b { font-weight: 500; display: block; }
.wp-pasos small { color: var(--muted); font-size: 13px; }
.wp-aviso { display: flex; gap: 12px; align-items: center; background: var(--ink); color: var(--bg); border-radius: var(--r-sm); padding: 16px; margin-top: 26px; }
.wp-aviso b { font-weight: 500; display: block; font-size: 15px; }
.wp-aviso small { opacity: .75; font-size: 13px; }
.wp-aviso .wp-btn { margin-left: auto; }

/* Reto en lista */
.wp-lista { display: grid; gap: 10px; }
.wp-reto { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.wp-premio { width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--acc) 14%, transparent); color: color-mix(in srgb, var(--acc) 75%, var(--ink)); display: grid; place-items: center; font-size: 15px; font-weight: 500; letter-spacing: -.02em; text-align: center; line-height: 1.1; padding: 2px; }
.wp-premio .trazo { width: 24px; height: 24px; }
.wp-reto-tx { min-width: 0; display: block; }
.wp-reto-tx b { font-weight: 500; display: block; font-size: 14px; }
.wp-reto-tx small { font-size: 12px; color: var(--muted); display: block; }
.wp-barra { display: block; height: 6px; border-radius: 999px; background: var(--field); overflow: hidden; margin-top: 6px; }
.wp-barra b { display: block; height: 100%; background: var(--acc); border-radius: 999px; }
.wp-barra.grande { height: 8px; }

/* Plan */
.wp-plan { display: grid; gap: 12px; }
.wp-plan h3 { font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.wp-precio { font-size: 40px; font-weight: 300; letter-spacing: -.02em; line-height: 1; margin: 10px 0 4px; }
.wp-precio small { font-size: 15px; color: var(--muted); letter-spacing: 0; }
.wp-plan ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.wp-plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.wp-plan li .trazo { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.wp-plan .gratis li .trazo { color: var(--muted); }

/* Perfil del negocio */
.wp-ng-cab { display: flex; gap: 14px; align-items: center; padding-top: 14px; }
.wp-ng-cab h1 { font-size: 24px; font-weight: 500; line-height: 1.15; }
.wp-verif { display: inline-flex; align-items: center; gap: 3px; color: var(--acc); font-size: 12px; font-weight: 500; vertical-align: middle; }
.wp-verif .trazo { width: 15px; height: 15px; }
.wp-sub { font-size: 13px; color: var(--muted); }
.wp-ng-acc { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.wp-ng-acc .wp-wa { margin-left: auto; }
.wp-seguir { display: inline-flex; align-items: center; gap: 10px; }
.wp-seguir .sg-n { font-size: 13px; color: var(--muted); }
.wp-descr { font-size: 14px; margin-top: 12px !important; }
.wp-datos { display: grid; gap: 10px; margin-top: 14px; }
.wp-tarjeta .wp-datos { margin-top: 0; }
.wp-datos > div { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.wp-datos .trazo { width: 18px; height: 18px; color: var(--muted); margin-top: 1px; }
.wp-datos a { text-decoration: underline; text-underline-offset: 2px; }
.wp-ok { color: var(--ok); font-weight: 500; }
.wp-cerrado { color: var(--muted); font-weight: 500; }
.wp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wp-prod { background: var(--surf); border-radius: var(--r-sm); box-shadow: var(--csh); overflow: hidden; display: block; }
.wp-prod-img { aspect-ratio: 1; background: var(--surf2); display: grid; place-items: center; color: var(--muted2); position: relative; overflow: hidden; }
.wp-prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp-prod-img .trazo { width: 34px; height: 34px; stroke-width: 1.2; }
.wp-prod-img .wp-pildora { position: absolute; left: 8px; top: 8px; }
.wp-prod-tx { display: block; padding: 8px 10px 10px; }
.wp-prod-tx b { font-weight: 500; font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-p { font-size: 14px; }
.wp-p s { font-size: 12px; color: var(--muted); margin-left: 4px; }
.wp-videos { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.wp-videos::-webkit-scrollbar { display: none; }
.wp-videos a { flex: none; width: 112px; aspect-ratio: 9 / 16; border-radius: 14px; background: linear-gradient(180deg, #4A4540 0%, #2A2724 60%, #1B1917 100%); position: relative; color: #fff; overflow: hidden; }
.wp-videos video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wp-videos span { position: absolute; left: 8px; bottom: 8px; font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.wp-videos .trazo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.wp-dos { display: block; }
.wp-lado { display: none; }
.wp-lado.siempre { display: grid; gap: 12px; margin-top: 26px; }
.wp-mapa { display: block; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--csh); background: var(--surf2); aspect-ratio: 17 / 10; position: relative; }
.wp-mapa-vacio { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted2); }
.wp-mapa-vacio .trazo { width: 34px; height: 34px; stroke-width: 1.2; }
.wp-mapa .maplibregl-ctrl-attrib { font-size: 10px; }
.wp-pin { width: 32px; height: 32px; border-radius: 50%; background: var(--acc); color: var(--acc-ink); border: 3px solid #fff; display: grid; place-items: center; font: 500 12px "Outfit", sans-serif; box-shadow: 0 4px 10px rgba(31,29,26,.25); }

/* Reto */
.wp-rt { margin-top: 14px; padding: 18px; }
.wp-grande { display: inline-grid; place-items: center; min-width: 76px; height: 64px; padding: 0 14px; border-radius: 18px; background: color-mix(in srgb, var(--acc) 14%, transparent); color: color-mix(in srgb, var(--acc) 75%, var(--ink)); font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.wp-rt h1 { font-size: 28px; font-weight: 300; line-height: 1.1; letter-spacing: -.02em; margin-top: 14px; }
.wp-de { font-size: 14px; color: var(--muted); margin-top: 4px !important; }
.wp-de b { color: var(--ink); font-weight: 500; }
.wp-txt { margin-top: 12px !important; font-size: 14px; }
.wp-vales { margin-top: 16px; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; }
.wp-hasta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin: 12px 0 16px; }
.wp-hasta .trazo { width: 18px; height: 18px; }
.wp-rt.fin .wp-grande { background: var(--field); color: var(--muted); }
.wp-rt.fin h1 { color: var(--muted); }
.wp-termino { display: flex; gap: 10px; align-items: flex-start; background: var(--field); border-radius: 14px; padding: 12px; margin-top: 14px; font-size: 14px; }
.wp-termino b { font-weight: 500; display: block; }
.wp-termino small { color: var(--muted); font-size: 13px; }
.wp-mini { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wp-mini-tx { flex: 1; min-width: 0; }
.wp-mini-tx b { font-weight: 500; display: block; }
.wp-mini-tx small { font-size: 12px; color: var(--muted); }
.wp-mini .sg-n { display: none; }

/* Ciudad y categoría */
.wp-cat-cab h1 { font-size: 30px; font-weight: 300; letter-spacing: -.02em; line-height: 1.1; margin-top: 10px; }
.wp-cat-cab p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.wp-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 4px; padding: 0 16px 6px; }
.wp-chips::-webkit-scrollbar { display: none; }
.wp-chips.envuelve { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.wp-chips a, .wp-chips button { flex: none; font: inherit; font-size: 13px; font-weight: 500; min-height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--surf); color: var(--muted); display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--csh); cursor: pointer; }
.wp-chips a:hover { color: var(--ink); }
.wp-chips small { font-size: 12px; color: var(--muted2); }
.wp-chips .on { background: var(--ink); color: var(--bg); box-shadow: none; }
.wp-cat-lista { display: grid; gap: 10px; margin-top: 12px; }
.wp-ng-fila { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
.wp-ng-fila .wp-mono { width: 48px; height: 48px; }
.wp-ng-fila[hidden] { display: none; }
.wp-arriba { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.wp-arriba b { font-weight: 500; font-size: 15px; }
.wp-ng-fila small { font-size: 12px; color: var(--muted); display: block; }
.wp-rt-linea { margin-top: 8px; display: flex; gap: 8px; align-items: center; font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line); }
.wp-rt-linea em { font-style: normal; font-weight: 500; color: color-mix(in srgb, var(--acc) 75%, var(--ink)); }
.wp-cat-texto { font-size: 13px; color: var(--muted); margin-top: 22px; }
.wp-cat-texto h2 { font-size: 15px; color: var(--ink); margin-bottom: 4px; }

/* Pie común */
.wp-pie { margin-top: auto; padding-top: 36px; }
.wp-pie .wp-ancho { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; display: grid; gap: 14px; }
.wp-enl { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.wp-enl a:hover { color: var(--ink); }
.wp-abajo { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }

/* ── Computadora ── */
@media (min-width: 760px) {
  .wp-ancho { padding: 0 40px; }
  .wp-top nav { display: flex; }
  .wp-hero { grid-template-columns: 1.15fr 1fr; align-items: center; padding: 56px 0 20px; gap: 48px; }
  .wp-hero h1 { font-size: 56px; }
  .wp-lead { font-size: 18px; }
  .wp-que { grid-template-columns: repeat(3, 1fr); }
  .wp-que.cinco { grid-template-columns: repeat(5, 1fr); }
  .wp-que.cinco .wp-tarjeta { grid-template-columns: 1fr; }
  .wp-pasos { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .wp-plan { grid-template-columns: 1fr 1fr; gap: 16px; }
  .wp-titulo-sec { margin-top: 40px; }
  .wp-dos { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
  .wp-lado, .wp-lado.siempre { display: grid; gap: 12px; position: sticky; top: 80px; margin-top: 14px; }
  .wp-lado .wp-titulo-sec { margin: 8px 0 0; }
  .wp-solo-movil { display: none; }
  .wp-mono.grande { width: 88px; height: 88px; font-size: 26px; }
  .wp-ng-cab h1 { font-size: 34px; font-weight: 300; }
  .wp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .wp-videos a { width: 140px; }
  .wp-rt { padding: 28px; margin-top: 18px; }
  .wp-rt h1 { font-size: 42px; }
  .wp-btns.wp-col { flex-direction: row; }
  .wp-btns.wp-col .wp-btn.lleno { width: auto; }
  .wp-cat-cab h1 { font-size: 46px; }
  .wp-chips { margin: 18px 0 4px; padding: 0 0 6px; }
  .wp-cat-lista { grid-template-columns: 1fr 1fr; gap: 14px; }
  .wp-pie .wp-ancho { grid-template-columns: 1fr auto; align-items: center; }
}
@media (max-width: 380px) {
  .wp-idioma-top a { padding: 5px 7px; }
  .wp-marca { font-size: 17px; }
}
