/* katunpay.com · v3 · identidad propia: crema limpia, verde profundo, dorado, mucho aire. */
:root {
  --bg: #fbfaf6;
  --paper: #ffffff;
  --paper-2: #f4f1ea;
  --ink: #15201b;
  --ink-2: #33403a;
  --muted: #626d69;
  --gold-text: #7a5f10;
  --line: #e6e2d8;
  --line-2: #d6d0c2;
  --green: #1f4d3f;
  --green-2: #2b6652;
  --green-soft: #e8f0ec;
  --gold: #c9a227;
  --gold-soft: #f7f0d9;
  --red: #b4412f;
  --red-soft: #f8e9e5;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --wrap: 1160px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(21, 32, 27, 0.04), 0 24px 60px -28px rgba(21, 32, 27, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
html[lang="en"] .es { display: none !important; }
html[lang="es"] .en { display: none !important; }
.mono { font-family: var(--mono); }
.dim { color: var(--muted); }

/* ---------- Barra ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 246, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.brand svg { width: 24px; height: 24px; fill: var(--green); }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { text-decoration: none; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.nav .btn { white-space: nowrap; }
.menu a:hover { color: var(--green); }
.nav .right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; font-family: var(--mono); font-size: 12px; background: var(--paper); }
.lang button { background: transparent; border: 0; color: var(--muted); padding: 5px 11px; border-radius: 999px; cursor: pointer; letter-spacing: 0.06em; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 999px; padding: 12px 22px; font-weight: 500; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s, transform .18s var(--ease); }
.btn:hover { background: var(--green-2); border-color: var(--green-2); }
.btn--sm { padding: 9px 16px; font-size: 14.5px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--paper); border-color: var(--ink); }
.burger { display: none; background: transparent; border: 1px solid var(--line-2); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 20px; height: 20px; }

/* ---------- Tipografía ---------- */
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin: 0 0 18px; }
h1 { font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 144; font-size: clamp(42px, 6vw, 82px); line-height: 1.02; letter-spacing: -0.022em; margin: 0 0 22px; max-width: 15ch; }
h2 { font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 144; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 22ch; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 10px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 46ch; margin: 0 0 32px; line-height: 1.45; }
.intro { color: var(--muted); max-width: 62ch; font-size: 17.5px; margin: 0 0 44px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 24px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

/* Recorrido interactivo */
.tour { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 14px; outline: none; }
.tour:focus-visible { box-shadow: var(--shadow), 0 0 0 3px rgba(31, 77, 63, 0.25); }
.tour__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 12px; flex-wrap: wrap; }
.tour__tabs { display: inline-flex; gap: 4px; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.tour__tab { background: transparent; border: 0; border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .18s, color .18s; }
.tour__tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tour__tab img { width: 18px; height: 18px; border-radius: 5px; }
.tour__controls { display: inline-flex; align-items: center; gap: 6px; }
.tour__count { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-right: 6px; }
.ctl { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background .15s, border-color .15s; }
.ctl:hover { background: var(--paper-2); border-color: var(--ink); }
.ctl svg { width: 16px; height: 16px; }
.ctl--text { width: auto; padding: 0 12px; gap: 7px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
#tour-play .ico-play { display: none; }
#tour-play[data-playing="false"] .ico-play { display: block; }
#tour-play[data-playing="false"] .ico-pause { display: none; }
.tour__stage { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; align-items: stretch; }
.tour__screen { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; height: 640px; position: relative; }
.tour__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.step { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 12px 12px 12px 10px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.step:focus-visible { outline-offset: -2px; }
.step:hover { background: var(--paper-2); }
.step.is-active { background: var(--paper-2); border-color: var(--line); }
.step.is-done .step__n { background: var(--green); color: #fff; border-color: var(--green); }
.step__n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11.5px; display: grid; place-items: center; color: var(--muted); margin-top: 1px; transition: background .2s, color .2s; }
.step.is-active .step__n { border-color: var(--green); color: var(--green); }
.step__t { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.step__d { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 3px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s var(--ease), opacity .3s; }
.step.is-active .step__d { max-height: 120px; opacity: 1; }
.step__bar { position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; opacity: 0; }
.step.is-active .step__bar { opacity: 1; }
.step__bar i { display: block; height: 100%; width: 0; background: var(--green); }
.step.is-active.is-running .step__bar i { animation: fill var(--dur, 5.2s) linear forwards; }
.step.is-paused .step__bar i { animation-play-state: paused; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

/* Entradas animadas, finas */
.in { animation: rise .42s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid rgba(0,0,0,.15); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ChatGPT (claro, fiel) ---------- */
.gpt { font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #fff; color: #0d0d0d; height: 100%; display: flex; flex-direction: column; }
.gpt__top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; font-size: 15px; }
.gpt__top .model { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #0d0d0d; }
.gpt__top .model i { color: #6e6e6e; font-style: normal; font-weight: 400; }
.gpt__top .model svg { width: 14px; height: 14px; color: #8f8f8f; }
.gpt__top .r { display: inline-flex; align-items: center; gap: 12px; }
.gpt__top .share { font-size: 13px; color: #0d0d0d; border: 1px solid #e3e3e3; border-radius: 999px; padding: 5px 12px; }
.gpt__top .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #5b8def, #9a6bd6); }
.gpt__body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 40px 10px; display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; line-height: 1.55; scrollbar-width: thin; }
.gpt__body > :first-child, .cl__body > :first-child { margin-top: auto; }
.gpt__body > *, .cl__body > * { flex-shrink: 0; }
.gpt__user { align-self: flex-end; background: #f4f4f4; border-radius: 20px; padding: 9px 18px; max-width: 78%; }
.gpt__ai { max-width: 100%; }
.gpt__ai p { margin: 0 0 8px; }
.gpt__ai p:last-child { margin-bottom: 0; }
.gpt__app { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #5d5d5d; margin-bottom: 10px; }
.gpt__app .k { width: 20px; height: 20px; border-radius: 6px; background: var(--green); display: grid; place-items: center; }
.gpt__app .k svg { width: 12px; height: 12px; fill: #fff; }
.gpt__app b { color: #0d0d0d; font-weight: 500; }
.gpt__app .ok { color: #10a37f; display: inline-flex; width: 14px; height: 14px; }
.gpt__app .ok svg { width: 14px; height: 14px; }
.gpt__widget { border: 1px solid #e3e3e3; border-radius: 16px; overflow: hidden; background: #fff; margin: 2px 0 10px; }
.gpt__wh { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #ececec; font-size: 13px; color: #5d5d5d; }
.gpt__wh b { color: #0d0d0d; font-weight: 600; }
.gpt__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.gpt__card { padding: 10px; border-right: 1px solid #ececec; min-width: 0; }
.gpt__card:last-child { border-right: 0; }
.gpt__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #f4f4f4; }
.gpt__card .t { font-size: 12.5px; font-weight: 500; margin-top: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gpt__card .m { font-size: 12.5px; color: #5d5d5d; margin-top: 4px; display: flex; justify-content: space-between; gap: 6px; }
.gpt__card .m b { color: #0d0d0d; font-weight: 600; }
.gpt__order { padding: 12px 14px; font-size: 14px; }
.gpt__order .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: #3a3a3a; }
.gpt__order .row.total { border-top: 1px solid #ececec; margin-top: 6px; padding-top: 9px; font-weight: 600; color: #0d0d0d; font-size: 15px; }
.gpt__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: #f4f4f4; color: #3a3a3a; }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.gold { background: var(--gold-soft); color: #7a5f10; }
.gpt__wf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid #ececec; }
.gpt__wf .st { font-size: 13px; color: #5d5d5d; }
.gpt__btn { display: inline-flex; align-items: center; gap: 8px; background: #0d0d0d; color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.gpt__btn.ghost { background: #fff; color: #0d0d0d; border: 1px solid #e3e3e3; }
.gpt__foot { padding: 6px 40px 14px; }
.gpt__input { border: 1px solid #e3e3e3; border-radius: 26px; padding: 11px 12px 11px 16px; display: flex; align-items: center; gap: 10px; color: #6e6e6e; font-size: 15px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.gpt__input .plus { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #d9d9d9; display: grid; place-items: center; font-size: 16px; color: #0d0d0d; line-height: 1; }
.gpt__input .go { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: #0d0d0d; color: #fff; display: grid; place-items: center; }
.gpt__input .go svg { width: 16px; height: 16px; }

/* ---------- Claude (claro, fiel) ---------- */
.cl { font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #faf9f5; color: #1f1e1b; height: 100%; display: flex; flex-direction: column; }
.cl__top { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: 13.5px; color: #6f6c62; border-bottom: 1px solid #ebe8df; }
.cl__top b { color: #1f1e1b; font-weight: 500; }
.cl__top .conn { display: inline-flex; align-items: center; gap: 7px; }
.cl__top .conn i { width: 7px; height: 7px; border-radius: 50%; background: #3f9c6b; display: inline-block; }
.cl__body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 32px; display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; line-height: 1.55; scrollbar-width: thin; }
.cl__user { align-self: flex-end; background: #f0eee6; border-radius: 16px; padding: 10px 16px; max-width: 80%; }
.cl__ai { max-width: 100%; }
.cl__ai p { margin: 0 0 8px; }
.cl__ai p:last-child { margin-bottom: 0; }
.cl__ai ul { margin: 0 0 8px; padding-left: 20px; }
.cl__ai li { margin: 2px 0; }
.cl__tools { border: 1px solid #e6e3da; border-radius: 12px; background: #fff; margin: 0 0 10px; overflow: hidden; font-size: 13.5px; }
.cl__tools > .h { display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; color: #4a4841; user-select: none; }
.cl__tools > .h:focus-visible, .cl__tool .th:focus-visible { outline-offset: -2px; border-radius: 8px; }
.cl__tools > .h svg { width: 14px; height: 14px; transition: transform .2s; }
.cl__tools.open > .h svg.chev { transform: rotate(90deg); }
.cl__tools > .list { display: none; border-top: 1px solid #efece4; }
.cl__tools.open > .list { display: block; }
.cl__tool { border-bottom: 1px solid #efece4; }
.cl__tool:last-child { border-bottom: 0; }
.cl__tool .th { display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: #4a4841; cursor: pointer; }
.cl__tool .th > svg { width: 14px; height: 14px; color: #8b887c; flex: none; }
.cl__tool .th .nm { font-size: 13px; color: #1f1e1b; }
.cl__tool .th .src { margin-left: auto; font-size: 12px; color: #6f6c62; display: inline-flex; align-items: center; gap: 6px; }
.cl__tool .th .src .ok { color: #3f9c6b; display: inline-flex; width: 13px; height: 13px; }
.cl__tool .th .src .ok svg { width: 13px; height: 13px; }
.cl__tool .th .spin { margin-left: auto; color: #8b887c; }
.cl__tool pre { margin: 0; padding: 8px 12px 10px; border-top: 1px dashed #efece4; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: #4a4841; white-space: pre-wrap; word-break: break-word; background: #fcfbf8; }
.cl__tool pre .k { color: var(--green); font-weight: 500; }
.cl__tool pre .fn { color: #6f6c62; font-weight: 400; }
.cl__tool pre .s { color: #8b6b1d; }
.cl__tool pre .n { color: #1d5a8b; }
.cl__foot { padding: 6px 32px 14px; }
.cl__input { background: #fff; border: 1px solid #e6e3da; border-radius: 16px; padding: 12px 12px 12px 16px; color: #6f6c62; font-size: 15px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.cl__input .send { width: 30px; height: 30px; border-radius: 8px; background: #d97757; display: grid; place-items: center; }
.cl__input .send svg { width: 14px; height: 14px; color: #fff; }

/* Tarjeta de pago alojado y de evidencia (compartidas por las dos superficies) */
.pay { border: 1px solid #e3e3e3; border-radius: 14px; background: #fff; padding: 14px 16px; font-family: var(--sans); color: var(--ink); margin: 2px 0 10px; }
.pay__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pay__h b { font-weight: 600; font-size: 15px; }
.pay__h .amt { font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em; }
.pay__sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pay__card { margin-top: 12px; border: 1px dashed var(--line-2); border-radius: 10px; padding: 10px 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.pay__card .chip { width: 26px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, var(--gold), #e6c860); }
.pay__steps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.pay__steps li { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; color: var(--muted); }
.pay__steps li .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.pay__steps li .ok svg { width: 11px; height: 11px; }
.pay__steps li.done { color: var(--ink); }
.pay__steps li .ref { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

.evc { border: 1px solid var(--line); border-radius: 14px; background: #fff; font-family: var(--sans); color: var(--ink); margin: 2px 0 10px; overflow: hidden; }
.evc__h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ink); color: #f4efe5; }
.evc__h svg { width: 18px; height: 18px; fill: var(--gold); }
.evc__h b { font-family: var(--serif); font-weight: 500; font-size: 16px; }
.evc__h .id { margin-left: auto; font-family: var(--mono); font-size: 12px; color: #cfc8b8; }
.evc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 12px 14px; font-size: 13px; }
.evc__grid div b { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.evc__grid .w { grid-column: 1 / -1; }
.evc__grid .mono { font-size: 12px; word-break: break-all; }
.evc__f { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 0 14px 12px; }
.evc__out { margin: 0 14px 14px; border-radius: 10px; background: #0f1a16; color: #d7ddd9; font-family: var(--mono); font-size: 12px; line-height: 1.6; padding: 10px 12px; white-space: pre-wrap; min-height: 0; display: none; }
.evc__out.show { display: block; }
.evc__out .ok { color: #7fe0b5; font-weight: 500; }
.evc__out .bad { color: #ff9e8a; font-weight: 500; }
.evc__out .dim { color: #8a9a92; }
.evc__out .bar { display: inline-block; width: 8px; height: 13px; background: #d7ddd9; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vbtn { display: inline-flex; align-items: center; gap: 7px; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .15s; }
.vbtn:hover { background: var(--green-2); }
.vbtn svg { width: 14px; height: 14px; }
.vbtn.ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.vbtn.ghost:hover { border-color: var(--ink); }
.vbtn:disabled { opacity: .55; cursor: default; }
.evc .alt { color: var(--red); background: var(--red-soft); padding: 0 3px; border-radius: 3px; }

/* ---------- Secciones ---------- */
.section { padding: 120px 0 60px; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 60px; padding-bottom: 100px; }

/* WhatsApp (teléfono, modo claro) */
.wa { font-family: -apple-system, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; background: #efeae2; color: #111b21; display: flex; flex-direction: column; }
.wa__head { background: #008069; color: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px; min-height: 60px; }
.wa__avatar { width: 38px; height: 38px; border-radius: 50%; background: #d9ede4; color: #0f3d2e; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.wa__name { font-weight: 600; font-size: 15.5px; line-height: 1.15; }
.wa__sub { font-size: 12.5px; opacity: .9; }
.wa__body { padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 5px; background-color: #efeae2; background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.045) 1px, transparent 1.5px); background-size: 22px 22px; min-height: 300px; }
.wa__chipwrap { text-align: center; margin: 4px 0 6px; }
.wa__chip { display: inline-block; background: #fff; color: #54656f; font-size: 11.5px; padding: 5px 10px; border-radius: 8px; box-shadow: 0 1px 0.5px rgba(11,20,26,.13); }
.wa__msg { max-width: 86%; padding: 6px 8px 7px 9px; border-radius: 8px; font-size: 13.8px; line-height: 19px; position: relative; box-shadow: 0 1px 0.5px rgba(11,20,26,.13); }
.wa__msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 0; }
.wa__msg.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 0; }
.wa__meta { float: right; margin: 6px 0 -4px 10px; font-size: 11px; color: #54656f; }
.wa__btn { margin: 8px -8px -7px -9px; border-top: 1px solid rgba(0,0,0,.08); color: #027eb5; text-align: center; padding: 9px; font-size: 14px; clear: both; }
.wa__foot { display: flex; align-items: center; gap: 8px; padding: 8px; background: #f0f2f5; }
.wa__input { flex: 1; background: #fff; border-radius: 20px; padding: 9px 14px; font-size: 14px; color: #667781; }

/* Pantallas reales en marco fino */
.browser { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #faf9f6; }
.browser__bar .dots i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #d9d4c7; margin-right: 5px; }
.browser__url { font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; display: inline-flex; align-items: center; gap: 6px; }
.browser__url svg { width: 11px; height: 11px; }
.browser img { width: 100%; height: auto; }

/* La prueba */
.ev { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 48px; align-items: start; }
.paper { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: #0b0b0b; }
.verifier .evc { margin: 0; }
.evc__more { background: transparent; border: 0; padding: 8px 4px; margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--green); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.evc__more:hover { color: var(--green-2); }
.evc__res { display: none; margin: 0 14px 12px; font-size: 13.5px; align-items: center; gap: 8px; color: var(--muted); }
.evc__res.show { display: flex; }
.evc__res.ok { color: var(--green); font-weight: 500; }
.evc__res.bad { color: var(--red); font-weight: 500; }
.evc__res svg { width: 16px; height: 16px; flex: none; }
.evc__rec { display: none; border-top: 1px solid var(--line); background: #fcfbf8; }
.evc__rec.show { display: block; }
.evc__grid--rec { padding-top: 12px; }
.evc__rec .spec { padding: 0 14px 12px; }
.rec { margin: 0; padding: 12px 14px; font-family: var(--mono); font-size: 11.5px; line-height: 1.55; color: var(--ink-2); background: #fcfbf8; border-top: 1px solid var(--line); white-space: pre-wrap; word-break: break-all; max-height: 300px; overflow: auto; }
.rec .k { color: var(--green); }
.rec .s { color: #8b6b1d; }
.rec .n { color: #1d5a8b; }

.tl { margin-top: 44px; }
.tl__label { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.tl ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.tl ol::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--line-2); }
.tl li { padding: 0 20px 0 0; position: relative; }
.tl li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); display: block; margin-bottom: 14px; box-sizing: border-box; }
.tl li.now::before { background: var(--gold); }
.tl small { display: block; font-size: 11.5px; letter-spacing: .08em; color: var(--gold-text); margin-bottom: 6px; text-transform: uppercase; }
.tl b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.tl .src { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; line-height: 1.4; }

/* Cómo se conecta: diagrama de flujo (SVG generado en app.js) */
.flow { border-top: 1px solid var(--line); padding-top: 40px; }
.flow svg { width: 100%; height: auto; display: block; font-family: var(--sans); }
.flow .box { fill: var(--bg); stroke: var(--line-2); stroke-width: 1; }
.flow .box--k { fill: var(--green-soft); stroke: var(--green); }
.flow .box--a { fill: var(--paper); stroke: var(--line-2); }
.flow .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; fill: var(--green); }
.flow .lbl--yours { fill: var(--muted); }
.flow .ttl { font-family: var(--serif); font-size: 21px; font-weight: 500; fill: var(--ink); letter-spacing: -0.01em; }
.flow--h .ttl { font-size: 18px; }
.flow .txt { font-size: 13.5px; fill: var(--ink-2); }
.flow .agents { font-size: 14px; fill: var(--ink); font-weight: 500; }
.flow .arrow { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.flow .arrow--k { stroke: var(--green); }
.flow .head { fill: var(--line-2); }
.flow .head--k { fill: var(--green); }
.flow .gold { fill: var(--gold); }
.flow__cta { margin: 40px 0 0; }

/* Módulos: lista sobria con el glifo de cada módulo (sistema de marca de Katun) */
.mods { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.mods li { display: grid; grid-template-columns: 44px 190px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.mods img { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }
.mods__name { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.mods__what { font-size: 15px; }
.mods li.on { padding: 18px 0; }
.mods li.on img { border-color: var(--m, var(--green)); box-shadow: 0 0 0 3px var(--green-soft); }
.mods li.on .mods__name { font-size: 26px; }
.mods li.on .mods__what { color: var(--ink-2); }
.mods__next { margin: 18px 0 0; font-size: 15px; color: var(--muted); }

/* Hablemos */
.talk { padding: 140px 0 100px; }
.talk h2 { font-size: clamp(44px, 7vw, 96px); }
.talk p { color: var(--muted); max-width: 54ch; }
.contact { margin-top: 40px; max-width: 760px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field__l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field__l em { font-style: normal; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; width: 100%; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 77, 63, 0.14); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 18px; min-height: 0; }
.contact__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.contact__status { margin: 0; font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.contact__status.is-ok { color: var(--green); }
.contact__status.is-bad { color: var(--red); }
.contact.is-sent .contact__grid, .contact.is-sent .cf-turnstile { opacity: .55; pointer-events: none; }
.btn:disabled { opacity: .6; cursor: default; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Reveal fino. El contenido es visible siempre (sin JS, en capturas, con "reducir movimiento");
   con JS, lo que está bajo el primer viewport entra con un leve desplazamiento, nunca con opacidad 0. */
.rv { opacity: 1; transform: none; }
html.js .rv { transition: transform .6s var(--ease); }
html.js .rv:not(.on) { transform: translateY(12px); }

/* Aviso solo sin JavaScript, dentro de las piezas que el JS construye */
.nojs { margin: 0; padding: 18px; font-size: 14px; color: var(--muted); }

/* Foco visible en todo lo que se opera con teclado */
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.tour:focus-visible { outline: none; }


/* ---------- v4 (comercios y bancos): la línea del one-pager de comercios ---------- */
main [id] { scroll-margin-top: 72px; }
main section[id] { scroll-margin-top: 0; }
h1 em, h2 em { font-style: italic; color: var(--green-2); font-weight: 500; }
h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: 1.0; letter-spacing: -0.025em; max-width: 21ch; }
.hero { padding: 64px 0 0; }
.hero .lead { margin-bottom: 28px; max-width: 60ch; }
.hero__cta { margin-bottom: 36px; }
.canales { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.canales li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.canales img { height: 20px; width: auto; }
.canales img.oai { height: 38px; margin: -9px -6px -9px -8px; }
.canales .canal--claude img { height: 20px; }

/* Escena: el chat real sobre una banda verde, como en el one-pager */
.escena { position: relative; margin: 48px 0 0; padding: 44px 16px 0; background: var(--green); overflow: hidden; }
.escena::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%); pointer-events: none; }
.escena::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); }
.hgpt { position: relative; z-index: 1; width: min(760px, 100%); margin: 0 auto; padding-bottom: 28px; background: #fff; color: #0d0d0d; border-radius: 20px 20px 0 0; font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.hgpt__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 6px; font-size: 15px; }
.hgpt__top .model { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.hgpt__top .model i { color: #6e6e6e; font-style: normal; font-weight: 400; }
.hgpt__top .model svg { width: 14px; height: 14px; color: #8f8f8f; }
.hgpt__top .r { display: inline-flex; align-items: center; gap: 12px; }
.hgpt__top .share { font-size: 13px; border: 1px solid #e3e3e3; border-radius: 999px; padding: 5px 12px; }
.hgpt__top .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #5b8def, #9a6bd6); }
.hgpt__body { padding: 8px 40px 0; display: flex; flex-direction: column; gap: 14px; font-size: 16.5px; line-height: 1.45; }
.hgpt__user { align-self: flex-end; background: #f4f4f4; border-radius: 22px; padding: 10px 20px; max-width: 88%; }
.hgpt__app { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #5d5d5d; margin: 2px 0 -4px; }
.hgpt__app .k { width: 21px; height: 21px; border-radius: 6px; background: var(--green); display: grid; place-items: center; }
.hgpt__app .k svg { width: 13px; height: 13px; fill: #fff; }
.hgpt__app b { color: #0d0d0d; font-weight: 500; }
.hgpt__app .ok { color: #10a37f; display: inline-flex; }
.hgpt__app .ok svg { width: 15px; height: 15px; }
.hgpt picture, .kpic { display: block; }
.kcard { width: 100%; height: auto; border-radius: 16px; }
.gpt__ai .kpic, .cl__ai .kpic { max-width: 560px; margin: 2px 0 10px; }
.gpt__ai p + .kpic, .cl__ai p + .kpic, .gpt__ai p + .pay, .cl__ai p + .pay { margin-top: 10px; }

/* Beneficios: tres líneas con icono, sin cajas */
.beneficios { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.beneficios li svg { width: 30px; height: 30px; color: var(--green); display: block; margin-bottom: 12px; }
.beneficios li p { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.22; font-weight: 500; letter-spacing: -0.012em; color: var(--ink); font-variation-settings: "opsz" 48; max-width: 20ch; }
.beneficios--bank { margin: 8px 0 48px; }

/* Una idea con su pantalla real */
.feature { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.feature__txt h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 10px; }
.feature__txt p { margin: 0; color: var(--muted); max-width: 52ch; font-size: 17.5px; }
.feature--wa { grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 48px; }
.phone { width: 340px; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.browser--big { margin-top: 8px; }

/* Bloques dentro de "Para bancos" */
.sub { margin-top: 110px; }
.sub__h { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 10px; }
.sub__p { margin: 0 0 36px; color: var(--muted); font-size: 17.5px; }
.spec { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.spec li { padding-left: 14px; position: relative; word-break: break-word; }
.spec li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: var(--gold); }

/* Por qué ahora: línea de tiempo y redes, sin cajas */
#ahora .tl { margin-top: 40px; }
.nets { display: grid; grid-template-columns: 2fr 1fr; gap: 28px 48px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.nets__grupo { display: flex; flex-direction: column; gap: 12px; }
.nets__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.nets__lista li { font-size: 17px; font-weight: 600; color: var(--ink, inherit); }
.nets__label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nets__built { margin-left: auto; }
.net { display: inline-flex; align-items: center; gap: 12px; }
.net img { height: 20px; width: auto; }
.net img[alt="Mastercard"] { height: 26px; }
.net img.cf { height: 24px; }
.net b { font-size: 15px; font-weight: 600; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .ev { grid-template-columns: 360px minmax(0, 1fr); gap: 32px; }
  .tl ol { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .tl ol::before { display: none; }
  .feature--wa { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .phone { width: 320px; }
}
@media (max-width: 900px) {
  .tour__stage { grid-template-columns: 1fr; }
  .tour__steps { flex-direction: row; gap: 4px; }
  .step { grid-template-columns: 1fr; padding: 10px 8px 12px; flex: 1; min-width: 0; }
  .step__n { display: none; }
  .step__t { font-size: 12.5px; }
  .step__d { display: none; }
  .tour__screen { height: 600px; }
  .ev { grid-template-columns: 1fr; }
  .ev__cert { max-width: 440px; }
  .beneficios { grid-template-columns: 1fr; gap: 22px; }
  .beneficios li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; }
  .beneficios li svg { margin: 2px 0 0; }
  .beneficios li p { max-width: none; font-size: 21px; }
  .feature--wa { grid-template-columns: 1fr; }
  .nets { grid-template-columns: 1fr; }
}
/* Barra: de 960 px hacia abajo el menú se pliega detrás del botón de menú */
@media (max-width: 960px) {
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(21, 32, 27, 0.35); padding: 14px 16px 18px; flex-direction: column; align-items: stretch; gap: 0; }
  .menu.open { display: flex; }
  .menu a { font-size: 17px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 0; }
  .burger { display: inline-flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .btn { display: none; }
  .hero { padding-top: 44px; }
  h1 { max-width: none; font-size: clamp(40px, 11.5vw, 56px); }
  .canales { gap: 18px; }
  .canales li { font-size: 18px; }
  .escena { margin-top: 36px; padding: 28px 10px 0; }
  .hgpt { border-radius: 16px 16px 0 0; padding-bottom: 16px; }
  .hgpt__top .share { display: none; }
  .hgpt__body { padding: 4px 12px 0; font-size: 15px; gap: 10px; }
  .hgpt__app { font-size: 12.5px; }
  .kcard { border-radius: 10px; }
  .tour { padding: 10px; border-radius: 16px; }
  .tour__top { gap: 8px; }
  .tour__count { display: none; }
  .ctl--text span { display: none; }
  .ctl--text { padding: 0; width: 36px; }
  .step__t { font-size: 0; }
  .step__t::after { content: attr(data-n); font-size: 12px; font-family: var(--mono); }
  .step { padding: 8px 4px 10px; }
  .tour__screen { height: 560px; }
  .gpt__body, .gpt__foot { padding-left: 12px; padding-right: 12px; }
  .cl__body, .cl__foot { padding-left: 12px; padding-right: 12px; }
  .gpt__top .share { display: none; }
  .evc__grid { grid-template-columns: 1fr; }
  .section { padding-top: 80px; }
  .feature { margin-top: 64px; gap: 20px; }
  .phone { width: 100%; }
  .sub { margin-top: 80px; }
  .mods li { grid-template-columns: 44px 1fr; gap: 4px 14px; }
  .mods img { grid-row: 1 / span 2; }
  .evc__h .id { display: none; }
  .evc__more { margin-left: 0; }
  .talk { padding: 90px 0 70px; }
  .contact__grid { grid-template-columns: 1fr; }
  .tl ol { grid-template-columns: 1fr; row-gap: 18px; }
  .nets { gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .in, .rv, html.js .rv:not(.on), .step__bar i { animation: none !important; transition: none !important; opacity: 1; transform: none; }
}

/* Etiqueta tranquila de la tienda de demostración */
.demo-tag { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }

/* Dos mercados en una página. Español: comercios y sus bancos, WhatsApp a la vista. Inglés: ChatGPT y Claude, la
   aprobación de la tienda y el comprobante primero; WhatsApp como un canal más (hero); el bloque para bancos más ligero y abajo. */
main { display: flex; flex-direction: column; }
main > .hero { order: 0; }
#comercios { order: 1; }
#bancos { order: 2; }
#prueba { order: 3; }
#ahora { order: 4; }
#modules { order: 5; }
#talk { order: 6; }
html[lang="en"] #prueba { order: 2; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 60px; padding-bottom: 100px; }
html[lang="en"] #ahora { order: 3; }
html[lang="en"] #bancos { order: 4; margin-top: 0; background: transparent; border: 0; }
html[lang="en"] .feature--wa, html[lang="en"] #bancos .browser--big { display: none; }
