/* ===== Presentación ITA ===== */
:root {
  --bg: #050b08;
  --bg-2: #08120d;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --txt: #e8f0ec;
  --dim: #a3b3ab;
  --faint: #6f8078;
  --green: #22c55e;
  --green-2: #16a34a;
  --green-3: #34d399;
  --amber: #f59e0b;
  --chart-green: #18a64f;
  --chart-gray: #6b7d74;
  --top-h: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); }
body {
  margin: 0; color: var(--txt); background: var(--bg);
  font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-image:
    radial-gradient(900px 600px at 85% -10%, rgba(34, 197, 94, 0.13), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(52, 211, 153, 0.07), transparent 60%);
  background-attachment: fixed;
}
h1, h2, h3 { font-family: Manrope, Inter, system-ui, sans-serif; letter-spacing: -0.02em; margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.verde { color: var(--green); }
.nota { color: var(--faint); font-size: 13.5px; }

/* Barra superior */
.progreso { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; }
.progreso i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green-2), var(--green-3)); }
.top {
  position: fixed; inset: 0 0 auto 0; height: var(--top-h); z-index: 50;
  display: flex; align-items: center; gap: 24px; padding: 0 28px;
  background: rgba(5, 11, 8, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: Manrope; font-weight: 800; font-size: 21px; }
.marca img { width: 32px; height: 32px; border-radius: 9px; }
.top-nav { display: flex; gap: 4px; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--dim); font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.top-nav a:hover { color: var(--txt); background: var(--panel-2); }
.top-nav a.on { color: #04140a; background: var(--green); }
.top-cta { text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--green); color: var(--green-3); }
.top-cta:hover { background: rgba(34, 197, 94, 0.12); }

/* Layout con celular fijo a la derecha */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 470px; max-width: 1380px; margin: 0 auto; padding: 0 28px; gap: 40px; }
.secciones { min-width: 0; }
.sec { min-height: calc(100vh - var(--top-h)); padding: calc(var(--top-h) + 26px) 0 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-3); }
.sec h1 { font-size: clamp(36px, 4.1vw, 58px); line-height: 1.04; font-weight: 800; }
.sec h2 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.12; font-weight: 800; max-width: 28ch; }
.sec > p, .lead, .lead2 { color: var(--dim); font-size: 17px; max-width: 62ch; margin: 0; }
.lead { color: var(--txt); font-size: 18.5px; }

.telefono-col { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.telefono-escala { transform-origin: top center; }
.tel-pie { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--dim); }
.tel-pie button { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-size: 12.5px; }
.tel-pie button:hover { border-color: var(--green); }
.tel-cerrar { display: none; }

.telefono {
  position: relative; width: 410px; height: 868px; border-radius: 60px; padding: 12px;
  background: linear-gradient(145deg, #1c2420, #0a0e0c 40%, #151b18);
  box-shadow: 0 0 0 1.5px #3a4640, 0 0 0 8px #0c110e, 0 0 0 9.5px #2c3631,
    0 50px 90px rgba(0, 0, 0, 0.65), 0 0 140px rgba(34, 197, 94, 0.10);
}
.telefono::before, .telefono::after { content: ''; position: absolute; width: 4px; border-radius: 3px; background: #2c3631; }
.telefono::before { left: -13px; top: 170px; height: 64px; box-shadow: 0 86px 0 #2c3631; }
.telefono::after { right: -13px; top: 220px; height: 96px; }
.tel-isla { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 118px; height: 33px; background: #000; border-radius: 20px; z-index: 30; }
.tel-brillo { position: absolute; inset: 0; border-radius: 60px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }

/* Hero */
.hero .lead2 { font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 2px; max-width: 760px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 13px 15px 12px; }
.stat small { display: block; color: var(--green-3); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; min-height: 18px; }
.stat b { display: block; font-family: Manrope; font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--txt); }
.stat span { display: block; color: var(--dim); font-size: 13.5px; line-height: 1.35; margin-top: 6px; }

.cadena { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin-top: 2px; padding-bottom: 28px; }
.nodo { position: relative; z-index: 1; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, transform .2s; }
.nodo:hover { border-color: var(--green); transform: translateY(-2px); }
.nodo i { font-style: normal; font-size: 22px; }
.nodo b { font-size: 15.5px; }
.nodo small { color: var(--dim); font-size: 12.5px; line-height: 1.3; }
.hilo { position: absolute; left: 6%; right: 6%; bottom: 10px; height: 2px; background: rgba(34, 197, 94, 0.25); border-radius: 2px; overflow: visible; }
.hilo::after { content: ''; position: absolute; top: -3px; width: 70px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, transparent, var(--green-3), transparent); animation: viaje 3.6s linear infinite; }
.hilo span { position: absolute; left: 50%; transform: translateX(-50%); top: 8px; font-size: 12px; color: var(--green-3); white-space: nowrap; font-weight: 600; }
@keyframes viaje { from { left: -10%; } to { left: 100%; } }

.acciones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.b { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel-2); font-weight: 650; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s, border-color .2s, background .2s; }
.b:hover { border-color: var(--green); transform: translateY(-1px); }
.b-prim { background: var(--green); border-color: var(--green); color: #04140a; }
.b-prim:hover { background: #2fd36b; }
.tecla { color: var(--faint); font-size: 13px; margin: 0; }
kbd { font: 12px/1 Inter; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 2px 6px; background: var(--panel); }

/* Funciones */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 820px; }
.feat { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.feat b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.feat p { margin: 0; color: var(--dim); font-size: 14px; line-height: 1.5; }
.f-ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(34, 197, 94, 0.13); font-size: 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); background: var(--panel); }

/* Guía "Pruébalo" */
.guia { max-width: 820px; border: 1px solid rgba(34, 197, 94, 0.35); background: linear-gradient(180deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02)); border-radius: 20px; padding: 14px 18px; position: relative; }
.guia-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.guia-h b { font-size: 16px; }
.guia-h b::before { content: '📱 '; }
.guia-n { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--green-3); background: rgba(34, 197, 94, 0.12); padding: 3px 10px; border-radius: 999px; }
.guia ol { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 4px; }
.guia li { counter-increment: p; display: flex; gap: 12px; align-items: flex-start; padding: 6px 10px; border-radius: 12px; cursor: pointer; color: var(--dim); transition: background .2s, color .2s; font-size: 14.5px; }
.guia li b { color: var(--txt); font-weight: 650; }
.guia li::before { content: counter(p); flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--faint); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--dim); margin-top: 1px; }
.guia li:hover { background: rgba(255, 255, 255, 0.04); color: var(--txt); }
.guia li.actual { background: rgba(250, 204, 21, 0.08); color: var(--txt); }
.guia li.actual::before { border-color: #facc15; color: #facc15; }
.guia li.hecho { color: var(--faint); }
.guia li.hecho b { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(52, 211, 153, .6); }
.guia li.hecho::before { content: '✓'; background: var(--green); border-color: var(--green); color: #04140a; }
.guia .fin { display: none; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(34, 197, 94, 0.14); color: var(--green-3); font-weight: 600; font-size: 14.5px; }
.guia.completa .fin { display: block; }
.reloj { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 7px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.reloj b { font-family: Manrope; font-size: 20px; color: var(--txt); font-variant-numeric: tabular-nums; }
.reloj.listo { border-color: rgba(34, 197, 94, .5); color: var(--txt); }

/* Gráficos */
.graf { margin: 0; max-width: 760px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 14px 18px 10px; }
.graf figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.graf figcaption b { font-size: 15.5px; }
.graf figcaption span { color: var(--dim); font-size: 13.5px; }
.graf svg { width: 100%; height: auto; display: block; overflow: visible; }
.graf .pie-g { color: var(--faint); font-size: 12.5px; margin: 8px 0 0; }
.barra { transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.eje { stroke: rgba(255, 255, 255, 0.12); }
.t-lbl { fill: var(--dim); font: 600 13px Inter, sans-serif; }
.t-val { fill: var(--txt); font: 800 15px Manrope, Inter, sans-serif; }
.t-delta { fill: var(--green-3); font: 800 14px Manrope, Inter, sans-serif; }
.hbars { display: grid; gap: 12px; padding: 6px 0 2px; }
.hbar { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.hb-l { color: var(--dim); font-weight: 600; font-size: 13.5px; text-align: right; }
.hb-t { position: relative; height: 30px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.hb-t i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 0 5px 5px 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); cursor: default; }
.hb-v { position: absolute; top: 50%; left: 10px; transform: translateY(-50%); white-space: nowrap; font: 800 15px Manrope, Inter, sans-serif; color: var(--txt); transition: left 1.1s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.hb-v em { font-style: normal; color: var(--green-3); font-size: 13.5px; margin-left: 8px; }
.anim .hb-t i { width: var(--w); }
.anim .hb-v { left: calc(var(--w) + 10px); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; max-width: 900px; }
.duo .graf, .duo .guia { max-width: none; }
.duo .traza { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.duo .traza > div:not(:last-child)::after { content: '↓'; right: auto; left: 16px; top: auto; bottom: -15px; transform: none; font-size: 15px; }
.tip { position: fixed; z-index: 80; pointer-events: none; background: #0f1713; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: 0; transition: opacity .12s; }
.tip b { display: block; font-size: 14px; }

/* Informe (vista previa de la hoja) */
.hoja-wrap { max-width: 760px; position: relative; }
.hoja { background: #fff; color: #111814; border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); overflow: hidden; font-family: Helvetica, Arial, sans-serif; transform: rotate(-0.6deg); }
.hoja-h { background: rgb(21, 128, 61); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.hoja-h b { font-size: 17px; display: block; }
.hoja-h small { font-size: 11px; opacity: .9; }
.hoja-h em { font-style: normal; font-weight: 800; font-size: 22px; }
.hoja-d { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; padding: 12px 20px 8px; font-size: 12px; }
.hoja-d span { display: block; font-size: 9px; font-weight: 700; color: rgb(120, 130, 125); letter-spacing: .04em; }
.hoja table { width: calc(100% - 40px); margin: 6px 20px 16px; border-collapse: collapse; font-size: 10.5px; }
.hoja th { background: rgb(21, 128, 61); color: #fff; text-align: left; padding: 5px 6px; font-weight: 700; }
.hoja td { padding: 5px 6px; border: 1px solid rgb(225, 228, 226); vertical-align: top; }
.hoja tr:nth-child(even) td { background: rgb(247, 250, 248); }
.hoja td.est { color: rgb(217, 119, 6); font-weight: 700; text-align: center; }
.hoja td.cod { font-weight: 700; text-align: center; }
.hoja tr.nueva td { animation: nueva 1.2s ease; }
.hoja .vacia td { color: #9aa49f; font-style: italic; text-align: center; padding: 18px; }
@keyframes nueva { from { background: #dcfce7; } to { background: inherit; } }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; }
.checks li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--dim); }
.checks li::before { content: '✓ '; color: var(--green); font-weight: 800; }

/* Trazabilidad */
.traza { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 820px; position: relative; }
.traza > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 11px 13px; position: relative; }
.traza > div:not(:last-child)::after { content: '›'; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 22px; font-weight: 800; z-index: 1; }
.traza small { display: block; color: var(--green-3); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.traza p { margin: 4px 0 0; font-size: 13px; color: var(--dim); line-height: 1.4; }
.traza .ita { border-color: rgba(34, 197, 94, .5); background: rgba(34, 197, 94, .08); }
.traza .ita p { color: var(--txt); }
.principio { max-width: 760px; padding: 16px 18px; border-left: 3px solid var(--green); background: var(--panel); border-radius: 0 14px 14px 0; color: var(--dim); }
.principio b { color: var(--txt); }

/* Secciones anchas (sin celular) */
.ancho { max-width: 1380px; margin: 0 auto; padding: 0 28px; }
.ancho .sec { min-height: auto; }

/* Retorno */
.roi { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 20px; align-items: start; }
.roi-in, .roi-out { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.campo { margin-bottom: 18px; }
.campo:last-child { margin-bottom: 0; }
.campo label { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--dim); margin-bottom: 8px; }
.campo label b { color: var(--txt); font-family: Manrope; font-size: 16px; font-variant-numeric: tabular-nums; }
.campo small { display: block; color: var(--faint); font-size: 12px; margin-top: 4px; }
input[type=range] { width: 100%; accent-color: var(--green); height: 22px; cursor: pointer; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.tile span { display: block; color: var(--dim); font-size: 12.5px; }
.tile b { display: block; font-family: Manrope; font-size: 26px; font-weight: 800; line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tile small { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
.tile.dest { border-color: rgba(34, 197, 94, .55); background: rgba(34, 197, 94, .09); }
.tile.dest b { color: var(--green-3); }
.tile.alerta { border-color: rgba(245, 158, 11, .6); background: rgba(245, 158, 11, .08); }
.tile.alerta b { color: var(--amber); }
.roi-frase { margin: 16px 0 6px; font-size: 16px; color: var(--txt); }
.roi-frase b { color: var(--green-3); }
.uf-nota { font-size: 12.5px; color: var(--faint); }

/* Precio */
.precio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.precio-card { border-radius: 24px; padding: 28px; background: linear-gradient(160deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.03)); border: 1px solid rgba(34, 197, 94, .45); }
.pc-n { font-family: Manrope; font-size: clamp(48px, 6vw, 76px); font-weight: 800; line-height: 1; }
.pc-n small { font-size: .38em; color: var(--dim); font-weight: 700; }
.pc-u { font-size: 18px; color: var(--txt); margin-top: 6px; }
.pc-clp { color: var(--green-3); margin-top: 6px; font-size: 15px; }
.precio-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.precio-card li { display: flex; gap: 10px; color: var(--dim); font-size: 15px; }
.precio-card li::before { content: '✓'; color: var(--green); font-weight: 800; }
.precio-card li b { color: var(--txt); }
.clientes { border-radius: 24px; padding: 28px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.clientes h3 { font-size: 22px; }
.logos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.logos span { border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; font-family: Manrope; font-weight: 800; font-size: 18px; background: var(--bg-2); }
.proyectos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.proyectos span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14.5px; }
.proyectos span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.cierre { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px 0 10px; }
.cierre h2 { max-width: none; }
.firma { color: var(--dim); font-size: 14px; margin: 0; }
footer { text-align: center; color: var(--faint); font-size: 12.5px; padding: 28px 16px 40px; border-top: 1px solid var(--line); margin-top: 30px; }

/* Visor de PDF */
.visor { position: fixed; inset: 0; z-index: 90; background: rgba(2, 6, 4, 0.78); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.visor[hidden] { display: none; }
.visor-caja { width: min(980px, 100%); height: min(92vh, 1100px); background: #0d1310; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.visor-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.visor-h b { font-size: 15px; }
.visor-h span { color: var(--dim); font-size: 13px; }
.visor-h #visor-info { flex: 1 1 160px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visor-h .sp { display: none; }
.visor-h a, .visor-h button { font-size: 13.5px; padding: 8px 12px; border-radius: 10px; }
.visor iframe { flex: 1; width: 100%; border: 0; background: #525659; }

/* Botón flotante (celular en pantallas chicas) */
.fab { display: none; }
.solo-movil { display: none; }
@media (max-width: 1000px) { .solo-pc { display: none; } .solo-movil { display: inline; } }

/* Confeti */
.confeti { position: fixed; width: 8px; height: 12px; border-radius: 2px; z-index: 95; pointer-events: none; animation: cae 1.4s ease-out forwards; }
@keyframes cae { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }

/* Aparición */
.rev { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rev.visto { opacity: 1; transform: none; }

@media (max-width: 1320px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; }
  .top-nav a { padding: 6px 9px; font-size: 13px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  :root { --top-h: 56px; }
  .top { padding: 0 16px; gap: 12px; }
  .top-nav { display: none; }
  .top-cta { margin-left: auto; }
  .layout { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
  .ancho { padding: 0 16px; }
  .sec { min-height: auto; padding: calc(var(--top-h) + 28px) 0 40px; }
  .telefono-col { display: none; position: fixed; inset: 0; top: 0; height: 100vh; z-index: 70; background: rgba(2, 6, 4, 0.94); }
  body.tel-abierto .telefono-col { display: flex; }
  body.tel-abierto { overflow: hidden; }
  .tel-cerrar { display: inline-flex; }
  .fab { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 65; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px; border: 0; background: var(--green); color: #04140a; font-weight: 800; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 6px rgba(34, 197, 94, .18); cursor: pointer; }
  .stats, .cadena { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hilo { display: none; }
  .cadena { padding-bottom: 0; }
  .feats, .roi, .precio-grid { grid-template-columns: minmax(0, 1fr); }
  .traza { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .traza > div:nth-child(2)::after { display: none; }
  .visor { padding: 0; }
  .visor-caja { height: 100vh; border-radius: 0; }
}
@media (max-width: 560px) {
  .tiles, .logos, .proyectos { grid-template-columns: minmax(0, 1fr); }
  .hoja-d { grid-template-columns: 1fr; }
  .hoja table { font-size: 9px; }
  .hoja .col-sec, .hoja .col-desc { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hilo::after, .confeti { animation: none; display: none; }
  .rev { opacity: 1; transform: none; transition: none; }
  .barra { transition: none; }
}

/* ===== App dentro del celular (mismos tokens que la app ITA) ===== */
.pantalla {
  --a-bg: #0a0e0c; --a-surface: #121915; --a-surface-2: #18211c; --a-surface-3: #1f2a24;
  --a-border: #243029; --a-border-2: #2e3b33; --a-green: #22c55e; --a-green-3: #34d399;
  --a-soft: rgba(34, 197, 94, 0.14); --a-text: #e8f0ec; --a-dim: #93a39b; --a-faint: #62716a; --a-danger: #f87171;
  position: relative; width: 386px; height: 844px; border-radius: 48px; overflow: hidden; background: var(--a-bg);
  color: var(--a-text); font: 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex; flex-direction: column; isolation: isolate;
}
.pantalla button { cursor: pointer; font-family: inherit; }
.pantalla svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sb { height: 50px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 8px 30px 0 34px; font-size: 14.5px; font-weight: 700; }
.sb-ico { display: flex; gap: 6px; align-items: center; }
.sb-ico i { display: block; }
.sig { width: 17px; height: 11px; background: linear-gradient(90deg, #fff 0 3px, transparent 3px 4.5px, #fff 4.5px 7.5px, transparent 7.5px 9px, #fff 9px 12px, transparent 12px 13.5px, #fff 13.5px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.wifi { width: 15px; height: 11px; border-radius: 15px 15px 0 0; background: radial-gradient(circle at 50% 100%, #fff 2px, transparent 2.5px, transparent 4px, #fff 4.5px, #fff 6px, transparent 6.5px, transparent 8px, #fff 8.5px, #fff 10px, transparent 10.5px); }
.bat { width: 25px; height: 12px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 4px; padding: 1.5px; position: relative; }
.bat b { display: block; height: 100%; width: 78%; background: #fff; border-radius: 1.5px; }
.app { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.app-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 12px 12px; border-bottom: 1px solid var(--a-border); min-height: 62px; }
.ah-t { flex: 1; min-width: 0; padding-left: 4px; }
.ah-title { font-size: 20px; font-weight: 800; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-sub { font-size: 13px; color: var(--a-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--a-text); }
.ib:hover { background: var(--a-surface-2); }
.ib.rojo { color: var(--a-danger); }
.ib.verde { color: var(--a-green); }
.ib.mic.on { background: #dc2626; color: #fff; animation: latido 1s infinite; }
@keyframes latido { 50% { box-shadow: 0 0 0 7px rgba(220, 38, 38, .25); } }
.app-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #2e3b33 transparent; }
.pad { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--a-border-2); background: var(--a-surface-2); color: var(--a-text); font-size: 15px; font-weight: 650; }
.btn:hover { border-color: #3c4b42; }
.btn:active { transform: scale(0.99); }
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--a-green); border-color: var(--a-green); color: #04140a; }
.btn-primary:hover { background: #2fd36b; border-color: #2fd36b; }
.btn-danger { background: var(--a-danger); border-color: var(--a-danger); color: #2a0707; }
.btn-ghost { background: transparent; color: var(--a-dim); }
.btn-block { width: 100%; }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 11px; border: 1px solid var(--a-border-2); background: var(--a-surface-2); color: var(--a-text); font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.btn-mini svg { width: 16px; height: 16px; }
.btn-mini.verde { background: var(--a-green); border-color: var(--a-green); color: #04140a; }
.centro { display: flex; justify-content: center; padding: 6px 0; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tres { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; }
.tres .btn, .dos .btn { padding: 0 8px; font-size: 14px; }
.card { width: 100%; text-align: left; background: var(--a-surface); border: 1px solid var(--a-border); border-radius: 16px; color: var(--a-text); font-size: 15px; }
button.card:hover { background: var(--a-surface-2); }
.row { display: flex; align-items: center; gap: 12px; padding: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 13px; flex: none; background: var(--a-soft); color: var(--a-green-3); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-t small { color: var(--a-dim); font-size: 12.5px; line-height: 1.3; }
.row-go { color: var(--a-faint); font-size: 22px; }
.tag { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--a-surface-3); color: var(--a-dim); white-space: nowrap; }
.tag.ok { background: var(--a-soft); color: var(--a-green-3); }
.nota { color: var(--a-faint); font-size: 12.5px; line-height: 1.4; margin: 0; }
.pantalla .nota b { color: var(--a-dim); }
.form label, .lbl { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--a-dim); margin-top: 4px; }
.in { width: 100%; background: var(--a-surface); border: 1px solid var(--a-border-2); border-radius: 13px; color: var(--a-text); font: inherit; font-size: 15px; padding: 12px 13px; outline: none; resize: none; }
.in:focus { border-color: var(--a-green); box-shadow: 0 0 0 3px rgba(34, 197, 94, .15); }
select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #93a39b 50%), linear-gradient(135deg, #93a39b 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.sel-fake { border-color: var(--a-green); }
.in-mic { display: flex; gap: 8px; align-items: flex-start; }
.in-mic .ib { border: 1px solid var(--a-border-2); width: 48px; height: 48px; }
.link { background: none; border: 0; color: var(--a-green-3); font-size: 13px; padding: 0; }
.pad-firma { width: 100%; height: 120px; background: #fff; border-radius: 12px; touch-action: none; cursor: crosshair; display: block; }

/* Inicio */
.ini { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.ini-logo { width: 62px; height: 62px; border-radius: 18px; background: #0a0e0c; border: 1px solid var(--a-border-2); display: grid; place-items: center; color: var(--a-green); margin-top: 6px; }
.ini-logo svg { width: 38px; height: 38px; stroke-width: 3.2; }
.ini h1 { font-size: 26px; margin: 4px 0 0; }
.ini p { margin: 0 0 6px; color: var(--a-dim); font-size: 14.5px; }
.ini .ini-nota { margin-top: 6px; font-size: 12px; color: var(--a-faint); text-align: center; }

/* Obra */
.aviso-card { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid #a16207; background: rgba(161, 98, 7, 0.14); color: var(--a-text); font-weight: 650; font-size: 14px; }
.aviso-card span { font-size: 20px; }
.vacio { text-align: center; padding: 26px 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vacio-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--a-surface); border: 1px solid var(--a-border); display: grid; place-items: center; color: var(--a-green); }
.vacio-ico svg { width: 30px; height: 30px; }
.vacio b { font-size: 18px; }
.vacio p { margin: 0; color: var(--a-dim); font-size: 14px; }
.obra-obs { padding: 12px 14px; }
.oo-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.oo-sub { color: var(--a-dim); font-size: 12.5px; }
.oo-com { font-size: 13px; margin-top: 6px; font-style: italic; color: var(--a-text); }
.obs-fotos { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.obs-fotos img { width: 64px; height: 64px; object-fit: cover; border-radius: 9px; border: 1px solid var(--a-border-2); }
.obs-fotos.grande img { width: 96px; height: 96px; }
.etapas { display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--a-faint); font-size: 12px; padding: 2px 0 4px; }
.etapas span { padding: 3px 9px; border-radius: 999px; background: var(--a-surface-2); color: var(--a-dim); font-weight: 700; }

/* Protocolos */
.prot-card { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.pc-t { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pc-s { color: var(--a-dim); font-size: 12.5px; }
.pill { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--a-surface-2); border: 1px solid var(--a-border-2); color: var(--a-dim); font-weight: 600; }
.pill.ok { color: var(--a-green-3); border-color: rgba(34, 197, 94, .4); }
.sec-t { color: var(--a-green-3); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 10px 2px 0; }
.item-card { background: var(--a-surface); border: 1px solid var(--a-border); border-radius: 16px; padding: 12px; }
.it-t { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.it-b { display: flex; gap: 6px; align-items: center; }
.sn { min-width: 0; flex: 1; height: 44px; border-radius: 12px; border: 1px solid var(--a-border-2); background: var(--a-surface-2); color: var(--a-dim); font-weight: 800; font-size: 13px; position: relative; display: grid; place-items: center; }
.sn.cam, .sn.lapiz { flex: 0 0 48px; }
.sn.cam { color: var(--a-green); border-color: rgba(34, 197, 94, .5); }
.sn.cam svg, .sn.lapiz svg { width: 20px; height: 20px; }
.sn.cam em { position: absolute; top: -6px; right: -6px; font-style: normal; font-size: 11px; background: var(--a-green); color: #04140a; border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; }
.sn.lapiz { background: transparent; border-color: transparent; color: var(--a-dim); }
.sn.lapiz.on { color: var(--a-green-3); }
.sn.si.on { background: var(--a-green); border-color: var(--a-green); color: #04140a; }
.sn.no.on { background: #dc2626; border-color: #dc2626; color: #fff; }
.sn.na.on { background: #4b5a52; border-color: #4b5a52; color: #fff; }
.sn:disabled { opacity: .55; cursor: default; }
.sn.on:disabled { opacity: 1; }
.it-obs { margin-top: 8px; font-size: 13px; color: var(--a-dim); font-style: italic; }

/* Chat */
.tools { flex: none; display: flex; gap: 7px; overflow-x: auto; padding: 9px 12px; border-bottom: 1px solid var(--a-border); scrollbar-width: none; }
.tools::-webkit-scrollbar { display: none; }
.tchip { flex: none; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--a-border-2); background: var(--a-surface-2); color: var(--a-text); font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.tchip:hover { border-color: var(--a-green); }
.chat { padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.msg-user { justify-content: flex-end; }
.msg-col { display: flex; flex-direction: column; gap: 7px; max-width: 84%; min-width: 0; }
.msg-user .msg-col { align-items: flex-end; }
.ava { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--a-green); color: #04140a; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
.bubble { padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.42; white-space: pre-wrap; word-break: break-word; }
.msg-ita .bubble { background: var(--a-surface-2); border: 1px solid var(--a-border); border-bottom-left-radius: 5px; }
.msg-user .bubble { background: var(--a-green); color: #04140a; font-weight: 500; border-bottom-right-radius: 5px; }
.bubble.tol { white-space: normal; }
.bubble.tol ul { margin: 6px 0; padding-left: 18px; }
.bubble.tol small { display: block; color: var(--a-dim); font-size: 12.5px; margin-top: 4px; }
.bub-foto { width: 150px; border-radius: 14px; border: 2px solid var(--a-green); display: block; }
.typing { color: var(--a-dim); font-style: italic; }
.typing i, .oyendo i { display: inline-block; width: 5px; height: 5px; margin-left: 3px; border-radius: 50%; background: currentColor; animation: punto 1.2s infinite; vertical-align: middle; }
.typing i:nth-child(2), .oyendo i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3), .oyendo i:nth-child(3) { animation-delay: .4s; }
@keyframes punto { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--a-green); background: var(--a-soft); color: var(--a-green-3); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; text-align: left; }
.chip:hover { background: rgba(34, 197, 94, 0.24); }
.chip-danger { border-color: var(--a-danger); background: rgba(248, 113, 113, 0.12); color: var(--a-danger); }
.chip.chip-usado { opacity: 0.38; cursor: default; }
.chip.chip-elegido { opacity: 1; background: var(--a-green); color: #06120b; }
.obs-card { display: flex; align-items: flex-start; gap: 11px; background: var(--a-surface); border: 1px solid var(--a-border-2); border-left: 3px solid var(--a-green); border-radius: 13px; padding: 10px 12px; min-width: 230px; }
.obs-card.borrada { opacity: .5; border-left-color: var(--a-faint); }
.obs-cod { width: 30px; height: 30px; border-radius: 8px; flex: none; background: var(--a-green); color: #04140a; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.obs-cod.sm { width: 24px; height: 24px; font-size: 11.5px; display: inline-grid; margin-right: 8px; }
.obs-main { min-width: 0; flex: 1; }
.obs-title { font-size: 14.5px; font-weight: 700; }
.obs-sub { font-size: 12.5px; color: var(--a-dim); margin-top: 1px; }
.obs-coment { font-size: 13px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--a-border); white-space: pre-wrap; word-break: break-word; font-style: italic; }
.recbar { flex: none; display: flex; gap: 6px; align-items: center; overflow-x: auto; padding: 8px 12px 4px; border-top: 1px solid var(--a-border); scrollbar-width: none; }
.recbar::-webkit-scrollbar { display: none; }
.recbar > span { flex: none; color: var(--a-dim); font-size: 13px; font-weight: 600; }
.rchip { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--a-border-2); background: var(--a-surface-2); color: var(--a-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.rchip.on { background: var(--a-green); border-color: var(--a-green); color: #04140a; }
.inbar { flex: none; display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px 16px; }
.inbar .ib { width: 44px; height: 44px; border: 1px solid var(--a-border-2); border-radius: 50%; background: var(--a-surface); }
.chat-in { flex: 1; min-height: 44px; max-height: 96px; border-radius: 22px; padding: 11px 14px; font-size: 14.5px; }
.send { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: #166534; color: #fff; display: grid; place-items: center; }
.send:hover { background: var(--a-green); color: #04140a; }
.chat-aviso { flex: none; display: flex; align-items: center; gap: 10px; margin: 6px 10px 0; padding: 6px 8px 6px 6px; border-radius: 12px; background: rgba(250, 204, 21, 0.12); border: 1px solid rgba(250, 204, 21, 0.45); color: #fde68a; font-size: 13px; }
.chat-aviso img { width: 34px; height: 34px; object-fit: cover; border-radius: 7px; }
.chat-aviso span { flex: 1; }
.chat-aviso .ib { width: 30px; height: 30px; color: #fde68a; }

/* Barra inferior */
.app-nav { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--a-border); padding: 6px 4px 16px; background: var(--a-bg); }
.nav-b { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; color: var(--a-dim); font-size: 11.5px; font-weight: 600; padding: 6px 0; border-radius: 12px; }
.nav-b.on { color: var(--a-green); }
.nav-b:hover { color: var(--a-text); }

/* Análisis */
.kpi-hero { display: flex; align-items: center; gap: 14px; background: var(--a-surface); border: 1px solid var(--a-border); border-radius: 18px; padding: 16px; }
.kh-n { font-size: 42px; font-weight: 800; color: var(--a-green); line-height: 1; }
.kpi-hero small, .blk small { display: block; color: var(--a-dim); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis div { background: var(--a-surface); border: 1px solid var(--a-border); border-radius: 16px; padding: 12px 14px; }
.kpis b { font-size: 26px; font-weight: 800; display: block; }
.kpis small { color: var(--a-dim); font-size: 12.5px; }
.blk { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.blk-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.barras { display: grid; gap: 7px; margin-top: 2px; }
.br { display: grid; grid-template-columns: 100px 1fr 26px; gap: 8px; align-items: center; font-size: 12.5px; }
.br-l { color: var(--a-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-t { height: 12px; background: var(--a-surface-3); border-radius: 4px; overflow: hidden; }
.br-t i { display: block; height: 100%; background: #18a64f; border-radius: 0 4px 4px 0; transition: width .8s ease; }
.br-v { font-weight: 700; text-align: right; }
.ia-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; }
.qa { border-top: 1px solid var(--a-border); padding-top: 8px; }
.qa-q { font-weight: 700; font-size: 13.5px; margin: 0; }
.qa-a { color: var(--a-dim); font-size: 13.5px; }

/* Hojas (bottom sheets) */
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 20; animation: aparece .2s ease; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86%; z-index: 21; background: var(--a-bg); border-top: 1px solid var(--a-border-2); border-radius: 24px 24px 0 0; display: flex; flex-direction: column; animation: sube .25s cubic-bezier(.2, .8, .2, 1); }
.sheet.full { max-height: 93%; height: 93%; }
@keyframes sube { from { transform: translateY(40px); opacity: 0; } }
@keyframes aparece { from { opacity: 0; } }
.sh-grip { width: 42px; height: 5px; border-radius: 3px; background: var(--a-border-2); margin: 9px auto 0; flex: none; }
.sh-h { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 6px 18px; flex: none; }
.sh-h b { font-size: 18px; }
.sh-b { padding: 4px 16px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; }
.sh-b p { margin: 0; font-size: 14.5px; }
.foto-wrap { display: flex; justify-content: center; background: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--a-border-2); }
.foto-wrap canvas { display: block; touch-action: none; cursor: crosshair; }
.foto-prev { width: 100%; max-height: 150px; object-fit: cover; border-radius: 14px; }
.fun-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.fun-row > div { display: flex; gap: 4px; }
.seg { padding: 6px 9px; border-radius: 9px; border: 1px solid var(--a-border-2); background: var(--a-surface-2); color: var(--a-dim); font-size: 12px; font-weight: 700; }
.seg.on { background: var(--a-green); border-color: var(--a-green); color: #04140a; }
.texto-largo { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.texto-largo p { margin: 0; }
.frase { width: 100%; text-align: left; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--a-border-2); background: var(--a-surface); color: var(--a-text); font-size: 14px; }
.frase:hover { border-color: var(--a-green); }
.carta { white-space: pre-wrap; background: var(--a-surface); border: 1px solid var(--a-border); border-radius: 14px; padding: 14px; font-size: 14px; }
.oyendo { padding: 18px; text-align: center; color: var(--a-green-3); font-weight: 700; font-size: 16px; }
.chk { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; background: var(--a-surface); border: 1px solid var(--a-border); font-size: 14px; cursor: pointer; }
.chk input { accent-color: var(--a-green); width: 18px; height: 18px; margin-top: 1px; }
.chk b.si { color: var(--a-green-3); } .chk b.no { color: #f87171; } .chk b.na { color: var(--a-dim); }
.ia-box { background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .35); border-radius: 14px; padding: 12px; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.ia-box small { color: var(--a-dim); }
.res-row { display: flex; align-items: center; font-size: 14px; padding: 4px 0; }
.toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 40; background: #f1f5f3; color: #0a0e0c; font-size: 13.5px; font-weight: 650; padding: 10px 16px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); width: max-content; max-width: 86%; text-align: center; animation: sube .2s ease; }

/* Pista: "toca aquí" */
.pantalla .hint { position: relative; box-shadow: 0 0 0 3px #facc15, 0 0 18px rgba(250, 204, 21, .55) !important; animation: pulso 1.5s ease-in-out infinite; z-index: 2; }
@keyframes pulso { 50% { box-shadow: 0 0 0 6px rgba(250, 204, 21, .35), 0 0 24px rgba(250, 204, 21, .5) !important; } }
@media (prefers-reduced-motion: reduce) { .pantalla .hint { animation: none; } }
