/* ============================================================
   PÁGINA DE POSICIONAMIENTO EN IA (/servicios/marketing/visibilidad-ia/)
   v7 (usuario, 5-6 nov 2026): versión B del comparador, «el diagnóstico
   como oferta». Cabecera con la pregunta y la réplica de ChatGPT; lo que te
   llevas de la reunión con un informe de ejemplo; caso de QCC en marino;
   las seis fuentes en filas; el proceso como línea de tiempo; preguntas y
   cierre. Escala: h1 3,25 rem, apartados 2,5 rem, texto 17 px. Sin sombras
   ni degradados. Radios solo en la réplica de ChatGPT, que imita una
   pantalla ajena.
   ============================================================ */

/* Réplica de la interfaz de ChatGPT (usuario, 4 nov 2026: «exactamente la
   interfaz, sin darle nuestro estilo»). Es la única pieza del sitio con
   esquinas redondeadas y la tipografía del sistema, porque imita una pantalla
   ajena; sigue sin sombras: la ventana se separa con su borde. Sin el
   logotipo de OpenAI. Las tres conversaciones van apiladas en la misma celda,
   así que la ventana no salta al cambiar. */
.gpt { margin: 0 }
.gpt__win { background: #fff; border: 1px solid #e3e3e3; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif; color: #0d0d0d; font-size: 14.5px; line-height: 1.5; letter-spacing: 0 }
/* Un solo margen interior para todo (--gpt-x): barra, conversación y caja de escribir alinean al píxel. */
.gpt { --gpt-x: 20px }
.gpt__top { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 14px var(--gpt-x) 6px }
.gpt__model { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; font-weight: 500; color: #0d0d0d; padding: 6px 0 }
.gpt__model svg, .gpt__new svg, .gpt__send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.gpt__new { width: 34px; height: 34px; display: grid; place-items: center; margin-right: -9px; color: #5d5d5d; border-radius: 10px }
.gpt__body { display: grid; padding: 8px var(--gpt-x) 4px; flex: 1 }
.gpt__conv { grid-area: 1/1; display: flex; flex-direction: column }
.gpt__user { align-self: flex-end; max-width: 80%; margin: 2px 0 14px; padding: 9px 16px; background: #f4f4f4; border-radius: 18px; font-size: 14.5px }
.gpt__bot p { margin: 0 }
.gpt__intro { margin-bottom: 12px !important }
.gpt__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px }
.gpt__card { display: flex; flex-direction: column; gap: 1px; border: 1px solid #e3e3e3; border-radius: 14px; padding: 8px 8px 10px; font-size: 12.5px; line-height: 1.35; min-width: 0 }
.gpt__img { display: block; aspect-ratio: 2/1; border-radius: 9px; background: #ececec; margin-bottom: 7px }
.gpt__card b { font-weight: 600; font-size: 13px; overflow-wrap: anywhere }
.gpt__rate { color: #0d0d0d } .gpt__rate i { font-style: normal; color: #0d0d0d } .gpt__rate span { color: #8f8f8f }
.gpt__type { color: #5d5d5d }
.gpt__list { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 8px }
.gpt__list li { padding-left: 2px }
.gpt__list b { font-weight: 600 }
.gpt__chip { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; background: #f4f4f4; color: #5d5d5d; font-size: 11.5px; line-height: 20px; vertical-align: 1px }
.gpt__close { margin-bottom: 6px !important }
/* La pastilla de la fuente va con su última palabra: nunca baja sola a otra línea. */
.gpt__nb { white-space: nowrap }
.gpt__comp { display: flex; align-items: center; gap: 12px; margin: 8px var(--gpt-x) var(--gpt-x); padding: 9px 9px 9px 16px; border: 1px solid #e3e3e3; border-radius: 28px; color: #8f8f8f; font-size: 15px }
.gpt__plus { position: relative; top: -2px; font-size: 22px; line-height: 1; color: #5d5d5d }
.gpt__ph { flex: 1 }
.gpt__send { width: 34px; height: 34px; border-radius: 50%; background: #0d0d0d; color: #fff; display: grid; place-items: center }
.gpt__cap { margin: 12px var(--gpt-x) 0; font-size: var(--t-xs); color: var(--ink-3) }
@media (max-width: 900px) {
  .gpt { --gpt-x: 16px }
  .gpt__cards { gap: 6px }
  .gpt__card { padding: 6px 6px 8px; font-size: 11.5px }
  .gpt__card b { font-size: 12px }
}

/* =================================================================
   CABECERA: la pregunta a la izquierda, ChatGPT a la derecha
   ================================================================= */
.vh { background: var(--bone); padding-block: 56px 72px; position: relative; isolation: isolate; overflow: hidden }
/* Foto de fondo bajo velo hueso, como las demás cabeceras interiores (usuario,
   6 nov 2026; prompt en docs/prompts-imagenes/prompts-visibilidad-ia-para-copiar.md).
   Velo al 62 %, el suelo medido para el titular marino. */
.vh__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50% }
.vh::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(244, 242, 238, .62) }

.vh > .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center }
.vh__t { grid-column: 1 / span 6 }
.vh__f { grid-column: 8 / span 5 }
.vh h1 { margin: 0; font-size: 3.25rem; line-height: 1.05; letter-spacing: -.035em; font-weight: 600; color: var(--brand); text-wrap: balance }
.vh__d { margin: 24px 0 0; max-width: 44ch; font-size: var(--t-lg); line-height: 1.55; color: var(--ink-2) }
.vs a:not(.btn):not(.link) { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px }
.vh__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 36px }
.vh__go .btn--o { padding-inline: 28px }

/* =================================================================
   APARTADOS a todo el ancho: los separa el cambio de fondo, sin filete
   (usuario, 6 nov 2026). Secuencia: hueso → hueso 2 → marino → hueso →
   hueso 2 → hueso; nunca dos fondos iguales seguidos.
   ================================================================= */
.vs { padding-block: 96px; scroll-margin-top: 80px }
.vs--b2 { background: var(--bone-2); --line: var(--line-2) }
.vs--brand { background: var(--brand); color: var(--on-ink) }
.vs > .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter) }
.vs h2 { margin: 0; font-size: 2.5rem; line-height: 1.08; letter-spacing: -.035em; font-weight: 600; color: var(--brand); text-wrap: balance }
.vs--brand h2 { color: var(--on-ink) }
.vs__h { grid-column: 1 / span 5 }
.vs__h--wide { grid-column: 1 / span 8 }
.vs__p { margin: 20px 0 0; font-size: var(--t-base); line-height: 1.65; color: var(--ink-2); max-width: 52ch }
.vs__c { grid-column: 7 / span 6 }
.vs__full { grid-column: 1 / -1 }
.vs__h + .vs__full { margin-top: 48px }

/* 01 · lo que te llevas de la primera reunión: tres pasos y el informe de ejemplo */
#diagnostico .vs__h, #diagnostico .vs__c { align-self: center }
.vsteps { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 20px }
.vsteps li { display: grid; gap: 2px }
.vsteps b { font-size: 1.25rem; letter-spacing: -.02em; font-weight: 600; color: var(--brand) }
.vsteps span { font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2) }
.vsteps__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px }
.vsteps__go small { font-size: var(--t-xs); color: var(--ink-3) }
/* El informe, como una pantalla real (js/informe-ia.js; usuario, 6 nov 2026):
   pestañas por motor (ChatGPT, Gemini y Claude), respuesta, clínicas con barras y fuentes que más pesan.
   Imita una herramienta ajena, como las miniinterfaces: esquinas redondeadas y
   tipografía del sistema. */
.rep { margin: 0; background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; overflow: hidden; font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.45; color: #0d0d0d }
.rep p { margin: 0 }
.rep__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px 12px }
.rep__top p { display: grid }
.rep__top b { font-size: 15px; font-weight: 600 }
.rep__top p span { color: #6b6b6b; font-size: 12px }
.rep__pill { padding: 3px 10px; border-radius: 999px; background: #f2f4f7; color: #5f5f5f; font-size: 11.5px; white-space: nowrap }
.rep__tabs { display: flex; gap: 4px; padding: 0 16px; border-bottom: 1px solid #ededed }
.rep__tabs button { padding: 9px 10px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: inherit; font-size: 12.5px; font-weight: 500; color: #6b6b6b; cursor: pointer; min-height: 40px }
.rep__tabs button[aria-selected="true"] { color: #0d0d0d; border-bottom-color: #0d0d0d }
.rep__z { padding: 14px 20px; border-bottom: 1px solid #f2f2f2 }
.rep__z:last-child { border-bottom: 0 }
.rep__k { margin-bottom: 8px !important; font-size: 11.5px; font-weight: 600; color: #8a8a8a }
.rep__ans { padding: 10px 12px; background: #f4f4f4; border-radius: 12px; color: #2b2b2b }
.rep__ans b { font-weight: 600; color: #0d0d0d }
.rep__eng { font-weight: 600 }
.rep__l { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px }
.rep__l li { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: 12px; color: #5f5f5f }
.rep__l i { display: block; height: 8px; border-radius: 4px; background: #eff1f4; position: relative; overflow: hidden }
.rep__l i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--a); background: #c9ced6; border-radius: 4px; transition: width .5s cubic-bezier(.16, 1, .3, 1) }
.rep__l[data-m="b"] i::before { width: var(--b) } .rep__l[data-m="c"] i::before { width: var(--c) }
.rep__l li.is-tu { color: var(--brand); font-weight: 600 }
.rep__l li.is-tu i::before { background: var(--brand) }
.rep__src { display: flex; flex-wrap: wrap; gap: 6px }
.rep__src span { padding: 3px 10px; border-radius: 999px; background: #eef2f8; color: var(--brand); font-size: 12px; font-weight: 500 }
@media (prefers-reduced-motion: reduce) { .rep__l i::before { transition: none } }

/* Con JavaScript (js/fuentes-ia.js), las seis fuentes son miniinterfaces
   reales en un mosaico quieto tipo bento: la ventana de ChatGPT es la pieza
   grande y las réplicas encajan alrededor (usuario, 6 nov 2026; descartadas
   la órbita, la elipse y el movimiento). Se alzan al pasar el ratón: crecen un
   poco con una sombra suave. Como la réplica de la cabecera, imitan pantallas
   ajenas: son las únicas piezas con esquinas redondeadas, tipografía del
   sistema y sombra. */
#fuentes .container { align-items: center }
.is-orbit .vsrc { display: none }
.vst { grid-column: 5 / -1; display: grid; grid-template-columns: 1fr 1.15fr 1.15fr 1fr; grid-template-rows: 176px 176px 176px; gap: 14px;
  --ui: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif }
.vst > .mi--ficha { grid-column: 1 / span 2; grid-row: 1 }
.vst > .mi--resena { grid-column: 3; grid-row: 1 }
.vst > .mi--perfil { grid-column: 4; grid-row: 1 }
.vst > .mi--datos { grid-column: 1; grid-row: 2 }
.vst > .mi--prensa { grid-column: 1; grid-row: 3 }
.vst > .mi--pagina { grid-column: 4; grid-row: 2 / span 2 }
.vst > .vst__core { grid-column: 2 / span 2; grid-row: 2 / span 2 }

/* ventana de ChatGPT */
.vst__core { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 14px 16px 16px; background: #fff; border: 1px solid #e5e5e5; border-radius: 18px; font-family: var(--ui); font-size: 13.5px; line-height: 1.5; color: #0d0d0d }
.vst__core p { margin: 0 }
.vst__top { display: flex; gap: 14px; align-items: center; padding-bottom: 11px; margin-bottom: 12px !important; border-bottom: 1px solid #f0f0f0 }
.vst__top svg { width: 22px; height: 22px }
.vst__user { margin: 0 0 12px auto !important; width: fit-content; max-width: 88%; padding: 7px 12px; background: #f4f4f4; border-radius: 14px }
.vst__bot { min-height: 6em; font-size: 14.5px; line-height: 1.55 }
.vst__txt b { font-weight: 600 }
.vst__chip { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: #f4f4f4; color: #6b6b6b; font-size: 11px; line-height: 19px; opacity: 0; transition: opacity .25s ease }
.vst__chip.is-on { opacity: 1 }
.vst__comp { margin-top: auto !important; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 14px; border: 1px solid #e5e5e5; border-radius: 24px; color: #9a9a9a; font-size: 13px }
.vst__comp i { width: 26px; height: 26px; border-radius: 50%; background: #0d0d0d }

/* miniinterfaces */
.mi { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left; background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden;
  font-family: var(--ui); font-size: 12px; line-height: 1.45; color: #0d0d0d; cursor: pointer;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .35s ease }
.mi.is-on { border-color: #cfcfcf }
@media (hover: hover) { .vst > .mi:hover { z-index: 3; transform: scale(1.03); box-shadow: 0 16px 34px -14px rgba(20, 18, 16, .24) } }
@media (hover: none) { .vst > .mi.is-on { z-index: 3; transform: scale(1.03); box-shadow: 0 16px 34px -14px rgba(20, 18, 16, .24) } }
.vst > .mi:focus-visible { z-index: 3; transform: scale(1.03); box-shadow: 0 16px 34px -14px rgba(20, 18, 16, .24) }
.mi:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px }
.mi em { font-style: normal; color: #8a8a8a }
.mi__b { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 12px 14px 14px }
.mi__h { display: block; font-size: 13px; line-height: 1.3; font-weight: 600; color: #0d0d0d }
.mi__r, .mi__m { color: #5f5f5f }
.mi__st { color: #f2a900; letter-spacing: -.5px; font-size: 11px }
.mi__open { color: #188038 }
.mi__map { position: relative; display: block; flex: 1; min-height: 70px; background: #eceff1 }
.mi--ficha .mi__b, .mi--pagina .mi__b { flex: none }
.mi__img { display: block; flex: 1; min-height: 56px; background: #eef1f4 }
.mi__btn { align-self: flex-start; margin-top: 8px; padding: 4px 12px; background: #0d0d0d; color: #fff; border-radius: 7px; font-weight: 600; font-size: 11px }
.mi__map svg { position: absolute; inset: 0; width: 100%; height: 100% }
.mi__map i { position: absolute; left: 50%; top: 46%; width: 14px; height: 14px; margin: -9px 0 0 -7px; background: #e94235; border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) }
.mi__who { display: flex; align-items: center; gap: 9px; margin-bottom: 4px }
.mi__who i { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e8edf5; color: var(--brand); font-style: normal; font-weight: 600; font-size: 12px }
.mi__who > span { display: grid; line-height: 1.3 }
.mi__who b { font-weight: 600 }
.mi__q { margin-top: 4px; color: #2b2b2b }
.mi__cta { margin-top: 8px; padding: 6px 0; text-align: center; background: #00b39b; color: #fff; border-radius: 7px; font-weight: 600 }
.mi__url { flex: none; display: flex; align-items: center; gap: 6px; padding: 7px 11px; background: #f3f4f5; border-bottom: 1px solid #ececec; color: #6b6b6b; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.mi__url i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #c8c8c8 }
.mi__ln { display: grid; gap: 6px; margin-top: 7px }
.mi__ln i { display: block; height: 5px; background: #efefef; border-radius: 3px } .mi__ln i:nth-child(2) { width: 86% } .mi__ln i:nth-child(3) { width: 58% }
.mi__mast { padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid #ededed; font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-weight: 700; letter-spacing: -.01em }
.mi__ok { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px }
.mi__ok span { padding: 1px 7px; border-radius: 999px; background: #e9f4ec; color: #1e7b3a; font-size: 10.5px }
.mi__ok span::before { content: '✓ ' }
@media (prefers-reduced-motion: reduce) { .mi, .vst__chip { transition: none } }

/* texto de la fuente elegida, bajo la entradilla */
.vorb__p { margin-top: 36px; padding-top: 20px; border-top: 2px solid var(--brand); min-height: 9.5rem }
.vorb__p > * { animation: vorb-in .55s cubic-bezier(.16, 1, .3, 1) both }
.vorb__p > p:last-child { animation-delay: .06s }
@keyframes vorb-in { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.vorb__t { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; color: var(--brand) }
.vorb__p p:not(.vorb__t) { margin: 0; font-size: var(--t-base); line-height: 1.55; color: var(--ink-2); max-width: 40ch }
@media (prefers-reduced-motion: reduce) { .vorb__p > * { animation: none } }

/* 03 · el caso, en marino: la cifra a la izquierda y, a la derecha, lo que
   tienen otras clínicas frente a lo que gana la tuya con nosotros, con su CTA
   (usuario, 6 nov 2026; las dos barras repetían la cifra y salieron). Cifra,
   frase y botón forman un bloque; sin nota de medición (usuario, 6 nov). */
.vcase__n { margin: 40px 0 0; font-size: 5.5rem; line-height: .86; letter-spacing: -.04em; font-weight: 600; color: var(--on-ink) }
.vcase__s { margin: 20px 0 0; font-size: var(--t-lg); line-height: 1.5; color: var(--on-ink); max-width: 30ch }
#caso .vs__c { align-self: center }
.vmap { width: 100%; border-collapse: collapse; font-size: var(--t-sm); line-height: 1.5 }
.vmap th { padding: 0 0 12px; text-align: left; font-size: var(--t-xs); font-weight: 600; color: var(--on-ink-3); border-bottom: 1px solid var(--on-ink) }
.vmap th + th { color: var(--on-ink) }
.vmap td { padding: 16px 0; vertical-align: top; border-bottom: 1px solid var(--line-on-ink); color: var(--on-ink-2); width: 50% }
.vmap td + td, .vmap th + th { padding-left: var(--gutter) }
.vmap td + td { color: var(--on-ink) }
.vcase__go { margin-top: 40px }

/* 02 · las seis fuentes, antes del caso: qué lee la IA, en una rejilla de
   3 × 2 sin cajas (usuario, 6 nov 2026; lo que hacemos lo cuentan la tabla
   del caso y el proceso). */
.vsrc__h { grid-column: 1 / span 4; align-self: start }
.vsrc { grid-column: 6 / -1; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gutter) }
.vsrc li { border-top: 2px solid var(--brand); padding-top: 18px }
.vsrc__n { display: block; font-size: 2rem; line-height: 1; letter-spacing: -.035em; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums }
.vsrc h3 { margin: 16px 0 8px; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; color: var(--brand) }
.vsrc p { margin: 0; font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2) }

/* 04 · el proceso, con lo que recibes en pantalla (js/proceso-ia.js; usuario,
   6 nov 2026): los cinco pasos a la izquierda y, a la derecha, una pantalla
   fija que enseña el entregable del paso que está a media pantalla, con el
   botón de contacto debajo. Las pantallas imitan herramientas ajenas, como las
   miniinterfaces. En el teléfono no hay pantalla: pasos y botón. */
.vpr > .container { align-items: start }
.vpr__h { grid-column: 1 / span 6 }
.vpr__l { grid-column: 1 / span 6; margin: 40px 0 0; padding: 0; list-style: none }
.vpr__s { min-height: 30vh; padding: 0 0 40px }
.vpr__s:last-child { min-height: 0 }
.vpr__s h3 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; color: var(--brand); transition: color .3s ease }
.vpr__s p { margin: 0; max-width: 46ch; font-size: var(--t-base); line-height: 1.55; color: var(--ink-2); transition: color .3s ease }
.vpr__s .vpr__r { margin-top: 6px; color: var(--ink) }
.vpr__r b { font-weight: 600 }
.vpr__l.is-live .vpr__s:not(.is-on) h3, .vpr__l.is-live .vpr__s:not(.is-on) p { color: var(--ink-3) }
/* La pantalla se queda centrada en la ventana mientras se baja: 400 px de
   pantalla + 20 de hueco + 64 de botón, centrados en el alto útil bajo la
   barra de 80 px. */
.vpr__side { grid-column: 8 / -1; grid-row: 1 / span 2; position: sticky; top: calc(50vh + 40px - 242px); display: grid; gap: 20px }
.vpr__go { justify-self: start }
.vpr__screen { display: grid; height: 400px; background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; overflow: hidden; font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 12.5px; line-height: 1.45; color: #0d0d0d }
.scr { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 20px; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s cubic-bezier(.16, 1, .3, 1); pointer-events: none }
.scr.is-on { opacity: 1; transform: none }
.scr p { margin: 0 }
.scr .rep__k { margin: 2px 0 -4px !important }
.scr__hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0 }
.scr__hd p { display: grid }
.scr__hd b { font-size: 14.5px; font-weight: 600 }
.scr__hd p span { font-size: 11.5px; color: #6b6b6b }
.scr__pill { padding: 3px 10px; border-radius: 999px; background: #f2f4f7; color: #5f5f5f; font-size: 11px; white-space: nowrap }
.scr .vst__user { margin: 0 0 0 auto; width: fit-content; max-width: 85%; padding: 7px 12px; background: #f4f4f4; border-radius: 14px }
.scr__bot { color: #2b2b2b }

/* 1 · diagnóstico */
.scr__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
.scr__cards span { display: grid; gap: 1px; padding: 7px; border: 1px solid #e8e8e8; border-radius: 10px; font-size: 11.5px }
.scr__cards i { height: 34px; margin-bottom: 5px; border-radius: 6px; background: #eceff1 }
.scr__cards em { font-style: normal; color: #6b6b6b }
.scr__alert { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #fff4e5; color: #8a5300; font-weight: 600 }
.scr__alert i { width: 8px; height: 8px; border-radius: 50%; background: #e08a00 }

/* 2 · línea base: anillo de cuota y mapa de calor */
.scr__row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center }
.scr__donut { position: relative; width: 120px; height: 120px }
.scr__donut svg { width: 100%; height: 100%; transform: rotate(-90deg) }
.scr__donut circle { fill: none; stroke-width: 5.5 }
.scr__donut p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.15 }
.scr__donut b { font-size: 19px; font-weight: 700; color: var(--brand) }
.scr__donut span { font-size: 10.5px; color: #6b6b6b }
.scr__leg { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px }
.scr__leg li { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; color: #5f5f5f }
.scr__leg i { width: 10px; height: 10px; border-radius: 3px }
.scr__leg b { font-weight: 600; color: #0d0d0d }
.scr__leg .is-tu { color: var(--brand); font-weight: 600 }
.scr__heat { display: grid; grid-template-columns: 54px 1fr; grid-template-rows: repeat(3, 18px); gap: 4px 8px; align-items: center; font-size: 11px; color: #6b6b6b }
.scr__heat span { grid-column: 1 }
.scr__heat div { grid-column: 2; grid-row: 1 / span 3; display: grid; grid-template-columns: repeat(10, 1fr); grid-auto-rows: 18px; gap: 4px }
.scr__heat i { border-radius: 4px; background: #eef0f3 }
.scr__heat i.on { background: var(--brand) }

/* 3 · plan de trabajo */
.scr__prog { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; font-weight: 600 }
.scr__prog i { height: 6px; border-radius: 3px; background: #eef0f3; position: relative; overflow: hidden }
.scr__prog i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #1e8e4a; border-radius: 3px }
.scr__chk { margin: 0; padding: 0; list-style: none; border-top: 1px solid #f0f0f0 }
.scr__chk li { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0f0f0; color: #2b2b2b }
.scr__chk svg { width: 20px; height: 20px; display: block }
.scr__chk .ok circle { fill: #1e8e4a }
.scr__chk .ok path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.scr__chk .wip circle { fill: none; stroke: #c9ced6; stroke-width: 2; stroke-dasharray: 3 3 }
.scr__chk em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #e9f4ec; color: #1e7b3a }
.scr__chk .wip em { background: #f2f4f7; color: #6b6b6b }
.scr__cols { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; min-height: 56px; padding-bottom: 16px }
.scr__cols i { position: relative; height: var(--h); min-height: 8px; background: #c9d3e3; border-radius: 4px 4px 0 0 }
.scr__cols i:last-child { background: var(--brand) }
.scr__cols b { font-style: normal; position: absolute; left: 0; right: 0; bottom: -16px; text-align: center; font-size: 10.5px; font-weight: 500; color: #8a8a8a }

/* 4 · publicado */
.scr__docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
.scr__doc { display: grid; gap: 3px; padding: 8px; border: 1px solid #e8e8e8; border-radius: 10px; font-size: 11.5px }
.scr__doc i { height: 46px; margin-bottom: 4px; border-radius: 6px; background: #eef1f4; position: relative }
.scr__doc i::before, .scr__doc i::after { content: ''; position: absolute; left: 8px; right: 14px; height: 4px; border-radius: 2px; background: #d7dce3 }
.scr__doc i::before { top: 12px } .scr__doc i::after { top: 22px; right: 28px }
.scr__doc i.t-doc { background: #e6f7f4 } .scr__doc i.t-press { background: #f5f2ec }
.scr__doc b { font-weight: 600; line-height: 1.25 }
.scr__doc em { font-style: normal; justify-self: start; padding: 1px 7px; border-radius: 999px; background: #e9f4ec; color: #1e7b3a; font-size: 10.5px }
.scr__src li span { color: #5f5f5f }
.scr__src i::before { background: var(--brand) !important; opacity: .75 }

/* 5 · informe mensual */
.scr__kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px }
.scr__kpi span { display: grid; padding: 10px; border-radius: 10px; background: #f6f7f9 }
.scr__kpi b { font-size: 20px; font-weight: 700; line-height: 1.1; color: #0d0d0d }
.scr__kpi em { font-style: normal; font-size: 11px; color: #6b6b6b }
.scr__k i, .scr .rep__k i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin: 0 2px 0 4px; vertical-align: 0 }
.scr .rep__k .k-tu { background: var(--brand) } .scr .rep__k .k-m { background: #c9ced6 }
.scr__lg { display: flex; gap: 14px; align-items: center } .scr__lg span { display: inline-flex; align-items: center; gap: 5px; font-weight: 500 } .scr__lg span:first-child { margin-left: auto }
.scr__lg i { margin: 0 !important }
.scr__grp { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 12px 18px; border-bottom: 1px solid #ededed; min-height: 120px }
.scr__grp div { position: relative; display: flex; gap: 6px; align-items: flex-end; justify-content: center }
.scr__grp i { width: 26px; height: var(--h); border-radius: 4px 4px 0 0; background: #c9ced6 }
.scr__grp i.tu { background: var(--brand) }
.scr__grp b { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font-size: 11px; font-weight: 500; color: #6b6b6b }
@media (prefers-reduced-motion: reduce) { .scr, .vpr__s h3, .vpr__s p { transition: none } }

/* 05 · preguntas, con un atajo a WhatsApp bajo el titular para quien duda
   (usuario, 6 nov 2026); la primera, abierta al cargar. La reseña pasó al cierre. */
#preguntas .vs__h { grid-column: 1 / span 4 }
.vs .qa { grid-column: 6 / -1; max-width: none; width: 100%; align-self: start; align-content: start }
.vs .qa__i { grid-column: 1 / -1 }
.vs .qa__q { font-size: 1.125rem }
.vfaq { margin-top: 18px }
.vfaq p { margin: 0; font-size: var(--t-base); line-height: 1.55; color: var(--ink-2) }
.vfaq .vfaq__t { font-size: 1.25rem; letter-spacing: -.02em; font-weight: 600; color: var(--brand); margin-bottom: 4px }
.vfaq .btn { margin-top: 24px }
/* Foto de la reunión, a tamaño nítido bajo el atajo (usuario, 6 nov 2026: a
   sangre se veía ampliada y borrosa). El archivo mide 1536 px; aquí se ve a
   unos 400, así que va sobrada incluso en pantallas retina. */
.vfaq__ph { margin: 40px 0 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone-3) }
.vfaq__ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58% }

/* cierre */
.vclose { background: var(--brand); color: var(--on-ink); padding-block: 80px }
.vclose > .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start }
.vclose__t { grid-column: 1 / span 7 }
.vclose h2 { margin: 0; font-size: 2.5rem; line-height: 1.08; letter-spacing: -.035em; font-weight: 600; color: var(--on-ink); text-wrap: balance }
.vclose p { margin: 18px 0 0; font-size: var(--t-base); line-height: 1.62; color: var(--on-ink-2); max-width: 50ch }
.vclose__go { grid-column: 9 / span 4; display: grid; gap: 12px }
.vclose__go .btn { justify-content: space-between }
.vclose :where(a):focus-visible { outline-color: var(--on-ink) }
/* qué pasa después, bajo los botones: tres líneas pequeñas, sin filetes ni
   números (usuario, 6 nov 2026). */
.vnext { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px }
.vnext li { display: flex; gap: 10px; align-items: baseline; font-size: var(--t-sm); line-height: 1.45; color: var(--on-ink-2) }
.vnext li::before { content: ''; flex: none; width: 4px; height: 4px; background: var(--on-ink-3); transform: translateY(-3px) }
.vclose .vquote { margin: 28px 0 0; max-width: 46ch }
.vclose .vquote blockquote { margin: 0 }
.vclose .vquote p { margin: 0; font-size: var(--t-base); line-height: 1.5; letter-spacing: -.01em; font-weight: 500; color: var(--on-ink-2) }
.vclose .vquote figcaption { margin-top: 8px; font-size: var(--t-xs); color: var(--on-ink-3) }
.vclose .vquote cite { font-style: normal; font-weight: 600; color: var(--on-ink-2) }
/* Versión inglesa: la reseña va en castellano y detrás su traducción marcada (COPY.md §12). */
.vclose .vquote .tr { margin: 10px 0 0; font-size: var(--t-base); line-height: 1.5; color: var(--on-ink-2) }
.vclose .vquote .tr__l { display: block; margin-bottom: 2px; font-size: var(--t-xs); color: var(--on-ink-3) }

/* =================================================================
   TABLETA Y TELÉFONO
   ================================================================= */
@media (max-width: 1100px) {
  .vh__t { grid-column: 1 / span 7 } .vh__f { grid-column: 8 / span 5 }
  .vh h1 { font-size: 2.75rem }
}
@media (max-width: 900px) {
  .vh { padding-block: 40px 56px }
  .vh__bg { object-position: 82% 50% }
  .vh__t, .vh__f, .vs__h, .vs__h--wide, .vs__c, #preguntas .vs__h, .vclose__t, .vclose__go, .vs .qa { grid-column: 1 / -1 }
  .vh__f { margin-top: 48px }
  .vh h1 { font-size: 2.125rem }
  .vh__d { font-size: var(--t-base) }
  .vh__go .btn, .vclose__go .btn { width: 100%; justify-content: center; min-height: 52px }
  .vs { padding-block: 64px }
  .vs h2 { font-size: 1.75rem }
  .vs__c, .vs .qa { margin-top: 40px }
  .vsteps__go { flex-direction: column; align-items: stretch; text-align: center }
  .vsteps__go .btn { justify-content: center; min-height: 52px }
  .vcase__n { font-size: 4rem; margin-top: 28px }
  .vmap { font-size: var(--t-xs) } .vmap td + td, .vmap th + th { padding-left: 16px }
  .vcase__go { width: 100%; justify-content: center; min-height: 52px; margin-top: 32px }
  .vsrc__h, .vsrc { grid-column: 1 / -1 }
  .vsrc { margin-top: 36px; grid-template-columns: 1fr 1fr; gap: 28px 16px }
  .vsrc__n { font-size: 1.5rem }
  .vst { grid-column: 1 / -1; margin-top: 32px; grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 12px }
  .vst > .vst__core { grid-column: 1 / -1; grid-row: 1; height: auto }
  .vst > .mi[class*="mi--"] { grid-column: auto; grid-row: auto; min-height: 160px; font-size: 11px }
  .mi__b { padding: 9px 10px 11px }
  .mi__map { height: 56px }
  .mi__ln, .mi__img { display: none }
  .vorb__p { margin-top: 28px; min-height: 7.5rem }
  .vorb__t { font-size: 1.25rem }
  .vorb__p p:not(.vorb__t) { font-size: var(--t-sm) }
  .vsrc h3 { margin-top: 12px; font-size: 1.0625rem }
  .vpr__h, .vpr__l { grid-column: 1 / -1 }
  .vpr__l { margin-top: 32px }
  .vpr__s { min-height: 0; padding-bottom: 28px }
  .vpr__s h3 { font-size: 1.25rem }
  .vpr__l.is-live .vpr__s:not(.is-on) h3, .vpr__l.is-live .vpr__s h3 { color: var(--brand) }
  .vpr__l.is-live .vpr__s:not(.is-on) p, .vpr__l.is-live .vpr__s p { color: var(--ink-2) }
  .vpr__l.is-live .vpr__s:not(.is-on) .vpr__r, .vpr__l.is-live .vpr__s .vpr__r { color: var(--ink) }
  .vpr__side { grid-column: 1 / -1; grid-row: auto; position: static }
  .vpr__screen { display: none }
  .vpr__side { top: auto }
  .vpr__go { justify-self: stretch; justify-content: center; min-height: 52px }
  .vfaq .btn { width: 100%; justify-content: center; min-height: 52px }
  .vfaq__ph { margin-top: 28px }
  .vclose .vquote { margin-top: 28px }
  .vclose { padding-block: 56px } .vclose h2 { font-size: 1.75rem } .vclose__go { margin-top: 32px }
}
