/* Punto de vista: una conversación con una línea resaltada. El amarillo solo aparece sobre lo importante. */
@font-face { font-family: "Poppins"; src: url("medios/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("medios/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("medios/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  color-scheme: light;
  --fondo: #ffffff;
  --tinta: #1a1a1a;
  --suave: #5f6470;
  --filete: #dcdde1;
  --resaltador: #eef25a;
  --rojo: #c62828;
  --rojo-oscuro: #8e0000;
  --ancho: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 400 17px/1.6 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rojo); outline-offset: 3px; }

.cabecera, .portada, .seccion, .cierre, .pie {
  width: 100%;
  max-width: calc(var(--ancho) + 48px);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.cabecera { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.marca img { border-radius: 8px; }
.entrar { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 600; font-size: .95rem; }

.portada { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.categoria { margin-bottom: 16px; font-weight: 600; font-size: 1.05rem; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
/* El titular se resalta solo al cargar: es el gesto del producto. */
.resaltado, .resaltado-fijo { padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Altura parcial: con este interlineado, el fondo completo tapaba la línea de arriba. */
.resaltado { background: linear-gradient(var(--resaltador), var(--resaltador)) no-repeat 0 85% / 100% 74%; animation: resaltar .9s .35s cubic-bezier(.3, .7, .2, 1) backwards; }
.resaltado-fijo { background: linear-gradient(var(--resaltador), var(--resaltador)) no-repeat 0 85% / 100% 74%; }
@keyframes resaltar { from { background-size: 0 74%; } }
.entrada { max-width: 34em; margin-top: 28px; font-size: 1.15rem; color: var(--suave); }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; background: var(--rojo); color: #fff; border-radius: 8px; font-weight: 600; text-decoration: none; }
.boton:hover { background: var(--rojo-oscuro); }
.enlace { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.conversacion { position: relative; display: grid; gap: 20px; padding-left: 28px; border-left: 2px solid var(--tinta); font-size: 1.02rem; color: var(--suave); }
.conversacion time { display: block; font-size: .78rem; font-variant-numeric: tabular-nums; }
.conversacion .clave { color: var(--tinta); font-weight: 600; font-size: 1.2rem; line-height: 1.35; }
.conversacion mark { color: inherit; background: var(--resaltador); padding: .05em .15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.conversacion figcaption { font-size: .78rem; }
.queda { display: grid; gap: 2px; padding: 12px 14px; background: var(--tinta); color: #fff; border-radius: 8px; font-weight: 600; }
.queda span { color: var(--resaltador); font-size: .78rem; font-weight: 600; }
.pendiente { color: transparent; }
.animando p { transition: opacity .25s; }
.animando p:not(.visible) { opacity: 0; }
.animando mark { background: linear-gradient(var(--resaltador), var(--resaltador)) no-repeat 0 0 / 0 100%; transition: background-size .55s cubic-bezier(.3, .7, .2, 1); }
.animando mark.marcada { background-size: 100% 100%; }
.animando .queda { transform: translateY(6px); transition: opacity .35s, transform .35s; }
.animando .queda.visible { transform: none; }

.seccion { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.seccion::before { content: ""; grid-column: 1 / -1; height: 1px; margin-top: -64px; margin-bottom: 16px; background: var(--filete); }
h2 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
h3 { font-size: 1.5rem; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }

/* Las capturas reales son la explicación: por eso casi no llevan texto. */
.pantallas { width: 100%; max-width: calc(var(--ancho) + 48px); margin: 0 auto; padding: 64px max(24px, env(safe-area-inset-right)) 80px max(24px, env(safe-area-inset-left)); border-top: 1px solid var(--filete); }
.tira { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: space-between; gap: 40px; margin-top: 36px; }
.tira img { display: block; width: 100%; height: auto; border: 8px solid var(--tinta); border-radius: 38px; }
.tira p { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.tira span { color: var(--suave); font-size: .95rem; font-variant-numeric: tabular-nums; }
.tira.automatica { position: relative; }
.tira.automatica li { opacity: .35; transform: scale(.96); transition: opacity .5s, transform .5s; }
.tira.automatica li.activo { opacity: 1; transform: none; }
.tira.automatica li.activo span { padding: 0 .4em; background: var(--resaltador); color: var(--tinta); }

.resultado-cuerpo { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; }
/* Celular de lado: la captura sigue siendo real; el canto y la sombra le dan el volumen. */
.producto { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; border: 8px solid var(--tinta); border-radius: 38px; transform: perspective(1100px) rotateY(-16deg) rotateZ(2deg); box-shadow: 2px 0 0 #3a3a3a, 4px 0 0 #2a2a2a, 6px 1px 0 #1a1a1a, 34px 30px 44px rgba(0, 0, 0, .22); }
.recibes { display: grid; margin: 24px 0 0; padding: 0; list-style: none; font-weight: 600; }
.recibes li { padding: 14px 0; border-bottom: 1px solid var(--filete); }
.nota { margin-top: 20px; color: var(--suave); }

.equipos-texto { display: grid; gap: 16px; max-width: 40em; color: var(--suave); }
.afirmacion { color: var(--tinta); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }

.lista-preguntas details { border-bottom: 1px solid var(--filete); }
.lista-preguntas details:first-child summary { padding-top: 0; }
.lista-preguntas summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding: 14px 0; font-weight: 600; cursor: pointer; list-style: none; }
.lista-preguntas summary::-webkit-details-marker { display: none; }
.lista-preguntas summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 400; color: var(--suave); }
.lista-preguntas details[open] summary::after { content: "−"; }
.lista-preguntas details p { max-width: 38em; padding-bottom: 20px; color: var(--suave); }

.cierre { display: grid; justify-items: start; gap: 32px; padding-top: 72px; padding-bottom: 88px; }
.cierre-frase { max-width: 16em; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }

.pie { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 24px; padding-bottom: max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--filete); color: var(--suave); font-size: .85rem; }
.pie p { margin: 0; }
.pie a { display: inline-block; padding: 6px 0; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .portada { grid-template-columns: 1fr; gap: 48px; padding-top: 36px; padding-bottom: 64px; }
  .seccion { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .seccion::before { margin-top: -48px; margin-bottom: 8px; }
  .pantallas { padding-top: 48px; padding-bottom: 56px; }
  /* En el celular las pantallas se deslizan dentro de su franja, sin mover la página. */
  .tira { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px calc(-1 * max(24px, env(safe-area-inset-right))) 0 calc(-1 * max(24px, env(safe-area-inset-left))); padding: 0 24px 8px; scrollbar-width: none; }
  .tira li { flex: 0 0 min(66%, 280px); scroll-snap-align: center; }
  .resultado-cuerpo { grid-template-columns: 1fr; gap: 28px; }
  .producto { max-width: 280px; margin: 0 auto; }
  .boton { width: 100%; }
  .acciones { display: grid; justify-items: start; }
  .cierre { padding-top: 56px; padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .resaltado { animation: none; }
}
