/* ds-servicios — «Una identidad sólida, de pies a cabeza» (/diseno/). Fondo blanco.
   Índice vertical de 4 pestañas + «mesa de diseño» crema con una maqueta por servicio, todas de la misma marca de ejemplo (Alba).
   Las maquetas se dibujan en em dentro de un contenedor (cqi) → escalan como una imagen. Las animaciones solo existen bajo
   .is-on (arrancan de cero en cada cambio); el estado sin animación es el final. Solo transform y opacity. */

.dss { --dss-tinta: #121011; --dss-gris: #625C58; --dss-linea: #ECE6DF; --dss-mesa: #F4EEE6; --esp: #2E211B; --ter: #E2572B; --ave: #F3E9DA; --sal: #B5C99A; background: #fff; color: var(--dss-tinta); }
.dss__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.dss__in { max-width: 1320px; margin: 0 auto; padding: clamp(56px, 7vw, 112px) var(--m); }

/* Cabecera */
.dss__cab { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(24px, 5vw, 72px); align-items: end; }
.dss__ceja { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--accent); font-size: 13.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.dss__ceja::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 91, 35, .15); }
.dss h2 { max-width: 15ch; font-size: clamp(32px, 4.2vw, 60px); line-height: 1; }
.dss__intro { max-width: 46ch; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.55; }

/* Cuerpo: índice + panel | mesa */
.dss__cuerpo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 60px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.dss__lado { display: grid; gap: clamp(20px, 2.4vw, 30px); }

/* Índice de pestañas */
.dss__tabs { display: grid; gap: 6px; }
.dss__tabs button { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px 10px 14px; overflow: hidden; border: 1px solid transparent; border-radius: 18px; background: transparent; color: var(--dss-tinta); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .35s var(--ease), border-color .35s, color .35s; }
.dss__tabs button:not([aria-selected="true"]):hover { background: #FAF7F3; border-color: var(--dss-linea); }
.dss__tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dss__n { width: 2.1ch; color: #A9A29C; font: 800 15px/1 'Marko Display', var(--f); font-variant-numeric: tabular-nums; transition: color .35s; }
.dss__tabs i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #F5EFE8; color: var(--accent); transition: background-color .35s, color .35s, transform .45s var(--ease); }
.dss__tt { display: grid; gap: 2px; min-width: 0; }
.dss__tt b { font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.dss__tt small { color: var(--dss-gris); font-size: 13.5px; line-height: 1.3; transition: color .35s; }
.dss__barra { position: absolute; left: 18px; right: 18px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--lima); transform: scaleX(0); transform-origin: left; }
.dss__tabs [aria-selected="true"] { background: var(--dss-tinta); border-color: var(--dss-tinta); color: #fff; }
.dss__tabs [aria-selected="true"] i { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.dss__tabs [aria-selected="true"] .dss__n { color: var(--lima); }
.dss__tabs [aria-selected="true"] small { color: rgba(255, 255, 255, .66); }
.dss__tabs [aria-selected="true"] .dss__barra { transform: scaleX(1); }
.dss.is-auto [aria-selected="true"] .dss__barra { animation: dss-barra 7s linear both; }
@keyframes dss-barra { from { transform: scaleX(0); } }

/* Paneles: todos en la misma celda → el bloque mide lo del más alto y no salta */
.dss__paneles { display: grid; }
.dss__panel { grid-area: 1 / 1; display: grid; align-content: start; gap: 12px; padding: 0 4px; }
.dss__panel[hidden] { display: grid; visibility: hidden; }
.dss__panel:not([hidden]) { animation: dss-entra .55s var(--ease) both; }
@keyframes dss-entra { from { opacity: 0; transform: translateY(10px); } }
.dss__panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 12px; }
.dss__panel h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.dss__panel p { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.dss__inc { display: flex; flex-wrap: wrap; gap: 8px; }
.dss__inc li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #F6F1EB; font-size: 14px; font-weight: 600; line-height: 1.2; }
.dss__inc li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--lima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121011' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.dss__wa { justify-self: start; margin-top: 6px; }

/* ───────── Mesa de diseño ───────── */
.dss__mesa { position: relative; isolation: isolate; container-type: inline-size; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 28px; background: var(--dss-mesa); box-shadow: inset 0 0 0 1px #E8DFD4; }
.dss__mesa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(46, 33, 27, .13) 1px, transparent 1.3px) 0 0 / 22px 22px; }
.dss-m { position: absolute; inset: 0; display: flex; flex-direction: column; color: var(--esp); font: 400 clamp(8.5px, 2.35cqi, 15px)/1.25 var(--f); opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1), visibility 0s .55s; }
.dss-m.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); }
.dss-m :is(b, small, i, em, u) { font-style: normal; text-decoration: none; }
.dss-m svg { display: block; overflow: visible; }
.dss-m svg:has(> use) { flex: none; height: auto; aspect-ratio: 128 / 70; }
.dss.is-pausa .dss-m, .dss.is-pausa .dss-m *, .dss.is-pausa .dss-m *::before, .dss.is-pausa .dss-m *::after { animation-play-state: paused !important; }

/* Barra de la app */
.dss-bar { display: flex; flex: none; align-items: center; gap: .45em; height: 3em; padding: 0 1.4em; border-bottom: 1px solid #E8DFD4; background: rgba(255, 255, 255, .55); font-size: .95em; }
.dss-bar i { width: .65em; height: .65em; border-radius: 50%; background: #E3D8CB; }
.dss-bar i:first-child { background: var(--accent); }
.dss-bar b { margin-left: .8em; font-weight: 600; }
.dss-bar small { margin-left: auto; padding: .25em .7em; border-radius: 99px; background: #fff; color: var(--dss-gris); font-size: .85em; }

@keyframes dss-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes dss-sube { from { opacity: 0; transform: translateY(1.4em); } }
@keyframes dss-aparece { from { opacity: 0; } }

/* ── 01 Logo ── */
.dss-l__in { display: grid; flex: 1; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.6em; align-items: center; padding: 1.6em; }
.dss-l__tabla { aspect-ratio: 1; padding: .8em; border-radius: 1.2em; background: #fff; box-shadow: 0 1.4em 2.6em -1.6em rgba(46, 33, 27, .45); }
.dss-l__tabla svg { width: 100%; height: 100%; }
.dss-l__ret path { fill: none; stroke: #EFE7DC; stroke-width: .8; }
.dss-l__guias :is(circle, path) { fill: none; stroke: var(--accent); stroke-width: .9; stroke-dasharray: 3 3; opacity: .75; transform-box: fill-box; transform-origin: center; }
.dss-l__arco { fill: var(--esp); }
.dss-l__sol { fill: var(--ter); transform-box: fill-box; transform-origin: center; }
.dss-l__forma { transform-box: fill-box; transform-origin: center bottom; }
.dss-l__nodos path { fill: none; stroke: #2D7FF9; stroke-width: .9; }
.dss-l__nodos rect { fill: #fff; stroke: #2D7FF9; stroke-width: 1.1; transform-box: fill-box; transform-origin: center; }
.dss-l__nodos circle { fill: #2D7FF9; }
.dss-l__cota { fill: var(--accent); font: 600 7px var(--f); }
.dss-l__info { display: grid; gap: 1.4em; align-content: center; }
.dss-l__marca { display: flex; align-items: center; gap: .8em; }
.dss-l__marca svg { width: 4.6em; flex: none; }
.dss-l__marca span { display: grid; }
.dss-l__marca b { font-size: 3.2em; font-weight: 700; line-height: .9; letter-spacing: -.05em; }
.dss-l__marca small { margin-top: .5em; color: var(--dss-gris); font-size: .78em; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.dss-l__var { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.dss-l__var span { display: grid; place-items: center; aspect-ratio: 1; padding: 22%; border-radius: .9em; }
.dss-l__var svg { width: 100%; }
.dss-l__var .v1 { background: var(--esp); }
.dss-l__var .v2 { background: var(--sal); }
.dss-l__var .v3 { background: var(--ter); }
.dss-l__chip { display: inline-flex; align-items: center; justify-self: start; gap: .5em; padding: .45em .8em; border-radius: 99px; background: #fff; font-size: .82em; font-weight: 600; }
.dss-l__chip i { width: .55em; height: .55em; border-radius: 50%; background: var(--accent); }
.is-on .dss-l__ret { animation: dss-aparece .6s ease both; }
.is-on .dss-l__guias > * { animation: dss-pop .7s var(--ease) both; animation-delay: calc(.2s + var(--k) * .14s); }
.is-on .dss-l__nodos rect { animation: dss-pop .4s cubic-bezier(.2, .9, .3, 1.4) both; animation-delay: calc(.9s + var(--k) * .08s); }
.is-on .dss-l__nodos :is(path, circle) { animation: dss-aparece .4s ease 1.4s both; }
.is-on .dss-l__forma { animation: dss-forma 1s var(--ease) 1.5s both; }
.is-on .dss-l__sol { animation: dss-pop .6s cubic-bezier(.2, .9, .3, 1.5) 2.2s both; }
.is-on .dss-l__guias { animation: dss-guias 1s ease 2.6s both; }
.is-on .dss-l__nodos { animation: dss-guias 1s ease 2.8s both; }
@keyframes dss-forma { from { opacity: 0; transform: scale(.92); } }
@keyframes dss-guias { to { opacity: .35; } }
.is-on .dss-l__marca { animation: dss-sube .7s var(--ease) 2.4s both; }
.is-on .dss-l__var span { animation: dss-pop .55s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(2.8s + var(--k) * .12s); }
.is-on .dss-l__chip { animation: dss-sube .5s var(--ease) 3.3s both; }

/* ── 02 Manual: libro con 3 hojas que pasan ── */
.dss-b { align-items: center; }
.dss-b .dss-bar { align-self: stretch; }
.dss-b__libro { position: relative; width: 36em; height: 23em; margin: auto; perspective: 140em; }
.dss-b__libro::before { content: ""; position: absolute; inset: 1.4em -0.6em -1em; z-index: 0; border-radius: 1em; background: rgba(46, 33, 27, .14); transform: translateY(.6em); }
.dss-b__pag { position: absolute; top: 0; width: 50%; height: 100%; display: flex; flex-direction: column; gap: .9em; padding: 1.5em 1.5em 1.3em; background: #FFFDFB; }
.dss-b__pag--izq { left: 0; z-index: 0; border-radius: .9em 0 0 .9em; box-shadow: inset -1.2em 0 1.2em -1.2em rgba(46, 33, 27, .22); }
.dss-b__pag--der { left: 50%; z-index: 0; border-radius: 0 .9em .9em 0; box-shadow: inset 1.2em 0 1.2em -1.2em rgba(46, 33, 27, .22); }
.dss-b__portada { justify-content: center; align-items: flex-start; background: var(--esp); color: var(--ave); }
.dss-b__portada svg { width: 6em; margin-bottom: 1em; }
.dss-b__portada b { font-size: 1.6em; font-weight: 700; letter-spacing: -.03em; }
.dss-b__portada small { color: rgba(243, 233, 218, .7); font-size: .85em; }
.dss-b__fin { align-items: center; justify-content: center; text-align: center; }
.dss-b__fin svg { width: 4em; }
.dss-b__fin b { font-size: 1.6em; font-weight: 700; }
.dss-b__fin small { color: var(--dss-gris); }
.dss-b__hoja { position: absolute; top: 0; left: 50%; z-index: var(--z0); width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; }
.dss-b__hoja > .dss-b__pag { left: 0; width: 100%; border-radius: 0 .9em .9em 0; box-shadow: inset 1.2em 0 1.2em -1.2em rgba(46, 33, 27, .22); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.dss-b__hoja > .dss-b__cara--atras { border-radius: .9em 0 0 .9em; box-shadow: inset -1.2em 0 1.2em -1.2em rgba(46, 33, 27, .22); transform: rotateY(180deg); }
.is-on .dss-b__hoja { animation: dss-hoja 1.1s cubic-bezier(.45, .05, .25, 1) both; animation-delay: calc(1s + var(--h) * 1.7s); }
@keyframes dss-hoja { from { transform: rotateY(0); z-index: var(--z0); } to { transform: rotateY(-180deg); z-index: var(--z1); } }
.dss-b__sec { color: var(--accent); font-size: .78em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dss-b__aire { position: relative; display: grid; place-items: center; flex: 1; margin: .4em 1em; border: 1px dashed var(--accent); border-radius: .3em; }
.dss-b__aire svg { width: 62%; }
.dss-b__aire i { position: absolute; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: .3em; background: rgba(255, 91, 35, .14); color: var(--accent); font-size: .78em; font-weight: 700; }
.dss-b__aire i:first-of-type { top: .4em; left: .4em; }
.dss-b__aire i:last-of-type { right: .4em; bottom: .4em; }
.dss-b__nota { color: var(--dss-gris); font-size: .8em; }
.dss-b__color { display: grid; flex: 1; gap: .45em; }
.dss-b__color li { display: flex; align-items: flex-end; justify-content: space-between; padding: .5em .7em; border-radius: .5em; background: var(--c); color: #fff; box-shadow: inset 0 0 0 1px rgba(46, 33, 27, .08); }
.dss-b__color li:nth-child(n+3) { color: var(--esp); }
.dss-b__color b { font-size: .95em; }
.dss-b__color small { font-size: .78em; opacity: .8; }
.dss-b__aa { font-size: 5.4em; font-weight: 700; line-height: .9; letter-spacing: -.05em; }
.dss-b__fam { font-size: 1.3em; font-weight: 600; }
.dss-b__pesos { display: flex; gap: .7em; color: var(--dss-gris); font-size: .85em; }
.dss-b__pesos i:nth-child(2) { font-weight: 600; } .dss-b__pesos i:nth-child(3) { font-weight: 700; color: var(--esp); }
.dss-b__abc { margin-top: auto; padding-top: .6em; border-top: 1px solid var(--dss-linea); font-size: .85em; letter-spacing: .04em; }
.dss-b__usos { display: grid; flex: 1; grid-template-columns: 1fr 1fr; gap: .6em; }
.dss-b__usos span { position: relative; display: grid; place-items: center; padding: 1em; border-radius: .6em; background: var(--ave); }
.dss-b__usos span.oscuro { background: var(--esp); }
.dss-b__usos svg { width: 78%; }
.dss-b__usos span::after { content: "✓"; position: absolute; top: .4em; right: .4em; display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: #2F9E5B; color: #fff; font-size: .75em; font-weight: 700; }
.dss-b__usos span.no { background: #F7F2EC; }
.dss-b__usos span.no::after { content: "✕"; background: #D63B2F; }
.dss-b__usos .estira svg { transform: scaleX(1.35) scaleY(.75); }
.dss-b__usos .gira svg { transform: rotate(-18deg); }
.dss-b__usos .fondo { background: var(--ter); }
.dss-b__apps { position: relative; flex: 1; }
.dss-b__apps .tar { position: absolute; left: 0; top: 10%; display: grid; place-items: center; width: 70%; aspect-ratio: 1.7; border-radius: .5em; background: var(--esp); box-shadow: 0 .8em 1.4em -.8em rgba(46, 33, 27, .6); transform: rotate(-6deg); }
.dss-b__apps .tar svg { width: 40%; }
.dss-b__apps .vaso { position: absolute; right: 4%; bottom: 0; display: grid; place-items: center; width: 42%; aspect-ratio: .78; border-radius: .4em .4em 1.2em 1.2em; background: var(--ave); box-shadow: inset 0 -.4em 0 rgba(46, 33, 27, .08), 0 .8em 1.4em -.8em rgba(46, 33, 27, .5); }
.dss-b__apps .vaso svg { width: 62%; }

/* ── 03 Impresos ── */
.dss-p__in { position: relative; flex: 1; }
.dss-p__in > div { position: absolute; }
.dss-p__tag { position: absolute; z-index: 3; padding: .3em .7em; border-radius: 99px; background: var(--dss-tinta); color: #fff; font-size: .78em; font-weight: 600; white-space: nowrap; }
.dss-p__folleto { left: 6%; top: 8%; display: flex; flex-direction: column; gap: .5em; width: 13em; height: 18.5em; padding: 1.4em 1.2em; border-radius: .5em; background: var(--esp); color: var(--ave); box-shadow: 0 1.6em 2.6em -1.4em rgba(46, 33, 27, .6); transform: rotate(-5deg); }
.dss-p__folleto svg { width: 6em; margin-bottom: auto; }
.dss-p__folleto b { font-size: 1.5em; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.dss-p__folleto small { color: rgba(243, 233, 218, .72); font-size: .82em; }
.dss-p__qr { display: grid; grid-template-columns: repeat(3, .7em); gap: .15em; margin-top: .4em; }
.dss-p__qr i { width: .7em; height: .7em; background: var(--ave); }
.dss-p__qr i:nth-child(2n) { opacity: .25; }
.dss-p__folleto .dss-p__tag { left: -.4em; top: -.9em; }
.dss-p__banner { right: 5%; top: 7%; display: flex; align-items: center; justify-content: space-between; gap: 1em; width: 21em; height: 7.4em; padding: 0 1.3em; border-radius: .7em; background: var(--ave); box-shadow: 0 1.2em 2em -1.2em rgba(46, 33, 27, .45); }
.dss-p__banner span { display: grid; gap: .2em; }
.dss-p__banner b { font-size: 1.35em; font-weight: 700; letter-spacing: -.02em; }
.dss-p__banner small { color: #7A6A5D; font-size: .82em; }
.dss-p__banner > i { flex: none; padding: .55em 1em; border-radius: 99px; background: var(--ter); color: #fff; font-size: .82em; font-weight: 600; }
.dss-p__banner .dss-p__tag { right: .6em; top: -.9em; }
.dss-p__tarjeta { left: 32%; bottom: 9%; width: 16em; height: 9.6em; perspective: 60em; transform: rotate(4deg); }
.dss-p__giro { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.dss-p__cara { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6em; border-radius: .6em; background: var(--ter); color: #fff; box-shadow: 0 1.4em 2.2em -1.2em rgba(46, 33, 27, .6); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.dss-p__cara svg { width: 3.6em; }
.dss-p__cara b { font-size: 2em; font-weight: 700; letter-spacing: -.05em; }
.dss-p__cara--atras { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .15em; padding: 1.2em; background: #FFFDFB; color: var(--esp); transform: rotateY(180deg); }
.dss-p__cara--atras b { font-size: 1.15em; letter-spacing: -.01em; }
.dss-p__cara--atras small { color: var(--dss-gris); font-size: .78em; }
.dss-p__cara--atras svg { position: absolute; top: 1.1em; right: 1.1em; width: 2.6em; }
.dss-p__tarjeta .dss-p__tag { left: -.6em; top: -1em; }
.dss-p__sticker { right: 7%; bottom: 10%; display: grid; place-items: center; width: 8.4em; height: 8.4em; border-radius: 50%; background: var(--sal); box-shadow: 0 1em 1.8em -1em rgba(46, 33, 27, .55); transform: rotate(-8deg); }
.dss-p__giratexto { position: absolute; inset: 0; width: 100%; height: 100%; }
.dss-p__giratexto text { fill: var(--esp); font: 700 8.6px var(--f); letter-spacing: .06em; text-transform: uppercase; }
.dss-p__ico { width: 3em; }
.dss-p__sticker .dss-p__tag { right: -.4em; top: -.4em; }
.is-on .dss-p__in > div { animation: dss-cae .7s cubic-bezier(.2, .9, .3, 1.15) both; animation-delay: calc(.15s + var(--k) * .18s); }
@keyframes dss-cae { from { opacity: 0; transform: translateY(-1.6em) rotate(0deg) scale(.94); } }
.is-on .dss-p__giro { animation: dss-voltea 6s cubic-bezier(.6, 0, .3, 1) 1.4s infinite; }
@keyframes dss-voltea { 0%, 30% { transform: rotateY(0); } 45%, 80% { transform: rotateY(180deg); } 95%, 100% { transform: rotateY(360deg); } }
.is-on .dss-p__giratexto { animation: dss-gira 16s linear infinite; }
@keyframes dss-gira { to { transform: rotate(360deg); } }

/* ── 04 Estrategia ── */
.dss-e__in { display: grid; flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: .9em; padding: 1.5em; }
.dss-e__card, .dss-e__tono { display: flex; flex-direction: column; gap: .5em; padding: 1.1em 1.2em; border-radius: 1em; background: #fff; box-shadow: 0 1em 2em -1.4em rgba(46, 33, 27, .4); }
.dss-e__in small { color: var(--accent); font-size: .76em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dss-e__card p { font-size: 1.15em; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.dss-e__card--valor { background: var(--esp); color: var(--ave); }
.dss-e__card--valor small { color: var(--sal); }
.dss-e__card mark { padding: 0 .1em; background: linear-gradient(transparent 58%, var(--lima) 58%); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dss-e__card--valor mark { background: linear-gradient(transparent 58%, var(--ter) 58%); }
.dss-e__msg { display: flex; flex-wrap: wrap; gap: .35em; }
.dss-e__msg i { padding: .35em .7em; border-radius: 99px; background: var(--ave); font-size: .92em; font-weight: 600; }
.dss-e__tono { grid-column: 1 / -1; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); align-items: center; gap: .6em 1.4em; }
.dss-e__sl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5em; font-size: .85em; }
.dss-e__sl em { color: var(--dss-gris); }
.dss-e__sl i { position: relative; height: .4em; border-radius: 99px; background: #EEE6DC; }
.dss-e__sl u { position: absolute; inset: 0; border-radius: inherit; background: var(--ter); transform: scaleX(calc(var(--v) / 100)); transform-origin: left; }
.dss-e__sl b { position: absolute; top: 50%; left: 0; width: 1.1em; height: 1.1em; margin: -.55em 0 0 -.55em; border: .2em solid #fff; border-radius: 50%; background: var(--esp); box-shadow: 0 .2em .5em rgba(46, 33, 27, .35); }
/* el botón se mueve con translate en cqi del riel (1cqi = 1 % de su ancho) */
.dss-e__sl i { container-type: inline-size; }
.dss-e__sl b { transform: translateX(calc(var(--v) * 1cqi)); }
.is-on .dss-e__in > * { animation: dss-sube .6s var(--ease) both; animation-delay: calc(.1s + var(--k) * .13s); }
.is-on .dss-e__sl u { animation: dss-riel 1.2s var(--ease) both; animation-delay: calc(1.2s + var(--k) * .15s); }
.is-on .dss-e__sl b { animation: dss-perilla 1.2s var(--ease) both; animation-delay: calc(1.2s + var(--k) * .15s); }
@keyframes dss-riel { from { transform: scaleX(.5); } }
@keyframes dss-perilla { from { transform: translateX(50cqi); } }

/* Beneficios: una sola franja */
.dss__ben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 4.4vw, 64px); border-top: 1px solid var(--dss-linea); }
.dss__ben li { display: flex; align-items: baseline; gap: 14px; padding: 22px clamp(16px, 2vw, 28px) 0 0; font-size: clamp(16px, 1.35vw, 19px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.dss__ben li + li { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--dss-linea); }
.dss__ben span { color: var(--accent); font: 800 14px/1 'Marko Display', var(--f); }

/* ── Mesa angosta (celular): maquetas más simples y letra más grande ── */
@container (max-width: 520px) {
	.dss-m { font-size: 2.7cqi; }
	.dss-bar small { display: none; }
	.dss-l__in { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 1em; padding: 1.2em; }
	.dss-l__chip { display: none; }
	.dss-l__marca { flex-direction: column; align-items: flex-start; gap: .4em; }
	.dss-l__marca b { font-size: 2.6em; }
	.dss-b__libro { width: 34em; height: 25em; }
	.dss-b__pag { padding: 1.2em 1.1em 1em; }
	.dss-b__pesos { flex-wrap: wrap; gap: .2em .6em; }
	.dss-p__folleto { left: 4%; top: 5%; width: 12em; height: 17em; }
	.dss-p__banner { right: 3%; top: 6%; width: 17em; height: 9em; flex-direction: column; align-items: flex-start; justify-content: center; gap: .6em; }
	.dss-p__tarjeta { left: 20%; bottom: 6%; }
	.dss-p__sticker { right: 3%; bottom: 24%; width: 7.6em; height: 7.6em; }
	.dss-e__in { gap: .7em; padding: 1.1em; }
	.dss-e__card, .dss-e__tono { padding: .9em 1em; }
	.dss-e__card p { font-size: 1.05em; }
	.dss-e__tono { grid-template-columns: minmax(0, 1fr); gap: .5em; }
	.dss-e__sl { grid-template-columns: 4.6em minmax(0, 1fr) 4.6em; }
	.dss-e__sl em:last-child { text-align: right; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
	.dss__tt small { display: none; }
}
@media (max-width: 960px) {
	.dss__cab { grid-template-columns: minmax(0, 1fr); }
	.dss__cuerpo { grid-template-columns: minmax(0, 1fr); }
	.dss__lado { display: contents; }
	.dss__tabs { order: -2; }
	.dss__mesa { order: -1; width: 100%; max-width: 720px; justify-self: center; }
	/* índice → tira de cápsulas deslizable, de borde a borde */
	.dss__tabs { display: flex; gap: 8px; margin-inline: calc(-1 * var(--m)); padding: 2px var(--m) 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--m); scrollbar-width: none; }
	.dss__tabs::-webkit-scrollbar { display: none; }
	.dss__tabs button { flex: none; grid-template-columns: auto auto; gap: 10px; min-height: 48px; padding: 5px 18px 5px 5px; border-color: var(--dss-linea); border-radius: 999px; scroll-snap-align: start; }
	.dss__tabs i { width: 36px; height: 36px; border-radius: 50%; }
	.dss__tabs [aria-selected="true"] i { transform: none; }
	.dss__n { display: none; }
	.dss__tt b { font-size: 15px; white-space: nowrap; }
	.dss__barra { left: 22px; right: 22px; bottom: 3px; }
	.dss__panel { max-width: 640px; }
}
@media (max-width: 767px) {
	.dss__in { padding-top: 52px; padding-bottom: 48px; }
	.dss__cab { gap: 12px; }
	.dss__intro { font-size: 15.5px; }
	.dss__cuerpo { gap: 16px; margin-top: 24px; }
	.dss__mesa { aspect-ratio: 1; border-radius: 22px; }
	.dss__panel { gap: 10px; padding: 0; }
	.dss__panel p { font-size: 15.5px; line-height: 1.55; }
	.dss__inc li { font-size: 13.5px; }
	.dss__wa { width: 100%; }
	.dss__ben { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
	.dss__ben li { padding: 12px 0; font-size: 15.5px; }
	.dss__ben li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--dss-linea); }
}

@media (prefers-reduced-motion: reduce) {
	.dss *, .dss *::before, .dss *::after { animation: none !important; transition: none !important; }
	.dss-m { transform: none; }
}
