/* =====================================================================
   Página del proyecto DISEÑO DEPORTIVO · el lenguaje de la pista: azul de moqueta, líneas blancas,
   degradados y trama de puntos; la pelota (verde lima) como acento. El oro, solo para el título de Coello.
   Titulares en Anton; rótulos en Michroma; texto en Barlow Semi Condensed.
   ===================================================================== */
@font-face { font-family: 'DD Anton'; font-weight: 400; font-display: swap; src: url('../assets/fonts/anton-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DD Michroma'; font-weight: 400; font-display: swap; src: url('../assets/fonts/michroma-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow-semi-condensed-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 500; font-display: swap; src: url('../assets/fonts/barlow-semi-condensed-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-display: swap; src: url('../assets/fonts/barlow-semi-condensed-latin-700-normal.woff2') format('woff2'); }

.ventana__cuerpo.ventana__cuerpo--pag:has(.dd) { background: #06142b; }
.dd {
  --noche: #06142B; --marino: #0B2550; --pista: #1B5BB0; --pista2: #2D7BD8; --cielo: #8CCBFF; --bl: #F4F7FB; --lima: #D7F23A;
  --oro: #D4A73A; --oro2: #F2CF6B; --cafe: #130D08; --h: 100vh;
  --tit: 'DD Anton', 'Impact', 'Arial Narrow', sans-serif; --w: 'DD Michroma', 'Arial Black', sans-serif;
  position: relative; background: var(--noche); color: var(--bl); font-family: 'Barlow Semi Condensed', system-ui, sans-serif; font-size: 1rem; line-height: 1.5;
  container-type: inline-size; overflow: clip;
}
.gp-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0 !important; }
.dd p, .dd ol, .dd ul, .dd figure { margin: 0; }
.dd ol, .dd ul { padding: 0; list-style: none; }
.dd img { display: block; max-width: 100%; pointer-events: none; }

/* trama de puntos (puntillismo) que se desvanece */
.dd-trama { position: relative; isolation: isolate; }
.dd-trama::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.22) 1px, transparent 1.7px) 0 0 / 7px 7px;
  -webkit-mask: radial-gradient(70% 60% at 80% 20%, #000, transparent 75%); mask: radial-gradient(70% 60% at 80% 20%, #000, transparent 75%); }

/* ---------- comunes ---------- */
.dd-sec { position: relative; padding: clamp(70px, 9cqw, 130px) clamp(20px, 6cqw, 90px); }
.dd-etq { font-family: var(--tit); text-transform: uppercase; font-size: clamp(2.4rem, 6cqw, 5.2rem); line-height: .95; margin-bottom: clamp(22px, 3cqw, 40px) !important; }
.dd-sub { font-family: var(--w); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--oro); margin: -14px 0 clamp(26px, 3.4cqw, 44px) !important; }
.dd-grande { font-size: clamp(1.35rem, 2.6cqw, 2.2rem); line-height: 1.2; font-weight: 500; max-width: 25em; }
.dd-texto { font-size: clamp(1.02rem, 1.4cqw, 1.2rem); line-height: 1.55; max-width: 36em; }
.dd-texto--s { font-size: clamp(.94rem, 1.15cqw, 1.04rem); opacity: .75; }
.dd-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; align-items: start; }
.dd-ap { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.9,.25,1); transition-delay: calc(var(--i, 0) * .08s); }
.dd-ap.on { opacity: 1; transform: none; }
.dd-ap.dd-split { opacity: 1; transform: none; }
.dd-split em { font-style: normal; }
.dd-pal-w { display: inline-block; white-space: nowrap; }
.dd-split em i { display: inline-block; font-style: normal; opacity: 0; transform: translateY(.5em); transition: opacity .45s, transform .7s cubic-bezier(.2,.9,.25,1); transition-delay: calc(var(--l) * .03s); }
.dd-split.on em i { opacity: 1; transform: none; }
.dd-pal i { font-style: normal; opacity: .2; transition: opacity .35s; }
.dd-pal i.on { opacity: 1; }
.dd-made { display: inline-grid; grid-template-columns: auto auto; justify-content: space-between; column-gap: 1.4em; font-family: var(--w); font-size: .58rem; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.dd-made > span:nth-child(3) { grid-column: 1 / -1; }
.dd-fijo { position: sticky; top: 0; height: var(--h); overflow: hidden; }

/* ---------- portada: la pista desde arriba ---------- */
.dd-hero { height: var(--h); min-height: 540px; overflow: hidden; background: radial-gradient(90% 70% at 50% 45%, var(--pista2) 0%, var(--pista) 38%, var(--marino) 78%, var(--noche) 100%); }
.dd-hero__pista, .dd-fin__pista { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2.5; opacity: .55; }
.dd-hero__pista * { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: dd-traza 2.4s cubic-bezier(.6,0,.2,1) forwards; }
.dd-hero__pista path:nth-child(2) { stroke-width: 4; stroke-dasharray: .004 .004; animation: dd-red .6s 1s both; opacity: .8; }
.dd-hero__pista path:nth-child(n+3) { animation-delay: .9s; }
@keyframes dd-traza { to { stroke-dashoffset: 0; } }
@keyframes dd-red { from { opacity: 0; } }
.dd-hero__in { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(20px, 3cqw, 40px) clamp(20px, 5cqw, 72px); }
.dd-cab, .dd-hero__pie { display: flex; justify-content: space-between; align-items: start; gap: 20px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ffffffd0; }
.dd-hero__pie { align-items: end; }
.dd-hero__centro { align-self: center; justify-self: center; display: grid; justify-items: center; gap: clamp(16px, 2.6vh, 30px); text-align: center; will-change: transform, opacity; }
.dd-hero__t { display: grid; font-family: var(--tit); text-transform: uppercase; line-height: .86; font-size: min(15cqw, calc(var(--h) * .22)); text-shadow: 0 20px 60px rgba(6,20,43,.5); }
.dd-hero__t span { animation: dd-entra 1s cubic-bezier(.2,.9,.25,1) both .3s; }
.dd-hero__t span + span { animation-delay: .45s; color: transparent; -webkit-text-stroke: 1.8px #fff; }
@keyframes dd-entra { from { opacity: 0; transform: translateY(26px); } }
.dd-hero__sub { font-size: clamp(1rem, 1.5cqw, 1.25rem); color: #fff; animation: dd-entra 1s cubic-bezier(.2,.9,.25,1) both .6s; }
.dd-panel { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 4px; background: #061631d9; box-shadow: inset 0 0 0 1px #ffffff30; font-family: var(--w); text-transform: uppercase; animation: dd-entra 1s cubic-bezier(.2,.9,.25,1) both .8s; }
.dd-panel span { font-size: .62rem; letter-spacing: .16em; color: var(--lima); }
.dd-panel__n { min-width: 9.5em; text-align: left; font-weight: 400; font-size: clamp(.9rem, 1.4cqw, 1.15rem); letter-spacing: .08em; }
.dd-bajar { display: flex; align-items: center; gap: 10px; }
.dd-bajar i { width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; animation: dd-baja 1.6s ease-in-out infinite; }
@keyframes dd-baja { 50% { translate: 0 2px; } }

/* ---------- el proyecto: sobre la moqueta ---------- */
.dd-intro { background: linear-gradient(180deg, var(--pista) 0%, #174f9b 100%); overflow: hidden; }
.dd-intro__pista { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(#ffffff26, #ffffff26) 70% 0 / 2px 100% no-repeat, linear-gradient(#ffffff26, #ffffff26) 0 62% / 100% 2px no-repeat,
  radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1.6px) 0 0 / 6px 6px; }
.dd-intro > :not(.dd-intro__pista) { position: relative; }
.dd-intro .dd-texto { margin-top: clamp(24px, 3cqw, 40px) !important; opacity: .88; }
.dd-fases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.6cqw, 36px); margin: clamp(44px, 5.5cqw, 76px) 0 !important; }
.dd-fases li { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 18px; }
.dd-fases li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #ffffff40; }
.dd-fases li::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.9,.25,1); transition-delay: calc(.2s + var(--i, 0) * .18s); }
.dd-fases li.on::after { transform: scaleX(1); }
.dd-fases span { font-family: var(--w); font-size: .66rem; color: var(--lima); }
.dd-fases b { font-family: var(--tit); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 2.6cqw, 2.2rem); line-height: 1; }
.dd-fases p { font-size: 1rem; opacity: .85; max-width: 18em; }
.dd-lineas { display: grid; grid-template-columns: minmax(160px, 22%) 1fr; gap: 20px 5cqw; padding-top: 24px; border-top: 2px solid #fff; }
.dd-lineas > p { font-family: var(--w); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 4px; }
.dd-lineas ul { display: grid; gap: 12px; }
.dd-lineas li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; font-size: clamp(1rem, 1.35cqw, 1.18rem); line-height: 1.45; }
.dd-lineas li i { font-style: normal; font-family: var(--w); font-size: .66rem; color: var(--lima); padding-top: 5px; }

/* ---------- comunicación de partidos: el escaparate ---------- */
.dd-part { background: linear-gradient(180deg, #174f9b 0%, var(--marino) 45%, var(--noche) 100%); padding-bottom: clamp(30px, 4cqw, 60px); }
.dd-part__p3 { margin-top: clamp(26px, 3cqw, 40px) !important; max-width: 46em; }
.dd-escaparate { position: relative; height: calc(var(--h) * 5); background: radial-gradient(60% 55% at 50% 50%, #123a78 0%, var(--noche) 75%); }
.dd-escaparate .dd-fijo { display: grid; place-items: center; perspective: 1600px; }
.dd-escaparate .dd-fijo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgba(140,203,255,.16) 1px, transparent 1.7px) 0 0 / 8px 8px; -webkit-mask: radial-gradient(55% 60% at 50% 50%, #000, transparent 80%); mask: radial-gradient(55% 60% at 50% 50%, #000, transparent 80%); }
.dd-esc__ap { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; text-align: center; font-family: var(--tit); text-transform: uppercase; font-size: min(22cqw, calc(var(--h) * .36)); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #ffffff2e; white-space: nowrap; pointer-events: none; }
.dd-esc__pista { position: relative; width: var(--pw, 300px); aspect-ratio: 9 / 16; transform-style: preserve-3d; translate: 13cqw 0; }
@media (max-width: 760px) { .dd-esc__pista { translate: 0 0; } }
.dd .dd-pieza { position: absolute; inset: 0; margin: 0; will-change: transform; }
.dd-pieza img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px #ffffff1a; }
.dd-esc__ficha { position: absolute; left: clamp(20px, 6cqw, 90px); bottom: clamp(26px, 6vh, 70px); width: min(26cqw, 320px); }
.dd-esc__n { font-family: var(--w); font-size: .66rem; letter-spacing: .14em; color: var(--cielo); }
.dd-esc__n b { font-weight: 400; color: var(--lima); }
.dd-esc__nom { margin-top: 10px !important; font-family: var(--tit); text-transform: uppercase; font-size: clamp(1.8rem, 3.6cqw, 3rem); line-height: .95; }
.dd-esc__tor { margin-top: 6px !important; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cielo); }
.dd-esc__cru { margin-top: 14px !important; font-size: .98rem; line-height: 1.4; color: #ffffffc8; }
.dd-esc__cru em { display: block; margin: 4px 0; font-style: normal; font-family: var(--w); font-size: .62rem; color: var(--lima); }
.dd-esc__cru span { display: block; margin-top: 8px; font-size: .84rem; color: #ffffff90; }
.dd-esc__bar { display: flex; gap: 4px; margin-top: 18px; }
.dd-esc__bar i { flex: 1; height: 3px; border-radius: 2px; background: #ffffff26; transition: background .3s; }
.dd-esc__bar i.on { background: var(--lima); }
.dd-esc__ficha.cambia .dd-esc__nom, .dd-esc__ficha.cambia .dd-esc__tor, .dd-esc__ficha.cambia .dd-esc__cru { animation: dd-ficha .5s cubic-bezier(.2,.9,.25,1); }
@keyframes dd-ficha { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Arturo Coello ---------- */
.dd-coello-int { background: linear-gradient(180deg, var(--noche), var(--cafe)); padding-bottom: clamp(30px, 4cqw, 60px); }
.dd-coello-int .dd-etq { color: var(--oro2); }
.dd-coello { position: relative; height: calc(var(--h) * 4.5); background: radial-gradient(60% 60% at 30% 50%, #2a1a0b 0%, var(--cafe) 70%); }
.dd-coello__fijo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(40px, 8cqw, 140px); padding: 0 clamp(20px, 6cqw, 90px); }
.dd-cam { display: grid; gap: 14px; }
.dd-ig { width: min(calc(var(--h) * .62), 600px); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px #d4a73a40, 0 40px 90px rgba(0,0,0,.6), 0 0 140px rgba(212,167,58,.14); }
.dd-ig__cab { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: #262626; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.dd-ig__cab img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px #dbdbdb; }
.dd-ig__cab b { flex: 1; font-size: .92rem; font-weight: 600; }
.dd-ig__cab svg { width: 20px; height: 20px; fill: #262626; }
.dd-ig__ver { justify-self: start; font-size: .84rem; font-weight: 700; letter-spacing: .06em; color: var(--oro2); text-decoration: none; }
.dd-ig__ver:hover { text-decoration: underline; }
.dd-pub { --lx: 50%; --ly: 50%; position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.dd-pub__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .7s; }
.dd-pub.lupa .dd-pub__img { filter: brightness(.45) saturate(.7); }
/* la lupa: círculo que viaja de un punto a otro con el detalle en alta dentro */
.dd-lente { position: absolute; left: var(--lx); top: var(--ly); width: 58%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--oro2), 0 0 0 9px #f2cf6b33, 0 30px 60px rgba(0,0,0,.6); opacity: 0; transform: scale(.4); transition: left .9s cubic-bezier(.65,0,.25,1), top .9s cubic-bezier(.65,0,.25,1), opacity .45s, transform .7s cubic-bezier(.3,1.3,.5,1); }
.dd-pub.lupa .dd-lente { opacity: 1; transform: none; }
.dd-lente img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.25); transition: opacity .5s, transform 1s cubic-bezier(.2,.9,.25,1); }
.dd-lente img.on { opacity: 1; transform: none; transition-delay: .35s; }
.dd-lente::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 40%); pointer-events: none; }
.dd-pub__tag { position: absolute; left: 12px; top: 12px; padding: 5px 11px 4px; border-radius: 99px; background: #130d08cc; backdrop-filter: blur(6px); font-family: var(--w); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oro2); opacity: 0; transform: translateY(-6px); transition: opacity .4s .6s, transform .5s .6s; }
.dd-pub__tag.on { opacity: 1; transform: none; }
.dd-cam__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dd-cam__bar span { display: grid; gap: 7px; font-family: var(--w); font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; color: #f1e9da60; transition: color .3s; }
.dd-cam__bar span.on { color: var(--oro2); }
.dd-cam__bar i { height: 2px; background: linear-gradient(90deg, var(--oro2) calc(var(--b, 0) * 100%), #f1e9da26 0); }
.dd-pasos { display: grid; }
.dd-pasos li { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; max-width: 30em; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .7s cubic-bezier(.2,.9,.25,1); }
.dd-pasos li.hecho { transform: translateY(-18px); }
.dd-pasos li.on { opacity: 1; transform: none; }
.dd-pasos span { font-family: var(--w); font-size: .64rem; letter-spacing: .14em; color: var(--oro); }
.dd-pasos b { font-family: var(--tit); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4.2cqw, 3.8rem); line-height: .95; color: var(--oro2); }
.dd-pasos p { font-size: clamp(1rem, 1.35cqw, 1.2rem); line-height: 1.5; color: #f1e9dacc; }

/* ---------- hasta dónde llegó: esquema de flujo ---------- */
.dd-dif { background: linear-gradient(180deg, var(--cafe) 0%, var(--noche) 18%, var(--marino) 100%); padding-top: clamp(60px, 7cqw, 110px); }
.dd-dif > .dd-texto { color: #ffffffcc; }
.dd-esq { margin: clamp(36px, 5cqw, 70px) 0 clamp(30px, 4cqw, 60px); padding: clamp(18px, 2.4cqw, 30px); border-radius: 10px; background: linear-gradient(135deg, #0e2d5fcc, #0a2149cc); box-shadow: inset 0 0 0 1px #8ccbff26; }
.dd-esq__cols { position: relative; height: 22px; margin-bottom: 10px; border-bottom: 1px solid #8ccbff26; font-family: var(--w); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cielo); }
.dd-esq__cols span { position: absolute; top: 0; }
.dd-esq__cols span:nth-child(1) { left: 0; } .dd-esq__cols span:nth-child(2) { left: 47%; translate: -50% 0; } .dd-esq__cols span:nth-child(3) { left: 69%; }
.dd-esq__lienzo { position: relative; aspect-ratio: 1000 / 520; }
.dd-esq__lienzo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dd-esq__lienzo path { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.e-l1 { stroke: #8ccbffa0; }
.e-l2 { stroke: #d7f23aa0; }
.dd-esq__orig { position: absolute; translate: -50% -50%; display: grid; justify-items: center; gap: 10px; text-align: center; opacity: 0; transform: scale(.9); transition: opacity .5s, transform .6s cubic-bezier(.3,1.4,.5,1); }
.dd-esq__orig.on { opacity: 1; transform: none; }
.dd-esq__orig img { width: clamp(70px, 10cqw, 130px); border-radius: 6px; box-shadow: 0 0 0 2px #fff, 0 20px 40px rgba(0,0,0,.45); }
.dd-esq__orig b { display: block; font-family: var(--w); font-weight: 400; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lima); }
.dd-esq__orig span { font-size: .8rem; color: #ffffffb0; }
.dd-esq__amb { position: absolute; translate: -50% -50%; padding: 7px 14px 6px; border-radius: 99px; background: var(--pista); box-shadow: inset 0 0 0 1px #8ccbff60, 0 10px 24px rgba(0,0,0,.3); font-family: var(--w); font-size: clamp(.5rem, .8cqw, .64rem); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: scale(.85); transition: opacity .4s, transform .5s cubic-bezier(.3,1.4,.5,1); }
.dd-esq__perf { position: absolute; translate: 0 -50%; display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateX(-10px); transition: opacity .45s, transform .55s cubic-bezier(.2,.9,.25,1); }
.dd-esq__perf i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--lima); box-shadow: 0 0 0 5px #d7f23a26, 0 0 18px #d7f23a80; }
.dd-esq__perf b { display: block; font-family: var(--tit); font-weight: 400; text-transform: uppercase; font-size: clamp(.95rem, 1.7cqw, 1.45rem); line-height: 1.05; }
.dd-esq__perf span { display: block; font-size: .8rem; color: #ffffff99; }
.dd-esq__amb.on, .dd-esq__perf.on { opacity: 1; transform: none; }
.dd-cifras { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3cqw, 44px); max-width: 900px; }
.dd-cifras > div { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding-top: 16px; border-top: 2px solid var(--lima); }
.dd-cifras b { font-family: var(--tit); font-weight: 400; font-size: clamp(3rem, 7cqw, 5.6rem); line-height: 1; color: var(--lima); }
.dd-cifras p { display: grid; gap: 4px; font-size: .98rem; color: #ffffffcc; }
.dd-cifras strong { font-family: var(--w); font-weight: 400; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.dd-nota { margin-top: 18px !important; font-size: .82rem; font-style: italic; color: #ffffff80; }
.dd-comp { margin-top: clamp(40px, 5cqw, 70px) !important; padding-top: 22px; border-top: 1px solid #ffffff26; color: #ffffffcc; }

/* ---------- conclusión y cierre ---------- */
.dd-concl { background: linear-gradient(135deg, var(--pista2), var(--pista)); }
.dd-fin { display: grid; justify-items: center; gap: 18px; text-align: center; padding: clamp(80px, 11cqw, 150px) 20px; overflow: hidden; background: radial-gradient(80% 80% at 50% 50%, var(--marino), var(--noche)); }
.dd-fin__pista { opacity: .22; }
.dd-fin .dd-made { margin-bottom: 10px; }
.dd-fin__h { font-family: var(--tit); text-transform: uppercase; font-size: clamp(2.6rem, 9cqw, 8rem); line-height: 1.15; padding-top: .35em; margin-top: -.3em; padding-inline: .1em; color: transparent; -webkit-text-stroke: 1.2px var(--bl); background: linear-gradient(90deg, var(--bl) 0 50%, transparent 50%) no-repeat; background-size: 200% 100%; background-position: calc((1 - var(--f, 0)) * 100%) 0; -webkit-background-clip: text; background-clip: text; }
.dd-fin__s { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cielo); }

/* ---------- móvil ---------- */
@media (max-width: 760px) {
  .dd-dos, .dd-fases, .dd-lineas, .dd-cifras { grid-template-columns: 1fr; }
  .dd-hero__t { font-size: 17cqw; }
  .dd-escaparate .dd-fijo { place-items: start center; padding-top: 6vh; }
  .dd-esc__ficha { left: 20px; right: 20px; bottom: 3vh; width: auto; }
  .dd-esc__nom { font-size: 1.6rem; } .dd-esc__cru { font-size: .86rem; margin-top: 6px !important; }
  .dd-coello__fijo { grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 14px; }
  .dd-ig { width: min(calc(var(--h) * .36), 80cqw); }
  .dd-cam__bar span { font-size: 0; }
  .dd-pasos li { gap: 6px; text-align: center; }
  .dd-pasos b { font-size: 1.7rem; } .dd-pasos p { font-size: .92rem; }
  .dd-esq__cols { display: none; }
  .dd-esq__lienzo { aspect-ratio: auto; display: grid; gap: 14px; }
  .dd-esq__lienzo svg, .dd-esq__amb { display: none; }
  .dd-esq__orig, .dd-esq__perf { position: static; translate: none; }
  .dd-esq__orig { justify-items: start; text-align: left; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .dd-split em i { opacity: 1; transform: none; transition: none; } }
.dd-lente img[data-i="3"] { object-position: 72% 70%; }
.dd-lente img[data-i="1"] { object-position: 45% 50%; }

/* ---------- historias más grandes y ampliables ---------- */
.dd .dd-pieza { cursor: zoom-in; }
.dd-esc__pista { translate: 15cqw 0; }
.dd-ver { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 16px; border: 1px solid #ffffff40; border-radius: 99px; background: none; color: #fff; font: 700 .72rem/1 inherit; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.dd-ver svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dd-ver:hover { background: var(--lima); border-color: var(--lima); color: var(--noche); }
@media (max-width: 760px) {
  .dd-esc__pista { translate: 0 0; }
  .dd-escaparate .dd-fijo { padding-top: 3vh; }
  .dd-esc__cru span { display: none; }
  .dd-ver { margin-top: 10px; padding: 8px 14px; }
}

/* ---------- visor a pantalla completa ---------- */
.vz { position: fixed; inset: 0; z-index: 9000; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; background: rgba(6,6,8,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; touch-action: pan-y; }
.vz.on { opacity: 1; }
.vz-fig { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.vz-fig img { height: calc(100svh - 80px); max-width: 100%; width: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: scale(.96); transition: transform .3s cubic-bezier(.2,.9,.25,1); }
.vz.on .vz-fig img { transform: none; }
.vz-fig figcaption { font: 600 .74rem/1 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #ffffffa0; }
.vz-f, .vz-x { border: 0; background: none; color: #fff; cursor: pointer; font: 300 3rem/1 system-ui, sans-serif; opacity: .7; transition: opacity .2s; }
.vz-f:hover, .vz-x:hover { opacity: 1; }
.vz-x { position: absolute; top: 14px; right: 20px; z-index: 2; font-size: 2.4rem; }
@media (max-width: 760px) {
  .vz { grid-template-columns: 1fr; }
  .vz-f { display: none; }
  .vz-fig img { height: auto; max-height: calc(100svh - 90px); width: calc(100vw - 24px); }
}
.vz-x:focus:not(:focus-visible) { outline: none; }

/* ---------- flechas y «pasar»: solo en el móvil ---------- */
.dd-flechas, .dd-cam__sig { display: none; }
.dd-esc__acc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dd-esc__acc .dd-ver { margin-top: 20px; }

/* ===================== MÓVIL: animaciones solas, se pasa a mano ===================== */
@media (max-width: 1100px) {
  .dd--auto .dd-escaparate { height: var(--h); }
  .dd--auto .dd-escaparate .dd-fijo { position: relative; touch-action: pan-y; }
  .dd--auto .dd-flechas { display: inline-flex; gap: 8px; }
  .dd-flechas button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ffffff55; background: #0b1a3a99; color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; }
  .dd-flechas button:active { background: var(--lima); border-color: var(--lima); color: var(--noche); }
  .dd-flechas svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .dd--auto .dd-esc__acc { margin-top: 10px; }
  .dd--auto .dd-esc__acc .dd-ver { margin-top: 0; }

  .dd--auto .dd-coello { height: auto; }
  .dd--auto .dd-coello__fijo { position: relative; height: auto; padding: 36px 20px 44px; }
  .dd--auto .dd-ig { width: min(84cqw, 380px); }
  .dd--auto .dd-cam { justify-items: center; }
  .dd--auto .dd-cam__bar { width: 100%; }
  .dd--auto .dd-cam__bar span { cursor: pointer; padding: 8px 0; -webkit-tap-highlight-color: transparent; }
  .dd--auto .dd-cam__bar i { height: 3px; }
  .dd--auto .dd-cam__sig { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 20px; border-radius: 99px; border: 0; background: var(--oro2); color: #130d08; font: 700 .72rem/1 var(--w); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
  .dd-cam__sig svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .dd--auto .dd-pasos { min-height: 8.5em; }
}
/* tablet: el escaparate con las proporciones del móvil (historia arriba, ficha debajo) */
.dd--auto .dd-escaparate .dd-fijo { place-items: start center; padding-top: 3vh; }
.dd--auto .dd-esc__pista { translate: 0 0; }
.dd--auto .dd-esc__ficha { left: 50%; right: auto; bottom: 3vh; width: min(100% - 40px, 520px); translate: -50% 0; }
