/* All capability views share a stage; content never expands below the product. */
.wm-assistants { position: relative; scroll-margin-top: 86px; border-block: 1px solid #e6eff1; background: radial-gradient(ellipse at 86% 23%,#c8f3f548,transparent 56%),radial-gradient(ellipse at 20% 92%,#fce1f14d,transparent 55%),#f9fcfd; }
.wm-assistants__layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 48px; align-items: center; }
.wm-assistants__copy .hc-kicker { margin: 0 0 16px; color: #0a7f8c; font-size: .72rem; letter-spacing: .13em; }
.wm-assistants__copy .hc-display { margin: 0 0 20px; font-size: clamp(2rem,3.3vw,3rem); line-height: 1.12; letter-spacing: -.04em; }
.wm-assistants__copy > .hc-lead { margin: 0 0 22px; font-size: 1rem; line-height: 1.7; }
.wm-assistants__benefits { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.wm-assistants__benefits li { display: flex; gap: 12px; font-size: .88rem; line-height: 1.6; color: #52616a; }
.wm-assistants__benefits li > i { flex-shrink: 0; font-size: 1.25rem; color: #087684; padding-top: 3px; }
.wm-assistants__benefits strong { display: block; color: #253b45; font-weight: 650; }
.wm-assistants__copy .hc-actions { margin: 0; gap: 16px; }
.wm-assistants__copy .wm-btn { font-size: .83rem; }
.wm-assistants__copy .hc-text-link { font-size: .85rem; }
.wm-assistants__personal { margin-top: 22px; padding-top: 16px; border-top: 1px solid #dce9eb; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.wm-assistants__personal p { display: flex; align-items: center; gap: 7px; color: #536771; font-size: .86rem; line-height: 1.6; }
.wm-assistants__personal p i { color: #0a7f8c; font-size: 1.1rem; }
.wm-assistants__visual { min-width: 0; }
.ap-explorer { position: relative; isolation: isolate; color: #233842; border: 1px solid #d9e7eb; border-radius: 24px; background: #ffffffd9; box-shadow: 0 28px 70px #24596612,0 3px 8px #26425306; }
.ap-explorer::before { content: ''; position: absolute; z-index: -1; inset: -14px; border-radius: 34px; border: 1px solid #13bac213; background: linear-gradient(130deg,#2bc8d00a,transparent 50%,#e656a80b); pointer-events: none; }
.ap-explorer__head { min-height: 68px; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #eaf0f2; }
.ap-explorer__mark { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 12px; color: #bc378e; background: linear-gradient(140deg,#edfafa,#fdeafa); font-size: 1.65rem; font-weight: 850; line-height: 1; }
.ap-explorer__head strong { display: block; font-size: .91rem; }
.ap-explorer__head span:not(.ap-explorer__mark) { display: block; margin-top: 3px; font-size: .81rem; color: #627680; }
.ap-explorer__head > i { margin-left: auto; font-size: 1.45rem; color: #0a7f8c; }
.ap-tabs { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.8fr) minmax(0,1.3fr) minmax(0,.85fr) minmax(0,1fr); gap: 4px; margin: 14px 16px 0; padding: 4px; background: #f0f6f7; border: 1px solid #e5eef0; border-radius: 13px; }
.ap-tabs button { min-width: 0; min-height: 44px; padding: 6px 3px; border: 0; border-radius: 9px; background: transparent; font: 650 .79rem/1.35 var(--font); color: #536771; cursor: pointer; }
.ap-tabs button[aria-selected=true] { background: #fff; color: #087684; box-shadow: 0 3px 8px #25485514; }
.ap-stage { display: grid; min-width: 0; height: 410px; padding: 18px; }
.ap-panel { grid-area: 1/1; min-width: 0; min-height: 364px; }
.ap-overview { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 1fr 1fr; column-gap: 16px; row-gap: 40px; }
.ap-connections { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ap-connections path { fill: none; stroke: #14b6c2; stroke-width: 1.6; stroke-dasharray: 5 9; opacity: .48; animation: ap-flow 8s linear infinite; }
.ap-connections path + path { stroke: #d847a5; animation-direction: reverse; }
.ap-orb { position: absolute; z-index: 2; top: 50%; left: 50%; width: 68px; height: 68px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid #bcdee3; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px #ffffffcc,0 0 0 8px #29b9c326,0 8px 30px #338d9b23; pointer-events: none; }
.ap-orb span { font-size: 2.6rem; line-height: 1; font-weight: 850; color: #c63391; }
.ap-orb i { position: absolute; inset: -13px; border-radius: 50%; border: 1px solid #20b9c029; }
.ap-overview__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 15px; border-radius: 17px; border: 1px solid #dbeaec; background: linear-gradient(130deg,#ffffffeb,#f4fcfcf0); text-decoration: none; box-shadow: 0 6px 16px #32566006; transition: border-color .2s,box-shadow .2s; }
.ap-overview__card--acciones,.ap-overview__card--resultados { background: linear-gradient(130deg,#ffffffed,#fff5fbf0); border-color: #ece1eb; }
.ap-overview__card:hover { border-color: #8acbd1; box-shadow: 0 8px 24px #32566010; }
.ap-overview__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 7px; border-radius: 9px; background: #e5f7f7; color: #087684; font-size: 1.2rem; }
.ap-overview__card--acciones .ap-overview__icon,.ap-overview__card--resultados .ap-overview__icon { background: #faeaf4; color: #b73187; }
.ap-overview__card strong { font-size: .92rem; font-weight: 700; }
.ap-overview__card p { margin-top: 6px; color: #536771; font-size: .875rem; line-height: 1.5; }
.ap-overview__arrow { position: absolute; top: 15px; right: 14px; color: #6b8a96; font-size: 1rem; }
.ap-capabilities { display: flex; flex-direction: column; gap: 12px; }
.ap-capabilities__head { display: flex; align-items: center; gap: 9px; padding-bottom: 2px; }
.ap-capabilities__head i { color: #0a7f8c; font-size: 1.4rem; }
.ap-capabilities__head h3 { margin: 0; font-size: 1.12rem; line-height: 1.4; }
.ap-capabilities__choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.ap-capabilities__choices button { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 48px; padding: 9px 11px; border-radius: 11px; border: 1px solid #dce9ed; background: #fff; color: #354f5b; text-align: left; font: 600 .875rem/1.4 var(--font); cursor: pointer; }
.ap-capabilities__choices i { color: #087684; font-size: 1.13rem; flex-shrink: 0; }
.ap-capabilities__choices button:hover,.ap-capabilities__choices button[aria-pressed=true] { border-color: #7fc7cf; color: #075e69; background: #eaf9f9; }
.ap-capabilities__detail { margin-top: auto; min-height: 98px; padding: 12px 14px; border: 1px solid #e4eaf0; border-radius: 13px; background: linear-gradient(120deg,#f3fbfc,#fcf6fb); }
.ap-capabilities__detail strong { display: block; font-size: .875rem; line-height: 1.4; color: #294b58; }
.ap-capabilities__detail p { margin: 5px 0 0; font-size: .875rem; line-height: 1.5; color: #536771; }
.ap-explorer__note { display: flex; align-items: flex-start; gap: 7px; margin: 0; padding: 12px 18px; font-size: .76rem; line-height: 1.5; color: #5d707b; border-top: 1px solid #e7eff1; background: #fbfdfe; border-radius: 0 0 24px 24px; }
.ap-explorer__note i { margin-top: 2px; color: #087684; flex-shrink: 0; font-size: 1rem; }
.ap-explorer.is-paused .ap-connections path { animation-play-state: paused; }
.wm-solution__details--summary { grid-template-columns: minmax(0,1fr); }
@keyframes ap-flow { to { stroke-dashoffset: -112; } }
@media (max-width: 1100px) {
    .wm-assistants__layout { gap: 30px; }
    .wm-assistants__copy .hc-actions { gap: 12px; }
}
@media (max-width: 900px) {
    .wm-assistants__layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
    .wm-assistants__visual { width: 100%; max-width: 680px; margin: 0 auto; }
    .ap-tabs { grid-template-columns: repeat(5,minmax(0,1fr)); }
    .ap-tabs button:first-child { grid-column: auto; }
}
@media (max-width: 560px) {
    .wm-assistants__copy .hc-display { font-size: 2.05rem; }
    .wm-assistants__copy > .hc-lead { font-size: .95rem; }
    .wm-assistants__copy .hc-actions { gap: 16px; }
    .wm-assistants__copy .wm-btn { padding-inline: 15px; font-size: .8rem; }
    .ap-explorer { border-radius: 19px; }
    .ap-explorer::before { inset: -8px; border-radius: 27px; }
    .ap-explorer__head { min-height: 58px; padding: 9px 14px; }
    .wm-assistants__benefits { margin-bottom: 20px; }
    .wm-assistants__personal { margin-top: 18px; }
    .ap-tabs { margin: 12px 12px 0; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .ap-tabs button:first-child { grid-column: span 2; }
    .ap-stage { height: 422px; padding: 14px; }
    .ap-panel { min-height: 394px; }
    .ap-overview { column-gap: 10px; row-gap: 38px; }
    .ap-overview__card { padding: 12px; }
    .ap-overview__arrow { top: 13px; right: 10px; }
    .ap-overview__card p { line-height: 1.45; }
    .ap-orb { width: 56px; height: 56px; }
    .ap-orb span { font-size: 2.2rem; }
    .ap-capabilities__choices button { padding: 9px 8px; gap: 6px; }
    .ap-capabilities__detail { min-height: 114px; padding: 11px 12px; }
    .ap-explorer__note { padding: 12px 14px; border-radius: 0 0 19px 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .ap-connections path { animation: none; }
    .ap-overview__card { transition: none; }
}
