/* ACTIA comparte las superficies blancas y el brillo discreto del Home. */
.actia-main > .actia-challenge,
.actia-main > .actia-workflow,
.actia-main > .actia-benefits,
.actia-main > .actia-applications,
.actia-main > .product-faq { background: #fff !important; }

/* El reto: ficha viva que recorre compra, asignación y mantenimiento. */
.actia-main .actia-detail-card {
  position: relative; overflow: hidden; padding: 26px 30px;
  border: 1.5px solid #fff; border-radius: 30px; background: #fff;
  box-shadow: 0 17px 40px rgba(30,47,77,.09),0 3px 8px rgba(30,47,77,.035),inset 0 2px 2px #fff;
  transition: transform .3s ease,box-shadow .3s ease;
}
.actia-main .actia-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 3px #cfe2f1,0 20px 45px rgba(53,92,125,.16),inset 0 2px 2px #fff;
}
.actia-detail-preview { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #e8eef3; }
.actia-laptop { display: grid; place-items: center; flex: 0 0 72px; width: 72px; height: 66px; border-radius: 16px; background: #f4f7fa; color: #355c7d; font-size: 44px; line-height: 1; transform: rotate(-7deg); }
.actia-laptop { position: relative; font-size: 0; }
.actia-laptop::before { content: ""; position: absolute; top: 14px; left: 15px; width: 42px; height: 30px; border: 3px solid #263b58; border-radius: 4px 4px 1px 1px; background: linear-gradient(135deg,#cfe2f1,#638eb5 65%,#244b77); }
.actia-laptop::after { content: ""; position: absolute; top: 48px; left: 9px; width: 54px; height: 5px; border-radius: 1px 1px 6px 6px; background: #708ba4; }
.actia-detail-preview > div { display: grid; gap: 3px; min-width: 0; }
.actia-detail-preview small { color: #8a9bab; font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.actia-detail-preview strong { color: #1e2f4d; font-size: clamp(17px,1.4vw,22px); }
.actia-detail-preview div span { color: #687f94; font-size: 12px; }
.actia-detail-preview > b { margin-left: auto; padding: 7px 11px; border-radius: 999px; background: #e8f5ee; color: #19845a; font-size: 11px; white-space: nowrap; }
.actia-history { position: relative; display: grid; gap: 7px; margin: 18px 0 0 10px; }
.actia-history-track { position: absolute; top: 20px; bottom: 20px; left: 16px; width: 2px; background: #e4edf4; }
.actia-history-track::after { content: ""; display: block; width: 100%; height: 0; background: #cfe2f1; animation: actiaTrack 9s ease-in-out infinite; }
.actia-history-event { position: relative; display: flex; align-items: center; gap: 16px; padding: 7px 12px 7px 0; opacity: .53; animation: actiaEvent 9s ease-in-out infinite; }
.actia-history-event:nth-of-type(2) { animation-delay: 3s; }
.actia-history-event:nth-of-type(3) { animation-delay: 6s; }
.actia-history-event i { z-index: 1; display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 2px solid #fff; border-radius: 50%; background: #edf3f8; color: #355c7d; box-shadow: 0 0 0 1px #dce8f0; font-size: 10px; font-style: normal; font-weight: 700; }
.actia-history-event div { display: grid; gap: 2px; }
.actia-history-event strong { color: #1e2f4d; font-size: 14px; }
.actia-history-event small { color: #74889b; font-size: 11px; }
@keyframes actiaTrack { 0%,7% { height: 0; } 36% { height: 50%; } 70%,90% { height: 100%; } 100% { height: 0; } }
@keyframes actiaEvent { 0%,28%,100% { opacity: .5; transform: translateX(0); } 8%,24% { opacity: 1; transform: translateX(5px); } }

/* Cómo funciona: burbujas y tarjetas con el mismo ritmo que el Home. */
.actia-workflow-detail { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); align-items: center; }
.actia-workflow-copy h2 { margin: 34px 0 26px; }
.actia-workflow-copy > p { margin-top: 0; font-size: clamp(17px,1.5vw,22px); }
.actia-flow { --actia-progress: 0%; position: relative; display: grid !important; grid-template-columns: repeat(5,minmax(0,1fr)) !important; gap: 4px !important; margin: 0 0 30px !important; padding: 0 !important; }
.actia-flow::before,.actia-flow::after { content: ""; position: absolute; z-index: 0; top: 40px; left: 10%; height: 3px; border-radius: 4px; }
.actia-flow::before { right: 10%; background: #edf2f6; }
.actia-flow::after { width: var(--actia-progress); background: #cfe2f1; transition: width .5s ease; }
.actia-workflow-visual .actia-flow-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 0; padding: 0 2px; border: 0; background: transparent; color: #1e2f4d; cursor: pointer; }
.actia-workflow-visual .actia-flow-step::after { display: none !important; }
.actia-workflow-visual .actia-flow-step > .actia-flow-bubble { display: grid; place-items: center; width: 80px; height: 80px; border: 2px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 10px 22px rgba(36,75,110,.1),inset 0 2px 2px #fff; transition: transform .3s ease,box-shadow .3s ease; }
.actia-flow-step:hover .actia-flow-bubble,.actia-flow-step:focus-visible .actia-flow-bubble { transform: translateY(-3px); }
.actia-flow-step.is-active .actia-flow-bubble { box-shadow: 0 0 0 4px #cfe2f1,0 0 16px rgba(207,226,241,.4),0 10px 22px rgba(36,75,110,.1); }
.actia-flow-icon { display: block; width: 62px; height: 62px; background: url('assets/actia-glass-icons.png') no-repeat; background-size: 500% auto; }
.actia-flow-icon-0 { background-position: 0% center; }
.actia-flow-icon-1 { background-position: 25% center; }
.actia-flow-icon-2 { background-position: 50% center; }
.actia-flow-icon-3 { background-position: 75% center; }
.actia-flow-icon-4 { background-position: 100% center; }
.actia-workflow-visual .actia-flow-step > strong { font-size: 11px; line-height: 1.2; text-align: center; }
.actia-flow-step.is-active > strong { color: #355c7d; }
.actia-flow-panels { position: relative; height: 220px; }
.actia-flow-panel { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; padding: 22px 26px; border: 1.5px solid #fff; border-radius: 28px; background: #fff; box-shadow: 0 17px 40px rgba(30,47,77,.09),inset 0 2px 2px #fff; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s ease,transform .35s ease,visibility .35s ease; }
.actia-flow-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.actia-flow-panel-copy h3 { margin: 0 0 9px; font-size: 27px; letter-spacing: -.04em; }
.actia-flow-panel-copy p { margin: 0 0 15px; font-size: 15px; line-height: 1.4; }
.actia-flow-panel-copy small { color: #8b9dac; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.actia-scene { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; height: 164px; padding: 16px; border: 1px solid #e8f0f5; border-radius: 18px; background: #f8fafc; overflow: hidden; }
.actia-scene-file,.actia-scene-result { display: grid; align-content: center; gap: 9px; flex: 1; min-width: 0; height: 94px; padding: 11px; border: 1px solid #e5edf3; border-radius: 13px; background: #fff; box-shadow: 0 6px 14px rgba(30,47,77,.05); color: #1e2f4d; font-size: 11px; font-weight: 700; line-height: 1.2; animation: actiaCardIn 3s ease-in-out infinite; }
.actia-scene-result { animation-delay: .55s; }
.actia-scene-file b,.actia-scene-result b { color: #66849d; font-size: 9px; font-weight: 500; }
.actia-scene-arrow { color: #85afca; font-size: 22px; animation: actiaArrow 3s ease-in-out infinite; }
@keyframes actiaCardIn { 0%,100% { transform: translateY(2px); box-shadow: 0 6px 14px rgba(30,47,77,.05); } 35%,65% { transform: translateY(-4px); box-shadow: 0 0 0 2px #cfe2f1,0 9px 20px rgba(53,92,125,.11); } }
@keyframes actiaArrow { 0%,100% { opacity: .35; transform: translateX(-3px); } 40%,65% { opacity: 1; transform: translateX(3px); } }

/* Beneficios: dos filas de tres tarjetas blancas con brillo al interactuar. */
.actia-main .actia-benefit-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.actia-main .actia-benefit-card { min-height: 164px; padding: 25px; border: 1.5px solid #fff; border-radius: 28px; background: #fff; box-shadow: 0 15px 34px rgba(30,47,77,.085),inset 0 2px 2px #fff; transition: transform .3s ease,box-shadow .3s ease; }
.actia-main .actia-benefit-card:hover,.actia-main .actia-benefit-card:focus-within { transform: translateY(-4px); box-shadow: 0 0 0 3px #cfe2f1,0 20px 42px rgba(53,92,125,.15),inset 0 2px 2px #fff; }
.actia-main .actia-benefit-card > span { flex: 0 0 45px; width: 45px; height: 45px; background: #f5f8fa; font-size: 23px; }
.actia-main .actia-benefit-card h3 { font-size: 20px; }
.actia-main .actia-benefit-card p { font-size: 15px; }

/* Dónde aplica: texto limpio y separadores. */
.actia-main .actia-use-list > div { gap: 0; padding: 14px 0; }

/* Preguntas frecuentes retoma la composición del Home. */
.actia-main > .product-faq { padding: 70px 0 !important; }
.actia-main .product-faq-grid { width: calc(100% - var(--site-content-gutter) - var(--site-content-gutter)); max-width: none; padding: 0; border-radius: 0; background: #fff; box-shadow: none; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 8%; }
.actia-main .product-faq .product-section-head h2 { max-width: 540px; margin: 28px 0 22px; font: 700 clamp(44px,4.25vw,64px)/1.07 var(--display); letter-spacing: -.055em; text-align: left; }
.actia-main .product-faq .product-section-head > p { max-width: 460px; font-size: 18px; line-height: 1.6; }
.actia-main .product-faq-list summary { padding: 19px 2px; font-size: 16px; }
.actia-main .product-faq-list details > p { font-size: 14px; line-height: 1.55; }

@media(max-width:1000px) {
  .actia-workflow-detail { grid-template-columns: 1fr; gap: 34px; }
  .actia-main .actia-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .actia-main .product-faq-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media(max-width:680px) {
  .actia-main .actia-detail-card { padding: 18px; }
  .actia-detail-preview { gap: 10px; }
  .actia-laptop { flex-basis: 54px; width: 54px; height: 54px; font-size: 30px; }
  .actia-detail-preview > b { font-size: 9px; }
  .actia-workflow-visual .actia-flow-step > .actia-flow-bubble { width: 56px; height: 56px; }
  .actia-flow-icon { width: 43px; height: 43px; }
  .actia-flow::before,.actia-flow::after { top: 28px; }
  .actia-workflow-visual .actia-flow-step > strong { font-size: 9px; }
  .actia-flow-panels { height: 320px; }
  .actia-flow-panel { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .actia-flow-panel-copy h3 { font-size: 23px; }
  .actia-scene { height: 125px; }
  .actia-scene-file,.actia-scene-result { height: 80px; font-size: 9px; }
  .actia-main .actia-benefit-grid { grid-template-columns: 1fr; }
  .actia-main .actia-benefit-card { min-height: 0; padding: 18px; }
  .actia-main > .product-faq { padding: 54px 0 !important; }
  .actia-main .product-faq .product-section-head h2 { font-size: 39px; }
}
@media(prefers-reduced-motion:reduce) {
  .actia-history-track::after,.actia-history-event,.actia-scene-file,.actia-scene-result,.actia-scene-arrow { animation: none; }
  .actia-history-event { opacity: 1; }
}

/* Ritmo uniforme entre todas las secciones a partir del hero. */
.actia-main { --actia-section-space: 68px; }
.actia-main > section:not(.actia-hero) { height: auto !important; min-height: 0 !important; padding-top: var(--actia-section-space) !important; padding-bottom: var(--actia-section-space) !important; }
.actia-main > .actia-hero { padding-bottom: var(--actia-section-space) !important; }
.actia-main > .actia-challenge,.actia-main > .actia-workflow,.actia-main > .actia-benefits,
.actia-main > .actia-applications,.actia-main > .actia-faq,.actia-main > .actia-cta,
.actia-main > .actia-next { background: #fff !important; }

/* Ficha del activo fiel a la distribución de la referencia. */
.actia-main .actia-detail-card { padding: 24px; border: 1.5px solid #fff; box-shadow: 0 14px 34px rgba(30,47,77,.08),inset 0 2px 2px #fff; }
.actia-main .actia-detail-card:hover { transform: translateY(-2px); border-color: #fff; box-shadow: 0 17px 38px rgba(30,47,77,.11),inset 0 2px 2px #fff; }
.actia-detail-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.actia-detail-title strong { color: #1e2f4d; font-size: clamp(17px,1.4vw,23px); line-height: 1.2; }
.actia-detail-title > span { flex: none; padding: 7px 12px; border-radius: 999px; background: #e7f5ec; color: #19845a; font-size: 11px; font-weight: 700; }
.actia-detail-columns { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.12fr) minmax(0,1.3fr); gap: 20px; align-items: stretch; }
.actia-laptop-photo { min-height: 220px; border-radius: 16px; background: #f5f8fb url('assets/actia-asset-history.png') no-repeat; background-size: 650% auto; background-position: 11% 43%; }
.actia-asset-fields { display: grid; align-content: center; gap: 0; margin: 0; }
.actia-asset-fields > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #edf1f5; font-size: 11px; }
.actia-asset-fields > div:nth-child(3) { margin-bottom: 5px; }
.actia-asset-fields dt { color: #8194a9; }
.actia-asset-fields dd { margin: 0; color: #1e2f4d; font-weight: 700; text-align: right; }
.actia-detail-columns .actia-history { min-width: 0; margin: 0; padding-left: 17px; border-left: 1px solid #dce8f1; gap: 3px; }
.actia-detail-columns .actia-history h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.03em; }
.actia-detail-columns .actia-history-track { top: 52px; bottom: 21px; left: 34px; }
.actia-detail-columns .actia-history-event { gap: 9px; padding: 5px 0; }
.actia-detail-columns .actia-history-event i { flex-basis: 37px; width: 37px; height: 37px; border-radius: 11px; background: #f1f6fa; color: #355c7d; box-shadow: none; font-size: 20px; }
.actia-detail-columns .actia-history-event strong { font-size: 11px; line-height: 1.2; }
.actia-detail-columns .actia-history-event small { font-size: 9px; line-height: 1.2; }

/* Los cinco iconos provienen exactamente del archivo adjunto. */
.actia-flow-icon { background-image: url('assets/actia-glass-icons-exact.png'); }
.actia-scene-symbol { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: #eaf2f8; color: #355c7d; font-size: 19px; font-style: normal; font-weight: 800; }
.actia-scene-file,.actia-scene-result { grid-template-columns: 32px minmax(0,1fr); align-content: center; column-gap: 8px; font-size: 10px; }
.actia-scene-file b,.actia-scene-result b { grid-column: 2; }
.actia-scene-symbol { grid-row: span 2; }
.scene-excel { background: #107c41; color: #fff; font-family: Arial,sans-serif; }
.scene-qr,.benefit-qr { background-color: #fff; background-image: repeating-linear-gradient(90deg,#243754 0 3px,transparent 3px 7px),repeating-linear-gradient(0deg,rgba(36,55,84,.65) 0 3px,transparent 3px 7px); background-blend-mode: multiply; border: 4px solid #fff; box-shadow: 0 0 0 1px #dce8f1; }
.scene-sign { background: #e7f5ec; color: #128057; }
.scene-alert { background: #fff5df; color: #bf8711; }
.actia-scene-register .scene-qr { animation: actiaQrScan 3s ease-in-out infinite; }
@keyframes actiaQrScan { 0%,100% { box-shadow: 0 0 0 1px #dce8f1; } 45%,65% { box-shadow: 0 0 0 4px #cfe2f1,0 0 14px rgba(53,92,125,.2); } }

/* Beneficios: mini escenas en la mitad izquierda, texto a la derecha. */
.actia-main .actia-benefit-grid { gap: 16px; margin-top: 24px; }
.actia-main .actia-benefit-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: 15px; min-height: 146px; padding: 14px; border: 1.5px solid #fff; border-radius: 27px; background: #fff; box-shadow: 0 13px 31px rgba(30,47,77,.085),inset 0 2px 2px #fff; }
.actia-main .actia-benefit-card:hover { transform: translateY(-3px); box-shadow: 0 17px 36px rgba(30,47,77,.12),inset 0 2px 2px #fff; }
.actia-main .actia-benefit-card h3 { margin: 0 0 7px; font-size: clamp(16px,1.15vw,19px); line-height: 1.2; }
.actia-main .actia-benefit-card p { margin: 0; font-size: clamp(11px,.85vw,14px); line-height: 1.35; }
.actia-benefit-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 116px; padding: 10px; border-radius: 18px; background: #f1f5f8; overflow: hidden; }
.actia-benefit-visual b,.actia-benefit-visual small { color: #355c7d; font-size: 10px; line-height: 1.2; }
.visual-live { flex-direction: column; }
.benefit-live-dot { position: absolute; top: 8px; right: 8px; color: #18845c; font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.benefit-live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #20b178; animation: benefitPulse 2s ease-in-out infinite; }
.benefit-qr { display: block; width: 36px; height: 36px; animation: benefitScan 3s ease-in-out infinite; }
.visual-live b { font-size: 12px; }
.benefit-paper { display: grid; gap: 6px; width: 86%; min-height: 82px; padding: 10px; border-radius: 8px; background: #fff; box-shadow: 0 6px 15px rgba(30,47,77,.08); color: #1e2f4d; font-size: 9px; font-weight: 700; transform: rotate(-3deg); animation: benefitLift 4s ease-in-out infinite; }
.benefit-paper i { color: #8496a6; font-size: 8px; font-style: normal; font-weight: 400; }
.benefit-paper em { color: #16845a; font-size: 9px; font-style: normal; }
.visual-history { justify-content: space-around; }
.benefit-history-line { position: absolute; left: 20%; right: 20%; top: 42%; height: 2px; background: #cfe2f1; }
.visual-history i { position: relative; z-index: 1; display: grid; place-items: center; width: 37px; height: 37px; border: 2px solid #fff; border-radius: 50%; background: #fff; color: #355c7d; box-shadow: 0 3px 9px rgba(30,47,77,.08); font-size: 7px; font-style: normal; animation: benefitPulse 3s ease-in-out infinite; }
.visual-history i:nth-of-type(2) { animation-delay: 1s; }.visual-history i:nth-of-type(3) { animation-delay: 2s; }
.visual-return,.visual-audit,.visual-maintenance { flex-direction: column; }
.benefit-return-icon { color: #355c7d; font-size: 50px; line-height: .8; animation: benefitTurn 4s ease-in-out infinite; }
.benefit-chart { display: flex; align-items: end; gap: 6px; height: 62px; }
.benefit-chart i { display: block; width: 12px; height: 25px; border-radius: 4px 4px 1px 1px; background: #8bb4d1; animation: benefitBar 3s ease-in-out infinite; }
.benefit-chart i:nth-child(2) { height: 36px; animation-delay: .2s; }.benefit-chart i:nth-child(3) { height: 48px; animation-delay: .4s; }.benefit-chart i:nth-child(4) { height: 58px; animation-delay: .6s; }
.benefit-gear { color: #5c86a8; font-size: 44px; line-height: .9; animation: benefitTurn 8s linear infinite; }
@keyframes benefitPulse { 50% { transform: scale(1.12); opacity: .8; } }
@keyframes benefitScan { 50% { box-shadow: 0 0 0 5px #cfe2f1,0 0 15px rgba(53,92,125,.2); } }
@keyframes benefitLift { 50% { transform: rotate(0) translateY(-4px); } }
@keyframes benefitTurn { 50% { transform: rotate(18deg); } }
@keyframes benefitBar { 50% { transform: scaleY(.72); transform-origin: bottom; } }

/* Preguntas frecuentes replica la tipografía, columnas y divisores del Home. */
.actia-main > .actia-faq { background: #fff !important; }
.actia-main .actia-faq .faq-wrap { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: start; gap: 5%; margin: 0 auto; padding: 0; border: 0; }
.actia-main .actia-faq .faq-heading h3 { margin: 34px 0 28px; color: #1e2f4d; font: 700 clamp(48px,4.8vw,74px)/1.05 var(--display); letter-spacing: -.065em; }
.actia-main .actia-faq .faq-heading h3 em { color: #355c7d; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; white-space: nowrap; }
.actia-main .actia-faq .faq-heading > p { max-width: 500px; margin: 0; color: #60758a; font-size: clamp(19px,1.7vw,25px); line-height: 1.52; }
.actia-main .actia-faq .text-link { display: inline-flex; margin-top: 30px; }
.actia-main .actia-faq .faq-list details { border-bottom: 1px solid #dce6ed; }
.actia-main .actia-faq .faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 18px 3px; color: #1e2f4d; font-size: clamp(16px,1.2vw,20px); font-weight: 600; }
.actia-main .actia-faq .faq-list summary span { color: #d99a14; background: none; border: 0; font-size: 22px; }
.actia-main .actia-faq .faq-list details p { margin: 0 24px 18px 3px; color: #60758a; font-size: 15px; line-height: 1.5; }

/* Cierre blanco como las otras superficies de la página. */
.actia-main .actia-cta .actia-shell { background: #fff; border: 1.5px solid #fff; box-shadow: 0 15px 36px rgba(30,47,77,.09),inset 0 2px 2px #fff; }

@media(max-width:900px) { .actia-detail-columns { grid-template-columns: minmax(0,.6fr) minmax(0,1fr); } .actia-detail-columns .actia-history { grid-column: 1/-1; border-left: 0; border-top: 1px solid #dce8f1; padding: 12px 0 0; } .actia-detail-columns .actia-history-track { display: none; } .actia-detail-columns .actia-history-event { display: inline-flex; width: 32%; vertical-align: top; } }
@media(max-width:1000px) { .actia-main .actia-faq .faq-wrap { grid-template-columns: 1fr; gap: 30px; } }
@media(max-width:680px) { .actia-main { --actia-section-space: 54px; } .actia-detail-columns { grid-template-columns: 1fr; gap: 12px; } .actia-laptop-photo { min-height: 145px; background-size: 480% auto; } .actia-detail-columns .actia-history-event { display: flex; width: 100%; } .actia-main .actia-benefit-grid { grid-template-columns: 1fr; } .actia-main .actia-benefit-card { min-height: 135px; } .actia-main .actia-faq .faq-heading h3 { font-size: clamp(38px,10vw,52px); } .actia-main .actia-faq .faq-heading h3 em { white-space: normal; } }
@media(prefers-reduced-motion:reduce) { .actia-benefit-visual *,.actia-scene-register .scene-qr { animation: none !important; } }

/* Ajustes de proporción y progreso de la ficha. */
.actia-main .actia-detail-card { width: 100%; max-width: none; }
.actia-detail-columns { grid-template-columns: minmax(0,.72fr) minmax(0,1.08fr) minmax(0,1.25fr); }
.actia-detail-columns .actia-history { grid-column: auto; border-top: 0; border-left: 1px solid #dce8f1; padding: 0 0 0 17px; }
.actia-detail-columns .actia-history-track { display: block; width: 3px; background: #e6eef4; overflow: hidden; }
.actia-detail-columns .actia-history-track::after { width: 100%; background: #5c9bc0; box-shadow: 0 0 7px rgba(92,155,192,.55); }
.actia-detail-columns .actia-history-event { display: flex; width: auto; transition: opacity .4s ease,color .4s ease; }
.actia-detail-columns .actia-history-event i { transition: background .4s ease,color .4s ease; }
@media(max-width:900px) { .actia-detail-columns { grid-template-columns: minmax(0,.6fr) minmax(0,1fr); } .actia-detail-columns .actia-history { grid-column: 1/-1; border-left: 0; border-top: 1px solid #dce8f1; padding: 12px 0 0; } .actia-detail-columns .actia-history-track { display: none; } .actia-detail-columns .actia-history-event { display: inline-flex; width: 32%; vertical-align: top; } }

/* Recursos entregados para el QR, celular, firma y caja. */
.actia-scene-result .scene-qr-image { grid-row: span 2; width: 32px; height: 32px; border-radius: 5px; object-fit: cover; animation: actiaQrScan 3s ease-in-out infinite; }
.actia-scene-phone { width: 55px; height: 124px; object-fit: contain; animation: benefitLift 3.5s ease-in-out infinite; }
.actia-scene-signature { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 98px; min-height: 102px; padding: 5px; border: 1px solid #e5edf3; border-radius: 12px; background: #fff; }
.actia-scene-signature img { display: block; width: 76px; height: 76px; object-fit: contain; }
.actia-scene-signature b { color: #16845a; font-size: 9px; white-space: nowrap; }
.actia-scene-control { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; flex: 1; height: 110px; border: 1px solid #e5edf3; border-radius: 13px; background: #fff; }
.actia-scene-control small { color: #355c7d; font-size: 10px; font-weight: 700; }
.actia-on-switch { position: relative; display: block; width: 53px; height: 29px; border-radius: 99px; background: #b9c9d4; animation: actiaSwitchColor 4s ease-in-out infinite; }
.actia-on-switch i { position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.15); animation: actiaSwitchMove 4s ease-in-out infinite; }
.actia-turning-gear { color: #5c86a8; font-size: 47px; line-height: 1; animation: actiaGearSpin 4s ease-in-out infinite; }
.scene-box-image { grid-row: span 2; width: 31px; height: 31px; object-fit: contain; }
@keyframes actiaSwitchColor { 0%,20%,100% { background: #b9c9d4; } 40%,80% { background: #42bd91; } }
@keyframes actiaSwitchMove { 0%,20%,100% { transform: translateX(0); } 40%,80% { transform: translateX(24px); } }
@keyframes actiaGearSpin { 0%,20% { transform: rotate(0); } 75%,100% { transform: rotate(180deg); } }
.benefit-box-image { position: absolute; top: 25px; left: 27%; width: 29px; height: 29px; object-fit: contain; }
.visual-live .benefit-qr { display: block; position: absolute; top: 25px; right: 25%; width: 35px; height: 35px; border: 0; border-radius: 4px; object-fit: cover; box-shadow: none; animation: benefitScan 3s ease-in-out infinite; }
.visual-live b { position: absolute; bottom: 12px; }

/* Historial de beneficios: desciende y cambia de estado. */
.visual-history { flex-direction: column; align-items: flex-start; justify-content: space-around; gap: 2px; padding-left: 29px; }
.visual-history .benefit-history-line { top: 18px; bottom: 18px; left: 19px; right: auto; width: 2px; height: auto; background: #dbe7ef; }
.visual-history .benefit-history-line::after { content: ""; display: block; width: 2px; height: 0; background: #5c9bc0; animation: benefitHistoryTrack 9s ease-in-out infinite; }
.visual-history i { display: flex; justify-content: flex-start; width: auto; height: 27px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; box-shadow: none; color: #91a1ad; font-size: 9px; animation: benefitHistoryRow 9s ease-in-out infinite; }
.visual-history i::before { content: ""; position: absolute; left: -16px; width: 8px; height: 8px; border-radius: 50%; background: #dbe7ef; }
.visual-history i:nth-of-type(2) { animation-delay: 3s; }.visual-history i:nth-of-type(3) { animation-delay: 6s; }
@keyframes benefitHistoryTrack { 0% { height: 0; } 75%,95% { height: 100%; } 100% { height: 0; } }
@keyframes benefitHistoryRow { 0%,100% { color: #91a1ad; background: transparent; } 18%,30% { color: #1e2f4d; background: #e8f2f8; } }

/* Dashboard web en Auditoría y aviso de mantenimiento. */
.visual-audit { padding: 7px; }
.benefit-browser { width: 100%; height: 100%; padding: 6px 8px; border: 1px solid #dce8f1; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(30,47,77,.07); }
.benefit-browser-top { display: flex; align-items: center; gap: 3px; height: 12px; border-bottom: 1px solid #e7edf2; }
.benefit-browser-top i { width: 4px; height: 4px; border-radius: 50%; background: #cfbfa4; }
.benefit-browser-top i:nth-child(3) { background: #a9c5d3; }
.benefit-browser-top small { margin-left: auto; color: #8194a4; font-size: 6px; }
.benefit-browser-kpis { display: flex; justify-content: space-around; padding-top: 5px; }
.benefit-browser-kpis b { display: grid; color: #1e2f4d; font-size: 12px; line-height: 1; }
.benefit-browser-kpis small { color: #8194a4; font-size: 6px; font-weight: 400; }
.benefit-browser .benefit-chart { justify-content: center; height: 36px; margin-top: 3px; }
.benefit-browser .benefit-chart i { width: 8px; max-height: 33px; }
.visual-maintenance::after { content: ""; position: absolute; bottom: 8px; left: 12px; width: calc(100% - 24px); height: 3px; border-radius: 3px; background: linear-gradient(90deg,#5c9bc0 0 65%,#dce8ef 65%); }

/* El ancho de la sección FAQ llega al mismo borde que las demás. */
.actia-main > .actia-faq { width: 100% !important; max-width: none !important; margin: 0 !important; }
.actia-main > .actia-faq .faq-wrap.actia-shell { width: calc(100% - var(--site-content-gutter) - var(--site-content-gutter)) !important; max-width: none !important; margin-left: auto !important; margin-right: auto !important; }
@media(max-width:680px) { .actia-detail-columns { grid-template-columns: 1fr; } .actia-detail-columns .actia-history-event { display: flex; width: 100%; } .actia-scene-phone { width: 43px; height: 100px; } .actia-scene-signature { width: 80px; } .actia-scene-signature img { width: 58px; height: 58px; } }
@media(prefers-reduced-motion:reduce) { .actia-scene-phone,.actia-turning-gear,.actia-on-switch,.actia-on-switch i,.visual-history .benefit-history-line::after,.visual-history i { animation: none !important; } }

/* Ajustes finales de las escenas y estados de ACTIA. */
.actia-detail-title > span { display: inline-flex; align-items: center; gap: 7px; }
.actia-use-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #159663; animation: actiaUseBlink 1.5s ease-in-out infinite; }
@keyframes actiaUseBlink { 50% { opacity: .22; box-shadow: 0 0 0 4px rgba(21,150,99,.12); } }
.actia-detail-columns .actia-history-event i { border: 2px solid #fff; border-radius: 50%; background: #1e2f4d; color: #fff; box-shadow: 0 0 0 1px rgba(30,47,77,.12); font-size: 18px; }

.actia-scene-register { gap: 5px; padding: 9px; }
.actia-scene-register .actia-scene-file,.actia-scene-register .actia-scene-result { min-width: 0; padding: 8px 6px; grid-template-columns: 27px minmax(0,1fr); column-gap: 5px; font-size: 9px; overflow: hidden; }
.actia-scene-register .actia-scene-symbol,.actia-scene-register .scene-qr-image { width: 27px; height: 27px; }
.actia-scene-register .actia-scene-file span,.actia-scene-register .actia-scene-result span { min-width: 0; overflow-wrap: anywhere; line-height: 1.1; }
.actia-scene-register b { min-width: 0; font-size: 8px; line-height: 1.2; overflow-wrap: anywhere; }
.actia-scene-register .actia-scene-arrow { flex: none; font-size: 17px; }

.actia-scene-mobile,.actia-scene-signature { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; height: 128px; padding: 5px; border: 1px solid #e5edf3; border-radius: 12px; background: #fff; text-align: center; }
.actia-scene-mobile .actia-scene-phone { width: 37px; height: 82px; }
.actia-scene-mobile span { display: grid; gap: 1px; }
.actia-scene-mobile strong,.actia-scene-signature span { color: #1e2f4d; font-size: 9px; line-height: 1.1; }
.actia-scene-mobile small { color: #74889b; font-size: 8px; }
.actia-scene-signature { width: auto; min-height: 0; }
.actia-scene-signature img { width: 52px; height: 52px; }
.actia-scene-signature b { font-size: 8px; }
.actia-scene-control { gap: 7px; padding: 7px; text-align: center; }
.actia-scene-control small { font-size: 9px; line-height: 1.1; }
.actia-scene-control b { color: #74889b; font-size: 8px; line-height: 1.2; }
.actia-scene-report .actia-scene-file { min-width: 0; padding: 8px 6px; grid-template-columns: 28px minmax(0,1fr); column-gap: 5px; }
.actia-scene-report .scene-box-image { width: 28px; height: 28px; }
.actia-scene-report .actia-scene-file b { font-size: 8px; overflow-wrap: anywhere; }
.actia-report-phone { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; flex: 0 0 75px; height: 124px; padding: 10px 7px; border: 4px solid #273c58; border-radius: 15px; background: #fff; box-shadow: 0 5px 12px rgba(30,47,77,.15); }
.actia-report-phone small { color: #8496a6; font-size: 6px; letter-spacing: .1em; }
.actia-report-phone strong { color: #1e2f4d; font-size: 9px; }
.actia-report-phone span { display: flex; align-items: end; gap: 3px; height: 36px; padding: 5px; border-radius: 5px; background: #eef5f9; }
.actia-report-phone span i { flex: 1; height: 30%; border-radius: 2px 2px 0 0; background: #78a9c9; animation: benefitBar 2s ease-in-out infinite; }
.actia-report-phone span i:nth-child(2) { height: 65%; animation-delay: .25s; }
.actia-report-phone span i:nth-child(3) { height: 90%; animation-delay: .5s; }
.actia-report-phone b { color: #16845a; font-size: 8px; }

.benefit-paper em { display: flex; align-items: center; gap: 4px; }
.benefit-paper em img { width: 19px; height: 19px; object-fit: contain; }
.benefit-paper em b { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #daf3e6; color: #16845a; font-size: 10px; }
.visual-history i { justify-content: space-between; width: calc(100% - 5px); min-height: 27px; background: #fff; border: 1px solid #e3ebf1; box-shadow: 0 2px 7px rgba(30,47,77,.08); }
.visual-history i b { margin-left: auto; color: #8496a6; font-size: 10px; animation: benefitHistoryCheck 9s ease-in-out infinite; }
.visual-history i:nth-of-type(2) b { animation-delay: 3s; }
.visual-history i:nth-of-type(3) b { animation-delay: 6s; }
@keyframes benefitHistoryRow { 0%,100% { color: #91a1ad; background: #fff; border-color: #e3ebf1; } 18%,30% { color: #1e2f4d; background: #f7fcff; border-color: #b9d9ed; } }
@keyframes benefitHistoryCheck { 0%,100% { color: #a5b3bf; } 18%,30% { color: #16845a; } }
.visual-return img { width: 44px; height: 44px; object-fit: contain; animation: benefitLift 4s ease-in-out infinite; }
.visual-return .benefit-return-chip { padding: 5px 10px; border-radius: 999px; background: #e1f5e8; color: #16845a; font-size: 9px; }
@media(max-width:680px) { .actia-scene-mobile,.actia-scene-signature { height: 112px; } .actia-scene-mobile .actia-scene-phone { width: 32px; height: 66px; } .actia-scene-signature img { width: 42px; height: 42px; } }
@media(prefers-reduced-motion:reduce) { .actia-use-dot,.actia-report-phone span i,.visual-history i b,.visual-return img { animation: none !important; } }

/* El avance ilumina el texto; los checks quedan siempre sólidos. */
.actia-detail-columns .actia-history-event { opacity: 1; animation: none; transform: none; }
.actia-detail-columns .actia-history-event div { opacity: .55; animation: actiaEventText 9s ease-in-out infinite; }
.actia-detail-columns .actia-history-event:nth-of-type(2) div { animation-delay: 3s; }
.actia-detail-columns .actia-history-event:nth-of-type(3) div { animation-delay: 6s; }
@keyframes actiaEventText { 0%,28%,100% { opacity: .55; } 8%,24% { opacity: 1; } }
@media(prefers-reduced-motion:reduce) { .actia-detail-columns .actia-history-event div { opacity: 1; animation: none !important; } }

/* Las descripciones ampliadas mantienen las negritas y caben en su tarjeta. */
.actia-flow-panels { height: 260px; }
.actia-flow-panel-copy p { font-size: clamp(12px, .9vw, 15px); line-height: 1.35; }
.actia-flow-panel-copy p strong { color: #1e2f4d; font-weight: 800; }
@media(max-width:680px) { .actia-flow-panels { height: 360px; } }

/* Dónde aplica: sectores compactos a la izquierda e integraciones a la derecha. */
.actia-main .actia-app-grid { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); align-items: center; gap: clamp(28px,4vw,72px); }
.actia-app-left { min-width: 0; }
.actia-app-left h2 { margin: 26px 0 22px; font-size: clamp(38px,4.25vw,64px); line-height: 1.07; white-space: nowrap; }
.actia-app-left .actia-use-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
.actia-app-left .actia-use-list > div { min-width: 0; min-height: 62px; padding: 7px 0; }
.actia-app-left .actia-use-list strong { font-size: clamp(12px,.91vw,15px); line-height: 1.2; }
.actia-app-left .actia-use-list small { margin-top: 3px; font-size: clamp(9px,.7vw,11px); line-height: 1.3; }
.actia-integrations { min-width: 0; padding: clamp(22px,2.2vw,38px); border: 1px solid #e9f0f5; border-radius: 28px; background: #fff; box-shadow: 0 15px 38px rgba(30,47,77,.08),inset 0 2px 2px #fff; }
.actia-integrations h2 { margin: 25px 0 21px; font-size: clamp(38px,4.25vw,64px); line-height: 1.07; letter-spacing: -.055em; }
.actia-integrations p { margin: 0 0 22px; color: #65798b; font-size: clamp(12px,1vw,16px); line-height: 1.55; }
.actia-integration-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.actia-integration-tags span { padding: 9px 12px; border: 1px solid #dde8ef; border-radius: 999px; background: #fff; box-shadow: 0 2px 7px rgba(30,47,77,.03); color: #516d87; font-size: clamp(10px,.76vw,12px); font-weight: 700; white-space: nowrap; }
@media(max-width:900px) { .actia-main .actia-app-grid { grid-template-columns: 1fr; gap: 28px; } .actia-app-left h2 { margin-bottom: 18px; } }
@media(max-width:680px) { .actia-app-left h2 { font-size: clamp(32px,7vw,39px); white-space: normal; } .actia-app-left .actia-use-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; } .actia-app-left .actia-use-list > div { min-height: 72px; } .actia-integrations h2 { font-size: 39px; } }

/* Video silencioso del hero, sin recortar el encuadre original. */
.actia-dashboard .actia-hero-video { display: block; width: 100%; max-height: calc(100svh - 130px); height: auto; margin: auto; object-fit: contain; border-radius: 20px; filter: drop-shadow(0 20px 28px rgba(53,92,125,.12)); }
@media(max-width:1000px) { .actia-dashboard .actia-hero-video { max-height: none; } }

/* GIF de mantenimiento en el flujo y en beneficios. */
.actia-scene-control .actia-maintenance-gif { display: block; width: 47px; height: 47px; object-fit: contain; mix-blend-mode: multiply; }
.visual-maintenance .benefit-maintenance-gif { display: block; width: 51px; height: 51px; object-fit: contain; mix-blend-mode: multiply; }
.visual-maintenance { gap: 3px; }

/* Dos lecturas de auditoría: barras y distribución circular. */
.benefit-browser-charts { display: flex; align-items: center; justify-content: space-around; gap: 7px; margin-top: 2px; }
.benefit-browser-charts .benefit-chart { flex: 1; max-width: 86px; margin-top: 0; }
.benefit-donut { position: relative; display: block; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(#6c9fbe 0 72%,#d9e9f3 72% 90%,#e5b24c 90% 100%); box-shadow: 0 2px 5px rgba(30,47,77,.08); animation: benefitDonut 4s ease-in-out infinite; }
.benefit-donut::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
@keyframes benefitDonut { 50% { transform: rotate(18deg); } }
@media(prefers-reduced-motion:reduce) { .benefit-donut { animation: none !important; } }
