/* Páginas de soluciones: temas por página, evidencia, respuestas, diagnóstico y módulos interactivos */

/* ---------- Temas ---------- */
body[data-theme="teal"]   { --c0: #0a4f4d; --c1: #0b6f6c; --c2: #51D9D6; --soft: #dff6f5; }
body[data-theme] { --c0: #0a4f4d; --c1: #0b6f6c; --c2: #51D9D6; --soft: #dff6f5; --bad: #5b6672; --bad-bg: #eef1f5; --bad-line: #d5dbe3; }

.sl-h1 em, .sl-h2 em { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: var(--c1); }
.sl-kicker { background: var(--soft); color: var(--c1); }
.sl-badge { color: var(--c1); }
.sl-badge i { background: var(--c2); }
.sl-stat { background: linear-gradient(150deg, var(--c1), var(--c0)); box-shadow: 0 30px 60px -34px var(--c0); }
.sl-stat__n { background: linear-gradient(135deg, #fff, var(--c2)); -webkit-background-clip: text; background-clip: text; font-size: clamp(2.2rem, 6vw, 3.8rem); white-space: nowrap; }
.sl-stat__t span a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sl-stat::after { background: radial-gradient(circle, color-mix(in srgb, var(--c2) 55%, transparent), transparent 70%); }

[hidden] { display: none !important; }

/* ---------- Evidencia ---------- */
.sl-ev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sl-ev__card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 22px; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 26px; background: #fff; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.sl-ev__card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--c2), var(--c1)); }
.sl-ev__card:hover { transform: translateY(-6px); border-color: var(--c2); box-shadow: 0 18px 40px -22px var(--c1); }
.sl-ev__n { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-ev__t { font-size: 1.02rem; font-weight: 600; line-height: 1.45; color: #202020; }
.sl-ev__src { margin-top: auto; padding-top: 12px; border-top: 1px dashed #dfe4eb; font-size: 0.78rem; line-height: 1.4; color: rgba(32, 32, 32, 0.6); }
.sl-ev__src a { color: var(--c1); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .sl-ev { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Problema → respuesta ---------- */
.sl-ans { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sl-ans__row { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.15fr); align-items: stretch; gap: 0; }
.sl-ans__pain, .sl-ans__fix { padding: 22px 26px; border-radius: 24px; }
.sl-ans__pain { border: 1px solid #dfe4eb; background: #fff; }
.sl-ans__fix { border: 1px solid transparent; background: linear-gradient(135deg, var(--soft), #fff 80%); box-shadow: inset 0 0 0 1.5px var(--c2); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.sl-ans__row:hover .sl-ans__fix { transform: translateX(4px); box-shadow: inset 0 0 0 2px var(--c1), 0 18px 36px -24px var(--c1); }
.sl-ans__tag { display: inline-block; margin-bottom: 8px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--bad); }
.sl-ans__tag--ok { color: var(--c1); }
.sl-ans b { display: block; margin-bottom: 4px; font-size: 1.12rem; font-weight: 800; line-height: 1.3; color: #202020; }
.sl-ans p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: rgba(32, 32, 32, 0.72); }
.sl-ans__fix a { display: inline-block; margin-top: 10px; font-size: 0.9rem; font-weight: 800; color: var(--c1); text-decoration: none; }
.sl-ans__fix a:hover { text-decoration: underline; }
.sl-ans__arrow { display: grid; place-items: center; }
.sl-ans__arrow svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--c2); fill: none; stroke: #14201f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.sl-ans__row:hover .sl-ans__arrow svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .sl-ans__row { grid-template-columns: minmax(0, 1fr); }
  .sl-ans__arrow { height: 34px; }
  .sl-ans__arrow svg { transform: rotate(90deg); }
  .sl-ans__row:hover .sl-ans__arrow svg { transform: rotate(90deg) translateX(4px); }
}

/* ---------- Diagnóstico ---------- */
.sl-diag { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto; align-items: start; }
.sl-diag__list { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.sl-diag__item, .mod-tri__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #dfe4eb; border-radius: 20px; background: #fff; font-size: 1rem; font-weight: 600; line-height: 1.4; color: #202020; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.sl-diag__item:hover, .mod-tri__item:hover { border-color: var(--c2); transform: translateX(3px); }
.sl-diag__item.is-on, .mod-tri__item.is-on { border-color: var(--c1); background: var(--soft); }
.sl-diag__item input, .mod-tri__item input { position: absolute; opacity: 0; pointer-events: none; }
.sl-diag__item input:focus-visible + .mod-tri__box, .mod-tri__item input:focus-visible + .mod-tri__box { outline: 3px solid var(--c2); outline-offset: 2px; }
.mod-tri__box { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #c9d3de; border-radius: 8px; background: #fff; transition: background-color 0.2s ease, border-color 0.2s ease; }
.mod-tri__box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.3s ease; }
.is-on > .mod-tri__box { border-color: var(--c1); background: var(--c1); }
.is-on > .mod-tri__box svg { stroke-dashoffset: 0; }
.sl-diag__res { position: sticky; top: 110px; display: grid; gap: 14px; padding: 26px; border: 1px solid #dfe4eb; border-radius: 28px; background: #fff; box-shadow: 0 18px 40px -28px rgba(32, 32, 32, 0.45); }
.sl-diag__score { display: flex; align-items: baseline; gap: 10px; }
.sl-diag__score b { font-size: 3.4rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--c1); }
.sl-diag__score span { font-size: 0.95rem; font-weight: 700; color: rgba(32, 32, 32, 0.65); }
.sl-diag__msg { margin: 0; font-size: 1rem; line-height: 1.5; color: #202020; }
.sl-diag__recs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sl-diag__recs a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 0.88rem; font-weight: 800; color: var(--c1); text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
.sl-diag__recs a:hover { background: var(--c1); color: #fff; }
.sl-diag__form { display: grid; gap: 10px; padding-top: 14px; border-top: 1px dashed #dfe4eb; }
@media (max-width: 900px) { .sl-diag { grid-template-columns: minmax(0, 1fr); } .sl-diag__res { position: static; } }

/* ---------- Piezas comunes de los módulos ---------- */
.mod-tag { display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.mod-tag--bad { background: var(--bad-bg); color: var(--bad); }
.mod-tag--good { background: var(--c2); color: #14201f; }
.mod-hint { margin: 0; font-size: 0.82rem; line-height: 1.45; color: rgba(32, 32, 32, 0.6); }
.mod-actions { display: flex; justify-content: center; margin-top: 22px; }
.mod-tabs { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid #dfe4eb; border-radius: 999px; background: #fff; }
.mod-tabs button { padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 0.92rem; font-weight: 800; color: rgba(32, 32, 32, 0.65); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.mod-tabs button[aria-selected="true"] { background: var(--c1); color: #fff; }
.mod-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.8rem; font-weight: 600; color: rgba(32, 32, 32, 0.7); }
.mod-legend i, .mod-week__legend i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.mod-legend i.is-on, .mod-week__legend i.is-on { background: var(--c2); }
.mod-legend i.is-off, .mod-week__legend i.is-off { background: var(--bad-line); }
.mod-card, .mod-cmt__ctrl, .mod-cmt__board, .mod-week__ctrl, .mod-week__board, .mod-leave__ctrl, .mod-leave__stage, .mod-cov__ctrl, .mod-cov__board, .mod-speed, .mod-route__box, .mod-tri__demo { padding: 26px; border: 1px solid #dfe4eb; border-radius: 28px; background: #fff; box-shadow: 0 18px 40px -30px rgba(32, 32, 32, 0.45); }
.mod-cmt, .mod-week, .mod-leave, .mod-cov, .mod-tri { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 18px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.mod-cmt__ctrl, .mod-week__ctrl, .mod-leave__ctrl, .mod-cov__ctrl { display: flex; flex-direction: column; gap: 22px; justify-content: flex-start; align-self: start; }
@media (max-width: 900px) { .mod-cmt, .mod-week, .mod-leave, .mod-cov, .mod-tri { grid-template-columns: minmax(0, 1fr); } }
.mod-check { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; cursor: pointer; }
.mod-check input { accent-color: var(--c1); width: 18px; height: 18px; }

@keyframes mod-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Una llamada, dos finales ---------- */
.mod-story__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.mod-story__col { position: relative; padding: 28px 26px 24px; overflow: hidden; border-radius: 28px; }
.mod-story__col--bad { border: 1px solid #dfe4eb; background: #fff; }
.mod-story__col--good { background: linear-gradient(155deg, var(--c1), var(--c0)); color: #fff; box-shadow: 0 30px 60px -36px var(--c0); }
.mod-story__col--good::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c2) 50%, transparent), transparent 70%); pointer-events: none; }
.mod-story ol { position: relative; display: grid; gap: 18px; margin: 0 0 20px; padding: 0; list-style: none; }
.mod-story li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; }
.mod-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 0.9rem; font-weight: 800; }
.mod-story__col--bad .mod-n { background: var(--bad-bg); color: var(--bad); }
.mod-story__col--good .mod-n { background: var(--c2); color: #14201f; }
.mod-story li b { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.mod-story li small { display: block; margin-top: 3px; font-size: 0.88rem; line-height: 1.45; opacity: 0.75; }
.mod-story__end { position: relative; padding: 12px 16px; border-radius: 14px; font-size: 0.95rem; font-weight: 800; }
.mod-story__col--bad .mod-story__end { background: var(--bad-bg); color: var(--bad); }
.mod-story__col--good .mod-story__end { background: var(--c2); color: #14201f; }
.sl-js .mod-story li, .sl-js .mod-story__end { opacity: 0; }
.mod-story.is-play li, .mod-story.is-play .mod-story__end { animation: mod-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(0.15s + var(--i) * 0.65s); }
@media (max-width: 800px) { .mod-story__cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Simulador de transferencia ---------- */
.mod-route { display: grid; justify-items: center; gap: 18px; max-width: 820px; margin: 0 auto; }
.mod-route__box { position: relative; width: 100%; padding: 30px 30px 26px; }
.mod-route__count { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px dashed #dfe4eb; }
.mod-route__count b { font-size: 3.6rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; color: var(--bad); transition: color 0.3s ease; }
.mod-route[data-state="good"] .mod-route__count b { color: var(--c1); }
.mod-route__count span { font-size: 0.95rem; font-weight: 700; color: rgba(32, 32, 32, 0.7); }
.mod-chat { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mod-chat__m { display: grid; gap: 2px; max-width: 86%; padding: 11px 16px; border-radius: 18px 18px 18px 6px; background: #f1f4f8; animation: mod-in 0.4s ease both; }
.mod-chat__m b { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(32, 32, 32, 0.55); }
.mod-chat__m span { font-size: 0.96rem; font-weight: 600; line-height: 1.4; color: #202020; }
.mod-chat__m.is-client { justify-self: end; border-radius: 18px 18px 6px 18px; background: #fff3e6; }
.mod-chat__m.is-ok { background: var(--soft); }
.mod-chat__m.is-ok.is-client { background: var(--soft); }
.mod-route__end { margin-top: 18px; padding: 13px 18px; border-radius: 14px; background: var(--bad-bg); font-size: 0.95rem; font-weight: 800; color: var(--bad); animation: mod-in 0.5s ease both; }
.mod-route[data-state="good"] .mod-route__end { background: var(--c2); color: #14201f; }

/* ---------- Comité de compra ---------- */
.mod-cmt__chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px 10px; margin-bottom: 20px; }
.mod-cmt__chip { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border: 1.5px solid #dfe4eb; border-radius: 999px; background: #fff; font: inherit; font-size: 0.88rem; font-weight: 700; line-height: 1.2; color: #202020; text-align: left; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; animation: mod-in 0.35s ease both; }
.mod-cmt__chip:hover { border-color: var(--c2); transform: translateY(-2px); }
.mod-cmt__av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); font-size: 0.85rem; font-weight: 800; color: var(--c1); }
.mod-cmt__chip i { display: none; position: absolute; right: 10px; top: -9px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(32, 32, 32, 0.25); font-style: normal; font-size: 0.78rem; line-height: 22px; text-align: center; }
.mod-cmt__chip.is-cold { border-color: var(--bad); background: var(--bad-bg); }
.mod-cmt__chip.is-cold .mod-cmt__av { background: var(--bad); color: #fff; }
.mod-cmt__chip.is-cold i { display: block; }
.mod-cmt__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mod-cmt__out > div:not(.mod-cmt__msg) { padding: 14px 16px; border-radius: 18px; background: var(--soft); }
.mod-cmt__out b { display: block; font-size: 2.3rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; color: var(--c1); }
.mod-cmt__out span { display: block; margin-top: 4px; font-size: 0.84rem; font-weight: 600; line-height: 1.3; color: rgba(32, 32, 32, 0.72); }
.mod-cmt__msg { grid-column: 1 / -1; font-size: 0.95rem; font-weight: 700; color: rgba(32, 32, 32, 0.75); }
.mod-cmt__msg.is-risk { color: var(--bad); }

/* ---------- Reloj del lead ---------- */
.mod-speed { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; padding: 30px; }
.mod-speed__chart { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; height: 300px; }
.mod-speed__bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; text-align: center; transition: opacity 0.3s ease, transform 0.3s ease; opacity: 0.8; }
.mod-speed__bar b { font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 900; line-height: 1; letter-spacing: -0.02em; color: var(--c1); }
.mod-speed__bar i { display: block; width: 100%; max-width: 150px; height: 0; border-radius: 16px 16px 6px 6px; background: linear-gradient(180deg, var(--c2), var(--c1)); transition: height 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.mod-speed.is-in .mod-speed__bar i { height: calc(var(--h) * 0.72); }
.mod-speed__bar span { font-size: 0.86rem; font-weight: 700; line-height: 1.3; color: rgba(32, 32, 32, 0.78); }
.mod-speed__bar.is-me { opacity: 1; transform: translateY(-4px); }
.mod-speed__bar.is-me i { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--c1); }
.mod-speed__pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; }
.mod-speed__pick legend { float: left; margin-right: 12px; padding: 0; font-size: 0.95rem; font-weight: 800; }
.mod-speed__pick label, .mod-week__days label { cursor: pointer; }
.mod-speed__pick input, .mod-week__days input { position: absolute; opacity: 0; pointer-events: none; }
.mod-speed__pick span, .mod-week__days span { display: inline-block; padding: 9px 16px; border: 1.5px solid #dfe4eb; border-radius: 999px; font-size: 0.9rem; font-weight: 700; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.mod-speed__pick input:checked + span, .mod-week__days input:checked + span { border-color: var(--c1); background: var(--c1); color: #fff; }
.mod-speed__pick input:focus-visible + span, .mod-week__days input:focus-visible + span { outline: 3px solid var(--c2); outline-offset: 2px; }
.mod-speed__out { margin: 0; padding: 14px 18px; border-radius: 16px; background: var(--soft); font-size: 1rem; font-weight: 700; line-height: 1.45; color: #202020; }

/* ---------- Semana hora a hora ---------- */
.mod-week__days { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; }
.mod-week__days legend { float: left; margin-right: 10px; padding: 0; font-size: 0.95rem; font-weight: 700; }
.mod-week__grid { display: grid; grid-template-columns: 38px repeat(7, minmax(0, 1fr)); gap: 3px; margin-bottom: 14px; }
.mod-week__grid i { height: 11px; border-radius: 3px; transition: background-color 0.25s ease; }
.mod-week__grid i.is-on { background: var(--c2); }
.mod-week__grid i.is-off { background: var(--bad-line); }
.mod-week__d { padding-bottom: 4px; font-size: 0.72rem; font-weight: 800; text-align: center; color: rgba(32, 32, 32, 0.6); }
.mod-week__h { align-self: center; font-size: 0.62rem; line-height: 1; color: rgba(32, 32, 32, 0.5); }
.mod-week__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px; font-size: 0.8rem; font-weight: 600; color: rgba(32, 32, 32, 0.7); }
.mod-week__out { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--soft); }
.mod-week__out b { flex: none; font-size: 2.4rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; color: var(--c1); }
.mod-week__out span { font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: #202020; }

/* ---------- Si se va un comercial ---------- */
.mod-leave__stage { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "phone arrow dest" "go go go" "out out out"; align-items: center; gap: 18px 12px; }
.mod-leave__phone { grid-area: phone; width: 150px; padding: 26px 12px 14px; border: 3px solid #202020; border-radius: 28px; background: #fff; position: relative; }
.mod-leave__notch { position: absolute; left: 50%; top: 8px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: #202020; }
.mod-leave__contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mod-leave__contacts i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: hsl(178 62% var(--lt)); font-style: normal; font-size: 0.75rem; font-weight: 800; color: #0a4f4d; }
.mod-leave__arrow { grid-area: arrow; display: flex; justify-content: center; gap: 6px; }
.mod-leave__arrow i { width: 10px; height: 10px; border-top: 3px solid var(--c2); border-right: 3px solid var(--c2); transform: rotate(45deg); opacity: 0.4; animation: mod-chev 1.6s ease-in-out infinite; }
.mod-leave__arrow i:nth-child(2) { animation-delay: 0.2s; }
.mod-leave__arrow i:nth-child(3) { animation-delay: 0.4s; }
@keyframes mod-chev { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.mod-leave__dest { grid-area: dest; display: grid; gap: 4px; padding: 20px; border-radius: 22px; text-align: center; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.4s ease; }
.mod-leave[data-mode="personal"] .mod-leave__dest { background: var(--bad-bg); color: var(--bad); }
.mod-leave[data-mode="empresa"] .mod-leave__dest { background: var(--soft); color: var(--c1); }
.mod-leave__dest b { font-size: 0.95rem; font-weight: 800; line-height: 1.25; }
.mod-leave__dest span { font-size: 2.6rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; opacity: 0.25; transition: opacity 0.4s ease; }
.mod-leave.is-go .mod-leave__dest span { opacity: 1; }
.mod-leave.is-go[data-mode="empresa"] .mod-leave__dest { box-shadow: 0 0 0 3px var(--c2); }
.mod-leave__go { grid-area: go; justify-self: center; }
.mod-leave__out { grid-area: out; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: #f6f8fb; }
.mod-leave__out b { flex: none; font-size: 2.4rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.mod-leave[data-mode="personal"] .mod-leave__out b { color: var(--bad); }
.mod-leave[data-mode="empresa"] .mod-leave__out b { color: var(--c1); }
.mod-leave__out span { font-size: 0.95rem; font-weight: 700; line-height: 1.35; }
.mod-leave.is-go[data-mode="personal"] .mod-leave__contacts i { animation: mod-fly 1.3s cubic-bezier(0.5, 0, 0.9, 0.4) both; animation-delay: calc(var(--n) * 55ms); }
.mod-leave.is-go[data-mode="empresa"] .mod-leave__contacts i { animation: mod-stay 0.9s ease both; animation-delay: calc(var(--n) * 40ms); }
@keyframes mod-fly { to { transform: translate(260px, -30px) rotate(40deg) scale(0.5); opacity: 0; } }
@keyframes mod-stay { 40% { transform: scale(1.25); box-shadow: 0 0 0 4px var(--c2); } }
@media (max-width: 560px) {
  .mod-leave__stage { grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: "phone dest" "arrow arrow" "go go" "out out"; }
  .mod-leave__phone { width: 120px; }
  .mod-leave__arrow { transform: rotate(90deg); }
  @keyframes mod-fly { to { transform: translate(120px, -20px) rotate(40deg) scale(0.5); opacity: 0; } }
}

/* ---------- Triaje de llamadas ---------- */
.mod-tri { align-items: start; }
.mod-tri__list { display: grid; gap: 10px; }
.mod-tri__item { padding: 14px 16px; font-size: 0.97rem; }
.mod-tri__t { flex: 1; }
.mod-tri__item em { flex: none; padding: 3px 10px; border-radius: 999px; background: #eef1f5; font-style: normal; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(32, 32, 32, 0.6); }
.mod-tri__item[data-a="1"] em { background: var(--soft); color: var(--c1); }
.mod-tri__out { padding-top: 6px; }
.mod-tri__bar { height: 12px; margin-bottom: 10px; overflow: hidden; border-radius: 999px; background: #e3e8ee; }
.mod-tri__bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--c2), var(--c1)); transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.mod-tri__out p { margin: 0; font-size: 0.98rem; font-weight: 700; line-height: 1.45; }
.mod-tri__demo { display: grid; gap: 14px; justify-items: start; }
.mod-chat--demo { width: 100%; }

/* ---------- Cobertura de conversaciones ---------- */
.mod-cov__dots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; max-width: 420px; margin-bottom: 14px; }
.mod-cov__dots i { aspect-ratio: 1; border-radius: 50%; transition: background-color 0.3s ease, transform 0.3s ease; }
.mod-cov__dots i.is-on { background: var(--c2); box-shadow: 0 0 0 3px var(--soft); transform: scale(1.08); }
.mod-cov__dots i.is-off { background: var(--bad-line); }
.mod-cov__out { display: flex; align-items: center; gap: 14px; margin: 14px 0 18px; padding: 14px 18px; border-radius: 18px; background: var(--soft); }
.mod-cov__out b { flex: none; font-size: 2.4rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; color: var(--c1); }
.mod-cov__out span { font-size: 0.93rem; font-weight: 700; line-height: 1.4; }
.mod-cov__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mod-cov__chips button { padding: 8px 14px; border: 1.5px solid #dfe4eb; border-radius: 999px; background: #fff; font: inherit; font-size: 0.82rem; font-weight: 700; line-height: 1.3; text-align: left; color: #202020; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.mod-cov__chips button:hover { border-color: var(--c1); background: var(--soft); }
.mod-cov__prompt { display: flex; align-items: center; min-height: 52px; padding: 14px 18px; border-radius: 16px; background: #14201f; font-size: 0.95rem; font-weight: 600; color: #fff; }
.mod-cov__prompt i { flex: none; width: 2px; height: 1.1em; margin-left: 3px; background: var(--c2); animation: mod-blink 1s steps(1) infinite; }
@keyframes mod-blink { 50% { opacity: 0; } }

/* La banda de contacto usa el color de marca en estas páginas */
body[data-theme] .cb-call b:nth-of-type(1) { background: #0b6f6c; }
body[data-theme] .cb-call b:nth-of-type(2) { background: #2fb5b2; }
body[data-theme] .cb-call b:nth-of-type(3) { background: #0a4f4d; }
/* ---------- Cómo resolvemos tu problema ---------- */
.sl-sv__h { margin: 44px 0 18px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; color: #202020; }
.sl-sv__h:first-of-type { margin-top: 0; }
.sl-sv__prods { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.sl-sv__prod { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 26px; background: #fff; box-shadow: 0 18px 40px -30px rgba(32, 32, 32, 0.45); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.sl-sv__prod::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--c2), var(--c1)); }
.sl-sv__prod:hover { transform: translateY(-5px); border-color: var(--c2); box-shadow: 0 22px 44px -24px var(--c1); }
.sl-sv__kind { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--soft); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c1); }
.sl-sv__name { font-size: 1.5rem; font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; color: #202020; }
.sl-sv__fit { font-size: 0.97rem; line-height: 1.55; color: rgba(32, 32, 32, 0.78); }
.sl-sv__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed #dfe4eb; }
.sl-sv__from { font-size: 0.82rem; font-weight: 700; color: rgba(32, 32, 32, 0.6); }
.sl-sv__link { font-size: 0.9rem; font-weight: 800; color: var(--c1); text-decoration: none; white-space: nowrap; }
.sl-sv__link:hover, .sl-sv__link:focus-visible { text-decoration: underline; outline: none; }

.sl-sv__day { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sl-sv__moment { display: grid; grid-template-columns: 170px minmax(0, 1fr) 44px minmax(0, 1.1fr); align-items: stretch; gap: 14px; }
.sl-sv__when { display: flex; align-items: center; padding: 0 6px; font-size: 1.02rem; font-weight: 800; line-height: 1.3; color: #202020; }
.sl-sv__before, .sl-sv__after { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 20px; font-size: 0.95rem; line-height: 1.45; }
.sl-sv__before span, .sl-sv__after span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.sl-sv__before { background: var(--bad-bg); color: rgba(32, 32, 32, 0.72); }
.sl-sv__before span { color: var(--bad); }
.sl-sv__after { background: linear-gradient(135deg, var(--soft), #fff 85%); box-shadow: inset 0 0 0 1.5px var(--c2); font-weight: 700; color: #202020; }
.sl-sv__after span { color: var(--c1); }
.sl-sv__arrow { display: grid; place-items: center; }
.sl-sv__arrow svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--c2); fill: none; stroke: #14201f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.sl-sv__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: sv; }
.sl-sv__step { padding: 22px 22px 20px; border-radius: 22px; background: #fff; border: 1px solid #dfe4eb; }
.sl-sv__n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--c2); font-size: 0.95rem; font-weight: 900; color: #14201f; }
.sl-sv__st { margin-bottom: 4px; font-size: 1.05rem; font-weight: 800; color: #202020; }
.sl-sv__sd { font-size: 0.92rem; line-height: 1.5; color: rgba(32, 32, 32, 0.72); }
.sl-sv__cta { margin-top: 36px; text-align: center; }

@media (max-width: 900px) {
  .sl-sv__moment { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px; border: 1px solid #dfe4eb; border-radius: 24px; background: rgba(255, 255, 255, 0.6); }
  .sl-sv__arrow { display: none; }
  .sl-sv__steps { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .sl-sv__prod { transition: none; }
  .mod-story.is-play li, .mod-story.is-play .mod-story__end, .mod-chat__m, .mod-route__end, .mod-cmt__chip { animation: none; }
  .mod-speed__bar i { transition: none; height: calc(var(--h) * 0.72); }
  .mod-leave__arrow i, .mod-cov__prompt i { animation: none; }
  .mod-leave.is-go .mod-leave__contacts i { animation: none; opacity: 0.4; }
  .sl-ev__card, .sl-ans__fix, .sl-diag__item, .mod-tri__item { transition: none; }
}
