@font-face { font-family: 'Fraunces'; font-weight: 700; font-display: swap; src: url('../fonts/fraunces-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }

:root { --bg:#F2F3F5; --sup:#FFFFFF; --sup2:#F8F7F5; --txt:#1F2330; --mut:#6E7383; --linea:#E2DFDB; --acento:#5B3E96; --acento-s:#EEE8F8; --acento-t:#5B3E96; --ok:#2C6B49; --ok-s:#E1F0E7; --av:#9A5B12; --av-s:#F8EBD6; --neu-s:#ECEEF1; --err:#A12A2A; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) { --bg:#121317; --sup:#1B1D24; --sup2:#22252E; --txt:#F0ECE9; --mut:#A3A9B8; --linea:#33363F; --acento:#7B58C4; --acento-s:#2B2342; --acento-t:#CDBBF5; --ok:#7FCB9F; --ok-s:#1F3328; --av:#E3B16B; --av-s:#3A2C16; --neu-s:#2A2D37; --err:#EE8D8D; } }
:root[data-tema="oscuro"] { --bg:#121317; --sup:#1B1D24; --sup2:#22252E; --txt:#F0ECE9; --mut:#A3A9B8; --linea:#33363F; --acento:#7B58C4; --acento-s:#2B2342; --acento-t:#CDBBF5; --ok:#7FCB9F; --ok-s:#1F3328; --av:#E3B16B; --av-s:#3A2C16; --neu-s:#2A2D37; --err:#EE8D8D; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--txt); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 500; font-size: 15px; line-height: 1.5; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; margin: 0; line-height: 1.2; }
b, strong { font-weight: 600; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #FF6B35; outline-offset: 2px; }
.oculto { display: none !important; }
.envoltorio { max-width: 1000px; margin: 0 auto; padding: 18px 16px 28px; }

/* Marca AntropIA (bloque de marca de las demos) */
.antropia-header { background: #000; border-bottom: 2px solid #FF6B35; }
.antropia-header-content { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 24px; }
.antropia-logo-header { display: flex; align-items: center; }
.antropia-logo-header img { width: auto; height: 60px; margin-right: 14px; display: block; }
.antropia-header-divider { width: 1px; height: 43px; background: #FF6B35; flex: none; margin-right: 14px; }
.antropia-header-textblock { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.antropia-logo-text { font-family: 'Fraunces', serif; font-weight: 700; font-size: 19px; color: #fff; line-height: 1; letter-spacing: .01em; }
.antropia-logo-text .ia, .antropia-footer-wordmark .ia { color: #FF6B35; }
.antropia-header-tagline { font-size: 10.5px; color: #C7CDD6; letter-spacing: .02em; }
.antropia-aviso { color: #C7CDD6; font-size: 12.5px; border: 1px solid #3A3F4D; border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.antropia-footer { margin-top: 14px; padding: 8px 24px; background: #000; border-top: 2px solid #FF6B35; }
.antropia-footer-content { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 1080px; margin: 0 auto; text-align: center; }
.antropia-footer-wordmark { font-family: 'Fraunces', serif; font-weight: 700; font-size: 18px; color: #fff; line-height: 1; }
.antropia-footer-tagline { color: #C7CDD6; font-size: 10.5px; }
.antropia-footer-location { color: #9AA5B1; font-size: 9.5px; margin: 2px 0 0; opacity: .8; }
@media (max-width: 600px) {
  .antropia-header-content { padding: 6px 16px; }
  .antropia-logo-header img { height: 48px; margin-right: 12px; }
  .antropia-header-divider { height: 34px; margin-right: 12px; }
  .antropia-logo-text { font-size: 16px; }
  .antropia-aviso { font-size: 11px; padding: 2px 9px; }
}

/* Bloque del producto y del negocio ficticio (misma estructura y colores que el panel de Facti) */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #2A2E3E; border-radius: 14px; border-bottom: 3px solid #FF6B35; padding: 20px 24px; margin: 0 0 16px; }
.hero-et { color: #FF6B35; font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hero-nombre { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 40px; line-height: 1.05; color: #fff; margin: 4px 0; }
.hero-nombre .ia { color: #FF6B35; }
.hero-lema { margin: 0 0 10px; color: #C7CDD6; font-size: 14px; }
.hero-cli { color: #fff; font-weight: 600; font-size: 15px; }
.hero-lugar { color: #9AA5B1; font-weight: 500; }
.hero-logo-w { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; max-width: 130px; text-align: center; }
.hero-logo { width: 96px; height: 96px; flex: none; outline: 2px dashed rgba(255,255,255,.6); outline-offset: 5px; border-radius: 50%; }
.hero-logo-cap { color: #C7CDD6; font-size: 11px; line-height: 1.3; }
/* Barra de botones de la demo (con el acento del proyecto) */
.barra-demo { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 0 0 12px; }
.barra-txt { color: var(--mut); font-size: 13.5px; }
.barra-bot { display: flex; gap: 8px; flex-wrap: wrap; }
.barra-demo .bt { display: inline-flex; align-items: center; text-decoration: none; border: 1px solid var(--linea); background: var(--sup); color: var(--txt); border-radius: 10px; padding: 7px 14px; font-weight: 600; font-size: 13.5px; min-height: 38px; }
.barra-demo .bt.prim { background: var(--acento); border-color: var(--acento); color: #fff; }
@media (max-width: 600px) { .hero-logo { width: 68px; height: 68px; } .hero-logo-w { max-width: 96px; } .barra-bot { width: 100%; } .barra-demo .bt { flex: 1 1 auto; justify-content: center; } }
@media (max-width: 600px) { .hero { padding: 14px 16px; } .hero-nombre { font-size: 32px; } .hero-logo { width: 68px; height: 68px; } }

/* Pasos */
.pasos { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 10px; margin: 0 0 14px; border-bottom: 1px solid var(--linea); }
.pasos button { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--mut); padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.pasos button .n { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 12.5px; flex: none; }
.pasos button[aria-current="step"] { background: var(--acento-s); color: var(--acento-t); }
.pasos button[aria-current="step"] .n { background: var(--acento); border-color: var(--acento); color: #fff; }
.pasos button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 600px) { .pasos button .t { display: none; } .pasos button[aria-current="step"] .t { display: inline; } }
.pasos button.aparte { margin-left: 6px; border-left: 1px solid var(--linea); border-radius: 0 10px 10px 0; padding-left: 14px; }
.rol-chip { margin-left: auto; align-self: center; flex: none; border: 1px solid var(--linea); background: var(--sup); color: var(--mut); border-radius: 8px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* Informes: en el celular se ocultan las columnas largas para que se lea sin desplazar */
table.inf td.d, table.inf th.d { white-space: nowrap; }
@media (max-width: 600px) { table.inf .oc { display: none; } table.inf th, table.inf td { padding: 9px 8px; font-size: 13px; } }

h2.tit { font-size: 24px; margin: 0 0 4px; }
.lead { color: var(--mut); margin: 0 0 16px; max-width: 62ch; }
.dos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: start; }
@media (max-width: 800px) { .dos { grid-template-columns: 1fr; } }
.card { background: var(--sup); border: 1px solid var(--linea); border-radius: 14px; padding: 16px; }
.card + .card { margin-top: 12px; }
.btn { background: var(--acento); color: #fff; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 600; min-height: 44px; }
.btn.sec { background: transparent; color: var(--txt); border: 1px solid var(--linea); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.chico { padding: 6px 12px; min-height: 34px; font-size: 13.5px; }
.fila-btn { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip.ok { background: var(--ok-s); color: var(--ok); } .chip.av { background: var(--av-s); color: var(--av); }
.chip.neu { background: var(--neu-s); color: var(--mut); } .chip.vino { background: var(--acento-s); color: var(--acento-t); }

/* Remito de papel (no se usa en Sommelia) */
.papel { background: #FBF8F2; color: #2A2622; border-radius: 6px; padding: 16px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; line-height: 1.7; box-shadow: 0 6px 18px rgba(0,0,0,.18); transform: rotate(-.5deg); }
.papel h4 { margin: 0 0 6px; text-align: center; font-size: 13px; letter-spacing: .08em; border-bottom: 1px dashed #9a9288; padding-bottom: 6px; }
.papel .it { display: flex; justify-content: space-between; gap: 8px; }
.papel .tot { margin-top: 8px; border-top: 1px dashed #9a9288; padding-top: 6px; text-align: right; }

/* Renglones leídos */
.lineas { display: grid; gap: 10px; }
.linea { border: 1px solid var(--linea); border-radius: 12px; padding: 10px 12px; background: var(--sup2); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; }
.linea.pend { border-color: var(--av); }
.linea .crudo { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--mut); }
.linea .prod { font-weight: 600; }
.linea .num { text-align: right; white-space: nowrap; }
.total-fila { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.total-fila .m { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 20px; }

/* Stock */
.tw { overflow-x: auto; border: 1px solid var(--linea); border-radius: 14px; background: var(--sup); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; color: var(--mut); background: var(--sup2); padding: 10px 12px; font-weight: 600; }
td { padding: 11px 12px; border-top: 1px solid var(--linea); }
td.d, th.d { text-align: right; }
tr.nuevo td { background: var(--acento-s); }
.banner { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--acento-s); border: 1px solid var(--acento); color: var(--txt); border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; }
.banner b { color: var(--acento-t); }

/* Pedido */
.chat { background: var(--sup2); border: 1px solid var(--linea); border-radius: 14px; padding: 14px; }
.burbuja { background: var(--sup); border: 1px solid var(--linea); border-radius: 12px 12px 12px 3px; padding: 10px 12px; white-space: pre-wrap; font-size: 14px; }
.precio { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--linea); border-radius: 8px; padding: 0 8px; background: var(--sup); }
.precio input { width: 92px; border: 0; background: none; text-align: right; padding: 7px 2px; min-height: 36px; }
.desc input { width: 56px; border: 1px solid var(--linea); border-radius: 8px; background: var(--sup); text-align: right; padding: 6px 8px; min-height: 36px; }

/* Ingreso a la demo */
.login { max-width: 440px; margin: 20px auto; }
.login-card { padding: 22px; }
.marca-login { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 14px; }
.marca-login .wm { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 44px; line-height: 1; }
.marca-login .wm .ia { color: #FF6B35; }
.tit .ia, .card h3 .ia { color: #FF6B35; }
.marca-login img { height: 48px; width: auto; display: block; }
.login label { display: block; font-size: 14px; margin: 12px 0 4px; font-weight: 600; }
.login .campo { width: 100%; min-height: 46px; border: 1px solid var(--linea); border-radius: 10px; background: var(--sup); padding: 8px 12px; }
.login .btn.full { width: 100%; margin-top: 18px; }
.login .error { color: var(--err); font-size: 13.5px; margin: 0 0 4px; }
.prueba { background: var(--av-s); border-radius: 12px; padding: 12px 14px; margin-top: 18px; }
.prueba b { color: var(--av); display: block; margin-bottom: 2px; }
.prueba code { background: var(--sup); border-radius: 6px; padding: 1px 7px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.prueba .btn { margin-top: 10px; }
@media (max-width: 600px) { .marca-login .wm { font-size: 38px; } }

/* Nota */
.nota { background: #fff; color: #1F2330; border: 1px solid #D9D5D0; border-radius: 6px; padding: 24px; max-width: 720px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,.14); font-size: 13.5px; }
.nota .cab { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid #1F2330; padding-bottom: 12px; flex-wrap: wrap; }
.nota .cab img { width: 72px; height: 72px; }
.nota .cab .meta { margin-left: auto; text-align: right; }
.nota .cab .meta b { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 19px; }
.nota table { margin-top: 14px; min-width: 0; }
.nota th { background: none; color: #5b5551; border-bottom: 1px solid #1F2330; }
.nota td { border-top: 1px solid #E2DFDB; }
.nota td.d, .nota th.d { white-space: nowrap; }
@media (max-width: 600px) { .nota { padding: 16px 12px; font-size: 12.5px; } .nota td, .nota th { padding: 8px 6px; } }
.nota .tt { margin-top: 12px; margin-left: auto; width: 260px; max-width: 100%; }
.nota .tt div { display: flex; justify-content: space-between; padding: 3px 0; }
.nota .tt .g { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 19px; border-top: 2px solid #1F2330; margin-top: 4px; padding-top: 6px; }
.nota .legal { margin-top: 18px; border-top: 1px dashed #D9D5D0; padding-top: 8px; font-size: 12px; color: #5b5551; }
.cierre { text-align: center; margin: 20px auto 0; max-width: 620px; }
.cierre h3 { font-size: 22px; margin: 0 0 6px; }
.cierre p { color: var(--mut); margin: 0 0 12px; }
.wa { display: inline-block; text-decoration: none; background: #1F8A4C; color: #fff; border-radius: 10px; padding: 12px 20px; font-weight: 600; min-height: 46px; }
.tour { position: sticky; bottom: 14px; z-index: 30; max-width: 560px; margin: 20px auto 0; background: #1F2330; color: #F0ECE9; border: 2px solid #FF6B35; border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.tour .et { color: #FF9A73; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tour h3 { font-size: 18px; color: #fff; margin: 2px 0 4px; }
.tour p { margin: 0 0 12px; color: #C7CDD6; font-size: 14px; }
.tour .fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tour .fila-b { display: flex; gap: 8px; }
.tour .puntos { display: flex; gap: 6px; }
.tour .puntos i { width: 8px; height: 8px; border-radius: 50%; background: #4A4F5E; }
.tour .puntos i.on { background: #FF6B35; }
.tour .btn { background: #B0445F; color: #fff; }
.tour .btn.sec { background: transparent; color: #F0ECE9; border: 1px solid #4A4F5E; }
.tour .wa.chico { padding: 6px 12px; min-height: 34px; font-size: 13.5px; }
.guia { margin-left: auto; border: 1px solid var(--linea); background: var(--sup); color: var(--acento-t); border-radius: 10px; padding: 6px 12px; white-space: nowrap; }
.aviso { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); background: #2A2E3E; color: #F2F3F5; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 50; max-width: 92vw; text-align: center; }

@media print {
  body * { visibility: hidden; }
  #nota-doc, #nota-doc * { visibility: visible; }
  #nota-doc { position: absolute; left: 0; top: 0; box-shadow: none; border: 0; max-width: none; width: 100%; }
}


/* Sommelia: preguntas, gama y ficha */
.progreso { height: 6px; border-radius: 6px; background: var(--neu-s); overflow: hidden; margin: 0 0 14px; }
.progreso i { display: block; height: 100%; background: var(--acento); border-radius: 6px; }
.pregunta { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 22px; margin: 0 0 12px; line-height: 1.25; }
.opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .opciones { grid-template-columns: 1fr; } }
.op { text-align: left; border: 2px solid var(--linea); border-radius: 12px; background: var(--sup2); padding: 12px 14px; font-weight: 600; font-size: 15px; color: var(--txt); min-height: 52px; display: flex; flex-direction: column; gap: 2px; }
.op small { color: var(--mut); font-weight: 500; font-size: 12.5px; }
.op[aria-pressed="true"] { border-color: var(--acento); background: var(--acento-s); }
.mostrador { display: grid; gap: 12px; }
.cliente-burbuja { background: var(--sup); border: 1px solid var(--linea); border-radius: 12px 12px 12px 3px; padding: 12px 14px; font-size: 15px; }
.resumen-resp { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.vcard { border: 1px solid var(--linea); border-radius: 14px; background: var(--sup); padding: 14px 16px; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; }
.vcard + .vcard { margin-top: 10px; }
.vcard.mejor { border-color: var(--acento); box-shadow: 0 0 0 1px var(--acento) inset; }
.vcard .num { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 26px; color: var(--acento-t); line-height: 1; padding-top: 2px; }
.vcard h3 { font-size: 18px; margin: 0 0 2px; }
.vcard .sub { color: var(--mut); font-size: 13.5px; margin: 0 0 6px; }
.vcard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vcard .precio-v { text-align: right; white-space: nowrap; font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 19px; }
.vcard .precio-v small { display: block; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 12px; margin-top: 4px; }
@media (max-width: 600px) { .vcard { grid-template-columns: 36px minmax(0, 1fr); } .vcard .precio-v { grid-column: 2; text-align: left; } .vcard .num { font-size: 22px; } }
.copa { display: inline-flex; gap: 3px; vertical-align: middle; }
.copa i { width: 9px; height: 9px; border-radius: 50%; background: var(--linea); }
.copa i.on { background: var(--acento); }
.ficha { background: #fff; color: #1F2330; border: 1px solid #D9D5D0; border-radius: 6px; padding: 24px; max-width: 720px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,.14); font-size: 13.5px; }
.ficha .cab { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid #1F2330; padding-bottom: 12px; flex-wrap: wrap; }
.ficha .cab img { width: 72px; height: 72px; }
.ficha .cab .meta { margin-left: auto; text-align: right; }
.ficha .cab .meta b { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 19px; }
.ficha .fv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 12px 0; border-top: 1px solid #E2DFDB; }
.ficha .fv:first-of-type { border-top: 0; }
.ficha .fv .fv-primera { grid-column: 1 / -1; justify-self: start; margin-bottom: 4px; }
.ficha .fv h4 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 17px; }
.ficha .fv .p { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 17px; text-align: right; white-space: nowrap; }
.ficha .fv p { margin: 2px 0 0; color: #3b3935; grid-column: 1 / -1; }
.ficha .legal { margin-top: 14px; border-top: 1px dashed #D9D5D0; padding-top: 8px; font-size: 12px; color: #5b5551; }
@media (max-width: 600px) { .ficha { padding: 16px 12px; font-size: 12.5px; } }
@media print { #ficha-doc { position: absolute; left: 0; top: 0; box-shadow: none; border: 0; max-width: none; width: 100%; } #ficha-doc, #ficha-doc * { visibility: visible; } }
.barra-i { display: grid; grid-template-columns: 140px minmax(0, 1fr) 32px; gap: 10px; align-items: center; margin: 8px 0; font-size: 14px; }
.barra-i .bar { height: 12px; border-radius: 6px; background: var(--neu-s); overflow: hidden; }
.barra-i .bar i { display: block; height: 100%; background: var(--acento); border-radius: 6px; }
.barra-i b { text-align: right; }
@media (max-width: 600px) { .barra-i { grid-template-columns: 108px minmax(0, 1fr) 28px; font-size: 13px; } }

/* Opción elegida: se ve resaltada y su etiqueta se suma arriba antes de avanzar */
.resumen-resp.elegidas { min-height: 22px; margin: 0 0 12px; }
.op.elegida, .op.elegida[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); color: #fff; box-shadow: 0 0 0 4px var(--acento-s); animation: elegir .28s ease-out; }
.op.elegida small { color: #fff; }
.chip.suma { animation: suma .4s cubic-bezier(.2,1.6,.4,1); }
@keyframes elegir { 0% { transform: scale(1); } 55% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes suma { from { opacity: 0; transform: translateY(10px) scale(.7); } to { opacity: 1; transform: none; } }

/* Gama: las tres entran escalonadas y la primera opción se destaca */
.vcard.entra { animation: entrar .6s ease-out backwards; }
.vcard.e2 { animation-delay: .55s; }
.vcard.e3 { animation-delay: 1.1s; }
.vcard.mejor { background: linear-gradient(var(--acento-s), var(--sup) 75%); }
.vcard.mejor.entra { animation: entrar .6s ease-out backwards, destacar 1s ease-in-out 1.9s; }
@keyframes entrar { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes destacar { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px var(--acento) inset, 0 0 0 0 transparent; } 45% { transform: scale(1.025); box-shadow: 0 0 0 1px var(--acento) inset, 0 8px 26px rgba(91,62,150,.45); } }

/* Consentimiento y chat simulado */
.envio, .card + .card.envio { max-width: 720px; margin: 14px auto 0; text-align: center; }
.envio .lead { margin: 8px auto 0; font-size: 13px; }
.acepta { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; margin: 0 0 12px; min-height: 36px; cursor: pointer; }
.acepta input { width: 22px; height: 22px; accent-color: var(--acento); flex: none; }
.wsp { max-width: 440px; margin: 0 auto; border: 1px solid var(--linea); border-radius: 16px; overflow: hidden; background: var(--sup); }
.wsp-cab { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #2A2E3E; color: #fff; }
.wsp-cab img { width: 42px; height: 42px; flex: none; }
.wsp-cab b { display: block; font-size: 16px; }
.wsp-cab span { display: block; font-size: 12px; color: #C7CDD6; }
.wsp-cuerpo { padding: 14px; background: var(--sup2); min-height: 330px; display: flex; flex-direction: column; gap: 12px; }
.wsp-aviso { align-self: center; background: var(--ok-s); color: var(--ok); border-radius: 8px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.wsp-msj { align-self: flex-end; max-width: 88%; background: var(--acento-s); border: 1px solid var(--linea); border-radius: 14px 14px 3px 14px; padding: 10px 12px; font-size: 15px; }
.wsp-msj.entra { animation: entrar .5s ease-out backwards; }
.wsp-msj.e1 { animation-delay: .4s; }
.wsp-msj.e2 { animation-delay: 1.5s; }
.adjunto { display: flex; align-items: center; gap: 10px; background: var(--sup); border-radius: 10px; padding: 10px; min-width: 240px; }
.adj-ico { width: 40px; height: 48px; flex: none; border-radius: 6px; background: var(--acento); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.adjunto b { display: block; font-size: 14.5px; }
.adjunto span:not(.adj-ico) { display: block; font-size: 12.5px; color: var(--mut); }
.wsp-hora { display: block; text-align: right; color: var(--mut); font-size: 11px; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .op.elegida, .chip.suma, .vcard.entra, .vcard.mejor.entra, .wsp-msj.entra { animation: none; } }

/* Solo para filmar (?video=1). El video muestra esta pantalla de 432 px en un celular de 972 px (x 2,25):
   texto principal desde 18 px (40 en el video) y secundario desde 14,5 px (32 en el video). */
html.video body { padding-bottom: 80vh; }
html.video .envoltorio { padding: 10px 12px 20px; }
html.video:not([data-paso="1"]) .hero, html.video .pasos, html.video #app > h2.tit, html.video #app > .lead { display: none; }
html.video .chip { font-size: 15px; padding: 3px 10px; }
html.video .btn, html.video .btn.chico { font-size: 18px; min-height: 52px; }
/* cliente */
html.video .hero { padding: 14px 16px; margin-bottom: 12px; }
html.video .hero-lema { font-size: 18px; }
html.video .hero-nombre { font-size: 40px; }
html.video .mostrador .chat b { font-size: 20px; }
html.video .cliente-burbuja { font-size: 25px; line-height: 1.35; }
html.video .dos { gap: 12px; }
html.video .dos .card h3 { font-size: 25px; }
html.video .dos .card .lead { font-size: 19px; margin-top: 8px !important; }
/* preguntas */
html.video .card-preg { padding: 14px 12px; }
html.video .resumen-resp.elegidas { min-height: 31px; margin-bottom: 10px; gap: 6px; }
html.video .resumen-resp .chip { font-size: 18px; padding: 3px 11px; }
html.video .card-preg .progreso { height: 8px; margin-bottom: 10px; }
html.video .card-preg .lead { font-size: 15px !important; }
html.video .card-preg .pregunta { font-size: 28px; margin-bottom: 10px; }
html.video .card-preg .opciones { gap: 8px; }
html.video .card-preg .op { min-height: 66px; padding: 6px 14px; font-size: 22px; line-height: 1.2; justify-content: center; gap: 1px; }
html.video .card-preg .op small { font-size: 16px; line-height: 1.25; }
/* gama */
html.video #app > .resumen-resp { margin-bottom: 10px; }
html.video .vcard { grid-template-columns: 28px minmax(0, 1fr); gap: 2px 8px; padding: 10px 10px; }
html.video .vcard + .vcard { margin-top: 8px; }
html.video .vcard .num { font-size: 24px; }
html.video .vcard h3 { font-size: 21px; }
html.video .vcard .sub { font-size: 15px; margin-bottom: 4px; }
html.video .vcard .dentro, html.video .vcard:not(.mejor) .tags { display: none; }
html.video .vcard.mejor .tags .chip:first-child { font-size: 18px; }
html.video .vcard .precio-v { grid-column: 2; text-align: left; font-size: 24px; display: flex; align-items: center; gap: 12px; }
html.video .vcard .precio-v small { margin: 0; font-size: 15px; }
html.video .vcard .precio-v small .chip { font-size: 15px; }
/* ficha */
html.video .ficha { padding: 14px 12px; font-size: 18px; line-height: 1.4; }
html.video .ficha .cab { gap: 12px; }
html.video .ficha .cab img { width: 66px; height: 66px; }
html.video .ficha .cab > div > b { font-size: 24px !important; }
html.video .ficha .cab .meta { margin-left: 0; width: 100%; text-align: left; font-size: 16px; }
html.video .ficha .cab .meta b { font-size: 23px; }
html.video .ficha .fv { padding: 12px 0; }
html.video .ficha .fv .chip.fv-primera { font-size: 15px; padding: 2px 10px; }
/* resumen del final (solo filmando, &compacta=1): mismas letras, sin logo, descripciones ni cepa */
html.video.compacta .ficha { padding-top: 8px; }
html.video.compacta .ficha .cab { padding-bottom: 6px; }
html.video.compacta .ficha .cab img, html.video.compacta .ficha .cab > div:not(.meta) { display: none; }
html.video.compacta .ficha .cab .meta { font-size: 0; }
html.video.compacta .ficha .cab .meta b { font-size: 23px; }
html.video.compacta .ficha > p, html.video.compacta .ficha .fv p, html.video.compacta .ficha .fv h4 span { display: none; }
html.video.compacta .ficha .fv { grid-template-columns: minmax(0, 1fr); padding: 7px 0; gap: 0; }
html.video.compacta .ficha .fv .p { text-align: left; }
/* solo 9:16: menos aire entre vinos, para que el resumen termine más arriba (mismas letras) */
html.video.compacta:not(.f45):not(.f169c):not(.f169a) .ficha .fv { padding: 4px 0; }
html.video .ficha .fv h4 { font-size: 21px; line-height: 1.25; }
html.video .ficha .fv h4 span { display: block; font-size: 15px !important; margin-top: 2px; }
html.video .ficha .fv .p { font-size: 22px; }
html.video .ficha .fv p { font-size: 18.5px; margin-top: 5px; }
html.video .ficha .legal { font-size: 14.5px; }
html.video .envio { padding: 16px 12px; }
html.video .acepta { font-size: 21px; }
html.video .acepta input { width: 28px; height: 28px; }
html.video .envio .lead { font-size: 15px; }
html.video .fila-btn .btn.sec { font-size: 16px; }
/* chat */
html.video .wsp { max-width: none; }
html.video .wsp-cab { padding: 12px 14px; }
html.video .wsp-cab img { width: 52px; height: 52px; }
html.video .wsp-cab b { font-size: 23px; }
html.video .wsp-cab span { font-size: 15px; }
html.video .wsp-cuerpo { min-height: 520px; padding: 12px 10px; }
html.video .wsp-aviso { font-size: 19px; }
html.video .wsp-msj { max-width: 96%; font-size: 24px; line-height: 1.35; }
html.video .adjunto { min-width: 300px; }
html.video .adj-ico { width: 50px; height: 60px; font-size: 15px; }
html.video .adjunto b { font-size: 21px; }
html.video .adjunto span:not(.adj-ico) { font-size: 15.5px; }
html.video .wsp-hora { font-size: 14.5px; }
/* dueño */
html.video[data-paso="5"] #app > .card ~ .card ~ .card { display: none; }
html.video[data-paso="5"] .card .lead { display: none; }
html.video[data-paso="5"] .card { padding: 16px 12px; }
html.video[data-paso="5"] .card h3 { font-size: 24px; margin-bottom: 10px; }
html.video .barra-i { grid-template-columns: 128px minmax(0, 1fr) 30px; font-size: 20px; line-height: 1.2; margin: 20px 0; }
html.video .barra-i .bar, html.video .barra-i .bar i { height: 20px; border-radius: 10px; }
html.video table.inf th { font-size: 15px; padding: 8px 6px; }
html.video table.inf td { font-size: 19px; line-height: 1.25; padding: 18px 6px; }
html.video table.inf th:nth-child(2), html.video table.inf td:nth-child(2) { display: none; }
html.video table.inf td .chip { font-size: 15px; padding: 3px 8px; }
html.video table.inf tr:has(.chip.av) td { background: var(--av-s); }
html.video table.inf tr:has(.chip.av) .chip.av { background: var(--sup); }

/* Solo para filmar en 9:16 (?video=1&alto=1): cada pantalla llena los 591 px visibles */
html.video.alto[data-paso="2"] .card-preg { height: 571px; display: flex; flex-direction: column; }
html.video.alto .card-preg .pregunta { font-size: 31px; margin-bottom: 14px; }
html.video.alto .card-preg .opciones { flex: 1; grid-auto-rows: 1fr; gap: 10px; }
html.video.alto .card-preg .op { font-size: 22px; }
html.video.alto .card-preg .op small { font-size: 18px; }
html.video.alto .card-preg .fila-btn { display: none; }
html.video.alto[data-paso="3"] #app { display: flex; flex-direction: column; height: 591px; padding-bottom: 10px; }
html.video.alto[data-paso="3"] #app > .fila-btn { display: none; }
html.video.alto[data-paso="3"] .vcard { flex: 1 0 auto; align-content: center; }
html.video.alto .vcard + .vcard { margin-top: 8px; }
html.video.alto .vcard { padding-top: 7px; padding-bottom: 7px; }
html.video.alto .vcard h3 { font-size: 23px; }
html.video.alto .vcard .sub { font-size: 16px; }
html.video.alto .vcard:not(.mejor) .tags { display: flex; }
html.video.alto .vcard:not(.mejor) .tags .chip:nth-child(n+3) { display: none; }
html.video.alto .vcard .precio-v { font-size: 27px; margin-top: 4px; }
html.video.alto[data-paso="4"] .wsp { height: 571px; display: flex; flex-direction: column; }
html.video.alto[data-paso="4"] .wsp-cuerpo { flex: 1; min-height: 0; justify-content: space-evenly; gap: 8px; }
html.video.alto .wsp-aviso { font-size: 21px; padding: 8px 14px; }
html.video.alto .adjunto { padding: 14px 12px; }
html.video.alto .adj-ico { width: 58px; height: 72px; }
html.video.alto .adjunto b { font-size: 23px; }
html.video.alto .adjunto span:not(.adj-ico) { font-size: 17px; }
html.video.alto .wsp-msj { font-size: 30px; line-height: 1.4; padding: 16px 14px; }
html.video.alto .wsp-hora { font-size: 15px; }
html.video.alto .wsp ~ .fila-btn { display: none; }
html.video.alto[data-paso="5"] .barra-i { margin: 30px 0; font-size: 22px; grid-template-columns: 136px minmax(0, 1fr) 32px; }
html.video.alto[data-paso="5"] table.inf td { font-size: 19px; padding: 29px 6px; }
/* 4:5 y 16:9 (se ven 466 px): lo esencial entra entero */
html.video:not(.alto) .card-preg .pregunta { font-size: 24px; }
html.video:not(.alto) .card-preg .op { min-height: 60px; padding-top: 4px; padding-bottom: 4px; }
html.video:not(.alto) .vcard:not(.mejor) .sub { display: none; }
html.video:not(.alto) .wsp-cab { padding-top: 8px; padding-bottom: 8px; }
html.video:not(.alto) .wsp-cuerpo { gap: 8px; padding-top: 8px; }

.wsp-cab .wsp-sim { margin-left: auto; align-self: center; font-style: normal; font-weight: 600; font-size: 12px; border: 1.5px solid #FF6B35; color: #fff; border-radius: 6px; padding: 3px 9px; white-space: nowrap; }

/* Solo para filmar con la estructura del video de Facti (?video=1&alto=1&barra=1). La app se diseña a 390 px y se
   ve 2,77 veces más grande en el video: principal desde 14,5 px (40) y secundario desde 11,6 px (32).
   En 9:16 lo esencial entra en los primeros 289 px, para quedar fuera del cuarto de abajo (textos de las redes). */
html.barra .antropia-header { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 74px; padding-top: 14px; }
html.barra .antropia-header-content { height: 56px; padding: 0 20px; max-width: none; justify-content: flex-start; }
html.barra .antropia-logo-header img { height: 42px; }
html.barra .antropia-aviso { display: none; }
/* 9:16 (escala 2,5): la bajada de la barra llega a 32 px en el video */
html.barra:not(.f45):not(.f169c):not(.f169a) .antropia-header-tagline { font-size: 13px; }
html.barra:not(.f45):not(.f169c):not(.f169a) .antropia-logo-text { font-size: 18px; }
/* 16:9 (escala 1,5): igual, sin agrandar la barra */
html.barra.f169c .antropia-header-tagline, html.barra.f169a .antropia-header-tagline { font-size: 21.5px; line-height: 1.1; }
html.barra.f169c .antropia-logo-text, html.barra.f169a .antropia-logo-text { font-size: 24px; }
html.barra.f169c .antropia-header-textblock, html.barra.f169a .antropia-header-textblock { gap: 2px; }
html.barra body::before { content: ""; position: fixed; top: 74px; left: 0; right: 0; height: 172px; background: #0F1217; z-index: 79; }
html.barra #app.envoltorio { zoom: 1.108; padding: 222px 10px 20px; }
html.video.barra body { padding-bottom: 90vh; }
/* preguntas */
html.video.alto.barra[data-paso="2"] .card-preg { height: auto; display: block; padding: 8px 12px 12px; }
html.video.alto.barra .resumen-resp.elegidas { min-height: 26px; margin-bottom: 6px; }
html.video.alto.barra .resumen-resp .chip { font-size: 15px; padding: 2px 10px; }
html.video.alto.barra .card-preg .progreso { height: 6px; margin-bottom: 4px; }
html.video.alto.barra .card-preg .lead { font-size: 12px !important; margin-bottom: 0 !important; line-height: 1.3; }
html.video.alto.barra .card-preg .pregunta { font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
html.video.alto.barra .card-preg .opciones { grid-auto-rows: 54px; gap: 6px; }
html.video.alto.barra .card-preg .op { font-size: 18px; min-height: 0; padding: 2px 12px; }
html.video.alto.barra .card-preg .op small { font-size: 12.5px; }
/* solo 9:16: filas más bajas para que la 4.ª opción quede arriba del 25 % inferior del video */
html.video.alto.barra:not(.f45):not(.f169c):not(.f169a) .card-preg .opciones { grid-auto-rows: 44px; }
html.video.alto.barra .card-preg .fila-btn { display: none; }
/* gama: las tres, con su precio */
html.video.alto.barra[data-paso="3"] #app { height: auto; display: block; padding-bottom: 20px; }
html.video.alto.barra[data-paso="3"] #app > .resumen-resp { margin-bottom: 7px; }
html.video.alto.barra .chip { font-size: 12px; padding: 2px 9px; }
html.video.alto.barra[data-paso="3"] #app > .resumen-resp .chip { font-size: 14px; }
html.video.alto.barra[data-paso="3"] .vcard { padding: 4px 10px; }
html.video.alto.barra .vcard + .vcard { margin-top: 6px; }
html.video.alto.barra .vcard h3 { font-size: 18px; margin: 0; }
html.video.alto.barra .vcard .sub { display: none; }
html.video.alto.barra .vcard.mejor .tags { margin: 4px 0 2px; flex-wrap: nowrap; }
html.video.alto.barra .vcard.mejor .tags .chip:first-child { font-size: 15px; }
html.video.alto.barra .vcard.mejor .tags .chip:nth-child(n+3), html.video.alto.barra .vcard:not(.mejor) .tags { display: none; }
html.video.alto.barra .vcard .precio-v { font-size: 22px; margin-top: 2px; }
html.video.alto.barra .vcard .precio-v small .chip { font-size: 12px; }
html.video.alto.barra[data-paso="3"] #app > .fila-btn { display: flex; }
/* ficha (se recorre) y consentimiento */
html.video.alto.barra .ficha { padding: 12px 12px; font-size: 16px; }
html.video.alto.barra .ficha .cab img { width: 58px; height: 58px; }
html.video.alto.barra .ficha .fv { padding: 10px 0; }
html.video.alto.barra .ficha .fv h4 { font-size: 19px; }
html.video.alto.barra .ficha .fv h4 span { font-size: 13px !important; }
html.video.alto.barra .ficha .fv .p { font-size: 20px; }
html.video.alto.barra .ficha .fv p { font-size: 16.5px; }
html.video.alto.barra .ficha .legal { font-size: 12.5px; }
html.video.alto.barra .acepta { font-size: 18px; }
html.video.alto.barra .envio .lead { font-size: 13px; }
/* chat: el mensaje completo, con su hora, entra en 289 px */
html.video.alto.barra[data-paso="4"] .wsp { height: 440px; }
html.video.alto.barra .wsp-cab { padding: 6px 10px; gap: 10px; }
html.video.alto.barra .wsp-cab img { width: 36px; height: 36px; }
html.video.alto.barra .wsp-cab b { font-size: 17px; line-height: 1.25; }
html.video.alto.barra .wsp-cab span { font-size: 12px; line-height: 1.25; }
html.video.alto.barra .wsp-cab .wsp-sim { font-size: 14px; padding: 2px 9px; }
html.video.alto.barra .wsp-cuerpo { justify-content: flex-start; gap: 6px; padding: 6px 8px; }
html.video.alto.barra .wsp-aviso { font-size: 15px; padding: 2px 10px; }
html.video.alto.barra .adjunto { min-width: 250px; padding: 5px 8px; gap: 9px; }
html.video.alto.barra .adj-ico { width: 32px; height: 38px; font-size: 12px; }
html.video.alto.barra .adjunto b { font-size: 16px; line-height: 1.25; }
html.video.alto.barra .adjunto span:not(.adj-ico) { font-size: 12px; line-height: 1.25; }
html.video.alto.barra .wsp-msj { font-size: 18.5px; line-height: 1.28; padding: 6px 10px; }
html.video.alto.barra .wsp-msj.adj { padding: 5px 7px; }
html.video.alto.barra .wsp-hora { font-size: 11.8px; margin-top: 0; line-height: 1.2; }
html.video.alto.barra .wsp-msj.e1 { animation-delay: .15s; }
html.video.alto.barra .wsp-msj.e2 { animation-delay: .7s; }
/* dueño: las dos cosas en una sola pantalla */
html.video.alto.barra[data-paso="5"] .card { padding: 6px 10px; }
html.video.alto.barra[data-paso="5"] .card + .card { margin-top: 6px; }
html.video.alto.barra[data-paso="5"] .card h3 { font-size: 16px; margin-bottom: 2px; }
html.video.alto.barra[data-paso="5"] .barra-i { grid-template-columns: 138px minmax(0, 1fr) 28px; font-size: 14.5px; margin: 3px 0; line-height: 1.25; }
html.video.alto.barra .barra-i .bar, html.video.alto.barra .barra-i .bar i { height: 11px; }
html.video.alto.barra[data-paso="5"] table.inf thead { display: none; }
html.video.alto.barra[data-paso="5"] table.inf td { font-size: 14.5px; line-height: 1.2; padding: 4px 5px; white-space: nowrap; }
html.video.alto.barra[data-paso="5"] table.inf td .chip { font-size: 11.8px; padding: 1px 7px; }
/* 4:5: la misma pantalla de 390 px, 2,77 veces más grande */
html.barra.f45 body::before { height: 141px; }
/* 4:5: la barra se filma a escala 2, así la bajada llega a 32 px en el video */
html.barra.f45 .antropia-header-tagline { font-size: 16px; }
html.barra.f45 .antropia-logo-text { font-size: 22px; }
html.barra.f45 #app.envoltorio { zoom: 1.385; padding: 160px 10px 20px; width: 390px; margin: 0 auto; }
/* 16:9: la ventana es de compu, así que se fuerza la columna de celular (1080 px de ancho en el video al costado) */
html.barra.f169c .antropia-header, html.barra.f169a .antropia-header { height: 60px; padding-top: 6px; }
html.barra.f169c .antropia-header-content, html.barra.f169a .antropia-header-content { height: 52px; padding: 0 34px; }
html.barra.f169c .opciones, html.barra.f169a .opciones, html.barra.f169c .dos, html.barra.f169a .dos { grid-template-columns: 1fr; }
html.barra.f169c body { background: linear-gradient(90deg, #0F1217 560px, var(--bg) 560px) fixed; }
html.barra.f169c body::before { top: 60px; right: auto; width: 560px; height: 660px; }
html.barra.f169c #app.envoltorio { zoom: 1.846; width: 390px; max-width: 390px; margin: 0 0 0 303.4px; padding: 36px 10px 20px; }
html.barra.f169a body::before { top: 60px; height: 180px; }
html.barra.f169a #app.envoltorio { zoom: 1.6; width: 390px; max-width: 390px; margin: 0 auto; padding: 154px 10px 20px; }

/* Elección del cliente (28/11/2026): en la gama el cliente elige uno de los tres vinos y la ficha lo muestra arriba */
.vcard[data-act="elegir"] { cursor: pointer; }
.vcard .elegir { grid-column: 2 / -1; margin-top: 8px; }
.vcard .elegir .btn { min-height: 40px; }
.vcard.elegida { border-color: var(--acento); box-shadow: 0 0 0 3px var(--acento) inset; }
.ficha .sec-t { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 15px; color: #5b5551; margin: 14px 0 4px; }
.ficha .fv.fv-elegido { border: 2px solid #5B3E96; border-radius: 8px; background: #F6F2FC; padding: 12px 14px; }
.ficha .fv.fv-elegido h4, .ficha .fv.fv-elegido .p { font-size: 19px; }
.ficha .fv.otra { padding: 8px 0; }
.ficha .fv.otra h4, .ficha .fv.otra .p { font-size: 14.5px; }
.ficha .fv.otra p { font-size: 12.5px; color: #5b5551; }
.ficha .sec-t + .fv.otra { border-top: 0; }
html.video .vcard .elegir .btn { font-size: 17px; min-height: 44px; }
html.video .ficha .sec-t { font-size: 18px; margin: 12px 0 4px; }
html.video .ficha .fv.fv-elegido { padding: 12px 12px; }
html.video .ficha .fv.fv-elegido h4 { font-size: 23px; }
html.video .ficha .fv.fv-elegido .p { font-size: 24px; }
html.video .ficha .fv.otra h4 { font-size: 18px; }
html.video .ficha .fv.otra .p { font-size: 18px; }
html.video .ficha .fv.otra p { font-size: 15.5px; }

/* Elección bien visible (28/11/2026): el vino elegido se marca grande y los otros dos se atenúan */
.vcard.atenuada { opacity: .42; filter: grayscale(.6); transition: opacity .3s ease, filter .3s ease; }
.vcard.elegida .elegir .btn { font-size: 17px; font-weight: 800; padding: 10px 18px; min-height: 48px; }
html.video .vcard.elegida .elegir .btn { font-size: 24px; min-height: 60px; padding: 10px 22px; width: 100%; justify-content: center; }
