/* ============================================================
   AL NIVEL · el relevamiento de tu negocio
   (hasta el 29/10/2026 la agencia se llamaba Mira)
   Estética: estudio editorial sobrio — negro cálido y ámbar.
   Confianza y aptitud, sin techno.
   ============================================================ */

:root {
  /* ============================================================
     Identidad v2 — 2026-08-24. Negro cálido + ámbar.
     Reemplaza la paleta bronce/Fraunces. El manual completo vive
     en marca/sistema/ del repo de la agencia.
     ============================================================ */

  /* superficies */
  --bg:      #0B0A08;
  --bg-1:    #100E0B;
  --bg-2:    #16130F;
  --bg-3:    #1E1A14;
  --line:    rgba(237, 231, 217, 0.11);
  --line-2:  rgba(237, 231, 217, 0.20);

  /* texto */
  --ink:     #EDE7D9;
  --ink-2:   #A8A094;
  --ink-3:   #8A8175;

  /* acento — el único */
  --amber:      #FFAE2B;
  --amber-2:    #FFC96B;
  --amber-dim:  rgba(255, 174, 43, 0.12);
  --amber-line: rgba(255, 174, 43, 0.45);
  --on-amber:   #14110A;

  /* estados — solo califican datos, nunca pintan superficies */
  --ok:    #5FB894;
  --alert: #E5484D;

  /* ⚠️ Alias del sistema viejo. El resto del archivo (y todo el CRM)
     los sigue usando por nombre: cambiar el valor acá migra los dos
     lados de una. No agregar usos nuevos — usar los de arriba. */
  --brass:     var(--amber);
  --brass-2:   var(--amber-2);
  --brass-dim: var(--amber-dim);
  --brass-line:var(--amber-line);
  --sage:      var(--ok);
  --danger:    var(--alert);

  --font-display: 'Martian Mono', ui-monospace, SFMono-Regular, monospace;
  --font-num:     'Space Grotesk', system-ui, sans-serif;
  --font-sans:    'Archivo', system-ui, -apple-system, sans-serif;

  /* esquinas rectas: la única curva del sistema es el símbolo */
  --r:    0px;
  --r-lg: 0px;
  --maxw: 720px;
  --topbar-h: 60px;
  --grid: 48px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber-dim); color: var(--amber-2); }

/* ---- atmósfera: papel milimetrado, no neón ---- */
.bg { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(62% 50% at 84% 4%, rgba(255,174,43,.12), transparent 62%),
    radial-gradient(50% 40% at 6% 2%, rgba(255,174,43,.05), transparent 60%);
}
/* La grilla de 48 px es la firma del sistema. Va al 4 %: se siente,
   no se ve. Más opacidad y la pantalla se ensucia. */
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(237,231,217,.04) 0 1px, transparent 1px var(--grid)),
    repeating-linear-gradient(to bottom, rgba(237,231,217,.04) 0 1px, transparent 1px var(--grid));
}

/* ---- layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.view { display: none; }
.view.is-active { display: block; animation: fade .5s var(--ease) both; }
/* Fade SOLO con opacidad: un transform en la vista rompería el position:fixed de .nav */
@keyframes fade { from { opacity: 0; } }

/* ---- topbar ---- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(20, 17, 13, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand__mark { width: 30px; height: 30px; color: var(--ink); flex: none; }

/* ---- el nivel (el logo) ----
   La ampolla: rayas en crema, burbuja en ámbar (marca/assets/alnivel-*.svg).
   Hasta 27 px va llena (.nv--llena): el tubo de ámbar y la burbuja y las
   rayas caladas en el color del fondo.
   .nv--enciende: la burbuja sale de una punta, apagada, llega al centro con
   un vaivén chico y recién ahí se prende. Una sola vez, al aparecer. */
.nv__b { fill: var(--amber); }
.nv--llena .nv__c { stroke: var(--bg); }
.nv--llena .nv__h { fill: var(--bg); }
.nv--enciende .nv__l { animation: nv-linea 1.7s linear .25s both; }
.nv--enciende .nv__b { animation: nv-viaja 1.7s cubic-bezier(.45,0,.25,1) .25s both, nv-prende 1.7s linear .25s both; }
.nv--llena.nv--enciende .nv__t { animation: nv-llena 1.7s linear .25s both; }
.nv--llena.nv--enciende .nv__c { animation: nv-corte 1.7s linear .25s both; }
.nv--llena.nv--enciende .nv__h { animation: nv-viaja 1.7s cubic-bezier(.45,0,.25,1) .25s both, nv-hueco 1.7s linear .25s both; }
@keyframes nv-viaja { 0%, 10% { transform: translateX(-11px); } 52% { transform: translateX(1.4px); }
                      66% { transform: translateX(-.5px); } 78%, 100% { transform: translateX(0); } }
@keyframes nv-prende { 0%, 80% { fill: var(--ink-3); } 90%, 100% { fill: var(--amber); } }
@keyframes nv-linea  { 0%, 80% { stroke: var(--ink-3); } 90%, 100% { stroke: var(--ink); } }
@keyframes nv-llena  { 0%, 80% { fill-opacity: 0; stroke: var(--ink-3); } 90%, 100% { fill-opacity: 1; stroke: var(--amber); } }
@keyframes nv-corte  { 0%, 80% { stroke: var(--ink-3); } 90%, 100% { stroke: var(--bg); } }
@keyframes nv-hueco  { 0%, 80% { fill: var(--ink-3); } 90%, 100% { fill: var(--bg); } }
@media (prefers-reduced-motion: reduce) { .nv--enciende * { animation: none !important; } }

/* El logotipo: al·nivel, con la burbuja entre las dos palabras para que no
   se lea "alnivel". En prosa se escribe Al Nivel. */
.nv-sep { display: inline-block; width: .26em; height: .26em; border-radius: 50%; background: var(--amber);
  margin: 0 .2em 0 .24em; vertical-align: .2em; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.07em; line-height: 1; }
.brand__name small { display: block; font-family: var(--font-display); font-size: 8px; font-weight: 500;
  color: var(--ink-3); letter-spacing: .02em; text-transform: uppercase; margin-top: 5px; }
.topbar__meta { font-family: var(--font-display); font-size: 9.5px; color: var(--ink-3); letter-spacing: -.02em; text-transform: uppercase; }

/* ---- kicker editorial (rulita + texto espaciado) ---- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 9.5px; letter-spacing: .02em; text-transform: uppercase; color: var(--amber);
  font-weight: 500;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--brass-line); }

/* ---- botones ---- */
.btn {
  --pad: 15px 26px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; letter-spacing: -.005em;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: var(--pad); border-radius: 0; border: 1px solid transparent;
  cursor: pointer; transition: background .2s var(--ease), border-color .2s, transform .15s, color .2s;
  text-decoration: none; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { color: var(--on-amber); background: var(--amber); font-weight: 700; }
.btn--primary:hover { background: var(--amber-2); }
.btn--ghost { color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--amber-line); background: rgba(255,174,43,.06); }
.btn--lg { --pad: 17px 32px; font-size: 16.5px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn__hint { font-size: 12px; font-weight: 500; opacity: .7; letter-spacing: 0; }

/* ============================================================
   HERO
   ============================================================ */
/* padding-block, NO el shorthand: `.hero` y `.wrap` tienen la misma
   especificidad, asi que un `padding` de 3 valores le pisaba el
   padding-inline al wrap y en el celular el contenido tocaba el borde. */
.hero { padding-block: clamp(52px, 10vh, 104px) 56px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5.4vw, 52px); line-height: 1.12; letter-spacing: -.075em;
  margin: 26px 0 0; max-width: 15ch;
}
/* En dos renglones a proposito: "quede derecho" es el remate y tiene que
   leerse solo. Sin esto el salto caia donde entrara y en pantalla ancha
   quedaba "Que tu negocio quede / derecho.", que se ve mal armado.
   El punto va ADENTRO del <em>: afuera se iba solo a una tercera linea. */
.hero h1 em { font-style: normal; color: var(--amber); display: block; }

/* El logo, para que se entienda que el boton lleva a WhatsApp y no a otra
   pantalla del sitio. Una flechita no dice a donde vas. */
.btn__wa { width: 19px; height: 19px; fill: currentColor; flex: none; }

/* Volver a empezar. Solo aparece si hay algo guardado, y en voz baja: es la
   salida de emergencia, no una invitacion a tirar 15 minutos de respuestas. */
.hero__reset {
  display: block; margin: 14px 0 0; padding: 8px 0; min-height: 44px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; color: var(--ink-2);
  text-decoration: underline; text-underline-offset: 3px;
}
.hero__reset:hover { color: var(--brass-2); }
.hero__sub { color: var(--ink-2); font-size: clamp(17px, 2.3vw, 20px); margin: 24px 0 0; max-width: 46ch; line-height: 1.55; }
.hero__sub em { font-style: normal; color: var(--ink); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

.hero__rule { height: 1px; background: var(--line); margin: 56px 0 0; }

/* 3 pasos — editorial, con número serif */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; }
.step { padding: 34px 22px 30px 0; border-top: 1px solid transparent; }
.step + .step { border-left: 1px solid var(--line); padding-left: 24px; }
.step__n { font-family: var(--font-display); font-size: 15px; color: var(--amber); font-weight: 700; letter-spacing: -.06em; }
.step h3 { font-weight: 700; font-size: 18px; margin: 14px 0 8px; letter-spacing: -.02em; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

.reassure { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px;
  font-size: 13.5px; color: var(--ink-3); }
.reassure span { display: inline-flex; align-items: center; gap: 8px; }
.reassure span::before { content: ""; width: 5px; height: 5px; background: var(--amber); }

/* ============================================================
   WIZARD
   ============================================================ */
.wizard { padding: 20px 0 128px; }

.progress { position: sticky; top: var(--topbar-h); z-index: 20; padding: 18px 0 16px;
  background: var(--bg); border-bottom: 1px solid var(--line); }
.progress__meta { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.progress__count { font-family: var(--font-display); font-size: 9.5px; color: var(--ink-2); letter-spacing: -.02em; text-transform: uppercase; }
.progress__count b { color: var(--brass); font-weight: 600; }
.progress__kicker { font-family: var(--font-display); font-size: 9px; text-transform: uppercase; letter-spacing: -.02em; color: var(--ink-3); }
.progress__track { height: 2px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.progress__fill { height: 100%; width: 0; background: var(--brass); transition: width .5s var(--ease); }

/* cabezal de sección */
.sec-head { margin: 40px 0 30px; scroll-margin-top: calc(var(--topbar-h) + 80px); }
.sec-head__kicker { font-family: var(--font-display); font-size: 9.5px; letter-spacing: .02em; text-transform: uppercase; color: var(--amber); font-weight: 500; }
.sec-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 4.4vw, 30px);
  letter-spacing: -.065em; line-height: 1.25; margin-top: 14px; }
.sec-head p { color: var(--ink-2); margin-top: 14px; font-size: 15.5px; max-width: 52ch; line-height: 1.55; }

.skip-note { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 28px;
  font-size: 14px; color: var(--ink-2); display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--bg-1); }
.link-skip { background: none; border: none; color: var(--brass); font-size: 13.5px; font-weight: 600;
  cursor: pointer; padding: 6px 2px; white-space: nowrap; }
.link-skip:hover { color: var(--brass-2); text-decoration: underline; text-underline-offset: 3px; }

/* pregunta */
.q { margin-bottom: 34px; }
.q__label { font-size: 18px; font-weight: 600; letter-spacing: -.01em; display: block; line-height: 1.4; }
.q__label .star { color: var(--brass); font-size: 12px; margin-left: 8px; vertical-align: middle; }
.q--star { padding: 26px; border: 1px solid var(--line-2); border-left: 2px solid var(--amber);
  background: var(--bg-1); }
.q--star .q__label { font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.q__help { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; line-height: 1.55; }
.q__fields { margin-top: 18px; display: grid; gap: 16px; }
.field__label { font-size: 14px; color: var(--ink-2); margin-bottom: 9px; display: block; font-weight: 500; }

/* inputs texto */
.inp, .ta {
  width: 100%; font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.inp::placeholder, .ta::placeholder { color: var(--ink-3); }
.inp:focus, .ta:focus { outline: none; border-color: var(--brass-line); box-shadow: 0 0 0 3px var(--brass-dim); }
.ta { resize: vertical; min-height: 100px; line-height: 1.6; }
.inp-wrap { position: relative; display: flex; align-items: center; }
.inp-wrap__prefix { position: absolute; left: 15px; color: var(--ink-3); font-size: 15px; pointer-events: none; }
.inp-wrap .inp { padding-left: 30px; }
.inp.err, .ta.err { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(217,138,106,.12); }

/* radio-cards + check-chips */
.opts { display: grid; gap: 9px; }
.opt {
  position: relative; display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 16px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--bg-1); cursor: pointer; transition: border-color .18s, background .18s;
}
.opt:hover { border-color: var(--line-2); background: var(--bg-2); }
.opt:has(input:checked) { border-color: var(--brass-line); background: var(--brass-dim); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 0; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; transition: border-color .18s, background .18s; }
.opt--radio .opt__box { border-radius: 50%; }
.opt:has(input:checked) .opt__box { border-color: var(--brass); background: var(--brass); }
.opt__box svg { width: 12px; height: 12px; opacity: 0; transform: scale(.5); transition: .18s var(--ease); color: var(--on-amber); }
.opt:has(input:checked) .opt__box svg { opacity: 1; transform: scale(1); }
.opt--radio .opt__box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-amber); opacity: 0; transform: scale(.3); transition: .18s var(--ease); }
.opt--radio:has(input:checked) .opt__box::after { opacity: 1; transform: scale(1); }
.opt__text { flex: 1; min-width: 0; }
.opt__title { font-weight: 500; font-size: 15.5px; }
.opt__desc { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; line-height: 1.5; }
.opt__extra { margin-top: 12px; }
.opt__extra .inp { background: var(--bg); }

/* porcentajes */
.pcts { display: grid; gap: 8px; }
.pct { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line-2);
  border-radius: var(--r); background: var(--bg-1); transition: border-color .18s; }
.pct:focus-within { border-color: var(--brass-line); }
.pct__label { flex: 1; font-size: 15px; }
.pct__in { display: flex; align-items: center; gap: 5px; }
.pct__in input { width: 58px; text-align: right; background: var(--bg); border: 1px solid var(--line-2); border-radius: 0;
  padding: 8px; color: var(--ink); font-family: var(--font-num); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.pct__in input:focus { outline: none; border-color: var(--brass); }
.pct__in span { color: var(--ink-3); }

/* ranking */
.rank { display: grid; gap: 8px; }
.rank__item { display: flex; gap: 14px; align-items: center; padding: 14px 15px; border: 1px solid var(--line-2);
  border-radius: var(--r); background: var(--bg-1); cursor: pointer; transition: border-color .18s, background .18s; }
.rank__item:hover { border-color: var(--line-2); background: var(--bg-2); }
.rank__item.on { border-color: var(--brass-line); background: var(--brass-dim); }
.rank__badge { flex: none; width: 30px; height: 30px; border-radius: 0; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--font-num); font-weight: 700; font-size: 14px; color: var(--ink-3);
  font-variant-numeric: tabular-nums; transition: .18s; }
.rank__item.on .rank__badge { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.rank__label { flex: 1; font-size: 15px; line-height: 1.45; }
.rank__hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }

/* tabla dinámica */
.tbl { border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.tbl__row { display: grid; gap: 1px; background: var(--line); }
.tbl__row + .tbl__row { margin-top: 1px; }
.tbl__head { font-family: var(--font-display); font-size: 9px; text-transform: uppercase; letter-spacing: -.02em; color: var(--ink-3); }
.tbl__head .tbl__cell { background: var(--bg-2); padding: 11px 12px; }
.tbl__cell { background: var(--bg-1); }
.tbl__cell input { width: 100%; background: none; border: none; color: var(--ink); font-family: var(--font-sans);
  font-size: 15px; padding: 13px 12px; }
.tbl__cell input:focus { outline: none; background: var(--bg-2); }
.tbl__del { background: var(--bg-1); border: none; color: var(--ink-3); cursor: pointer; font-size: 18px; }
.tbl__del:hover { color: var(--danger); }
.tbl__add { margin-top: 10px; background: none; border: 1px solid var(--line-2); color: var(--ink-2);
  border-radius: var(--r); padding: 12px; width: 100%; cursor: pointer; font-size: 13.5px; font-weight: 500; transition: .18s; }
.tbl__add:hover { border-color: var(--brass-line); color: var(--brass); }

/* navegación inferior */
.nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25;
  background: linear-gradient(transparent, var(--bg) 32%); padding: 26px 24px calc(20px + env(safe-area-inset-bottom)); }
.nav__inner { max-width: var(--maxw); margin-inline: auto; position: relative; display: flex; align-items: center; gap: 12px; }
.nav .btn--primary { flex: 1; }
.nav__back { flex: none; width: 52px; height: 52px; padding: 0; }
.autosave { position: absolute; top: -18px; left: 0; right: 0; text-align: center;
  font-size: 11px; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s; }
.autosave.show { opacity: 1; }
.autosave::before { content: "· "; color: var(--sage); }
.nav__msg { position: absolute; top: -20px; left: 0; right: 0; text-align: center;
  font-size: 12.5px; color: var(--danger); opacity: 0; transition: opacity .25s; pointer-events: none; }
.nav__msg.show { opacity: 1; }
.req { color: var(--ink-3); font-weight: 500; font-size: 12px; margin-left: 8px; }
.field__err { display: none; color: var(--danger); font-size: 13px; margin-top: 7px; }
.inp.err ~ .field__err { display: block; }

/* ============================================================
   DONE
   ============================================================ */
.done { padding: clamp(64px, 13vh, 128px) 0; }
.done__mark { width: 68px; height: 68px; margin: 0 0 30px; color: var(--brass); }
.done__mark svg { width: 100%; height: 100%; }
.done h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 4.8vw, 36px); letter-spacing: -.07em; line-height: 1.2; }
.done p { color: var(--ink-2); margin: 20px 0 0; max-width: 44ch; font-size: 17px; line-height: 1.6; }
.done__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: 13px; color: var(--ink-3); }
.footer b { color: var(--ink-2); font-weight: 700; font-family: var(--font-display); letter-spacing: -.06em; }
.footer em { font-style: normal; color: var(--ink-3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 26px 0 22px; border-top: 1px solid var(--line); }
  .step + .step { border-left: none; padding-left: 0; }
  .sec-head--skip { flex-direction: column; }
  .q--star { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* stagger de entrada */
.reveal > * { opacity: 0; transform: translateY(12px); animation: up .7s var(--ease) forwards; }
.reveal > *:nth-child(1) { animation-delay: .04s; }
.reveal > *:nth-child(2) { animation-delay: .12s; }
.reveal > *:nth-child(3) { animation-delay: .20s; }
.reveal > *:nth-child(4) { animation-delay: .28s; }
.reveal > *:nth-child(5) { animation-delay: .36s; }
@keyframes up { to { opacity: 1; transform: none; } }


/* Cuánto te va a costar lo que marcaste en la primera pantalla. Antes el
   precio de tildar un tipo de más era invisible: te enterabas contestando. */
.costo {
  margin-top: 18px; padding: 12px 14px; border-radius: 0;
  border: 1px solid var(--line); background: var(--bg-2);
  font-size: 14px; color: var(--ink-3); line-height: 1.5;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.costo.is-on { border-color: var(--amber-line); color: var(--ink-2); }
.costo b { color: var(--amber-2); font-family: var(--font-num); font-weight: 700; }


/* ============================================================
   IDENTIDAD v2 — piezas propias del sistema (2026-08-24)
   La cota, los esquineros y el bloque de las tres preguntas.
   Ver marca/sistema/ para las reglas de uso.
   ============================================================ */

/* --- la cota: una línea con topes, como en un plano --- */
.cota { position: relative; height: 1px; background: var(--amber-line); margin: 34px 0; }
.cota::before, .cota::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--amber); }
.cota::before { left: 0; }
.cota::after  { right: 0; }
.cota__val {
  position: absolute; left: 50%; top: -8px; transform: translateX(-50%);
  background: var(--bg); padding: 0 10px;
  font-family: var(--font-display); font-size: 9.5px; letter-spacing: -.02em; color: var(--amber);
}

/* --- esquineros: abrazan UNA cosa por pantalla --- */
.marco { position: relative; }
.marco::before, .marco::after,
.marco > .marco__c1, .marco > .marco__c2 { content: ""; position: absolute; width: 12px; height: 12px; }
.marco::before { left: -1px; top: -1px; border-left: 2px solid var(--amber); border-top: 2px solid var(--amber); }
.marco::after { right: -1px; bottom: -1px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); }
.marco > .marco__c1 { right: -1px; top: -1px; border-right: 2px solid var(--amber); border-top: 2px solid var(--amber); }
.marco > .marco__c2 { left: -1px; bottom: -1px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); }

/* --- todo número de la marca vive acá --- */
.num {
  font-family: var(--font-num); font-weight: 700;
  letter-spacing: -.035em; font-variant-numeric: tabular-nums;
}

/* --- el bloque de las tres preguntas: la pieza que más viaja --- */
.preguntas { border: 1px solid var(--line-2); background: var(--bg-1); }
.preguntas__head { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.preguntas__head span {
  font-family: var(--font-display); font-size: 9.5px; letter-spacing: -.02em;
  text-transform: uppercase; color: var(--ink-3);
}
.preguntas__fila { padding: 20px 22px; display: flex; flex-direction: column; gap: 7px; }
.preguntas__fila + .preguntas__fila { border-top: 1px solid var(--line); }
.preguntas__q {
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: -.05em; color: var(--ink-3);
}
.preguntas__a { font-size: clamp(26px, 4.6vw, 32px); line-height: 1; }
.preguntas__a--acento { color: var(--amber); }

@media (max-width: 640px) {
  .preguntas__fila { padding: 17px 18px; }
  .cota { margin: 26px 0; }
}

/* --- hero de dos columnas: el titular pregunta, el bloque contesta --- */
.wrap--ancho { max-width: 1080px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.hero__txt { min-width: 0; }
.preguntas__pie {
  padding: 14px 22px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-3); line-height: 1.5;
}

/* El arco crece un paso por etapa: es el simbolo desarmado. */
.step__arco { width: 38px; height: 38px; color: var(--amber); display: block; margin-bottom: 16px; }
.step:nth-child(1) .step__arco { opacity: .5; }
.step:nth-child(2) .step__arco { opacity: .78; }
.step p em { font-style: normal; color: var(--ink); }

/* En el celular el bloque de preguntas va abajo del titular, no al lado:
   apilado se lee, en dos columnas de 190 px no entra un peso. */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   LANDING v2 — 2026-08-24
   Los cinco dolores, el metodo, los casos, el precio y el cierre.
   Todo el contenido nuevo vive en la vista hero: el wizard y el
   done no se tocaron.
   ============================================================ */

.seccion { padding: clamp(52px, 8vw, 84px) 0; border-top: 1px solid var(--line); }
.seccion--tono { background: var(--bg-1); }
.seccion__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.seccion__head--solo { display: block; }
.seccion h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(21px, 3.4vw, 28px); line-height: 1.3; letter-spacing: -.07em;
  margin-top: 16px; max-width: 26ch;
}
.seccion h2 em { font-style: normal; color: var(--amber); }
.seccion__nota { font-family: var(--font-display); font-size: 9px; letter-spacing: -.03em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap; padding-bottom: 6px; }

/* --- los cinco dolores --- */
.dolores { list-style: none; margin: 0; padding: 0; }
.dolor {
  display: grid; grid-template-columns: 40px 230px minmax(0, 1fr); gap: 26px;
  align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line);
}
.dolor:last-child { border-bottom: 0; }
.dolor__n { font-size: 22px; color: rgba(255, 174, 43, .42); line-height: 1; }
.dolor__t {
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  letter-spacing: -.065em; line-height: 1.35; color: var(--amber);
}
.dolor__q { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; margin: 0; }
.dolor__d { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 8px 0 0; }

/* El remate cierra la lista: si reconociste dos, ya sabes por donde. */
.remate {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  border-top: 1px solid var(--amber-line); padding-top: 28px; margin-top: 36px;
}
.remate__t { font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: -.065em; line-height: 1.45; margin: 0; }
.remate__t em { font-style: normal; color: var(--amber); }

/* --- como trabajamos --- */
.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.paso { padding-right: 34px; display: flex; flex-direction: column; gap: 15px; }
.paso + .paso { border-left: 1px solid var(--line); padding-left: 34px; }
.paso__arco { width: 44px; height: 44px; color: var(--amber); display: block; }
.paso:nth-child(1) .paso__arco { opacity: .5; }
.paso:nth-child(2) .paso__arco { opacity: .78; }
.paso__n { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: -.06em; }
.paso h3 { font-size: 16px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.paso p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* --- casos: datos duros, sin adjetivos --- */
.casos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.caso { border: 1px solid var(--line); padding: 28px 30px; display: flex; flex-direction: column; gap: 15px; }
.caso__k { font-family: var(--font-display); font-size: 9px; letter-spacing: -.03em;
  text-transform: uppercase; color: var(--ink-3); }
.caso__n { font-size: clamp(32px, 5vw, 42px); line-height: 1; }
.caso__n em { font-style: normal; color: var(--amber); }
.caso__n--acento { color: var(--amber); }
.caso p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }

/* --- precio --- */
.precio { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 52px; align-items: center; }
.precio__d { font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 50ch; margin: 20px 0 0; }
.precio__caja { border: 1px solid var(--line-2); padding: 34px 36px; display: flex; flex-direction: column; gap: 18px; }
.precio__k { font-family: var(--font-display); font-size: 9px; letter-spacing: -.03em;
  text-transform: uppercase; color: var(--ink-3); }
.precio__n { font-size: 46px; line-height: 1; color: var(--amber); }
.precio__f { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.precio__hr { height: 1px; background: var(--line); }
.precio__extra { font-size: 13px; color: var(--ink-3); line-height: 1.6; margin: 0; }
.precio__extra b { color: var(--ink); font-weight: 700; font-size: 14px; }

/* --- cierre: el unico bloque ambar de la pagina --- */
.cierre { background: var(--amber); color: var(--on-amber); padding: clamp(48px, 7vw, 72px) 0; }
.cierre__in { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cierre__t { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.2; letter-spacing: -.075em; margin: 0; }
.cierre__d { font-size: 15.5px; line-height: 1.6; opacity: .74; max-width: 46ch; margin: 16px 0 0; }
.cierre__btn { background: var(--bg); color: var(--amber); font-weight: 700; white-space: nowrap; --pad: 19px 32px; }
.cierre__btn:hover { background: #000; }

.preguntas__a--alerta { color: var(--alert); }

@media (max-width: 860px) {
  /* Apilado: la columna de 230px del titulo no entra al lado del texto. */
  .dolor { grid-template-columns: 34px minmax(0, 1fr); gap: 8px 18px; }
  .dolor__t { grid-column: 2; }
  .dolor > div { grid-column: 2; margin-top: 6px; }
  .pasos { grid-template-columns: 1fr; }
  .paso { padding-right: 0; padding-bottom: 30px; }
  .paso + .paso { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 30px; }
  .casos { grid-template-columns: 1fr; }
  .precio { grid-template-columns: 1fr; gap: 34px; }
  .seccion__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .seccion__nota { padding-bottom: 0; }
  .remate { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cierre__in { flex-direction: column; align-items: flex-start; gap: 30px; }
}

/* ============================================================
   LANDING v2.1 — 2026-08-28
   Las tres deudas de confianza del handoff: que pasa despues
   de completar, la pantalla del producto, y quien esta atras.

   ⚠️ Todo el bloque del tablero va con prefijo .tb__ a proposito.
   El CRM importa ESTA hoja y ya define .kpi y .tabla con otra
   pinta: nombres genericos aca le pisan la interfaz de trabajo.
   ============================================================ */

/* --- las tres lineas de "que pasa despues" ---------------- */
/* Van sobre el fondo ambar del cierre, asi que el numero se
   cala en el negro de la marca en vez de pintarse de acento. */
.despues { list-style: none; display: grid; gap: 13px;
  padding-bottom: 32px; margin-bottom: 32px;
  border-bottom: 1px solid rgba(20, 17, 10, .22); }
.despues li { display: flex; align-items: flex-start; gap: 13px;
  font-size: 15.5px; line-height: 1.55; max-width: 62ch; }
.despues__n { flex: none; width: 21px; height: 21px; margin-top: 3px;
  display: grid; place-items: center;
  background: var(--on-amber); color: var(--amber); font-size: 10.5px; }

/* --- la pantalla del producto ----------------------------- */
/* Los numeros son de muestra a proposito: lo aclaran la nota
   del encabezado y el pie, igual que el bloque del hero. */
.tb__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 2px; }
.tb { min-width: 700px; border: 1px solid var(--line-2); background: var(--bg-1); }

.tb__bar { display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.tb__brand { display: flex; align-items: center; gap: 9px; }
.tb__brand svg { width: 19px; height: 19px; color: var(--amber); }
.tb__brand b { font-family: var(--font-display); font-size: 12px;
  font-weight: 700; letter-spacing: -.06em; }
.tb__user { display: flex; align-items: center; gap: 12px; }
.tb__lbl { font-family: var(--font-display); font-size: 9px; letter-spacing: -.03em;
  text-transform: uppercase; color: var(--ink-3); }
.tb__av { width: 22px; height: 22px; display: grid; place-items: center;
  background: var(--amber); color: var(--on-amber);
  font-family: var(--font-display); font-size: 9px; font-weight: 700; }

.tb__tabs { display: flex; border-bottom: 1px solid var(--line); padding: 0 10px; }
.tb__tabs span { padding: 12px 15px; font-family: var(--font-display);
  font-size: 9.5px; letter-spacing: -.03em; color: var(--ink-3);
  border-bottom: 2px solid transparent; }
.tb__tabs .is-on { color: var(--amber); border-bottom-color: var(--amber); }

.tb__body { padding: 20px 18px; display: grid; gap: 18px; }
.tb__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tb__kpi { padding: 14px 16px; background: var(--bg); border: 1px solid var(--line);
  display: grid; gap: 6px; }
.tb__kpi--on { border-color: var(--amber-line); }
.tb__k { font-family: var(--font-display); font-size: 8.5px; letter-spacing: -.03em;
  text-transform: uppercase; color: var(--ink-3); }
.tb__v { font-size: 21px; line-height: 1.1; }
.tb__kpi--on .tb__v { color: var(--amber); }
.tb__v--alerta { color: var(--alert); }
.tb__f { font-size: 11px; color: var(--ink-3); line-height: 1.4; }
.tb__f--ok { color: var(--ok); }

.tb__tabla { border: 1px solid var(--line); }
.tb__head { display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2);
  font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: -.05em; }
.tb__btn { background: var(--amber); color: var(--on-amber); padding: 6px 11px;
  font-family: var(--font-display); font-size: 8.5px; font-weight: 700; letter-spacing: -.03em; }
.tb__row { display: grid; grid-template-columns: 1.05fr 1.35fr 1.3fr .85fr;
  gap: 12px; align-items: center; padding: 11px 14px; font-size: 13px; }
.tb__row + .tb__row { border-top: 1px solid var(--line); }
.tb__row--tit { font-family: var(--font-display); font-size: 8.5px; letter-spacing: -.03em;
  text-transform: uppercase; color: var(--ink-3); background: var(--bg); }
.tb__row .num { text-align: right; }
.tb__pill { justify-self: start; padding: 4px 9px; border: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: 8.5px; letter-spacing: -.03em; color: var(--ink-2); }
.tb__pill--ok { border-color: rgba(95, 184, 148, .45); color: var(--ok); }
.tb__pill--alerta { border-color: rgba(229, 72, 77, .45); color: var(--alert); }

.tb__pie { margin-top: 18px; font-size: 13.5px; color: var(--ink-3);
  line-height: 1.6; max-width: 64ch; }

/* --- el pie: quien esta atras ----------------------------- */
.footer__firma { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 10px; }
.footer .footer__yo { font-style: normal; font-weight: 600; color: var(--ink); }

/* El tablero es una pantalla ancha de verdad: en el celular se desliza
   en vez de romperse en piezas que ya no parecen un sistema. El aviso
   solo aparece cuando efectivamente hay que deslizar. */
.tb__desliza { display: none; }
@media (max-width: 760px) {
  .tb__desliza { display: block; margin-bottom: 12px;
    font-family: var(--font-display); font-size: 9px; letter-spacing: -.03em;
    text-transform: uppercase; color: var(--amber); }
  .tb { min-width: 620px; }
  .tb__body { padding: 15px 13px; gap: 14px; }
  .tb__kpi { padding: 12px 13px; }
  .tb__v { font-size: 18px; }
  .tb__row { font-size: 12px; padding: 10px 12px; }
}

/* ============================================================
   LA CHARLA — 2026-08-28
   La segunda puerta al relevamiento. Prefijo .ch porque el CRM
   importa esta misma hoja.

   La pantalla es una sola columna alta con la caja de escribir
   pegada abajo: el hilo scrollea adentro, no la pagina. En el
   celular una charla que mueve toda la pagina hace saltar el
   teclado y se pierde el ultimo mensaje.
   ============================================================ */
.ch { display: flex; flex-direction: column; gap: 16px;
  height: calc(100dvh - var(--topbar-h)); padding-block: 22px 18px; }

.ch__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ch__head .kicker { margin: 0; }
.ch__reset { background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-display); font-size: 9px; letter-spacing: -.03em;
  text-transform: uppercase; color: var(--ink-3); }
.ch__reset:hover { color: var(--amber); }

.ch__hilo { flex: 1; min-height: 0; overflow-y: auto; list-style: none;
  display: flex; flex-direction: column; gap: 14px; padding-right: 6px; }

.msg { max-width: 88%; padding: 14px 17px; font-size: 15.5px; line-height: 1.6; }
.msg p + p { margin-top: 10px; }
/* El asistente habla con la voz de la marca, asi que lleva el filete
   ambar a la izquierda: es la misma marca que el resto del sistema. */
.msg--bot { align-self: flex-start; background: var(--bg-1);
  border: 1px solid var(--line); border-left: 2px solid var(--amber); }
.msg--yo { align-self: flex-end; background: var(--amber-dim);
  border: 1px solid var(--amber-line); color: var(--ink); }
.msg--aviso { align-self: center; max-width: 100%; background: none; border: 0;
  padding: 6px 0; font-size: 13px; color: var(--alert); text-align: center; }

/* Tres puntos: dice "esta pensando" sin escribir una palabra que
   despues haya que traducir o que suene a robot. */
.ch__pensando { display: flex; gap: 5px; padding: 4px 17px 0; }
.ch__pensando span { width: 5px; height: 5px; background: var(--amber);
  opacity: .35; animation: ch-late 1.1s var(--ease) infinite; }
.ch__pensando span:nth-child(2) { animation-delay: .18s; }
.ch__pensando span:nth-child(3) { animation-delay: .36s; }
@keyframes ch-late { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.ch__componer { display: flex; gap: 10px; align-items: flex-end;
  border-top: 1px solid var(--line); padding-top: 14px; }
.ch__componer textarea {
  flex: 1; resize: none; min-height: 50px; max-height: 140px;
  font-family: var(--font-sans); font-size: 16px; line-height: 1.5; color: var(--ink);
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 0;
  padding: 14px 16px; transition: border-color .2s;
}
.ch__componer textarea:focus { outline: 0; border-color: var(--amber-line); }
.ch__componer textarea::placeholder { color: var(--ink-3); }
.ch__enviar { --pad: 0; width: 50px; height: 50px; flex: none; }
.ch__enviar svg { width: 21px; height: 21px; }

.ch__fin { display: flex; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 16px; }

.ch__pie { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.ch__link { background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--amber); text-decoration: underline;
  text-underline-offset: 3px; }

@media (max-width: 640px) {
  .ch { gap: 12px; padding-block: 16px 12px; }
  .msg { max-width: 94%; padding: 12px 14px; font-size: 15px; }
  .ch__enviar { width: 46px; height: 46px; }
  .ch__componer textarea { min-height: 46px; padding: 12px 14px; }
}
