/* Web de Ombuvia (30/11/26). Colores tomados del logo de ChatGPT (cúpula con 5 nodos): verde #036428, tinta #0E1315; naranja sólo de acento.
   Reglas del dueño: todo a ancho completo (sin max-width en contenedores ni textos), sin barras de color arriba de
   las tarjetas, filas de tarjetas sin huecos. */
@font-face { font-family: 'Geist'; src: url('/fuentes/Geist-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; src: url('/fuentes/Geist-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --fondo: #ffffff;
  --fondo-2: #f4f6f3;
  --tarjeta: #ffffff;
  --tinta: #121314;
  --texto: #2b2f2c;
  --suave: #5d655f;
  --linea: #e1e5df;
  --verde: #036428;
  --verde-claro: #e6efe8;
  --naranja: #f28a1e;
  --naranja-texto: #b35c00;
  --banda: #0f1a13;
  --banda-texto: #eef3ef;
  --margen: clamp(16px, 4.5vw, 80px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #0e1110;
    --fondo-2: #141917;
    --tarjeta: #161b19;
    --tinta: #f2f5f3;
    --texto: #d3dad5;
    --suave: #98a39c;
    --linea: #26302b;
    --verde: #2ea058;
    --verde-claro: #16261c;
    --naranja-texto: #f5a04a;
    --banda: #0a1a10;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--fondo); color: var(--texto); font: 400 17px/1.6 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--verde); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--tinta); margin: 0; letter-spacing: -0.025em; line-height: 1.1; font-weight: 650; }
p { margin: 0; }
.marco { padding-inline: var(--margen); }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--tinta); color: var(--fondo); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.saltar:focus { left: 8px; }

main { flex: 1; }

/* Encabezado */
.encabezado { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--fondo) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--linea); }
.encabezado .marco { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.marca img { height: 30px; width: auto; }
.marca .oscuro { display: none; }
.heroe-simbolo .oscuro { display: none; }
@media (prefers-color-scheme: dark) { .heroe-simbolo .claro { display: none; } .heroe-simbolo .oscuro { display: block; } }
@media (prefers-color-scheme: dark) { .marca .claro { display: none; } .marca .oscuro { display: block; } }
.menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); font-size: 15px; }
.menu a { color: var(--texto); text-decoration: none; white-space: nowrap; }
.menu a:hover { color: var(--tinta); }
.menu .idioma { border: 1px solid var(--linea); border-radius: 999px; padding: 5px 12px; }
@media (max-width: 860px) { .menu .seccion { display: none; } }

/* Portada */
.heroe { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.antetitulo { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--verde); margin-bottom: 18px; }
.heroe h1 { font-size: clamp(40px, 6.2vw, 92px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.heroe h1 em { font-style: normal; color: var(--verde); }
.heroe .bajada { margin-top: 28px; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.55; color: var(--texto); }
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.boton { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.boton:hover { transform: translateY(-1px); }
.boton.primario { background: var(--tinta); color: var(--fondo); }
.boton.secundario { border: 1px solid var(--linea); color: var(--tinta); background: var(--tarjeta); }
.heroe-simbolo { aspect-ratio: 1; border-radius: 28px; background: var(--verde-claro); display: grid; place-items: center; padding: 12%; }
.heroe-simbolo img { width: 100%; }
@media (max-width: 860px) { .heroe { grid-template-columns: 1fr; } .heroe-simbolo { display: none; } }

/* Secciones */
.seccion-bloque { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--linea); }
.seccion-bloque.gris { background: var(--fondo-2); }
.cabecera { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.cabecera h2 { font-size: clamp(32px, 4vw, 56px); }
.cabecera > p { font-size: clamp(17px, 1.3vw, 20px); color: var(--suave); }
@media (max-width: 860px) { .cabecera { grid-template-columns: 1fr; } }

/* Productos */
.productos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
/* 6 productos: dos filas de 3 (2 columnas cada uno) */
.productos > .producto { grid-column: span 2; }
@media (max-width: 1100px) { .productos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .productos > .producto { grid-column: auto; } .productos > .producto:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .productos { grid-template-columns: 1fr; } .productos > .producto:last-child:nth-child(odd) { grid-column: auto; } }
.producto { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2vw, 30px); background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 18px; transition: border-color .2s ease, transform .2s ease; }
.producto:hover { border-color: color-mix(in srgb, var(--verde) 45%, var(--linea)); transform: translateY(-2px); }
.producto .arriba { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.producto .icono { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; }
.producto h3 { font-size: 26px; }
.producto .lema { font-weight: 600; color: var(--tinta); font-size: 17px; line-height: 1.4; }
.producto .texto { color: var(--texto); font-size: 16px; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.etiquetas span { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--fondo-2); color: var(--suave); border: 1px solid var(--linea); }
.producto .enlace { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.producto .enlace:hover { text-decoration: underline; }
.pronto { font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--naranja-texto); border: 1px solid color-mix(in srgb, var(--naranja) 50%, transparent); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.producto.en-camino .arriba:not(:has(img)) { justify-content: flex-start; }
/* logos en tinta oscura (SignRatio): en modo oscuro van sobre una baldosa clara */
.producto .icono.con-fondo { background: #fff; padding: 6px; border: 1px solid var(--linea); }

/* Origen */
.origen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); }
.origen .titulo { position: sticky; top: 108px; align-self: start; }
.origen h2 { font-size: clamp(32px, 4vw, 56px); }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.paso { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding-block: 26px; border-top: 1px solid var(--linea); }
.paso:first-child { border-top: 0; padding-top: 0; }
.paso .numero { font: 600 15px/1.9 'Geist', monospace; color: var(--verde); font-variant-numeric: tabular-nums; }
.paso h3 { font-size: 22px; margin-bottom: 8px; }
.cierre { margin-top: 28px; padding: 26px 28px; border-radius: 16px; background: var(--verde-claro); color: var(--tinta); font-size: 18px; }
@media (max-width: 860px) { .origen { grid-template-columns: 1fr; } .origen .titulo { position: static; } .paso { grid-template-columns: 44px minmax(0, 1fr); } }

/* Cómo trabajamos */
.principios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1240px) { .principios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .principios { grid-template-columns: 1fr; } }
.principio { padding: 26px; border-radius: 18px; background: var(--tarjeta); border: 1px solid var(--linea); }
.principio .punto { width: 10px; height: 10px; border-radius: 50%; background: var(--naranja); margin-bottom: 18px; }
.principio h3 { font-size: 20px; margin-bottom: 10px; }
.principio p { color: var(--texto); font-size: 16px; }

/* Contacto */
.contacto { background: var(--banda); color: var(--banda-texto); padding-block: clamp(64px, 9vw, 120px); }
.contacto .marco { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.contacto h2 { color: #fff; font-size: clamp(32px, 4.2vw, 60px); }
.contacto p { font-size: clamp(17px, 1.3vw, 20px); color: #c8d3cb; margin-bottom: 28px; }
.contacto .boton.primario { background: #fff; color: #0f1a13; }
@media (max-width: 860px) { .contacto .marco { grid-template-columns: 1fr; } }

/* Pie */
.pie { background: var(--banda); color: #9fb0a5; border-top: 1px solid rgba(255,255,255,.08); }
.pie .marco { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; font-size: 14px; }
.pie img { height: 24px; width: auto; }
.pie nav { display: flex; flex-wrap: wrap; gap: 20px; }
.pie a { color: #c8d3cb; text-decoration: none; }
.pie a:hover { color: #fff; }

/* Páginas simples (legal y 404) */
.simple { padding-block: clamp(48px, 7vw, 96px); }
.simple h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 36px; }
.simple section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(16px, 3vw, 48px); padding-block: 26px; border-top: 1px solid var(--linea); }
.simple h2 { font-size: 22px; }
.simple .nota { margin-top: 32px; color: var(--suave); font-size: 15px; }
@media (max-width: 760px) { .simple section { grid-template-columns: 1fr; } }

/* ================================================================================================================
   v2 (30/11/26): portada dinámica. Cuadros de flujo animados, vitrina de productos con demos y método por pasos.
   ================================================================================================================ */
:root { --naranja-vivo: #f28a1e; --verde-vivo: #2ea058; --panel: #0f1a13; --panel-2: #16251b; --panel-linea: #2a4232; }
@media (prefers-color-scheme: dark) { :root { --panel: #111c15; --panel-2: #18281e; --panel-linea: #2c4635; } }

/* Encabezado: sombra al bajar */
.encabezado { transition: box-shadow .25s ease; }

/* ---------- Portada ---------- */
.heroe { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); padding-block: clamp(40px, 6vw, 88px) clamp(40px, 6vw, 80px); }
.heroe h1 { font-size: clamp(40px, 5.4vw, 84px); }
.heroe-cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.heroe-cifras div { border-top: 2px solid var(--linea); padding-top: 12px; }
.heroe-cifras b { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 700; color: var(--tinta); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.heroe-cifras span { color: var(--suave); font-size: 15px; }
.heroe-panel { position: relative; border-radius: 26px; background: var(--panel); padding: clamp(14px, 2vw, 26px); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(3, 100, 40, .55); }
.heroe-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 40%, rgba(46, 160, 88, .22), transparent 70%), radial-gradient(40% 40% at 15% 85%, rgba(242, 138, 30, .14), transparent 70%); pointer-events: none; }
.flujo-heroe, .flujo-heroe-movil { position: relative; width: 100%; height: auto; display: block; font-family: 'Geist', system-ui, sans-serif; }
.flujo-heroe-movil { display: none; max-width: 420px; margin-inline: auto; }
@media (max-width: 1100px) { .heroe { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .flujo-heroe { display: none; } .flujo-heroe-movil { display: block; } }

.flujo-heroe .col.ini { text-anchor: start; } .flujo-heroe .col.fin { text-anchor: end; }
.flujo-heroe text, .flujo-heroe-movil text { fill: #e6efe8; font-size: 14px; font-weight: 600; }
.flujo-heroe .col, .flujo-heroe-movil .col { fill: #8fb39a; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-anchor: middle; }
.nodo-emp rect { fill: var(--panel-2); stroke: var(--panel-linea); stroke-width: 1.2; }
.nodo-emp.listo rect { stroke: rgba(46, 160, 88, .55); }
.punto-prob { fill: var(--naranja-vivo); }
.punto-ok { fill: #5fd38a; }
.nodo-nec rect { fill: #24190d; stroke: var(--naranja-vivo); stroke-width: 1.5; stroke-dasharray: 5 4; }
.nodo-nec text { fill: #ffc98f; text-anchor: middle; font-size: 15px; }
.nodo-prod rect { fill: #036428; stroke: #2ea058; stroke-width: 1.5; }
.nodo-prod text { fill: #fff; text-anchor: middle; }
.nodo-prod .fuerte { font-size: 17px; font-weight: 700; }
.nodo-prod .suave { font-size: 12.5px; fill: #bfe6cc; font-weight: 500; }
.via { fill: none; stroke: #2f4a38; stroke-width: 2; }
.via-in { stroke: rgba(242, 138, 30, .38); stroke-dasharray: 6 7; }
.via-out { stroke: rgba(95, 211, 138, .45); stroke-dasharray: 6 7; }
.via-centro { stroke: #fff; stroke-opacity: .35; stroke-width: 2.5; }
.viajero.prob { fill: var(--naranja-vivo); }
.viajero.ok { fill: #5fd38a; }
.viajero.centro { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .via-in, .via-out { animation: corre 1.1s linear infinite; }
  .nodo-prod rect { animation: late 3.2s ease-in-out infinite; }
}
@keyframes corre { to { stroke-dashoffset: -26; } }
@keyframes late { 50% { stroke: #8de3ad; } }

/* ---------- Vitrina de productos ---------- */
.vitrina { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 2.2fr); gap: 20px; align-items: start; }
.v-tabs { display: flex; flex-direction: column; gap: 8px; }
.v-tab { position: relative; overflow: hidden; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--linea); background: var(--tarjeta); color: var(--texto); font: inherit; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.v-tab:hover { border-color: color-mix(in srgb, var(--verde) 40%, var(--linea)); }
.v-tab[aria-selected="true"] { border-color: var(--verde); background: color-mix(in srgb, var(--verde-claro) 70%, var(--tarjeta)); }
.v-tab .icono { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.v-tab .icono.con-fondo { background: #fff; padding: 4px; border: 1px solid var(--linea); }
.v-tab b { display: block; color: var(--tinta); font-size: 16px; }
.v-tab small { display: block; color: var(--suave); font-size: 13px; line-height: 1.35; }
.v-progreso { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--verde); transform: scaleX(0); transform-origin: left; }
.v-tab.corriendo .v-progreso { animation: avanza 7s linear forwards; }
@keyframes avanza { to { transform: scaleX(1); } }
.v-escena { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 22px; padding: clamp(20px, 2.6vw, 38px); min-height: 470px; }
.v-panel { display: none; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.v-panel.activo { display: grid; }
html:not(.js) .v-panel { display: grid; padding-block: 24px; border-bottom: 1px solid var(--linea); }
@media (prefers-reduced-motion: no-preference) { .v-panel.activo .v-info, .v-panel.activo .v-demo { animation: entra .55s cubic-bezier(.2,.7,.2,1) both; } .v-panel.activo .v-demo { animation-delay: .08s; } }
@keyframes entra { from { opacity: 0; transform: translateY(12px); } }
.v-titulo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.v-titulo .icono { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; }
.v-titulo .icono.con-fondo { background: #fff; padding: 6px; border: 1px solid var(--linea); }
.v-titulo h3 { font-size: clamp(26px, 2.4vw, 34px); }
.v-info .lema { font-weight: 600; color: var(--tinta); font-size: 18px; line-height: 1.4; margin-bottom: 10px; }
.v-info .texto { font-size: 16px; margin-bottom: 16px; }
.v-info .etiquetas { margin-bottom: 22px; padding-top: 0; }
@media (max-width: 1100px) { .vitrina { grid-template-columns: 1fr; } .v-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .v-tab small { display: none; } }
@media (max-width: 860px) { .v-panel { grid-template-columns: 1fr; } .v-escena { min-height: 0; } }
@media (max-width: 520px) { .v-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v-tab { grid-template-columns: 32px minmax(0, 1fr); padding: 10px; } .v-tab .icono { width: 32px; height: 32px; } }

/* ---------- Demos (maquetas animadas con datos de ejemplo) ---------- */
.demo { position: relative; background: var(--fondo-2); border: 1px solid var(--linea); border-radius: 18px; padding: clamp(16px, 2vw, 24px); font-size: 14px; color: var(--texto); font-variant-numeric: tabular-nums; }
.demo-ejemplo { margin-top: 8px; font-size: 12px; color: var(--suave); text-align: right; }
.demo-rot { font-size: 11.5px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--suave); margin-bottom: 10px; }
.demo-rot.claro { color: rgba(255,255,255,.75); }
.demo b { color: var(--tinta); }

/* Reportavia */
.demo-rv { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.25fr); align-items: center; gap: 6px; }
.rv-informe { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 14px; padding: 14px; }
.rv-barras { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.rv-barras i { flex: 1; border-radius: 5px 5px 2px 2px; background: #14b8a6; transform-origin: bottom; }
.rv-barras .b1 { height: 42%; } .rv-barras .b2 { height: 64%; } .rv-barras .b3 { height: 52%; } .rv-barras .b4 { height: 78%; } .rv-barras .b5 { height: 70%; } .rv-barras .b6 { height: 92%; background: #0d9488; }
.rv-cuando { margin-top: 10px; font-size: 12.5px; color: var(--suave); }
.rv-vias { width: 64px; height: 220px; overflow: visible; }
.rv-vias path { fill: none; stroke: color-mix(in srgb, #14b8a6 45%, transparent); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.rv-vias circle { fill: #0d9488; }
.rv-lista { display: grid; gap: 10px; }
.rv-dest { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 12px; padding: 9px 10px; }
.rv-dest small { display: block; color: var(--suave); font-size: 12px; white-space: nowrap; }
.rv-dest b { white-space: nowrap; }
.rv-sobre { width: 38px; height: 30px; border-radius: 6px; background: color-mix(in srgb, #14b8a6 18%, var(--tarjeta)); display: grid; place-items: center; }
.rv-pdf { font-size: 10px; font-weight: 700; color: #0d9488; }
.rv-ok { font-size: 12px; font-weight: 600; color: var(--verde); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .v-panel.activo .rv-barras i { animation: sube .9s cubic-bezier(.2,.7,.2,1) both; }
  .v-panel.activo .rv-barras .b2 { animation-delay: .06s; } .v-panel.activo .rv-barras .b3 { animation-delay: .12s; } .v-panel.activo .rv-barras .b4 { animation-delay: .18s; } .v-panel.activo .rv-barras .b5 { animation-delay: .24s; } .v-panel.activo .rv-barras .b6 { animation-delay: .3s; }
  .rv-dest { animation: llega 2.4s ease-in-out infinite; }
  .rv-d0 { animation-delay: 2.1s; } .rv-d1 { animation-delay: 2.9s; } .rv-d2 { animation-delay: 3.7s; }
  .rv-vias path { animation: corre 1.1s linear infinite; }
}
@keyframes sube { from { transform: scaleY(0); } }
@keyframes llega { 0%, 100% { border-color: var(--linea); box-shadow: none; } 12% { border-color: #14b8a6; box-shadow: 0 0 0 4px color-mix(in srgb, #14b8a6 18%, transparent); } 40% { border-color: var(--linea); box-shadow: none; } }
@media (max-width: 520px) { .demo-rv { grid-template-columns: 1fr; } .rv-vias { display: none; } }

/* DiskBrio */
.db-cabeza { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.db-uso { font-size: 26px; font-weight: 700; color: var(--tinta); }
.db-uso small { font-size: 13px; font-weight: 500; color: var(--suave); }
.db-salud { display: flex; align-items: center; gap: 8px; }
.db-salud svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.db-salud circle { fill: none; stroke-width: 5; }
.db-salud .fondo { stroke: var(--linea); }
.db-salud .valor { stroke: #20a46b; stroke-linecap: round; stroke-dasharray: 108.6 113.1; }
.db-salud span { font-size: 20px; font-weight: 700; color: var(--tinta); }
.db-salud small { display: block; font-size: 11px; font-weight: 500; color: var(--suave); }
.db-barra { display: flex; height: 16px; border-radius: 99px; overflow: hidden; background: var(--linea); margin: 14px 0 8px; }
.db-barra i { height: 100%; transform-origin: left; }
.db-barra .s0 { width: 36%; background: #64748b; } .db-barra .s1 { width: 22%; background: #6366f1; } .db-barra .s2 { width: 14%; background: #ec4899; } .db-barra .s3 { width: 8.5%; background: #20a46b; }
.db-leyenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--suave); margin-bottom: 12px; }
.db-leyenda i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.db-leyenda .c0 { background: #64748b; } .db-leyenda .c1 { background: #6366f1; } .db-leyenda .c2 { background: #ec4899; } .db-leyenda .c3 { background: #20a46b; }
.db-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.db-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto 70px; gap: 10px; align-items: center; background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 10px; padding: 7px 10px; }
.db-gb { text-align: right; font-weight: 600; color: var(--tinta); }
.db-chip { font-size: 11px; font-weight: 650; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.db-chip.ok { background: color-mix(in srgb, #20a46b 16%, transparent); color: #158a57; }
.db-chip.rev { background: color-mix(in srgb, #f59e0b 18%, transparent); color: #b45309; }
.db-total { margin-top: 12px; font-size: 15px; }
.db-total b { font-size: 20px; color: #158a57; }
@media (prefers-color-scheme: dark) { .db-chip.ok, .db-total b { color: #4ade80; } .db-chip.rev { color: #fbbf24; } }
@media (prefers-reduced-motion: no-preference) {
  .v-panel.activo .db-barra i { animation: estira 1s cubic-bezier(.2,.7,.2,1) both; }
  .v-panel.activo .db-barra .s1 { animation-delay: .15s; } .v-panel.activo .db-barra .s2 { animation-delay: .3s; } .v-panel.activo .db-barra .s3 { animation-delay: .45s; }
  .v-panel.activo .db-salud .valor { animation: anillo 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .v-panel.activo .db-items li { animation: entra .5s ease both; }
  .v-panel.activo .db-items li:nth-child(2) { animation-delay: .12s; } .v-panel.activo .db-items li:nth-child(3) { animation-delay: .24s; } .v-panel.activo .db-items li:nth-child(4) { animation-delay: .36s; }
}
@keyframes estira { from { transform: scaleX(0); } }
@keyframes anillo { from { stroke-dasharray: 0 113.1; } }

/* Forkclock */
.demo-fc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.fc-plato { position: relative; aspect-ratio: 1; max-width: 240px; width: 100%; margin-inline: auto; }
.fc-plato svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fc-plato .aro { fill: var(--tarjeta); stroke: var(--linea); stroke-width: 12; }
.fc-plato .ayuno { fill: none; stroke: #f97316; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 192.7 289; }
.fc-plato .marcas line { stroke: var(--suave); stroke-opacity: .5; stroke-width: 1.2; }
.fc-centro { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.fc-centro b { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--tinta); }
.fc-centro small { color: var(--suave); }
.fc-comidas { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.fc-comidas li { display: flex; justify-content: space-between; background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 10px; padding: 8px 12px; }
.fc-racha b { font-size: 22px; color: #ea580c; }
@media (prefers-reduced-motion: no-preference) { .v-panel.activo .fc-plato .ayuno { animation: plato 1.8s cubic-bezier(.2,.7,.2,1) both; } }
@keyframes plato { from { stroke-dasharray: 0 289; } }
@media (max-width: 520px) { .demo-fc { grid-template-columns: 1fr; } }

/* ScrobbleWall */
.sw-escritorio { position: relative; border-radius: 14px; overflow: hidden; padding: 14px; background: linear-gradient(135deg, #1e1b4b, #4c1d95 55%, #831843); min-height: 300px; }
.sw-tapas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.sw-tapas i { aspect-ratio: 1; border-radius: 6px; }
.sw-tapas .t0 { background: linear-gradient(135deg,#f97316,#db2777); } .sw-tapas .t1 { background: linear-gradient(135deg,#22d3ee,#6366f1); } .sw-tapas .t2 { background: linear-gradient(135deg,#facc15,#f97316); }
.sw-tapas .t3 { background: linear-gradient(135deg,#a3e635,#0ea5e9); } .sw-tapas .t4 { background: linear-gradient(135deg,#f43f5e,#7c3aed); } .sw-tapas .t5 { background: linear-gradient(135deg,#e2e8f0,#64748b); }
.sw-tapas .t6 { background: linear-gradient(135deg,#7c3aed,#22d3ee); } .sw-tapas .t7 { background: linear-gradient(135deg,#fb7185,#fde68a); } .sw-tapas .t8 { background: linear-gradient(135deg,#0f766e,#a7f3d0); }
.sw-tapas .t9 { background: linear-gradient(135deg,#1d4ed8,#f472b6); } .sw-tapas .t10 { background: linear-gradient(135deg,#ea580c,#fde047); } .sw-tapas .t11 { background: linear-gradient(135deg,#334155,#e879f9); }
.sw-sonando { display: flex; gap: 12px; align-items: center; margin-top: 16px; background: rgba(0,0,0,.35); border-radius: 12px; padding: 10px 12px; color: #fff; }
.sw-sonando small { display: block; font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.sw-sonando b { display: block; color: #fff; }
.sw-sonando span { font-size: 13px; opacity: .85; }
.sw-tapa { width: 48px; height: 48px; flex: none; border-radius: 8px; background: linear-gradient(135deg,#f97316,#db2777); }
.sw-espectro { display: flex; align-items: flex-end; gap: 3px; height: 54px; margin-top: 14px; }
.sw-espectro i { flex: 1; height: 100%; border-radius: 3px 3px 0 0; background: linear-gradient(to top, #f472b6, #fde68a); transform-origin: bottom; transform: scaleY(.3); }
@media (prefers-reduced-motion: no-preference) {
  .sw-tapas i { animation: gira 6s ease-in-out infinite; }
  .sw-tapas i:nth-child(3n) { animation-delay: 1.2s; } .sw-tapas i:nth-child(3n+1) { animation-delay: 2.6s; } .sw-tapas i:nth-child(4n) { animation-delay: 4s; }
  .sw-espectro i { animation: vibra 1.1s ease-in-out infinite alternate; }
  .sw-espectro i:nth-child(2n) { animation-duration: .8s; } .sw-espectro i:nth-child(3n) { animation-duration: 1.3s; animation-delay: .2s; } .sw-espectro i:nth-child(5n) { animation-duration: .7s; animation-delay: .4s; } .sw-espectro i:nth-child(7n) { animation-duration: 1.6s; }
}
@keyframes gira { 0%, 70%, 100% { transform: rotateY(0); } 80% { transform: rotateY(90deg); } 90% { transform: rotateY(0); } }
@keyframes vibra { from { transform: scaleY(.15); } to { transform: scaleY(1); } }

/* SignRatio */
.sr-tabla { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.sr-tabla th { font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); text-align: left; padding: 0 8px 4px; white-space: nowrap; }
.sr-tabla td { background: var(--tarjeta); padding: 8px; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); white-space: nowrap; }
.sr-tabla td:first-child { border-left: 1px solid var(--linea); border-radius: 10px 0 0 10px; font-weight: 600; color: var(--tinta); }
.sr-tabla td:last-child { border-right: 1px solid var(--linea); border-radius: 0 10px 10px 0; }
.firma { width: 84px; height: 30px; display: block; }
.firma path { fill: none; stroke: #1e3a8a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; }
@media (prefers-color-scheme: dark) { .firma path { stroke: #93c5fd; } }
.sr-pct { display: block; font-size: 17px; line-height: 1.1; }
.sr-tabla td { padding: 7px 8px; }
.sr-pct.ok { color: #158a57; } .sr-pct.mal { color: #dc2626; }
.sr-estado { display: inline-block; margin-top: 3px; font-size: 10.5px; font-weight: 650; padding: 1px 7px; border-radius: 99px; }
.sr-estado.ok { background: color-mix(in srgb, #20a46b 16%, transparent); color: #158a57; }
.sr-estado.mal { background: color-mix(in srgb, #dc2626 14%, transparent); color: #dc2626; }
@media (prefers-color-scheme: dark) { .sr-pct.ok, .sr-estado.ok { color: #4ade80; } .sr-pct.mal, .sr-estado.mal { color: #f87171; } }
.sr-vence { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, #d6402b 10%, var(--tarjeta)); border: 1px solid color-mix(in srgb, #d6402b 30%, var(--linea)); }
.sr-vence b { color: #d6402b; font-size: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .v-panel.activo .firma.doc path { animation: traza 1.6s ease-out both; }
  .v-panel.activo .sr-f1 .firma.doc path { animation-delay: .4s; } .v-panel.activo .sr-f2 .firma.doc path { animation-delay: .8s; }
}
@keyframes traza { from { stroke-dashoffset: 260; } }
@media (max-width: 520px) { .sr-tabla th:nth-child(2), .sr-tabla td:nth-child(2) { display: none; } }

/* Qalpath */
.demo-qp { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; align-items: center; }
.qp-ciclo { position: relative; aspect-ratio: 1; max-width: 230px; width: 100%; margin-inline: auto; }
.qp-ciclo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qp-ciclo .aro { fill: none; stroke: var(--linea); stroke-width: 10; }
.qp-ciclo .avance { fill: none; stroke: #01414c; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 69 207.5; }
@media (prefers-color-scheme: dark) { .qp-ciclo .avance { stroke: #46aabe; } }
.qp-ciclo ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.qp-ciclo li { position: absolute; display: grid; justify-items: center; font-size: 11.5px; color: var(--suave); }
.qp-ciclo li b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tarjeta); border: 2px solid var(--linea); color: var(--tinta); font-size: 13px; }
.qp-e0 { top: 2%; left: 50%; transform: translateX(-50%); } .qp-e1 { right: -2%; top: 50%; transform: translateY(-50%); } .qp-e2 { bottom: 2%; left: 50%; transform: translateX(-50%); } .qp-e3 { left: -2%; top: 50%; transform: translateY(-50%); }
.qp-items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.qp-items li > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; margin-bottom: 5px; }
.qp-barra { height: 8px; border-radius: 99px; background: var(--linea); overflow: hidden; }
.qp-barra i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f59e0b, #ef4444); transform-origin: left; }
.qp-barra .p0 { width: 100%; } .qp-barra .p1 { width: 78%; } .qp-barra .p2 { width: 92%; }
.qp-hallazgos b { font-size: 20px; color: #ea580c; }
.qp-proxima { font-size: 13px; color: var(--suave); margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .v-panel.activo .qp-ciclo .avance { animation: pdca 6s linear infinite; }
  .v-panel.activo .qp-ciclo li b { animation: etapa 6s linear infinite; }
  .v-panel.activo .qp-e1 b { animation-delay: 1.5s; } .v-panel.activo .qp-e2 b { animation-delay: 3s; } .v-panel.activo .qp-e3 b { animation-delay: 4.5s; }
  .v-panel.activo .qp-barra i { animation: estira 1.2s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes pdca { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -276.5; } }
@keyframes etapa { 0%, 22% { background: #01414c; color: #fff; border-color: #01414c; } 25%, 100% { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); } }
@media (max-width: 520px) { .demo-qp { grid-template-columns: 1fr; } }

/* ---------- Método: cuadro de flujo por pasos ---------- */
.metodo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.metodo::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 3px; border-radius: 3px; background: var(--linea); }
.metodo::after { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--naranja-vivo), var(--verde-vivo)); transform-origin: left; transform: scaleX(1); }
.m-paso { position: relative; text-align: center; }
.m-nodo { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--tarjeta); border: 3px solid var(--verde); position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--fondo); }
.m-paso:first-child .m-nodo { border-color: var(--naranja-vivo); }
.m-num { font-weight: 700; font-size: 20px; color: var(--tinta); }
.m-paso h3 { font-size: 18px; margin-bottom: 8px; }
.m-paso p { font-size: 15px; color: var(--texto); }
html.js .metodo.oculto::after { transform: scaleX(0); }
html.js .metodo.visible::after { transition: transform 1.6s cubic-bezier(.4,0,.2,1); transform: scaleX(1); }
@media (max-width: 960px) {
  .metodo { grid-template-columns: 1fr; gap: 0; }
  .metodo::before, .metodo::after { top: 10px; bottom: 10px; left: 28px; right: auto; width: 3px; height: auto; }
  .metodo::after { transform-origin: top; }
  html.js .metodo.oculto::after { transform: scaleY(0); } html.js .metodo.visible::after { transform: scaleY(1); }
  .m-paso { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 18px; text-align: left; padding-bottom: 22px; }
  .m-nodo { margin: 0; grid-row: span 2; }
}
.compara { margin-top: clamp(36px, 5vw, 64px); padding: clamp(20px, 2.6vw, 32px); border-radius: 20px; background: var(--fondo-2); border: 1px solid var(--linea); }
.compara-titulo { font-weight: 650; color: var(--tinta); font-size: 18px; margin-bottom: 18px; }
.compara-fila { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 0.7fr); gap: 16px; align-items: center; margin-bottom: 14px; }
.compara-et { font-weight: 650; color: var(--tinta); }
.compara-nota { color: var(--suave); font-size: 14px; }
.barra-costo { display: flex; gap: 4px; height: 44px; }
.pieza { flex: 1; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 650; color: #fff; }
.pieza i { font-style: normal; }
.entera .pieza { background: linear-gradient(90deg, #c2410c, #f28a1e); }
.partida .pieza { background: linear-gradient(180deg, #2ea058, #036428); }
html.js .compara.oculto .pieza { opacity: 0; transform: translateY(10px) scale(.9); }
html.js .compara.visible .pieza { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
html.js .compara.visible .partida .pieza:nth-child(2) { transition-delay: .05s; } html.js .compara.visible .partida .pieza:nth-child(3) { transition-delay: .1s; } html.js .compara.visible .partida .pieza:nth-child(4) { transition-delay: .15s; }
html.js .compara.visible .partida .pieza:nth-child(5) { transition-delay: .2s; } html.js .compara.visible .partida .pieza:nth-child(6) { transition-delay: .25s; } html.js .compara.visible .partida .pieza:nth-child(7) { transition-delay: .3s; } html.js .compara.visible .partida .pieza:nth-child(8) { transition-delay: .35s; }
html.js .compara.visible .partida .pieza:nth-child(9) { transition-delay: .4s; } html.js .compara.visible .partida .pieza:nth-child(10) { transition-delay: .45s; } html.js .compara.visible .partida .pieza:nth-child(11) { transition-delay: .5s; } html.js .compara.visible .partida .pieza:nth-child(12) { transition-delay: .55s; }
@media (max-width: 760px) { .compara-fila { grid-template-columns: 1fr; gap: 6px; } .partida .pieza i { display: none; } }

/* ---------- Línea de tiempo (origen) ---------- */
.linea-tiempo { position: relative; }
.linea-tiempo .paso { border-top: 0; }
.linea-tiempo::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--verde), color-mix(in srgb, var(--verde) 20%, transparent)); transform-origin: top; }
.linea-tiempo .numero { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fondo-2); border: 2px solid var(--verde); font-size: 13px; line-height: 1; }
.seccion-bloque:not(.gris) .linea-tiempo .numero { background: var(--fondo); }
html.js .linea-tiempo.oculto::before { transform: scaleY(0); }
html.js .linea-tiempo.visible::before { transition: transform 1.4s cubic-bezier(.4,0,.2,1); transform: scaleY(1); }

/* ---------- Principios: el punto naranja de siempre ---------- */
.p-icono { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--naranja); margin-bottom: 18px; }

/* ---------- Contacto con pasos ---------- */
.contacto-pasos { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.contacto-pasos li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #dfe9e2; font-size: 15px; }
.contacto-pasos li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--verde-vivo); color: #fff; font-weight: 700; font-size: 13px; }
.contacto-pasos li + li::before { content: "→"; margin-left: -4px; margin-right: 2px; color: #8fb39a; }
.contacto .marco { align-items: center; }

/* ---------- Revelado al bajar (sólo con JS y si no se pidió quietud) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .revela.oculto { opacity: 0; transform: translateY(18px); }
  html.js .revela.visible { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  html.js .metodo.visible .m-paso:nth-child(2) { transition-delay: .15s; } html.js .metodo.visible .m-paso:nth-child(3) { transition-delay: .3s; }
  html.js .metodo.visible .m-paso:nth-child(4) { transition-delay: .45s; } html.js .metodo.visible .m-paso:nth-child(5) { transition-delay: .6s; }
  html.js .principios .principio.visible:nth-child(2) { transition-delay: .1s; } html.js .principios .principio.visible:nth-child(3) { transition-delay: .2s; } html.js .principios .principio.visible:nth-child(4) { transition-delay: .3s; }
}
/* los pasos del método se revelan con su lista */
html.js .metodo.oculto .m-paso { opacity: 0; transform: translateY(18px); }
html.js .metodo.visible .m-paso { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }

/* ---------- v3 (30/11/26): ScrobbleWall con fondos reales y ciclo PHVA de Qalpath sincronizado ---------- */
/* ScrobbleWall: monitor que pasa por seis fondos reales de la app */
.sw-monitor { border-radius: 14px; padding: 8px; background: #0b0d10; box-shadow: 0 18px 40px -22px rgba(0,0,0,.6); }
.sw-pantalla { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #111; }
.sw-s { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.sw-s.s0 { opacity: 1; }
.sw-rotulos { position: absolute; left: 10px; top: 10px; }
.sw-et { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 11.5px; font-weight: 650; letter-spacing: .04em; color: #fff; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.18); padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(6px); opacity: 0; }
.sw-et.e0 { opacity: 1; }
.sw-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: rgba(10,12,16,.72); backdrop-filter: blur(8px); }
.sw-barra i { width: 12px; height: 12px; border-radius: 3px; background: rgba(255,255,255,.28); }
.sw-barra i:first-child { background: #4f8cff; }
.sw-barra b { margin-left: auto; width: 34px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.3); }
.sw-pie { width: 26%; height: 14px; margin: 0 auto; background: linear-gradient(#1a1d22, #0b0d10); border-radius: 0 0 10px 10px; }
.sw-fuentes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.sw-fuentes span { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--linea); background: var(--tarjeta); color: var(--texto); }
@media (prefers-reduced-motion: no-preference) {
  .sw-s, .sw-et { animation: sw-pasa 15s infinite; }
  .sw-s.s0, .sw-et.e0 { animation-delay: 0s; } .sw-s.s1, .sw-et.e1 { animation-delay: 2.5s; } .sw-s.s2, .sw-et.e2 { animation-delay: 5s; }
  .sw-s.s3, .sw-et.e3 { animation-delay: 7.5s; } .sw-s.s4, .sw-et.e4 { animation-delay: 10s; } .sw-s.s5, .sw-et.e5 { animation-delay: 12.5s; }
  .sw-s:not(.s0), .sw-et:not(.e0) { animation-fill-mode: backwards; }
  .v-panel.activo .sw-s { animation-play-state: running; }
}
/* cada fondo: entra con fundido, queda 2,5 s y se va mientras entra el siguiente */
@keyframes sw-pasa { 0% { opacity: 0; } 4% { opacity: 1; } 16.7% { opacity: 1; } 21% { opacity: 0; } 100% { opacity: 0; } }

/* Qalpath: los cuatro tramos del ciclo se dibujan en orden (P → H → V → A) y cada letra se enciende cuando empieza el suyo */
.qp-ciclo svg { transform: none; }
.qp-ciclo .avance { display: none; }
.qp-ciclo .tramo { fill: none; stroke: #01414c; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 69.2; stroke-dashoffset: 0; }
@media (prefers-color-scheme: dark) { .qp-ciclo .tramo { stroke: #46aabe; } }
.qp-ciclo li b { transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .v-panel.activo .qp-ciclo li b { animation: none; }
  .v-panel.activo .qp-ciclo .tramo { animation: 8s linear infinite; }
  .v-panel.activo .qp-ciclo .t0 { animation-name: qp-t0; } .v-panel.activo .qp-ciclo .t1 { animation-name: qp-t1; }
  .v-panel.activo .qp-ciclo .t2 { animation-name: qp-t2; } .v-panel.activo .qp-ciclo .t3 { animation-name: qp-t3; }
  .v-panel.activo .qp-e0 b { animation: qp-n0 8s linear infinite; } .v-panel.activo .qp-e1 b { animation: qp-n1 8s linear infinite; }
  .v-panel.activo .qp-e2 b { animation: qp-n2 8s linear infinite; } .v-panel.activo .qp-e3 b { animation: qp-n3 8s linear infinite; }
}
/* tramo i: vacío hasta su turno, se dibuja en su 20 % del ciclo, queda hecho y al final todo se apaga para volver a empezar */
@keyframes qp-t0 { 0% { stroke-dashoffset: 69.2; opacity: 1; } 20% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes qp-t1 { 0%, 20% { stroke-dashoffset: 69.2; opacity: 1; } 40% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes qp-t2 { 0%, 40% { stroke-dashoffset: 69.2; opacity: 1; } 60% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes qp-t3 { 0%, 60% { stroke-dashoffset: 69.2; opacity: 1; } 80% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* letra i: se enciende con un fundido corto al empezar su tramo, queda encendida (etapa cumplida) y se apaga al reiniciar */
@keyframes qp-n0 { 0% { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); } 3%, 90% { background: #01414c; color: #fff; border-color: #01414c; } 100% { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); } }
@keyframes qp-n1 { 0%, 20% { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); } 23%, 90% { background: #01414c; color: #fff; border-color: #01414c; } 100% { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); } }
@keyframes qp-n2 { 0%, 40% { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); } 43%, 90% { background: #01414c; color: #fff; border-color: #01414c; } 100% { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); } }
@keyframes qp-n3 { 0%, 60% { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); } 63%, 90% { background: #01414c; color: #fff; border-color: #01414c; } 100% { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); } }

/* v3: encabezados de sección = título y subtítulo debajo (antes, título angosto a la izquierda y bajada suelta a la derecha) */
.cabecera { display: block; }
.cabecera h2 { font-size: clamp(32px, 3.6vw, 54px); }
.cabecera > p, .cabecera > div + p { margin-top: 14px; font-size: clamp(17px, 1.35vw, 21px); color: var(--suave); }
/* v3b: letras del ciclo encendidas en orden (más peso que la regla vieja) y el nombre de la etapa en el centro */
.v-panel.activo .qp-ciclo .qp-e0 b { animation: qp-n0 8s linear infinite; } .v-panel.activo .qp-ciclo .qp-e1 b { animation: qp-n1 8s linear infinite; }
.v-panel.activo .qp-ciclo .qp-e2 b { animation: qp-n2 8s linear infinite; } .v-panel.activo .qp-ciclo .qp-e3 b { animation: qp-n3 8s linear infinite; }
.qp-ciclo li span { display: none; }
.qp-ciclo li { display: block; }
.qp-e1 { right: 0; } .qp-e3 { left: 0; }
.qp-centro { position: absolute; inset: 30%; display: grid; place-items: center; text-align: center; }
.qp-centro span { grid-area: 1 / 1; font-size: 14px; font-weight: 650; color: var(--tinta); opacity: 0; }
.qp-centro .c0 { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .v-panel.activo .qp-centro .c0 { animation: qp-c0 8s linear infinite; } .v-panel.activo .qp-centro .c1 { animation: qp-c1 8s linear infinite; }
  .v-panel.activo .qp-centro .c2 { animation: qp-c2 8s linear infinite; } .v-panel.activo .qp-centro .c3 { animation: qp-c3 8s linear infinite; }
}
@keyframes qp-c0 { 0%, 18% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes qp-c1 { 0%, 19% { opacity: 0; } 22%, 38% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes qp-c2 { 0%, 39% { opacity: 0; } 42%, 58% { opacity: 1; } 61%, 100% { opacity: 0; } }
@keyframes qp-c3 { 0%, 59% { opacity: 0; } 62%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }

/* v3d (30/11/26): PHVA de Qalpath. Arranca gris, la 1.ª vuelta pone el azul y después el violeta y el azul se tapan por turnos.
   Las letras son círculos claros (borde y letra del color de la vuelta) con un halo que los separa del anillo. */
.qp-ciclo { --qp-azul: #01414c; --qp-violeta: #6d28d9; }
@media (prefers-color-scheme: dark) { .qp-ciclo { --qp-azul: #46aabe; --qp-violeta: #a78bfa; } }
.qp-ciclo .tramo { display: none; }
.qp-ciclo .arco { fill: none; stroke-width: 10; stroke-linecap: butt; stroke-dasharray: 69.2; stroke-dashoffset: 69.2; }
.qp-ciclo .arco.ini { stroke: var(--qp-azul); stroke-dashoffset: 0; }
.qp-ciclo .arco.azul { stroke: var(--qp-azul); }
.qp-ciclo .arco.violeta { stroke: var(--qp-violeta); }
.qp-ciclo li b { width: 32px; height: 32px; font-size: 14px; font-weight: 750; border-width: 2.5px;
  background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul);
  box-shadow: 0 0 0 4px var(--tarjeta), 0 4px 10px -4px rgba(0,0,0,.35); }
.qp-centro .c0 { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .v-panel.activo .qp-ciclo .arco.ini.s0 { animation: qp-i0 8s linear both; }
  .v-panel.activo .qp-ciclo .arco.violeta.s0 { animation: qp-v0 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .arco.azul.s0 { animation: qp-a0 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .qp-e0 b { animation: qp-li0 8s linear both, qp-l0 16s linear 8s infinite; }
  .v-panel.activo .qp-centro .c0 { animation: qp-mi0 8s linear both, qp-m0 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .arco.ini.s1 { animation: qp-i1 8s linear both; }
  .v-panel.activo .qp-ciclo .arco.violeta.s1 { animation: qp-v1 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .arco.azul.s1 { animation: qp-a1 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .qp-e1 b { animation: qp-li1 8s linear both, qp-l1 16s linear 8s infinite; }
  .v-panel.activo .qp-centro .c1 { animation: qp-mi1 8s linear both, qp-m1 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .arco.ini.s2 { animation: qp-i2 8s linear both; }
  .v-panel.activo .qp-ciclo .arco.violeta.s2 { animation: qp-v2 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .arco.azul.s2 { animation: qp-a2 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .qp-e2 b { animation: qp-li2 8s linear both, qp-l2 16s linear 8s infinite; }
  .v-panel.activo .qp-centro .c2 { animation: qp-mi2 8s linear both, qp-m2 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .arco.ini.s3 { animation: qp-i3 8s linear both; }
  .v-panel.activo .qp-ciclo .arco.violeta.s3 { animation: qp-v3 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .arco.azul.s3 { animation: qp-a3 16s linear 8s infinite; }
  .v-panel.activo .qp-ciclo .qp-e3 b { animation: qp-li3 8s linear both, qp-l3 16s linear 8s infinite; }
  .v-panel.activo .qp-centro .c3 { animation: qp-mi3 8s linear both, qp-m3 16s linear 8s infinite; }
}
@keyframes qp-i0 { 0%, 0% { stroke-dashoffset: 69.2; } 25%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-v0 { 0%, 0.0% { stroke-dashoffset: 69.2; } 12.5%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-a0 { 0%, 50.0% { stroke-dashoffset: 69.2; } 62.5%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-li0 { 0%, 0% { background: var(--tarjeta); color: var(--suave); border-color: var(--linea); } 3%, 100% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } }
@keyframes qp-l0 { 0%, 0.0% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } 1.5%, 50.0% { background: var(--tarjeta); color: var(--qp-violeta); border-color: var(--qp-violeta); } 51.5%, 100% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } }
@keyframes qp-mi0 { 0%, 23% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes qp-m0 { 0%, 11.5% { opacity: 1; } 12.5%, 50.0% { opacity: 0; } 51.0%, 61.5% { opacity: 1; } 62.5%, 100% { opacity: 0; } }
@keyframes qp-i1 { 0%, 25% { stroke-dashoffset: 69.2; } 50%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-v1 { 0%, 12.5% { stroke-dashoffset: 69.2; } 25.0%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-a1 { 0%, 62.5% { stroke-dashoffset: 69.2; } 75.0%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-li1 { 0%, 25% { background: var(--tarjeta); color: var(--suave); border-color: var(--linea); } 28%, 100% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } }
@keyframes qp-l1 { 0%, 12.5% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } 14.0%, 62.5% { background: var(--tarjeta); color: var(--qp-violeta); border-color: var(--qp-violeta); } 64.0%, 100% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } }
@keyframes qp-mi1 { 0%, 25% { opacity: 0; } 27%, 48% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes qp-m1 { 0%, 12.5% { opacity: 0; } 13.5%, 24.0% { opacity: 1; } 25.0%, 62.5% { opacity: 0; } 63.5%, 74.0% { opacity: 1; } 75.0%, 100% { opacity: 0; } }
@keyframes qp-i2 { 0%, 50% { stroke-dashoffset: 69.2; } 75%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-v2 { 0%, 25.0% { stroke-dashoffset: 69.2; } 37.5%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-a2 { 0%, 75.0% { stroke-dashoffset: 69.2; } 87.5%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-li2 { 0%, 50% { background: var(--tarjeta); color: var(--suave); border-color: var(--linea); } 53%, 100% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } }
@keyframes qp-l2 { 0%, 25.0% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } 26.5%, 75.0% { background: var(--tarjeta); color: var(--qp-violeta); border-color: var(--qp-violeta); } 76.5%, 100% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } }
@keyframes qp-mi2 { 0%, 50% { opacity: 0; } 52%, 73% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes qp-m2 { 0%, 25.0% { opacity: 0; } 26.0%, 36.5% { opacity: 1; } 37.5%, 75.0% { opacity: 0; } 76.0%, 86.5% { opacity: 1; } 87.5%, 100% { opacity: 0; } }
@keyframes qp-i3 { 0%, 75% { stroke-dashoffset: 69.2; } 100%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-v3 { 0%, 37.5% { stroke-dashoffset: 69.2; } 50.0%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-a3 { 0%, 87.5% { stroke-dashoffset: 69.2; } 100.0%, 100% { stroke-dashoffset: 0; } }
@keyframes qp-li3 { 0%, 75% { background: var(--tarjeta); color: var(--suave); border-color: var(--linea); } 78%, 100% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } }
@keyframes qp-l3 { 0%, 37.5% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } 39.0%, 87.5% { background: var(--tarjeta); color: var(--qp-violeta); border-color: var(--qp-violeta); } 89.0%, 100% { background: var(--tarjeta); color: var(--qp-azul); border-color: var(--qp-azul); } }
@keyframes qp-mi3 { 0%, 75% { opacity: 0; } 77%, 98% { opacity: 1; } 100%, 100% { opacity: 0; } }
@keyframes qp-m3 { 0%, 37.5% { opacity: 0; } 38.5%, 49.0% { opacity: 1; } 50.0%, 87.5% { opacity: 0; } 88.5%, 99.0% { opacity: 1; } 100.0%, 100% { opacity: 0; } }

/* v3e (30/11/26): al revelarse, los círculos del método no se vuelven transparentes (la línea se veía a través y "tachaba"
   los números): el círculo entra opaco, creciendo desde chico, y sólo el texto se funde. */
html.js .metodo.oculto .m-paso, html.js .metodo .m-paso.revela.oculto { opacity: 1; transform: none; }
.metodo .m-paso:nth-child(2) { --d: .15s; } .metodo .m-paso:nth-child(3) { --d: .3s; }
.metodo .m-paso:nth-child(4) { --d: .45s; } .metodo .m-paso:nth-child(5) { --d: .6s; }
@media (prefers-reduced-motion: no-preference) {
  html.js .metodo.oculto .m-nodo, html.js .metodo .m-paso.oculto .m-nodo { transform: scale(.4); }
  html.js .metodo.oculto .m-paso h3, html.js .metodo.oculto .m-paso p,
  html.js .metodo .m-paso.oculto h3, html.js .metodo .m-paso.oculto p { opacity: 0; transform: translateY(14px); }
  html.js .metodo .m-paso.visible .m-nodo { transition: transform .5s cubic-bezier(.3,1.4,.5,1) var(--d, 0s); }
  html.js .metodo .m-paso.visible h3, html.js .metodo .m-paso.visible p { transition: opacity .6s ease calc(var(--d, 0s) + .12s), transform .6s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0s) + .12s); }
}

/* ---------- v4 (30/11/26): productos en dos grupos, nota del héroe y consultoría ---------- */
.v-grupo { margin: 10px 2px 0; display: grid; gap: 2px; }
.v-grupo:first-child { margin-top: 0; }
.v-grupo b { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--verde); }
.v-grupo small { font-size: 13px; line-height: 1.4; color: var(--suave); }
@media (max-width: 1100px) { .v-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v-grupo { grid-column: 1 / -1; } }
.heroe-nota { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.heroe-nota span { font-size: 13.5px; font-weight: 600; color: var(--texto); padding: 4px 12px; border-radius: 99px; border: 1px solid var(--linea); background: var(--tarjeta); }
.consultoria { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.consultoria-texto h2 { font-size: clamp(32px, 3.6vw, 54px); margin-bottom: 14px; }
.consultoria-texto > p:not(.antetitulo) { font-size: 18px; color: var(--texto); margin-bottom: 24px; }
.consultoria-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.servicio { padding: 22px; border-radius: 18px; border: 1px solid var(--linea); background: var(--tarjeta); }
.servicio h3 { font-size: 17px; margin: 14px 0 6px; }
.servicio p { font-size: 15px; color: var(--texto); }
.s-icono { display: block; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--verde-vivo) 14%, transparent); position: relative; }
.s-icono::before, .s-icono::after { content: ""; position: absolute; background: var(--verde); border-radius: 2px; }
.s-icono.tablero::before { left: 10px; bottom: 10px; width: 5px; height: 12px; box-shadow: 8px -6px 0 var(--verde), 16px -2px 0 var(--verde); }
.s-icono.reporte::before { left: 11px; top: 9px; width: 18px; height: 22px; background: none; border: 2.5px solid var(--verde); border-radius: 3px; }
.s-icono.reporte::after { left: 16px; top: 16px; width: 9px; height: 2.5px; box-shadow: 0 5px 0 var(--verde); }
.s-icono.datos::before { left: 9px; top: 9px; width: 9px; height: 9px; border-radius: 50%; box-shadow: 13px 0 0 var(--verde), 6px 13px 0 var(--naranja-vivo); }
.s-icono.calidad::before { left: 10px; top: 10px; width: 20px; height: 20px; background: none; border: 2.5px solid var(--verde); border-radius: 50%; }
.s-icono.calidad::after { left: 15px; top: 18px; width: 10px; height: 5px; background: none; border: solid var(--naranja-vivo); border-width: 0 0 2.5px 2.5px; border-radius: 0; transform: rotate(-45deg); }
@media (max-width: 960px) { .consultoria { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .consultoria-items { grid-template-columns: 1fr; } }

/* v4b (30/11/26): el logo nunca se achica de ancho (el menú lo apretaba entre 860 y ~1000 px y quedaba deforme) */
.encabezado .marca { flex-shrink: 0; }
.marca img { max-width: none; width: auto; height: 30px; }
@media (max-width: 1000px) { .menu { gap: 14px; font-size: 14px; } }

/* v4c (30/11/26): compromiso de la consultoría (lo hecho a medida es del cliente) */
.consultoria-texto > p.compromiso { font-size: 15.5px; line-height: 1.55; color: var(--tinta); margin: -6px 0 24px; padding: 14px 16px 14px 44px; border-radius: 14px; border: 1px solid var(--linea); background: var(--tarjeta); position: relative; }
.compromiso::before { content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%; background: var(--verde-vivo); }
.compromiso::after { content: ""; position: absolute; left: 21px; top: 20.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* v4d (30/11/26): barra del disco de DiskBrio con una mini separación entre segmentos (lo libre va como un segmento más) */
.db-barra { gap: 3px; background: transparent; }
.db-barra i { border-radius: 3px; }
.db-barra::after { content: ""; flex: 1; border-radius: 3px; background: var(--linea); }
