/* ------------------------------------------------------------------
   Trazá tu proyecto: una pregunta por pantalla sobre ciruela, tarjetas para tocar y progreso arriba.
   El resultado y la vista previa del acceso del cliente usan la misma paleta.
------------------------------------------------------------------ */
:root {
  --plum: #26131F; --plum-2: #321a29; --plum-3: #3d2232; --line: rgba(251,241,234,.14);
  --cream: #fbf1ea; --soft: #c9b5c0; --gold: #cc9933; --gold-2: #b98a2c; --rose: #ff6b80; --white: #ffffff;
  --teal: #477878; --green: #78915e; --red: #bd302e; --orange: #e77844;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-title: "Bricolage Grotesque", "Outfit", "Segoe UI", system-ui, sans-serif;
  --edge: max(16px, 4vw);
  color-scheme: dark;
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--plum); color: var(--cream); font-family: var(--font-body); min-height: 100%; }
[tabindex="-1"]:focus { outline: none; }
@media (max-width: 480px) { .proto .long { display: none; } .top img { height: 28px; } }
* { box-sizing: border-box; }
button { font: inherit; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--plum); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--plum); }
.top-in { max-width: 1120px; margin: 0 auto; padding: 14px var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top img { height: 34px; width: auto; display: block; }
.proto { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.bar { height: 3px; background: rgba(251,241,234,.08); }
.bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s cubic-bezier(.2,.7,.2,1); }

main { --ancho: calc(max(0px, (100% - 1760px) / 2) + max(16px, 4vw)); padding: 56px var(--ancho) 96px; }
/* Encabezado del sitio (sitio.css) fijo arriba, con la barra de avance justo debajo */
.sbar { position: sticky; transform: none; }
.avance { position: sticky; top: 58px; z-index: 39; }
@media (max-width: 480px) { .avance { top: 52px; } }
.step { display: none; }
.step.on { display: block; animation: entra .5s cubic-bezier(.2,.7,.2,1); }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
h1, h2 { font-family: var(--font-title); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 58px); max-width: 18ch; }
h2 { font-size: clamp(28px, 3.8vw, 44px); max-width: 22ch; }
.lead { margin: 16px 0 0; color: var(--soft); font-size: 17px; line-height: 1.55; max-width: 56ch; font-weight: 300; }

.intro-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts li { background: var(--c); color: #fff; border-radius: 18px; padding: 22px 22px 24px; display: grid; grid-template-rows: auto 1fr; gap: 18px; align-content: stretch; min-height: 168px; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.facts .fi { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.facts svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.facts b { align-self: end; font-family: var(--font-title); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; max-width: 12ch; text-wrap: balance; }
@media (max-width: 520px) { .facts { gap: 8px; } .facts li { padding: 14px 12px 16px; min-height: 124px; gap: 12px; border-radius: 16px; } .facts .fi { width: 40px; height: 40px; } .facts b { font-size: 15px; } .facts svg { width: 22px; height: 22px; } }
@media (max-width: 820px) { .intro-row { grid-template-columns: 1fr; gap: 28px; } }

.opts { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { #o-obj { grid-template-columns: repeat(4, minmax(0, 1fr)); } #o-obj .opt { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; gap: 10px; min-height: 216px; padding: 28px 26px 30px; } #o-obj .opt .ic { grid-row: auto; align-self: start; margin-bottom: 18px; } }
@media (max-width: 860px) { .opts, .opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .opts, .opts.two { grid-template-columns: 1fr; } }
.opt { text-align: left; background: var(--plum-2); color: var(--cream); border: 1.5px solid transparent; border-radius: 18px; padding: 22px 20px; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; transition: background .25s ease, border-color .25s ease, transform .25s ease; min-width: 0; }
.opt:hover { background: var(--plum-3); transform: translateY(-2px); }
.opt[aria-pressed="true"] { border-color: var(--gold); background: var(--plum-3); }
.opt .ic { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(251,241,234,.06); color: var(--c, var(--gold)); }
.opt .ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.opt b { font-family: var(--font-title); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.opt span.d { font-size: 14px; color: var(--soft); line-height: 1.4; font-weight: 300; }
.opt.simple { grid-template-columns: 1fr; padding: 18px 20px; gap: 6px; }
.opt.simple b { font-family: var(--font-body); font-size: 17px; font-weight: 500; letter-spacing: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { background: transparent; color: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; font-size: 15px; transition: border-color .2s ease, background .2s ease; }
.chip:hover { border-color: rgba(251,241,234,.4); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--plum); border-color: var(--cream); font-weight: 600; }
.group { margin-top: 30px; }
.group h3 { margin: 0; font-size: 16px; font-weight: 600; }
.group p.h { margin: 4px 0 0; font-size: 14px; color: var(--soft); font-weight: 300; }

textarea, input[type="text"] { width: 100%; background: var(--plum-2); color: var(--cream); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; font: 400 17px/1.5 var(--font-body); }
textarea { min-height: 130px; resize: vertical; }
textarea:focus, input[type="text"]:focus { outline: none; border-color: var(--gold); }
textarea::placeholder, input::placeholder { color: rgba(201,181,192,.6); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.examples button { background: rgba(251,241,234,.05); color: var(--soft); border: 0; border-radius: 999px; padding: 8px 12px; font-size: 13px; cursor: pointer; }
.examples button:hover { color: var(--cream); }
.detect { margin-top: 14px; min-height: 22px; font-size: 14px; color: var(--soft); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.detect b { color: var(--cream); font-weight: 500; background: rgba(204,153,51,.18); border-radius: 999px; padding: 3px 10px; font-size: 13px; }

.nav { margin-top: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.back { background: none; border: 0; color: var(--soft); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; padding: 8px 0; }
.back:hover { color: var(--cream); }
.back svg, .go svg { width: 16px; height: 16px; }
.go { background: var(--gold); color: var(--white); border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 600; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background .2s ease, opacity .2s ease; }
.go:hover { background: var(--gold-2); }
.go:disabled { opacity: .35; cursor: default; }
.skip { background: none; border: 0; color: var(--soft); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: 15px; }
.time { font-size: 13px; color: var(--soft); }

/* Resultado */
.res-grid { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr; } }
.panel { background: var(--plum-2); border-radius: 22px; padding: 28px 26px; }
.panel h3 { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: e; }
.stages li { position: relative; padding: 0 0 22px 46px; }
.stages li:last-child { padding-bottom: 0; }
.stages li::before { counter-increment: e; content: "0" counter(e); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.stages li::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1px; background: var(--line); }
.stages li:last-child::after { display: none; }
.stages b { display: block; font-family: var(--font-title); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.stages span { display: block; margin-top: 3px; color: var(--soft); font-size: 15px; line-height: 1.5; font-weight: 300; }
.stages em { font-style: normal; font-size: 12px; color: var(--soft); letter-spacing: .04em; }
.side { display: grid; gap: 22px; }
.price { background: var(--cream); color: var(--plum); border-radius: 22px; padding: 26px; }
.price h3 { color: #6f6168; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.price .amount { font-family: var(--font-title); font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { font-family: var(--font-body); font-size: 16px; font-weight: 500; letter-spacing: 0; color: #6f6168; white-space: nowrap; }
.price .usd { margin: 8px 0 0; font-family: var(--font-title); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: #4b3a44; font-variant-numeric: tabular-nums; }
.price .fx { margin: 4px 0 0; font-size: 12.5px; color: #6f6168; }
.price .note { margin: 10px 0 0; font-size: 14px; color: #6f6168; line-height: 1.5; }
.price .fit { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e6ddcf; font-size: 14px; line-height: 1.5; }
.risks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.risks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: 15px; line-height: 1.5; font-weight: 300; color: var(--soft); }
.risks li svg { width: 20px; height: 20px; color: var(--orange); margin-top: 1px; }
.risks li b { color: var(--cream); font-weight: 500; }
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cases a { display: flex; justify-content: space-between; gap: 12px; color: var(--cream); text-decoration: none; padding: 12px 14px; border-radius: 12px; background: rgba(251,241,234,.04); font-size: 15px; }
.cases a:hover { background: rgba(251,241,234,.08); }
.cases a small { color: var(--soft); font-variant-numeric: tabular-nums; }
.rubro { display: block; color: var(--gold); font-size: .62em; letter-spacing: -0.02em; margin-top: 8px; }
.summary { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.summary span { font-size: 13px; color: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }
.human { margin-top: 18px; display: flex; gap: 12px; align-items: center; color: var(--soft); font-size: 14px; }
.human svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

.save { margin-top: 26px; background: linear-gradient(135deg, #3d2232, #321a29); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; align-items: start; }
@media (max-width: 860px) { .save { grid-template-columns: 1fr; } }
.save h3 { margin: 0; font-family: var(--font-title); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.save p { margin: 10px 0 0; color: var(--soft); font-size: 15px; line-height: 1.55; font-weight: 300; }
.form { display: grid; gap: 14px; }
.form label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form .err { font-size: 13px; color: var(--rose); min-height: 16px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 13px; color: var(--soft); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 1px; }

/* Acceso del cliente (vista previa) */
.portal { margin-top: 34px; background: var(--cream); color: var(--plum); border-radius: 24px; overflow: hidden; }
.p-head { background: #f2ece3; padding: 18px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid #e6ddcf; }
.p-head b { font-family: var(--font-title); font-size: 18px; letter-spacing: -0.015em; }
.p-head span { font-size: 13px; color: #6f6168; }
.p-body { padding: 26px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; }
@media (max-width: 860px) { .p-body { grid-template-columns: 1fr; } }
.p-body h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6f6168; }
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.track li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid #e6ddcf; background: #fff; }
.track li .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #cbbfb0; }
.track li.done .dot { background: var(--green); border-color: var(--green); }
.track li.now .dot { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 40%, transparent 45%); }
.track li b { font-weight: 600; font-size: 15px; }
.track li small { display: block; color: #6f6168; font-size: 13px; margin-top: 2px; }
.track li .st { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6f6168; white-space: nowrap; }
.track li.done .st { color: var(--green); }
.track li.now .st { color: var(--gold-2); }
.lib { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lib li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #e6ddcf; font-size: 14.5px; line-height: 1.35; }
.lib li i { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--c); border-radius: 6px; padding: 4px 6px; height: max-content; }
.done-msg { display: grid; gap: 10px; }
.restart { margin-top: 26px; background: none; border: 1.5px solid var(--line); color: var(--cream); border-radius: 999px; padding: 11px 20px; cursor: pointer; font-size: 15px; }

@media (max-width: 560px) { main { padding-top: 32px; } .go { padding: 13px 20px; } .panel, .price, .save { padding: 22px 18px; } .p-body { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .step.on { animation: none; } .bar span { transition: none; } }
img { max-width: 100%; }
[hidden] { display: none !important; }
.volver { font-size: 14px; color: var(--soft); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.volver:hover { color: var(--cream); }
.volver svg { width: 16px; height: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }