/* Coronel Truman · fichas (páginas secundarias): entrada a pantalla completa y lectura con scroll natural */
.ficha .entrada { min-height: 100svh; }

/* Desarrollo del texto: una columna alineada con el titular */
.desarrollo { padding: 6vh clamp(1.5rem, 7vw, 8rem) 10vh; }
.desarrollo .columna { max-width: 62ch; }
.desarrollo p { font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.6; text-wrap: pretty; }
.desarrollo p + p { margin-top: 1.4em; }

/* Mensaje tipográfico a pantalla completa */
.mensaje-t { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 12vh calc(var(--nav-dcha) + var(--punto-t) + 2rem); border-top: 1px solid rgba(26, 26, 26, 0.12); }
.mensaje-t h2, .resultados h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-style: italic; letter-spacing: -0.015em; line-height: 1.04; font-size: clamp(2.4rem, min(6vw, 12vh), 7.5rem); }
.dos-col { max-width: 62ch; margin-top: clamp(2.5rem, 7vh, 4.5rem); text-align: left; }
.dos-col p { font-size: clamp(1.02rem, 1.25vw, 1.25rem); line-height: 1.6; margin-bottom: 1.1em; text-wrap: pretty; }

/* Metodología: secuencia horizontal con una línea que se dibuja */
.metodo { padding: 12vh clamp(1.5rem, 7vw, 8rem); border-top: 1px solid rgba(26, 26, 26, 0.12); }
.pasos { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 2vw, 2.4rem); position: relative; }
.pasos::before { content: ""; position: absolute; left: 0; right: 0; top: 2.35rem; height: 1px; background: var(--oscuro); transform-origin: left; transform: scaleX(0); animation: trazo 1.4s var(--ease) 0.2s forwards; }
@keyframes trazo { to { transform: scaleX(1); } }
.pasos li { position: relative; padding-top: 3.6rem; opacity: 0; animation: fundir 0.6s var(--ease) forwards; }
.pasos li::before { content: ""; position: absolute; top: calc(2.35rem - 5px); left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gris); border: 1.5px solid var(--oscuro); }
.pasos li:nth-child(1) { animation-delay: 0.3s; } .pasos li:nth-child(2) { animation-delay: 0.5s; } .pasos li:nth-child(3) { animation-delay: 0.7s; }
.pasos li:nth-child(4) { animation-delay: 0.9s; } .pasos li:nth-child(5) { animation-delay: 1.1s; } .pasos li:nth-child(6) { animation-delay: 1.3s; }
.pasos .num { position: absolute; top: 0; left: 0; font-family: "Oswald", sans-serif; font-weight: 500; font-size: 0.85rem; letter-spacing: 0.14em; color: var(--rojo); }
.pasos h3 { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(1rem, 1.25vw, 1.3rem); }
.pasos p { margin-top: 0.7rem; font-size: clamp(0.9rem, 0.95vw, 1rem); line-height: 1.55; text-wrap: pretty; }

/* Resultados */
.resultados { padding: 14vh clamp(1.5rem, 7vw, 8rem); border-top: 1px solid rgba(26, 26, 26, 0.12); }
.resultados .cabeza { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: end; }
.resultados .cabeza p { font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.55; max-width: 40ch; }
.lista-r { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2vw, 2.4rem); margin-top: clamp(3rem, 8vh, 5rem); }
.lista-r li { border-top: 1px solid var(--oscuro); padding-top: 1.2rem; }
.lista-r h3 { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(1rem, 1.25vw, 1.3rem); }
.lista-r p { margin-top: 0.7rem; font-size: clamp(0.9rem, 0.95vw, 1rem); line-height: 1.55; }
.nota-r { margin-top: clamp(3rem, 8vh, 5rem); font-size: clamp(1.05rem, 1.35vw, 1.35rem); max-width: 56ch; }

/* Cierre con la llamada */
.cierre { padding: 16vh 1.5rem 12vh; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; border-top: 1px solid rgba(26, 26, 26, 0.12); }
.enlace.grande { font-size: clamp(1.1rem, 1.9vw, 1.9rem); letter-spacing: 0.06em; }

/* Mockup elegante: portátil y móvil sobre gris */
.dispositivos { position: relative; width: 100%; aspect-ratio: 5 / 4; max-height: 62vh; display: flex; align-items: center; justify-content: center; opacity: 0; animation: fundir 0.9s var(--ease) 0.25s forwards; }
.portatil { width: 88%; aspect-ratio: 16 / 10; border: clamp(6px, 0.7vw, 11px) solid #1d1d1f; border-radius: 14px 14px 4px 4px; background: #e7e7e7; position: relative; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35); }
.portatil::after { content: ""; position: absolute; left: -9%; right: -9%; bottom: calc(-1 * clamp(6px, 0.7vw, 11px) - 12px); height: 12px; background: linear-gradient(#cfcfcf, #a9a9a9); border-radius: 0 0 14px 14px; }
.telefono { position: absolute; right: 0; bottom: -2%; width: 22%; aspect-ratio: 9 / 19.5; border: clamp(4px, 0.45vw, 7px) solid #1d1d1f; border-radius: clamp(16px, 1.6vw, 26px); background: #ededed; box-shadow: 0 26px 40px -18px rgba(0, 0, 0, 0.4); }
.pantalla-d { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: repeating-linear-gradient(0deg, transparent 0 18px, rgba(0, 0, 0, 0.035) 18px 19px); }
.pantalla-d span { font-family: "Oswald", sans-serif; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(0, 0, 0, 0.4); text-align: center; padding: 0 0.6rem; }
.dispositivos figcaption { position: absolute; left: 0; bottom: -2.6rem; font-size: 0.72rem; color: rgba(26, 26, 26, 0.7); }
.dispositivos figcaption b { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.62rem; margin-right: 0.6em; }

@media (max-width: 899px) {
  .mensaje-t { min-height: 0; padding: 5rem 1.5rem; }
  .mensaje-t h2, .resultados h2 { font-size: clamp(2rem, 8.4vw, 3.6rem); }
  .dos-col { columns: 1; }
  .metodo, .resultados { padding: 5rem 1.5rem; }
  .pasos { grid-template-columns: 1fr; gap: 2rem; }
  .pasos::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; transform-origin: top; transform: scaleY(0); animation-name: trazo-v; }
  @keyframes trazo-v { to { transform: scaleY(1); } }
  .pasos li { padding: 0 0 0 2.2rem; }
  .pasos li::before { top: 0.35rem; }
  .pasos .num { position: static; display: block; margin-bottom: 0.4rem; }
  .resultados .cabeza { grid-template-columns: 1fr; gap: 1.4rem; }
  .lista-r { grid-template-columns: 1fr; gap: 1.6rem; }
  .desarrollo { padding: 1rem 1.5rem 4rem; }
  .cierre { padding: 5rem 1.5rem 3rem; }
  .dispositivos { margin-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pasos::before, .pasos li, .dispositivos { animation: none; opacity: 1; transform: none; }
}

/* En las páginas largas el logo se queda arriba y se va con el scroll */
body.largo .logo { position: absolute; }

/* Móvil real con captura (mywolly) */
.movil-real { display: flex; flex-direction: column; align-items: center; gap: 1rem; opacity: 0; animation: fundir 0.9s var(--ease) 0.25s forwards; }
.telefono-r { height: min(64vh, 640px); aspect-ratio: 9 / 19.5; border: clamp(6px, 0.6vw, 10px) solid #1d1d1f; border-radius: clamp(26px, 2.6vw, 42px); overflow: hidden; background: #1d1d1f; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.45); }
.telefono-r img { width: 100%; height: 100%; object-fit: cover; }
.movil-real figcaption { font-size: 0.72rem; color: rgba(26, 26, 26, 0.7); }
.movil-real figcaption b { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.62rem; margin-right: 0.6em; }
.js-revela :is(section, .escena-h):not(.vista) .movil-real { animation-play-state: paused; }

/* Producto propio destacado */
.destacado { padding: 14vh clamp(1.5rem, 7vw, 8rem); border-top: 1px solid rgba(26, 26, 26, 0.12); text-align: center; display: flex; flex-direction: column; align-items: center; }
.destacado .logo-mw { height: clamp(34px, 3.4vw, 54px); width: auto; margin-bottom: clamp(2rem, 5vh, 3rem); }
.destacado h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-style: italic; letter-spacing: -0.015em; line-height: 1.04; font-size: clamp(2.4rem, min(5.4vw, 11vh), 6.6rem); }
.destacado p { font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.6; max-width: 52ch; margin-top: clamp(1.6rem, 4vh, 2.6rem); text-wrap: balance; }

/* Marca de borrador (solo desarrollo) */
.dev-tag { display: inline-block; margin-top: 1.6rem !important; font-family: "Oswald", sans-serif; font-size: 0.6rem !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rojo); border: 1px solid currentColor; padding: 0.2rem 0.5rem; border-radius: 3px; }
.dev-tag.centro { display: table; margin: 0 auto 3rem !important; }
@media (prefers-reduced-motion: reduce) { .movil-real { animation: none; opacity: 1; } }
