/* CLIP Ingeniería — v4: marcas a gran escala, ampliaciones en la sección,
   composiciones de PAMPAGRAM y PAMPA MEETS, recorrido de la gestión sin recortes.
   Curvas y duraciones según la skill emil-design-eng: salida fuerte para lo que entra,
   entrada-salida para lo que se mueve en pantalla, interfaz por debajo de 300 ms. */

:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

/* ───────── Marcas como presencia de fondo ───────── */
.brand { position: relative; overflow: hidden; overflow: clip; }
.brand__content { position: relative; z-index: 1; }
.brand__mark { position: absolute; z-index: 0; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; will-change: transform; }
.brand__mark--clip { right: -11vw; top: clamp(30px, 6vh, 80px); width: min(66vw, 1040px); height: auto; opacity: .12; }
.brand__mark--pampa {
  right: -5vw; top: 50%; height: 124%; width: auto; margin-top: -62%; opacity: .34;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%);
}
.brand--pampa .brand__mark--pampa { top: auto; bottom: -22%; margin-top: 0; }
.brand__logo { height: clamp(40px, 4.4vw, 62px); width: auto; margin-bottom: clamp(26px, 4.4vh, 44px); }
.brand__title { max-width: 12.5em; }
.brand__lead { margin-top: clamp(18px, 3vh, 30px); max-width: 44ch; font-size: clamp(1.08rem, 1.3vw, 1.3rem); }
.pampa-intro::after { display: none; }
.pampa-intro .pampa-lockup { height: clamp(52px, 5.6vw, 80px); }
.pampa-intro .h2 { font-size: clamp(2.3rem, 5.4vw, 5.6rem); }

/* ───────── Especialidades: resumen en una línea ───────── */
.specs { margin-top: clamp(50px, 9vh, 100px); border-top: 1px solid rgba(17, 20, 23, .18); }
.specs li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4px clamp(20px, 4vw, 70px); align-items: baseline;
  padding: clamp(16px, 2.3vh, 24px) 0; border-bottom: 1px solid rgba(17, 20, 23, .18);
}
@media (max-width: 860px) { .specs li { grid-template-columns: 1fr; } }

/* ───────── Ampliación de información dentro de la sección ───────── */
.more-row { margin-top: 26px; }
.more-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 18px 0 16px; border-radius: 12px; cursor: pointer;
  font: 560 15.5px/1 var(--font); color: var(--accent-ink); background: rgba(26, 95, 214, .07); border: 1px solid rgba(26, 95, 214, .28);
  transition: transform .16s var(--ease-out), background-color .2s ease, border-color .2s ease;
}
.sheet--graphite .more-btn, .contact .more-btn { color: var(--accent-soft); background: rgba(111, 180, 255, .08); border-color: rgba(111, 180, 255, .32); }
.more-btn::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .22s var(--ease-out), margin-top .22s var(--ease-out);
}
.more-btn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.more-btn:active { transform: scale(.97); }
.more-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .more-btn:hover { background: rgba(26, 95, 214, .13); border-color: rgba(26, 95, 214, .5); }
  .sheet--graphite .more-btn:hover { background: rgba(111, 180, 255, .15); border-color: rgba(111, 180, 255, .55); }
}

.expand { display: grid; grid-template-rows: 1fr; }
.expand[hidden] { display: none; }
.expand__clip { min-height: 0; overflow: hidden; }
html.js .expand { grid-template-rows: 0fr; }
html.js .expand.is-open { grid-template-rows: 1fr; }
html.motion .expand { transition: grid-template-rows .3s var(--ease-out); }          /* cierre: más corto */
html.motion .expand.is-open { transition: grid-template-rows .44s var(--ease-out); }
html.js .expand .detail { opacity: 0; }
html.js .expand.is-open .detail { opacity: 1; }
html.motion .expand.is-open .detail { transition: opacity .3s ease .1s; }

.detail { margin-top: 22px; padding: clamp(26px, 4vh, 44px) 0 8px; border-top: 1px solid rgba(17, 20, 23, .18); }
.sheet--graphite .detail { border-top-color: rgba(255, 255, 255, .16); }
.detail__title { font-weight: 560; font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.15; letter-spacing: -.02em; max-width: 30em; }
.detail__intro { margin-top: 12px; max-width: 68ch; color: var(--ink-2); }
.sheet--graphite .detail__intro { color: rgba(244, 240, 233, .78); }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: clamp(26px, 4vh, 40px) clamp(28px, 4vw, 60px); margin-top: clamp(24px, 4vh, 38px); }
.group h4, .group h5 { font-size: 1.06rem; font-weight: 620; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 10px; padding-top: 14px; border-top: 2px solid var(--accent-ink); }
.sheet--graphite .group h4, .sheet--graphite .group h5 { border-top-color: var(--accent); }
.group p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.group p + p, .group p + ul { margin-top: 9px; }
.sheet--graphite .group p { color: rgba(244, 240, 233, .78); }
.group ul { display: grid; gap: 7px; }
.group li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.sheet--graphite .group li { color: rgba(244, 240, 233, .8); }
.group li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; border-radius: 2px; background: var(--accent-ink); }
.sheet--graphite .group li::before { background: var(--accent-soft); }
.group strong { color: var(--ink); font-weight: 620; }
.sheet--graphite .group strong { color: var(--warm-white); }
.close-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; margin-top: clamp(26px, 4vh, 40px); padding: 0 16px; border-radius: 12px; cursor: pointer;
  font: 560 14.5px/1 var(--font); color: inherit; background: transparent; border: 1px solid currentColor; opacity: .82;
  transition: transform .16s var(--ease-out), opacity .2s ease, background-color .2s ease;
}
.close-btn::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.close-btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .close-btn:hover { opacity: 1; background: rgba(127, 127, 127, .12); } }

/* ───────── Capacidades: un solo nivel, con cierre explícito ───────── */
.cap > summary { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 36px; }
.cap__body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding: 6px 60px clamp(26px, 4vh, 40px) 0; gap: 18px clamp(24px, 4vw, 60px); }
.cap__body--wide { grid-template-columns: 1fr; }
.cap__abbr { margin-bottom: 10px; font: 500 12.5px/1.4 var(--mono); letter-spacing: .03em; color: var(--accent-ink); }
.cap__body .defs__h { margin-top: 0; margin-bottom: 4px; }
.cap__body .defs + .defs__h { margin-top: 22px; }
.defs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; }
.cap__body .close-btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
@media (max-width: 1080px) {
  .cap > summary { grid-template-columns: minmax(0, 1fr) 30px; }
  .cap__name, .cap__tag { grid-column: 1; }
  .cap__plus { grid-row: 1 / span 2; grid-column: 2; }
  .cap__body { grid-template-columns: 1fr; padding: 4px 0 28px; }
  .defs--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) { .defs--3 { grid-template-columns: 1fr; } }

/* ───────── Recorrido de la gestión: el último paso siempre se lee completo ───────── */
.flow { height: auto; }
.flow__after { padding-block: 6px clamp(70px, 11vh, 130px); }
.flow__order small { display: none; }
.flow__view { position: relative; }
@media (min-width: 900px) and (min-height: 640px) {
  html.motion .flow { height: 460vh; }
  html.motion .flow__pin { align-items: stretch; padding-block: calc(var(--nav-h) + 40px) 48px; overflow: hidden; overflow: clip; }
  html.motion .flow__grid { align-items: stretch; height: 100%; }
  html.motion .flow__intro { align-self: center; }
  html.motion .flow__view {
    height: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
  }
  html.motion .flow__steps { padding-block: 34px; will-change: transform; }
  html.motion .flow__track { top: 42px; bottom: 42px; }
}

/* ───────── Composiciones espaciales: PAMPAGRAM y PAMPA MEETS ───────── */
.feature { align-items: center; row-gap: 0; }
.feature__media { container-type: inline-size; min-width: 0; }
.feature__detail { grid-column: 1 / -1; order: 5; }
.feature__name { display: flex; align-items: center; gap: .32em; white-space: normal; }
.feature__name img { height: 1.05em; width: auto; flex: none; }

.stage3d { position: relative; aspect-ratio: 5 / 4; perspective: 135cqw; perspective-origin: 50% 46%; }
.stage3d__glow { position: absolute; inset: 6% 4% 10%; border-radius: 50%; filter: blur(38px); opacity: .9; pointer-events: none; }
.stage3d--pg .stage3d__glow { background: radial-gradient(closest-side, rgba(255, 45, 134, .26), rgba(123, 60, 255, .16) 55%, rgba(123, 60, 255, 0)); }
.stage3d--mt .stage3d__glow { background: radial-gradient(closest-side, rgba(43, 124, 255, .3), rgba(43, 124, 255, .1) 55%, rgba(43, 124, 255, 0)); }
.stage3d__world { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }

.pl {
  position: absolute; left: 50%; top: 50%; transform-style: preserve-3d;
  transform: translate(-50%, -50%) translate3d(var(--x, 0cqw), var(--y, 0cqw), var(--z, 0cqw)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  opacity: var(--o, 1);
  border-radius: 2.4cqw;
  background: linear-gradient(155deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 52%, rgba(255, 255, 255, .1)), rgba(22, 25, 30, .78);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .34) inset, 0 -1px 0 rgba(0, 0, 0, .3) inset, 0 3.4cqw 6cqw -2.4cqw rgba(0, 0, 0, .78);
}
html.motion .pl { transition: transform .82s var(--ease-in-out), opacity .42s ease; will-change: transform, opacity; }
html.motion .pl > * { transition: transform .5s var(--ease-out) .25s, opacity .3s ease .2s, background-color .3s ease .2s; }

/* PAMPAGRAM — pieza, calendario, publicación y conversación */
.pg-cal { width: 74cqw; height: 46cqw; padding: 7.4cqw 3.2cqw 3.2cqw; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.3cqw; }
.pg-cal b { position: absolute; left: 3.2cqw; top: 2.9cqw; width: 20cqw; height: 1.7cqw; border-radius: 99px; background: rgba(244, 240, 233, .5); }
.pg-cal i { border-radius: .9cqw; background: rgba(255, 255, 255, .09); }
.pg-cal i.hit { background: linear-gradient(135deg, #7b3cff, #ff2d86 60%, #ffb02e); box-shadow: 0 0 0 .5cqw rgba(255, 45, 134, .22); }
.pg-post, .pg-feed { width: 30cqw; height: 39cqw; }
.pg-post { overflow: visible; }
.pg-post__media { position: absolute; left: 0; right: 0; top: 0; height: 62%; border-radius: 2.4cqw 2.4cqw 0 0; background: radial-gradient(60% 70% at 30% 28%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, #7b3cff, #ff2d86 58%, #ffb02e); }
.pg-post__ln { position: absolute; left: 9%; height: 2.6%; border-radius: 99px; background: rgba(244, 240, 233, .85); transform-origin: 0 50%; }
.pg-post__ln:nth-of-type(2) { top: 70%; width: 68%; }
.pg-post__ln:nth-of-type(3) { top: 78%; width: 80%; transition-delay: .34s !important; }
.pg-post__ln:nth-of-type(4) { top: 86%; width: 46%; transition-delay: .43s !important; }
.pg-post__ai { position: absolute; right: -2.2cqw; top: -2.2cqw; width: 6.4cqw; height: 6.4cqw; border-radius: 28%; background: linear-gradient(135deg, #fff, #cfe2ff); box-shadow: 0 1cqw 2.4cqw rgba(0, 0, 0, .5); transform: rotate(45deg); }
.pg-post__ok { position: absolute; right: -2.6cqw; bottom: -2.6cqw; width: 8cqw; height: 8cqw; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--accent); box-shadow: 0 0 0 .7cqw rgba(43, 124, 255, .25), 0 1.4cqw 3cqw rgba(0, 0, 0, .55); }
.pg-post__ok svg { width: 56%; height: 56%; }
.pg-feed { background: linear-gradient(155deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)), rgba(22, 25, 30, .7); }
.pg-msg { height: 6.6cqw; border-radius: 3.3cqw; }
.pg-msg--a { width: 30cqw; border-bottom-left-radius: .8cqw; }
.pg-msg--b { width: 35cqw; border-bottom-right-radius: .8cqw; background: linear-gradient(180deg, #4b93ff, #1f66e6); border-color: rgba(255, 255, 255, .34); }
.pg-msg--c { width: 20cqw; border-bottom-left-radius: .8cqw; }

.stage3d--pg[data-step="0"] .pg-post { --z: 14cqw; --ry: -14deg; --rx: 4deg; }
.stage3d--pg[data-step="0"] .pg-cal { --x: 5cqw; --y: -3cqw; --z: -26cqw; --rx: 8deg; --o: .3; }
.stage3d--pg[data-step="0"] .pg-cal i.hit, .stage3d--pg[data-step="0"] .pg-post__ok { opacity: 0; }
.stage3d--pg[data-step="0"] .pg-post__ok { transform: scale(.92); }
.stage3d--pg[data-step="0"] .pg-feed, .stage3d--pg[data-step="1"] .pg-feed, .stage3d--pg[data-step="3"] .pg-feed { --o: 0; --z: -6cqw; }
.stage3d--pg[data-step="0"] .pg-msg, .stage3d--pg[data-step="1"] .pg-msg, .stage3d--pg[data-step="2"] .pg-msg { --o: 0; --x: 24cqw; --z: 6cqw; --s: .94; }
html.motion .stage3d--pg:not(.is-live) .pg-post__ln { transform: scaleX(.1); opacity: .4; }

.stage3d--pg[data-step="1"] .pg-cal { --rx: 26deg; --ry: -9deg; }
.stage3d--pg[data-step="1"] .pg-post { --y: 5.2cqw; --z: 9cqw; --s: .22; --rx: 26deg; --ry: -9deg; }
.stage3d--pg[data-step="1"] .pg-post__ai, .stage3d--pg[data-step="2"] .pg-post__ai, .stage3d--pg[data-step="3"] .pg-post__ai { opacity: 0; transform: rotate(45deg) scale(.9); }
.stage3d--pg[data-step="1"] .pg-post__ok { opacity: 0; transform: scale(.92); }

.stage3d--pg[data-step="2"] .pg-post { --y: -1cqw; --z: 22cqw; --s: 1.05; box-shadow: 0 1px 0 rgba(255, 255, 255, .34) inset, 0 0 0 .5cqw rgba(43, 124, 255, .55), 0 0 9cqw rgba(43, 124, 255, .45), 0 3.4cqw 6cqw -2.4cqw rgba(0, 0, 0, .78); }
.stage3d--pg[data-step="2"] .pg-feed--a { --x: -20cqw; --y: 2cqw; --z: -4cqw; --ry: 24deg; --o: .55; }
.stage3d--pg[data-step="2"] .pg-feed--b { --x: 20cqw; --y: 2cqw; --z: -4cqw; --ry: -24deg; --o: .55; }
.stage3d--pg[data-step="2"] .pg-cal { --y: -5cqw; --z: -34cqw; --rx: 8deg; --o: .14; }

.stage3d--pg[data-step="3"] .pg-post { --x: -18cqw; --z: 6cqw; --ry: 26deg; --s: .86; }
.stage3d--pg[data-step="3"] .pg-cal { --y: -5cqw; --z: -36cqw; --rx: 8deg; --o: .1; }
.stage3d--pg[data-step="3"] .pg-msg--a { --x: 15cqw; --y: -10.5cqw; --z: 14cqw; }
.stage3d--pg[data-step="3"] .pg-msg--b { --x: 19cqw; --y: -1cqw; --z: 23cqw; transition-delay: .09s, .09s; }
.stage3d--pg[data-step="3"] .pg-msg--c { --x: 11cqw; --y: 8.5cqw; --z: 14cqw; transition-delay: .16s, .16s; }

/* PAMPA MEETS — voces, registro y próximos pasos */
.mt-voice { width: 10cqw; height: 30cqw; border-radius: 5cqw; display: flex; align-items: center; justify-content: center; gap: .9cqw; }
.mt-voice i { width: .9cqw; border-radius: 99px; background: rgba(244, 240, 233, .5); }
.mt-voice i:nth-child(1) { height: 22%; } .mt-voice i:nth-child(2) { height: 46%; } .mt-voice i:nth-child(3) { height: 70%; } .mt-voice i:nth-child(4) { height: 40%; } .mt-voice i:nth-child(5) { height: 18%; }
.mt-voice.is-speaking { border-color: rgba(111, 180, 255, .6); box-shadow: 0 1px 0 rgba(255, 255, 255, .34) inset, 0 0 6cqw rgba(43, 124, 255, .4), 0 3.4cqw 6cqw -2.4cqw rgba(0, 0, 0, .78); }
.mt-voice.is-speaking i { background: var(--accent-soft); }
html.motion .stage3d--mt.is-live[data-step="0"] .mt-voice.is-speaking i { animation: voice 1.15s var(--ease-in-out) infinite alternate; transition: none; }
.mt-voice.is-speaking i:nth-child(2) { animation-delay: -.3s !important; } .mt-voice.is-speaking i:nth-child(3) { animation-delay: -.6s !important; }
.mt-voice.is-speaking i:nth-child(4) { animation-delay: -.2s !important; } .mt-voice.is-speaking i:nth-child(5) { animation-delay: -.75s !important; }
@keyframes voice { from { transform: scaleY(.55); } to { transform: scaleY(1.25); } }
.mt-voice--1 { --k: -2; --ak: 2; } .mt-voice--2 { --k: -1; --ak: 1; } .mt-voice--3 { --k: 0; --ak: 0; } .mt-voice--4 { --k: 1; --ak: 1; } .mt-voice--5 { --k: 2; --ak: 2; }

.mt-notes { width: 60cqw; height: 30cqw; }
.mt-notes i { position: absolute; left: 8%; height: 5%; border-radius: 99px; background: rgba(244, 240, 233, .5); transform-origin: 0 50%; }
.mt-notes i:nth-child(1) { top: 17%; width: 68%; } .mt-notes i:nth-child(2) { top: 32%; width: 54%; transition-delay: .32s !important; }
.mt-notes i:nth-child(3) { top: 47%; width: 62%; transition-delay: .39s !important; } .mt-notes i:nth-child(4) { top: 62%; width: 74%; transition-delay: .46s !important; }
.mt-notes i:nth-child(5) { top: 77%; width: 38%; transition-delay: .53s !important; }
.mt-notes i.hit { background: var(--accent); box-shadow: -2.4cqw 0 0 -.9cqw var(--accent-soft); }

.mt-task { width: 44cqw; height: 8.8cqw; border-radius: 2.2cqw; }
.mt-task b { position: absolute; left: 2.4cqw; top: 50%; width: 3.8cqw; height: 3.8cqw; margin-top: -1.9cqw; border-radius: 28%; border: .4cqw solid rgba(244, 240, 233, .65); }
.mt-task--a b { background: var(--accent); border-color: var(--accent); }
.mt-task i { position: absolute; left: 8.6cqw; top: 50%; width: 15cqw; height: 1.5cqw; margin-top: -.75cqw; border-radius: 99px; background: rgba(244, 240, 233, .5); }
.mt-task em { position: absolute; right: 2.6cqw; top: 50%; transform: translateY(-50%); font: 500 max(9px, 1.95cqw)/1 var(--mono); font-style: normal; letter-spacing: .04em; color: var(--steel-300); }

.stage3d--mt[data-step="0"] .mt-voice { --x: calc(var(--k) * 12.6cqw); --y: -3.5cqw; --z: calc(9cqw - var(--ak) * 4.5cqw); --ry: calc(var(--k) * -16deg); }
.stage3d--mt[data-step="0"] .mt-notes { --y: 15.5cqw; --z: -6cqw; --rx: 70deg; --o: .4; }
.stage3d--mt[data-step="0"] .mt-notes i { transform: scaleX(.1); opacity: .35; }
.stage3d--mt[data-step="0"] .mt-task, .stage3d--mt[data-step="1"] .mt-task { --o: 0; --x: 10cqw; --s: .95; }

.stage3d--mt[data-step="1"] .mt-voice { --x: calc(var(--k) * 7.4cqw); --y: -18cqw; --z: -14cqw; --ry: calc(var(--k) * -9deg); --s: .56; --o: .6; }
.stage3d--mt[data-step="1"] .mt-notes { --y: 4cqw; --z: 13cqw; --rx: 10deg; }

.stage3d--mt[data-step="2"] .mt-voice { --x: calc(var(--k) * 6.6cqw); --y: -20cqw; --z: -24cqw; --ry: calc(var(--k) * -8deg); --s: .5; --o: .26; }
.stage3d--mt[data-step="2"] .mt-notes { --x: -16cqw; --y: -1cqw; --z: -6cqw; --ry: 26deg; --s: .82; --o: .72; }
.stage3d--mt[data-step="2"] .mt-task--a { --x: 13cqw; --y: -9.5cqw; --z: 15cqw; }
.stage3d--mt[data-step="2"] .mt-task--b { --x: 17cqw; --y: 1cqw; --z: 24cqw; transition-delay: .09s, .09s; }
.stage3d--mt[data-step="2"] .mt-task--c { --x: 12cqw; --y: 11.5cqw; --z: 15cqw; transition-delay: .16s, .16s; }

/* Etapas de cada composición */
.stepper { position: relative; display: flex; gap: 0; margin-top: clamp(14px, 2.4vh, 26px); padding-top: 16px; }
.stepper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .13); }
.stepper li { position: relative; flex: 1 1 0; padding-right: 10px; font-weight: 560; font-size: clamp(.92rem, 1.15vw, 1.1rem); letter-spacing: -.01em; color: rgba(244, 240, 233, .42); transition: color .25s ease; }
.stepper li::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.stepper li.on { color: rgba(244, 240, 233, .78); }
.stepper li.on::before { transform: scaleX(1); }
.stepper li.now { color: #fff; }

@media (max-width: 860px) {
  .stage3d { aspect-ratio: 1 / .92; }
  .feature__media { order: 0; }
  .feature > div:not(.feature__media):not(.expand) { margin-top: 26px; }
}

/* ───────── Formulario y accesos flotantes ───────── */
.panel--right { padding-right: max(var(--gutter), 96px); }
@media (max-width: 720px), (orientation: portrait) and (max-width: 1080px) { .panel--right { padding-right: 22px; } }

/* ───────── Móvil y movimiento reducido ───────── */
@media (max-width: 860px) {
  .brand__mark--clip { width: 132vw; right: -58vw; top: 16px; opacity: .1; }
  .brand__mark--pampa, .brand--pampa .brand__mark--pampa { height: auto; width: 96vw; right: -40vw; bottom: auto; top: -3%; opacity: .26; -webkit-mask-image: linear-gradient(200deg, #000 30%, transparent 78%); mask-image: linear-gradient(200deg, #000 30%, transparent 78%); }
  .pampa-intro .h2 { font-size: clamp(2.1rem, 9.4vw, 3.4rem); }
}
html:not(.motion) .brand__mark { transform: none !important; }

/* El texto de los accesos a detalle puede partirse en pantallas angostas */
.more-btn { max-width: 100%; padding-block: 11px; line-height: 1.25; text-align: left; white-space: normal; }


/* ───────── v5 · Encabezados desplegables: fila completa, anticipo y +/− ───────── */
.disc {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 4px; align-items: center;
  width: 100%; margin-top: clamp(26px, 4vh, 40px); padding: 18px 20px 18px 22px; border-radius: 16px; cursor: pointer; text-align: left;
  font-family: var(--font); color: var(--ink);
  background: rgba(26, 95, 214, .07); border: 1.5px solid rgba(26, 95, 214, .42);
  transition: background-color .2s ease, border-color .2s ease, transform .16s var(--ease-out);
}
.disc__title { grid-column: 1; font-weight: 620; font-size: clamp(1.08rem, 1.45vw, 1.34rem); letter-spacing: -.015em; line-height: 1.2; color: var(--accent-ink); }
.disc__hint { grid-column: 1; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.disc__sign, .cap__plus {
  position: relative; width: 40px; height: 40px; border-radius: 50%; flex: none;
  color: #fff; background: var(--accent-ink); transition: background-color .2s ease, transform .16s var(--ease-out);
}
.disc__sign { grid-column: 2; grid-row: 1 / span 2; }
.disc__sign::before, .disc__sign::after, .cap__plus::before, .cap__plus::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2.4px; margin-top: -1.2px; border-radius: 2px; background: currentColor;
  transition: transform .22s var(--ease-out);
}
.disc__sign::after, .cap__plus::after { transform: rotate(90deg); }
.disc[aria-expanded="true"] .disc__sign::after, .cap[open] .cap__plus::after { transform: rotate(0deg); }
.disc[aria-expanded="true"] { background: rgba(26, 95, 214, .12); border-color: var(--accent-ink); }
.disc:active { transform: scale(.99); }
.disc:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 16px; }
.sheet--graphite .disc { color: var(--warm-white); background: rgba(111, 180, 255, .09); border-color: rgba(111, 180, 255, .5); }
.sheet--graphite .disc__title { color: var(--accent-soft); }
.sheet--graphite .disc__hint { color: rgba(244, 240, 233, .78); }
.sheet--graphite .disc__sign { background: var(--accent); }
.sheet--graphite .disc[aria-expanded="true"] { background: rgba(111, 180, 255, .15); border-color: var(--accent-soft); }
.sheet--graphite .disc:focus-visible { outline-color: var(--accent-soft); }
@media (hover: hover) and (pointer: fine) {
  .disc:hover { background: rgba(26, 95, 214, .13); border-color: var(--accent-ink); }
  .disc:hover .disc__sign, .cap > summary:hover .cap__plus { background: #2a70ec; transform: scale(1.06); }
  .sheet--graphite .disc:hover { background: rgba(111, 180, 255, .16); border-color: var(--accent-soft); }
}

/* Capacidades: mismas señales, toda la fila es el control */
.cap > summary { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 40px; padding: clamp(18px, 2.8vh, 28px) 14px; margin-inline: -14px; border-radius: 14px; transition: background-color .2s ease; }
.cap__plus { justify-self: end; align-self: center; }
.cap__name { font-size: clamp(1.35rem, 2.3vw, 2.2rem); }
.cap__tag { color: var(--ink); opacity: .78; }
.cap[open] > summary { background: rgba(26, 95, 214, .07); }
.cap[open] .cap__name { color: var(--accent-ink); }
.cap > summary:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .cap > summary:hover { padding-left: 14px; background: rgba(26, 95, 214, .06); } }
.cap__body { padding-top: 18px; }
@media (max-width: 1080px) { .cap > summary { grid-template-columns: minmax(0, 1fr) 40px; } }
@media (max-width: 720px) {
  .disc { padding: 15px 14px 15px 16px; column-gap: 12px; }
  .disc__sign, .cap__plus { width: 36px; height: 36px; }
  .disc__sign::before, .disc__sign::after, .cap__plus::before, .cap__plus::after { left: 10px; right: 10px; }
}

/* Volver al inicio */
.foot__top { padding-block: 6px 26px; }
.totop { color: var(--warm-white); border-color: rgba(255, 255, 255, .4); gap: 10px; }
.totop svg { transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .totop:hover svg { transform: translateY(-3px); } }

/* Los accesos flotantes no tapan controles del borde derecho */
.cap > summary { margin-right: 0; padding-right: 0; }
.cap[open] > summary { padding-right: 10px; }
.foot__legal { padding-right: max(var(--gutter), 96px); }
@media (max-width: 720px) { .cap > summary { padding-right: 52px; } .cap[open] > summary { padding-right: 52px; } .disc { padding-right: 14px; } }
