﻿/* ══════════════════════════════════════════════
   Autoconsumo · introducción + diagrama interactivo del ciclo del combustible
   Introducción: mismo lenguaje que Terminales y Autoservicio (etiqueta con línea punteada, título con la palabra clave
   resaltada, párrafos con negritas, píldoras y círculo con halo, órbita y badges).
   Diagrama: semicírculo de 7 tarjetas (una por etapa) alrededor de un disco central que explica la etapa activa.
   En pantallas angostas el semicírculo se reemplaza por una lista de pasos con la misma interacción.
   ═════════════════════════════════════════════ */
.sol-ac { container-type: inline-size; max-width: 1180px; margin: 0 auto; padding: 56px 0 0; }

/* Introducción */
.sol-ac__logo { display: block; width: 230px; max-width: 64%; height: auto; margin: 0 0 18px; }
.sol-ac__hero { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.sol-ctrl-intro { min-width: 0; }
.sol-ctrl-intro__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #2f5fa8; }
.sol-ctrl-intro__eyebrow::before { content: ""; width: 28px; border-top: 1.5px dashed currentColor; }
.sol-ctrl-intro__title { margin: 0 0 18px; font-size: 2.1em; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: #1a3a6b; text-wrap: balance; }
.sol-ctrl-intro__title span { color: #1a3a6b; background: linear-gradient(transparent 62%, #dbe7f7 62%); }
.sol-ctrl-intro__text { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.7; color: #4b5563; text-wrap: pretty; }
.sol-ctrl-intro__text:last-of-type { margin-bottom: 28px; }
.sol-ctrl-intro__text strong { font-weight: 700; color: #1a3a6b; }
.sol-ctrl-intro__pillars { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sol-ctrl-intro__pillar { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border: 1px solid #e6ebf2; border-radius: 14px; background: #fff; font-size: .88rem; font-weight: 600; line-height: 1.3; color: #1a3a6b; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.sol-ctrl-intro__pillar:hover { border-color: #d3deee; box-shadow: 0 10px 24px rgba(26, 58, 107, .08); transform: translateY(-2px); }
.sol-ctrl-intro__icon { flex: 0 0 auto; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #dbe7f7; color: #1a3a6b; }
.sol-ctrl-intro__icon .material-symbols-rounded { font-size: 21px; }

.sol-ac__media { position: relative; justify-self: center; width: calc(100% - 44px); max-width: 420px; margin: 0; aspect-ratio: 1 / 1; }
.sol-ac__glow { position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(closest-side, #dbe7f7 0%, rgba(219, 231, 247, .55) 55%, rgba(219, 231, 247, 0) 100%); }
.sol-ac__orbit { position: absolute; inset: -18px; border: 1.5px dashed #8faad4; border-radius: 50%; animation: acSpin 60s linear infinite; }
.sol-ac__orbit::after { content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #1a3a6b; }
.sol-ac__disc0 { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(160deg, #f3f7fd 0%, #d9e6f6 100%); box-shadow: 0 30px 60px -20px rgba(26, 58, 107, .35); }
.sol-ac__shot { position: absolute; left: 50%; top: 50%; width: 76%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 22px 18px rgba(15, 23, 42, .25)); }
.sol-ac__badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); box-shadow: 0 12px 30px rgba(26, 58, 107, .16); white-space: nowrap; animation: acFloat 6s ease-in-out infinite; }
.sol-ac__badge--a { top: 4%; left: -4%; }
.sol-ac__badge--b { bottom: 8%; right: -2%; animation-delay: -3s; }
.sol-ac__badge-ico { flex: 0 0 auto; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(145deg, #2f5fa8, #1a3a6b); color: #fff; }
.sol-ac__badge-ico .material-symbols-rounded { font-size: 21px; }
.sol-ac__badge small { display: block; font-size: .72rem; line-height: 1.2; color: #4b5563; }
.sol-ac__badge strong { display: block; font-size: .88rem; line-height: 1.25; color: #1a3a6b; }

/* Diagrama */
.sol-ac__dhead { text-align: center; max-width: 760px; margin: clamp(56px, 8vw, 96px) auto 28px; }
.sol-ac__dhead .sol-ctrl-intro__eyebrow { justify-content: center; }
.sol-ac__dhead .sol-ctrl-intro__eyebrow::after { content: ""; width: 28px; border-top: 1.5px dashed currentColor; }
.sol-ac__dhead .sol-ctrl-intro__title { margin-bottom: 10px; }
.sol-ac__dsub { margin: 0; font-size: 1.02rem; color: #4b5563; }

.sol-ac__dia { container-type: inline-size; padding: clamp(14px, 3cqw, 32px) clamp(8px, 2cqw, 24px) clamp(18px, 3cqw, 32px); border: 1px solid #e3e9f2; border-radius: 36px; background: radial-gradient(90% 70% at 50% 0%, #f7f9fd 0%, #e9eff8 100%); }
.sol-ac__stage { position: relative; container-type: inline-size; width: 100%; max-width: 1060px; margin: 0 auto; aspect-ratio: 1000 / 700; }
.sol-ac__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sol-ac__seg { cursor: pointer; outline: none; filter: drop-shadow(0 12px 14px rgba(26, 58, 107, .14)); transition: filter .3s ease; }
.sol-ac__seg path { fill: #fff; stroke: #fff; stroke-width: 18; stroke-linejoin: round; transition: fill .3s ease, stroke .3s ease; }
.sol-ac__seg:hover path { fill: #f1f6fd; stroke: #f1f6fd; }
.sol-ac__seg.is-on path { fill: url(#acGrad); stroke: url(#acGrad); }
.sol-ac__seg.is-on { filter: drop-shadow(0 18px 20px rgba(18, 41, 74, .35)); }
.sol-ac__seg:focus-visible path { stroke: #2f5fa8; }
.sol-ac__arc { fill: none; stroke: #c9d8ee; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 9; }
.sol-ac__prog { fill: none; stroke: #2f5fa8; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; transition: stroke-dashoffset .6s cubic-bezier(.22, .61, .36, 1); }
.sol-ac__needle { transform-origin: 500px 490px; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }

.sol-ac__tiles { position: absolute; inset: 0; pointer-events: none; }
.sol-ac__tile { position: absolute; width: 15%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 1.1cqw; text-align: center; color: #1a3a6b; transition: color .3s ease, transform .3s ease; }
.sol-ac__tile-n { font-size: clamp(.6rem, 1.3cqw, .8rem); font-weight: 800; letter-spacing: .08em; color: #2f5fa8; transition: color .3s ease; }
.sol-ac__tile-ico { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 50%; background: #dbe7f7; transition: background .3s ease; }
.sol-ac__tile-ico .material-symbols-rounded { font-size: clamp(18px, 3.4cqw, 34px); }
.sol-ac__tile-name { font-size: clamp(.6rem, 1.3cqw, .86rem); font-weight: 700; line-height: 1.2; }
.sol-ac__tile.is-on { color: #fff; transform: translate(-50%, -53%); }
.sol-ac__tile.is-on .sol-ac__tile-n { color: #cfe0f7; }
.sol-ac__tile.is-on .sol-ac__tile-ico { background: rgba(255, 255, 255, .18); }

/* Disco central: explica la etapa activa */
.sol-ac__center { position: absolute; left: 50%; top: 70%; width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-content: center; justify-items: center; gap: .9cqw; padding: 4.4cqw; border-radius: 50%; background: linear-gradient(160deg, #ffffff 0%, #eef3fa 100%); box-shadow: 0 30px 50px -22px rgba(18, 41, 74, .45), inset 0 0 0 1px #e3e9f2; text-align: center; }
.sol-ac__center::before { content: ""; position: absolute; inset: 1.6cqw; border-radius: 50%; border: 1.5px dashed #c9d8ee; pointer-events: none; }
.sol-ac__c-eyebrow { margin: 0; font-size: clamp(.55rem, 1.15cqw, .72rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #2f5fa8; }
.sol-ac__c-ico { display: grid; place-items: center; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: linear-gradient(145deg, #2f5fa8, #1a3a6b); color: #fff; }
.sol-ac__c-ico .material-symbols-rounded { font-size: clamp(20px, 3.6cqw, 36px); }
.sol-ac__c-name { margin: 0; font-size: clamp(1rem, 2.8cqw, 1.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: #1a3a6b; }
.sol-ac__c-name span { color: #1a3a6b; background: linear-gradient(transparent 62%, #dbe7f7 62%); }
.sol-ac__c-desc { margin: 0; max-width: 24ch; font-size: clamp(.68rem, 1.4cqw, .92rem); line-height: 1.5; color: #4b5563; text-wrap: balance; }
.sol-ac__c-count { margin: 0; font-size: clamp(.58rem, 1.15cqw, .74rem); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #4b5563; }
.sol-ac__c-swap { animation: acSwap .45s ease both; }

/* Lista de pasos (pantallas angostas) */
.sol-ac__list { display: none; margin: 0; padding: 0; list-style: none; gap: 8px; }
.sol-ac__step { border: 1px solid #e3e9f2; border-radius: 18px; background: #fff; overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.sol-ac__step.is-on { border-color: #2f5fa8; box-shadow: 0 14px 26px -18px rgba(26, 58, 107, .55); }
.sol-ac__step-btn { width: 100%; display: grid; grid-template-columns: 22px 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.sol-ac__step-btn:focus-visible { outline: 3px solid #2f5fa8; outline-offset: -3px; }
.sol-ac__step-n { font-size: .78rem; font-weight: 800; color: #2f5fa8; }
.sol-ac__step-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #dbe7f7; color: #1a3a6b; transition: background .25s ease, color .25s ease; }
.sol-ac__step-ico .material-symbols-rounded { font-size: 22px; }
.sol-ac__step.is-on .sol-ac__step-ico { background: #1a3a6b; color: #fff; }
.sol-ac__step-name { font-size: .98rem; font-weight: 700; color: #1a3a6b; }
.sol-ac__step-desc { display: none; margin: 0; padding: 0 16px 16px 60px; font-size: .9rem; line-height: 1.6; color: #4b5563; }
.sol-ac__step.is-on .sol-ac__step-desc { display: block; }

.sol-ac__close { position: relative; max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; padding-top: 28px; text-align: center; font-size: clamp(1.1rem, 2.4cqw, 1.4rem); font-weight: 600; line-height: 1.55; color: #4b5563; text-wrap: balance; }
.sol-ac__close::before { content: ""; position: absolute; left: 50%; top: 0; width: 56px; border-top: 1.5px dashed #8faad4; transform: translateX(-50%); }
.sol-ac__close .hl { font-weight: 800; color: #1a3a6b; background: linear-gradient(transparent 62%, #dbe7f7 62%); }

@keyframes acSpin { to { transform: rotate(360deg); } }
@keyframes acFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes acSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@container (min-width: 700px) { .sol-ac__badge--a { left: -12%; } .sol-ac__badge--b { right: -10%; } }
@container (min-width: 860px) { .sol-ac__hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
@container (max-width: 599.98px) { .sol-ctrl-intro__title { font-size: 1.6em; } }
@container (max-width: 719.98px) {
    .sol-ac__stage { display: none; }
    .sol-ac__list { display: grid; }
    .sol-ac__dia { padding: 14px; border-radius: 26px; }
}
@media (max-width: 559.98px) {
    .sol-ac__media { max-width: 300px; }
    .sol-ac__orbit { inset: -12px; }
    .sol-ac__badge { padding: 8px 12px 8px 8px; }
    .sol-ac__badge--a { top: 3%; left: -8%; }
    .sol-ac__badge--b { bottom: 3%; right: -8%; }
}
@media (prefers-reduced-motion: reduce) {
    .sol-ac__orbit, .sol-ac__badge, .sol-ac__c-swap { animation: none; }
    .sol-ac__prog, .sol-ac__needle, .sol-ac__tile, .sol-ac__seg path { transition: none; }
}

/* ══════════════════════════════════════════════
   Autoconsumo · capacidades de ControlGAS NG (puntos 1 a 4)
   Introducción (etiqueta, título con la palabra clave resaltada y párrafo) y cuatro tarjetas con efecto de slider:
   se deslizan con flechas, puntos, teclado o arrastrando. Muestra 3 tarjetas, 2 o 1 según el ancho de la sección.
   La tarjeta activa (cursor, foco, clic o la primera visible) se resalta en azul, como en la referencia.
   ═════════════════════════════════════════════ */
.sol-cap { container-type: inline-size; max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 88px) 0 0; }

.sol-cap__intro { max-width: 860px; margin: 0 0 36px; }
.sol-cap__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #2f5fa8; }
.sol-cap__eyebrow::before { content: ""; width: 28px; border-top: 1.5px dashed currentColor; }
.sol-cap__title { margin: 0 0 18px; font-size: 2.1em; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: #1a3a6b; text-wrap: balance; }
.sol-cap__title span { background: linear-gradient(transparent 62%, #dbe7f7 62%); }
.sol-cap__text { margin: 0; font-size: 1.05rem; line-height: 1.75; color: #4b5563; text-wrap: pretty; }
.sol-cap__text strong { font-weight: 700; color: #1a3a6b; }

/* Barra: etiqueta + flechas */
.sol-cap__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.sol-cap__lead { margin: 0; font-size: 1rem; font-weight: 700; color: #1a3a6b; }
.sol-cap__lead span { color: #2f5fa8; }
.sol-cap__ctrl { display: flex; align-items: center; gap: 10px; }
.sol-cap__count { min-width: 3.4em; text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: #4b5563; }
.sol-cap__arrow { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #d3deee; border-radius: 50%; background: #fff; color: #1a3a6b; cursor: pointer; transition: background .25s ease, color .25s ease, opacity .25s ease; }
.sol-cap__arrow:hover:not(:disabled) { background: #1a3a6b; color: #fff; }
.sol-cap__arrow:disabled { opacity: .35; cursor: default; }
.sol-cap__arrow:focus-visible, .sol-cap__dot:focus-visible, .sol-cap__viewport:focus-visible { outline: 3px solid #2f5fa8; outline-offset: 3px; }

/* Pista */
.sol-cap__viewport { --per: 3; --gap: 20px; overflow: hidden; margin: 0 -8px; padding: 14px 8px 30px; touch-action: pan-y; }
.sol-cap__track { display: flex; align-items: stretch; gap: var(--gap); margin: 0; padding: 0; list-style: none; transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.sol-cap__viewport.is-drag .sol-cap__track { transition: none; }

.sol-cap__card { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 26px; border: 1px solid #e6ebf2; border-radius: 28px; background: #fff; color: #4b5563; cursor: pointer; user-select: none; transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease; }
.sol-cap__card:hover { border-color: #c9d8ee; }
.sol-cap__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sol-cap__ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: #dbe7f7; color: #1a3a6b; transition: background .35s ease, color .35s ease; }
.sol-cap__ico .material-symbols-rounded { font-size: 34px; }
.sol-cap__num { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #dbe7f7; transition: color .35s ease; }
.sol-cap__name { margin: 4px 0 0; font-size: 1.22rem; font-weight: 800; line-height: 1.25; color: #1a3a6b; text-wrap: balance; transition: color .35s ease; }
.sol-cap__desc { margin: 0; font-size: .95rem; line-height: 1.65; color: #4b5563; text-wrap: pretty; transition: color .35s ease; }
.sol-cap__list { display: grid; gap: 9px; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px dashed #d3deee; list-style: none; transition: border-color .35s ease; }
.sol-cap__list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; }
.sol-cap__list li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; font-size: .88rem; line-height: 1.45; color: #374151; transition: color .35s ease; }
.sol-cap__list .material-symbols-rounded { font-size: 19px; color: #2f5fa8; transition: color .35s ease; }

.sol-cap__card.is-on { border-color: transparent; background: linear-gradient(160deg, #2f5fa8 0%, #12294a 100%); box-shadow: 0 28px 44px -26px rgba(18, 41, 74, .75); transform: translateY(-6px); }
.sol-cap__card.is-on .sol-cap__ico { background: rgba(255, 255, 255, .16); color: #fff; }
.sol-cap__card.is-on .sol-cap__num { color: rgba(255, 255, 255, .22); }
.sol-cap__card.is-on .sol-cap__name { color: #fff; }
.sol-cap__card.is-on .sol-cap__desc { color: #d4e1f5; }
.sol-cap__card.is-on .sol-cap__list { border-color: rgba(255, 255, 255, .24); }
.sol-cap__card.is-on .sol-cap__list li { color: #e6eefb; }
.sol-cap__card.is-on .sol-cap__list .material-symbols-rounded { color: #9fc0ee; }

/* Puntos */
.sol-cap__dots { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sol-cap__dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: #c9d8ee; cursor: pointer; transition: width .3s ease, background .3s ease; }
.sol-cap__dot[aria-current="true"] { width: 34px; background: #1a3a6b; }


@container (max-width: 1019.98px) { .sol-cap__viewport { --per: 2; } }
@container (max-width: 659.98px) {
    .sol-cap__viewport { --per: 1; }
    .sol-cap__title { font-size: 1.6em; }
    .sol-cap__bar { align-items: flex-end; }
    .sol-cap__card { padding: 24px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .sol-cap__track, .sol-cap__card, .sol-cap__dot { transition: none; }
}

/* ── Autoconsumo: beneficios para la organización ──
   Banda azul con tarjetas de vidrio (misma composición que la banda MDR de Ciberseguridad): título arriba y 9 beneficios en
   cuadrícula de 3, 2 o 1 columnas según el ancho de la sección. */
.sol-ben { container-type: inline-size; position: relative; overflow: hidden; max-width: 1180px; margin: clamp(56px, 8vw, 96px) auto 0; padding: clamp(28px, 5vw, 56px); border-radius: 36px; background: radial-gradient(120% 140% at 0% 0%, #2f5fa8 0%, #1a3a6b 52%, #122a49 100%); color: #fff; box-shadow: 0 30px 60px -34px rgba(15, 23, 42, .45); }
.sol-ben::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .22); pointer-events: none; }
.sol-ben::after { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .16); pointer-events: none; }
.sol-ben > * { position: relative; z-index: 1; }
.sol-ben__head { margin: 0 0 clamp(24px, 4vw, 40px); }
.sol-ben__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #dbe7f7; }
.sol-ben__eyebrow::before { content: ""; width: 28px; border-top: 1.5px dashed currentColor; }
.sol-ben__title { margin: 0; font-size: clamp(1.6rem, 3.4cqw, 2.3rem); font-weight: 800; line-height: 1.18; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.sol-ben__title span { color: #fff; background: linear-gradient(transparent 62%, rgba(143, 170, 212, .5) 62%); }
.sol-ben__list { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sol-ben__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .3s ease, background .3s ease; }
.sol-ben__ico { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; }
.sol-ben__ico .material-symbols-rounded { font-size: 25px; }
.sol-ben__txt { display: grid; gap: 3px; min-width: 0; }
.sol-ben__txt strong { font-size: 1rem; font-weight: 700; line-height: 1.3; color: #fff; }
.sol-ben__txt span { font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .88); }
@media (hover: hover) { .sol-ben__item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .14); } }
@container (min-width: 640px) { .sol-ben__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 980px) { .sol-ben__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .sol-ben { border-radius: 28px; } }
@media (prefers-reduced-motion: reduce) { .sol-ben__item { transition: none; } }

/* ══════════════════════════════════════════════
   Autoconsumo · cumplimiento normativo y controles volumétricos
   Composición de la referencia: título grande arriba; a la izquierda la laptop con ControlGAS NG y a la derecha la
   pregunta y el párrafo; debajo, una tarjeta con las funciones de regulación fiscal y una cuadrícula de 6 controles.
   ═════════════════════════════════════════════ */
.sol-cum { container-type: inline-size; max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 0; }

.sol-cum__title { margin: 0 0 clamp(28px, 4cqw, 44px); font-size: 2.1em; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: #1a3a6b; text-wrap: balance; }
.sol-cum__title span { background: linear-gradient(transparent 62%, #dbe7f7 62%); }

.sol-cum__top { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.sol-cum__media { position: relative; margin: 0; min-width: 0; }
.sol-cum__media::before { content: ""; position: absolute; inset: 6% -4% -4%; border-radius: 50%; background: radial-gradient(closest-side, #dbe7f7 0%, rgba(219, 231, 247, .5) 60%, rgba(219, 231, 247, 0) 100%); }
.sol-cum__media img { position: relative; display: block; width: 100%; max-width: 350px; height: auto; margin: 0 auto; filter: drop-shadow(0 24px 20px rgba(15, 23, 42, .22)); }

.sol-cum__ask { margin: 0 0 16px; font-size: clamp(1.3rem, 2.8cqw, 1.7rem); font-weight: 700; line-height: 1.3; color: #1a3a6b; text-wrap: balance; }
.sol-cum__ask b { font-weight: 800; background: linear-gradient(transparent 62%, #dbe7f7 62%); }
.sol-cum__text { margin: 0; font-size: 1.02rem; line-height: 1.75; color: #4b5563; text-wrap: pretty; text-align: justify; hyphens: auto; }
.sol-cum__text strong { font-weight: 700; color: #1a3a6b; }

.sol-cum__panel { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: clamp(36px, 5cqw, 56px); padding: clamp(20px, 3cqw, 34px); border: 1px solid #e3e9f2; border-radius: 28px; background: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%); box-shadow: 0 26px 44px -34px rgba(26, 58, 107, .35); }
.sol-cum__head { text-align: center; }
.sol-cum__head .sol-cum__ptitle { justify-content: center; }
.sol-cum__head .sol-cum__ptitle::after { content: ""; flex: 0 0 auto; width: 28px; border-top: 1.5px dashed currentColor; }
.sol-cum__cols { display: grid; grid-template-columns: 1fr; gap: 10px; }
.sol-cum__solo { width: 100%; max-width: none; margin: -18px auto 0; }
.sol-cum__ptitle { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #2f5fa8; }
.sol-cum__ptitle::before { content: ""; flex: 0 0 auto; width: 28px; border-top: 1.5px dashed currentColor; }
.sol-cum__lead { margin: 0 0 16px; font-size: 1.8rem; font-weight: 800; line-height: 1.35; color: #1a3a6b; text-wrap: balance; }

.sol-cum__lead b { font-weight: 800; background: linear-gradient(transparent 62%, #dbe7f7 62%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sol-cum__steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: cum; }
.sol-cum__step { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid #e3e9f2; border-radius: 16px; background: #fff; font-size: .95rem; font-weight: 600; line-height: 1.4; color: #1a3a6b; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.sol-cum__step:hover { border-color: #c9d8ee; box-shadow: 0 12px 22px -16px rgba(26, 58, 107, .45); transform: translateX(4px); }
.sol-cum__ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #dbe7f7; color: #1a3a6b; }
.sol-cum__ico .material-symbols-rounded { font-size: 23px; }


@container (min-width: 820px) {
    .sol-cum__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
    .sol-cum__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
    .sol-cum__solo { width: calc((100% - 24px) / 2); }
}
@container (max-width: 599.98px) {
    .sol-cum__title { font-size: 1.6em; }
}
@media (prefers-reduced-motion: reduce) {
    .sol-cum__step { transition: none; }
}

/* ══════════════════════════════════════════════
   Autoconsumo · ecuación del inventario
   Inventario inicial + Entradas − Salidas ± Transferencias = Inventario final.
   Cinco tarjetas unidas por los operadores: las de los extremos en azul marino (como en la referencia) y las del
   medio en claro. Al pasar el cursor (o enfocar) un movimiento, se resalta junto a los dos extremos que cambia.
   En pantallas angostas se apila en vertical con los operadores entre tarjetas.
   ═════════════════════════════════════════════ */
.sol-inv { container-type: inline-size; max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) 0 0; }

.sol-inv__eq { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.sol-inv__item { display: contents; }

.sol-inv__card { position: relative; display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 132px; padding: 20px 14px; border: 1px solid #dfe6f0; border-radius: 22px; background: #f1f5fb; text-align: center; color: #1a3a6b; outline: none; transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease, opacity .3s ease; }
.sol-inv__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: #2f5fa8; box-shadow: 0 8px 18px -12px rgba(26, 58, 107, .5); transition: background .3s ease, color .3s ease; }
.sol-inv__ico .material-symbols-rounded { font-size: 25px; }
.sol-inv__name { font-size: .98rem; font-weight: 700; line-height: 1.25; text-wrap: balance; }

.sol-inv__card--edge { border-color: transparent; background: linear-gradient(160deg, #2f5fa8 0%, #12294a 100%); color: #fff; box-shadow: 0 26px 40px -26px rgba(18, 41, 74, .7); }
.sol-inv__card--edge .sol-inv__ico { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }

.sol-inv__op { display: grid; place-items: center; }
.sol-inv__op span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d3deee; border-radius: 50%; background: #fff; font-size: 1.25rem; font-weight: 800; line-height: 1; color: #1a3a6b; box-shadow: 0 8px 16px -12px rgba(26, 58, 107, .5); transition: background .3s ease, color .3s ease, transform .3s ease; }
.sol-inv__op--eq span { background: #1a3a6b; border-color: #1a3a6b; color: #fff; }

/* Interacción: al enfocar un movimiento se resalta, y los extremos quedan en primer plano */
.sol-inv__card--mov { cursor: default; }
.sol-inv__card--mov:hover, .sol-inv__card--mov:focus-visible { transform: translateY(-6px); border-color: #2f5fa8; background: #fff; box-shadow: 0 22px 34px -22px rgba(26, 58, 107, .5); }
.sol-inv__card--mov:hover .sol-inv__ico, .sol-inv__card--mov:focus-visible .sol-inv__ico { background: #1a3a6b; color: #fff; }
.sol-inv__card:focus-visible { outline: 3px solid #2f5fa8; outline-offset: 3px; }
.sol-inv__eq:has(.sol-inv__card--mov:hover) .sol-inv__op span, .sol-inv__eq:has(.sol-inv__card--mov:focus-visible) .sol-inv__op span { background: #dbe7f7; }
.sol-inv__eq:has(.sol-inv__card--mov:hover) .sol-inv__op--eq span, .sol-inv__eq:has(.sol-inv__card--mov:focus-visible) .sol-inv__op--eq span { background: #1a3a6b; }

/* Entrada escalonada (solo con JS y sin reducción de movimiento) */
.sol-inv.js-anim .sol-inv__card, .sol-inv.js-anim .sol-inv__op { opacity: 0; transform: translateY(14px); }
.sol-inv.js-anim.is-in .sol-inv__card, .sol-inv.js-anim.is-in .sol-inv__op { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.22, .61, .36, 1); transition-delay: calc(var(--k) * 110ms); }
.sol-inv.js-anim.is-in .sol-inv__card--mov:hover, .sol-inv.js-anim.is-in .sol-inv__card--mov:focus-visible { transform: translateY(-6px); transition-delay: 0s; }

/* Texto */
.sol-inv__text { max-width: 880px; margin: clamp(26px, 4vw, 40px) auto 0; font-size: 1.1rem; line-height: 1.75; text-align: center; color: #374151; text-wrap: pretty; }
.sol-inv__text strong { font-weight: 700; color: #1a3a6b; }
.sol-inv__text em { font-style: italic; color: #1a3a6b; }
.sol-inv__text .hl { font-weight: 700; font-style: italic; background: linear-gradient(transparent 62%, #dbe7f7 62%); }

@container (min-width: 760px) {
    .sol-inv__eq { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
    .sol-inv__card { min-height: 150px; }
}
@container (max-width: 759.98px) {
    .sol-inv__eq { max-width: 420px; margin: 0 auto; }
    .sol-inv__card { grid-template-columns: 46px 1fr; justify-items: start; text-align: left; align-content: center; min-height: 0; padding: 14px 18px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .sol-inv__card, .sol-inv__op span { transition: none; }
    .sol-inv.js-anim .sol-inv__card, .sol-inv.js-anim .sol-inv__op { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════
   Autoconsumo · Gestión tradicional vs ControlGAS NG
   Dos tarjetas con el mismo diagrama de la cadena del combustible (Compra → Recepción → Almacenamiento → Consumo →
   Contabilidad): a la izquierda con sus fallas (eslabones sueltos, fuga, hojas aisladas, diferencias y riesgo ante el SAT)
   y a la derecha conectada en una plataforma única. Cada punto del texto tiene su marcador numerado en el diagrama:
   al pasar el cursor (o enfocar) un punto, se resalta su parte del diagrama y se atenúa el resto.
   ═════════════════════════════════════════════ */
.sol-cmp { container-type: inline-size; max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) 0 0; }
.sol-cmp__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; margin: 0; padding: 0; list-style: none; }

.sol-cmp__card { --accent: #1a3a6b; --tint: #eef4fc; --line: #dbe7f7; --ink: #1a3a6b; --on: #fff; position: relative; display: flex; flex-direction: column; gap: 20px; padding: 28px 26px 26px; border: 1px solid #e3e9f2; border-radius: 26px; background: #fff; overflow: hidden; box-shadow: 0 24px 40px -32px rgba(26, 58, 107, .35); }
.sol-cmp__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); }
/* Riesgos: ámbar base #e6ac1e. El texto sobre fondo claro usa --ink (ámbar oscuro) y el texto sobre el ámbar usa --on, para conservar el contraste */
.sol-cmp__card--risk { --accent: #e6ac1e; --tint: #fdf6e3; --line: #f3dfa6; --ink: #7a5200; --on: #3b2a00; }
.sol-cmp__card--ok { --accent: #1a3a6b; }

.sol-cmp__title { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; font-size: 1.3rem; font-weight: 800; line-height: 1.25; color: var(--ink); }
.sol-cmp__title .material-symbols-rounded { color: var(--ink); width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--tint); font-size: 24px; }
.sol-cmp__card--ok .sol-cmp__title span.hl { color: #1a3a6b; background: linear-gradient(transparent 62%, #dbe7f7 62%); }

/* Diagrama */
.sol-cmp__dia { position: relative; display: grid; gap: 14px; padding: 18px 14px 14px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); }
.sol-cmp__chain { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.sol-cmp__node { --ico: clamp(36px, 8cqw, 52px); position: relative; display: grid; align-content: start; hyphens: manual; overflow-wrap: break-word; justify-items: center; gap: 7px; text-align: center; font-size: clamp(.58rem, 2.4cqw, .78rem); font-weight: 700; line-height: 1.2; color: #1a3a6b; }
.sol-cmp__node i { position: relative; z-index: 2; width: var(--ico); height: var(--ico); display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 10px 18px -12px rgba(18, 41, 74, .55), inset 0 0 0 2px var(--line); font-style: normal; }
.sol-cmp__node i .material-symbols-rounded { font-size: clamp(19px, 4.4cqw, 28px); }
/* eslabones entre nodos */
.sol-cmp__node:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: calc(var(--ico) / 2); left: calc(50% + var(--ico) / 2 + 4px); width: calc(100% - var(--ico) - 8px); border-top: 3px solid var(--accent); transform: translateY(-1.5px); }
.sol-cmp__card--risk .sol-cmp__node:not(:last-child)::after { border-top: 3px dashed #efc66a; }

/* Marcadores numerados (uno por punto del texto) */
.sol-cmp__pin { position: absolute; z-index: 5; flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on); font-size: .72rem; font-weight: 800; box-shadow: 0 0 0 3px #fff; transition: transform .25s ease, box-shadow .25s ease; }

.sol-cmp__pin--s { position: static; box-shadow: 0 0 0 2px #fff; }
.sol-cmp__pin--light { background: #fff; color: var(--ink); box-shadow: none; }
.sol-cmp__card--ok .sol-cmp__pin--light { color: #1a3a6b; }
.sol-cmp__pin--corner { right: -8px; top: -10px; }
.sol-cmp__pin--node { right: calc(50% - clamp(18px, 4cqw, 26px) - 8px); top: -8px; }

/* IZQUIERDA: fallas */
.sol-cmp__sheets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; position: relative; padding-top: 4px; }
.sol-cmp__sheet { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border: 1.5px dashed #efc66a; border-radius: 10px; background: #fff; font-size: clamp(.5rem, 1.9cqw, .68rem); font-weight: 700; color: #6b4a05; }
.sol-cmp__sheet .material-symbols-rounded { font-size: clamp(14px, 3.2cqw, 20px); }
.sol-cmp__card--risk .sol-cmp__dia { padding-top: 40px; }
.sol-cmp__leak { position: absolute; z-index: 3; left: 50%; top: -26px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; color: var(--ink); white-space: nowrap; }
.sol-cmp__leak .material-symbols-rounded { font-size: 20px; animation: cmpDrip 1.8s ease-in infinite; }
.sol-cmp__leak .sol-cmp__pin { position: static; margin-left: 4px; box-shadow: 0 0 0 2px #fff; }
.sol-cmp__leak span.l { font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.sol-cmp__diff { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.sol-cmp__box { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: clamp(.62rem, 2.2cqw, .8rem); font-weight: 700; color: #1a3a6b; }
.sol-cmp__neq { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on); font-size: 1.1rem; font-weight: 800; line-height: 1; }
.sol-cmp__sat { display: inline-flex; align-items: center; gap: 8px; justify-self: center; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--accent); color: var(--on); font-size: clamp(.62rem, 2.2cqw, .8rem); font-weight: 700; animation: cmpAlert 2.2s ease-in-out infinite; }
.sol-cmp__sat .material-symbols-rounded { font-size: 20px; }

/* DERECHA: solución */
.sol-cmp__flow { position: absolute; z-index: 3; top: calc(18px + clamp(18px, 4cqw, 26px)); left: 10%; width: 80%; height: 0; pointer-events: none; }
.sol-cmp__flow::after { content: ""; position: absolute; left: 0; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #2f5fa8; box-shadow: 0 0 0 4px rgba(47, 95, 168, .25); animation: cmpFlow 3.2s linear infinite; }
.sol-cmp__platform { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: linear-gradient(160deg, #2f5fa8 0%, #12294a 100%); color: #fff; box-shadow: 0 18px 28px -20px rgba(18, 41, 74, .7); }
.sol-cmp__platform b { font-size: clamp(.78rem, 2.8cqw, .98rem); font-weight: 800; }
.sol-cmp__platform span.t { display: flex; flex-wrap: wrap; gap: 6px; }
.sol-cmp__platform span.t em { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: clamp(.58rem, 2cqw, .72rem); font-style: normal; font-weight: 700; }
.sol-cmp__ok { display: inline-flex; align-items: center; gap: 10px; justify-self: center; padding: 9px 16px 9px 12px; border: 1px solid #bfe3d2; border-radius: 999px; background: #eefaf4; font-size: clamp(.62rem, 2.2cqw, .82rem); font-weight: 700; color: #14663f; }
.sol-cmp__ok .material-symbols-rounded { font-size: 20px; color: #1f8f63; }
.sol-cmp__ok .sync { animation: cmpSpin 3s linear infinite; }

/* Lista de puntos (cada punto se enlaza con su marcador) */
.sol-cmp__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sol-cmp__pt { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; font-size: .98rem; line-height: 1.5; color: #1f2937; cursor: default; transition: background .25s ease; outline: none; }
.sol-cmp__pt b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--ink); font-size: .78rem; font-weight: 800; transition: background .25s ease, color .25s ease; }
.sol-cmp__pt:hover, .sol-cmp__pt:focus-visible { background: var(--tint); }
.sol-cmp__pt:hover b, .sol-cmp__pt:focus-visible b { background: var(--accent); color: var(--on); }
.sol-cmp__pt:focus-visible { outline: 3px solid #2f5fa8; outline-offset: 1px; }

/* Resaltado: la parte activa se mantiene y lo demás se atenúa */
.sol-cmp__card[data-hot] .sol-cmp__dia > *, .sol-cmp__card[data-hot] .sol-cmp__node, .sol-cmp__card[data-hot] .sol-cmp__sheet { transition: opacity .3s ease; }
.sol-cmp__card[data-hot="1"] [data-k]:not([data-k~="1"]),
.sol-cmp__card[data-hot="2"] [data-k]:not([data-k~="2"]),
.sol-cmp__card[data-hot="3"] [data-k]:not([data-k~="3"]),
.sol-cmp__card[data-hot="4"] [data-k]:not([data-k~="4"]) { opacity: .28; }
.sol-cmp__card[data-hot="1"] .sol-cmp__pin[data-k~="1"], .sol-cmp__card[data-hot="2"] .sol-cmp__pin[data-k~="2"],
.sol-cmp__card[data-hot="3"] .sol-cmp__pin[data-k~="3"], .sol-cmp__card[data-hot="4"] .sol-cmp__pin[data-k~="4"] { transform: scale(1.3); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent); }

/* Con dos columnas, las dos tarjetas comparten filas (título, diagrama y lista): así los diagramas miden lo mismo y las listas coinciden. */
@supports (grid-template-rows: subgrid) {
    @container (min-width: 900px) {
        .sol-cmp__grid { row-gap: 0; }
        .sol-cmp__card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 20px; }
        .sol-cmp__dia { align-content: center; }
        .sol-cmp__list { align-content: start; }
    }
}

@keyframes cmpDrip { 0% { transform: translateY(-6px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes cmpAlert { 0%, 100% { box-shadow: 0 0 0 0 rgba(230, 172, 30, .55); } 50% { box-shadow: 0 0 0 8px rgba(230, 172, 30, 0); } }
@keyframes cmpFlow { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes cmpSpin { to { transform: rotate(360deg); } }

@container (min-width: 900px) {
    .sol-cmp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 599.98px) {
    .sol-cmp__card { padding: 22px 18px 20px; }
    .sol-cmp__title { font-size: 1.12rem; }
    .sol-cmp__pt { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
    .sol-cmp__leak .material-symbols-rounded, .sol-cmp__sat, .sol-cmp__flow::after, .sol-cmp__ok .sync { animation: none; }
    .sol-cmp__pin, .sol-cmp__pt, .sol-cmp__pt b { transition: none; }
}
