/* AI Script Maker · landing de producto v4 (2026-10-09). Se apoya en service-page.css.
   Retícula: el contenido se alinea con el menú (máx. 1100px). Criterio visual:
   limpio, líneas neutras; el gradiente de marca (light trail) sólo aparece al
   interactuar, como el FAQ del homepage. Light trail permanente sólo en el CTA
   del hero, el plan destacado y la prueba gratis. */

.asm-page {
  --asm-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(240,236,228,.08);
  --asm-w: min(1100px, calc(100% - 48px));
  --asm-line: rgba(240,236,228,.12);
  --asm-tint: rgba(255,255,255,.035);
  /* Marca sin arcoíris: azul, amarillo y rojo en bloques, sin mezclas (nunca verde, naranja ni morado). */
  --asm-grad: linear-gradient(90deg, var(--blue) 0 25%, var(--yellow) 25% 50%, var(--red) 50% 75%, var(--blue) 75% 100%);
}
.asm-page > section,
.asm-page > section.hero {
  width: var(--asm-w);
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 820px) {
  .asm-page { --asm-w: calc(100% - 40px); }
  .asm-page > section, .asm-page > section.hero { padding-left: 0; padding-right: 0; }
}

/* Cortes de línea: títulos equilibrados; párrafos sin equilibrar.
   La palabra huérfana se evita en el HTML (build.py une las dos últimas palabras). */
.asm-page h1, .asm-page h2, .asm-page h3 { text-wrap: balance; }
.asm-page p, .asm-page li, .asm-page td, .asm-page figcaption { text-wrap: wrap; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.asm-link { display: inline-block; margin-top: 16px; color: var(--text); border-bottom: 1px solid var(--yellow); padding-bottom: 3px; font-size: var(--fs-helper); font-weight: 700; }
.asm-num { display: block; color: var(--muted2); font-size: 11px; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.asm-anchor { position: relative; top: -120px; display: block; height: 0; }

/* Línea neutra con light trail al interactuar (patrón .offer del homepage) */
.asm-line-item { position: relative; border-top: 1px solid var(--asm-line); }
.asm-line-item::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--asm-grad); background-size: 200% 100%;
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
  animation: brand-pulse 5s linear infinite;
}
.asm-line-item:hover::before, .asm-line-item:focus-within::before { transform: scaleX(1); }

/* ---------- Hero ---------- */
.asm-page .asm-hero {
  overflow: visible; /* el brillo de .ls-trail no se corta */
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: 82svh;
}
.asm-hero .asm-lead { max-width: 460px; font-size: .9375rem; line-height: 1.6; margin: 22px 0 26px; }
.asm-hero .hero-actions { padding: 2px; }
.asm-hero button.ghost-cta { display: inline-flex; align-items: center; gap: 10px; background: none; font-family: inherit; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
.asm-hero button.ghost-cta:hover { color: var(--text); border-color: rgba(255,255,255,.24); }
.asm-play { width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.asm-hero-note { max-width: 440px; margin: 18px 0 0 !important; color: var(--muted2) !important; font-size: var(--fs-helper) !important; line-height: 1.55 !important; }
.asm-hero .hero-viz { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: none; }
.asm-hero-step { width: min(100%, 280px); margin-top: 14px; text-align: center; }
.asm-hero-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.asm-hero-bars i { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(240,236,228,.14); overflow: hidden; }
.asm-hero-step p { display: flex; justify-content: center; align-items: baseline; gap: 8px; margin: 12px 0 0 !important; color: var(--muted) !important; font-size: var(--fs-helper) !important; }
.asm-hero-step .asm-num { display: inline; }
.asm-phone { position: relative; width: min(100%, 310px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 22px; background: #181818; box-shadow: var(--asm-shadow); }
.asm-phone video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1080px) {
  .asm-page .asm-hero { min-height: 0; grid-template-columns: 1fr; }
  .asm-hero .hero-copy { text-align: center; }
  .asm-hero .asm-lead, .asm-hero-note { margin-inline: auto !important; }
  .asm-hero .hero-actions { justify-content: center; }
  .asm-phone { width: min(100%, 270px); }
}
@media (max-width: 540px) {
  .asm-hero button.ghost-cta { justify-content: center; }
  .asm-phone { width: min(100%, 230px); }
}

/* ---------- Promesa en 3 resultados ---------- */
.asm-promise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.asm-promise li { padding-top: 22px; }
.asm-promise h3 { margin: 14px 0 10px; font-size: var(--fs-h3); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.asm-promise p { margin: 0; max-width: 320px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
@media (max-width: 820px) { .asm-promise { grid-template-columns: 1fr; gap: 0; } .asm-promise li { padding: 22px 0 26px; } }

/* ---------- Diferenciadores: imagen + texto alternados ---------- */
.asm-diffs { display: grid; gap: clamp(64px, 9vw, 128px); }
.asm-diff { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 110px); align-items: center; }
.asm-diff.is-flip .asm-diff-copy { order: 2; }
.asm-diff-copy .ui { color: var(--muted2); }
.asm-diff-copy h3 { margin: 12px 0 14px; max-width: 460px; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; }
.asm-diff-copy p { margin: 0; max-width: 420px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.asm-zoom { position: relative; margin: 0; justify-self: center; width: min(100%, 360px); }
/* Recortes con aire: el recorte incluye margen de la pantalla y se desvanece en los bordes (viñeta), para que no se vea "mocho". */
.asm-zoom img {
  display: block; width: 100%; height: auto; border-radius: 18px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
.asm-zoom.is-tall { width: min(100%, 320px); }
.asm-zoom.is-stack { display: grid; width: min(100%, 400px); }
.asm-shot, .asm-over { position: relative; display: block; border-radius: 20px; background: #161616; box-shadow: var(--asm-shadow); }
.asm-zoom.is-stack .asm-shot { width: 86%; }
.asm-over { width: 70%; margin: -5% 0 0 auto; }
.asm-over.is-low { width: 88%; margin-top: -4%; }
/* Zoom de entrada: el recorte se acerca al aparecer */
.asm-zoom img { transform: scale(.94); opacity: .4; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .9s ease; }
.asm-zoom .asm-over img { transform: translateY(18px) scale(.96); transition-delay: .15s; }
.reveal.in .asm-zoom img { transform: none; opacity: 1; }
@media (max-width: 900px) {
  .asm-diff { grid-template-columns: 1fr; gap: 28px; }
  .asm-diff.is-flip .asm-diff-copy { order: 0; }
  .asm-diff-copy h3 { font-size: var(--fs-h3); }
}

/* ---------- Franja de 6 pasos ---------- */
.asm-page > section.asm-steps-band { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); border-top: 1px solid var(--asm-line); border-bottom: 1px solid var(--asm-line); display: grid; grid-template-columns: minmax(200px, .7fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.asm-steps-head h2 { margin: 8px 0 0; font-size: var(--fs-h3); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; }
.asm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.asm-steps button { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.asm-steps button:hover { color: var(--text); }
.asm-steps-hint { grid-column: 2; margin: calc(-1 * clamp(24px, 4vw, 56px) + 14px) 0 0; color: var(--muted2); font-size: 12px; }
.asm-steps li { position: relative; padding-top: 14px; border-top: 1px solid var(--asm-line); color: var(--text); font-size: var(--fs-helper); font-weight: 600; line-height: 1.35; }
.asm-steps li .asm-num { margin-bottom: 8px; }
.asm-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--asm-grad); background-size: 200% 100%; transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.asm-steps li:hover::before, .asm-steps li:focus-within::before { transform: scaleX(1); }
@media (max-width: 980px) { .asm-page > section.asm-steps-band { grid-template-columns: 1fr; } .asm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; } .asm-steps-hint { grid-column: 1; margin: 0; } }
@media (max-width: 640px) { .asm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; } }

/* ---------- Guion vs plan de producción ---------- */
.asm-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); }
.asm-two-item { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; }
.asm-two-item figure { margin: 0; }
.asm-two-item img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--asm-shadow); }
.asm-two-item .ui { color: var(--muted2); }
.asm-two-item h3 { margin: 10px 0 10px; font-size: var(--fs-h3); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.asm-two-item p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.asm-extra { margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 20px; border-top: 1px solid var(--asm-line); color: var(--muted2); font-size: var(--fs-helper); }
@media (max-width: 980px) { .asm-two { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 540px) { .asm-two-item { grid-template-columns: 42% minmax(0, 1fr); gap: 18px; align-items: center; } }

/* ---------- Comparativa ---------- */
.asm-table-wrap { overflow: visible; padding: 2px; }
.asm-table-inner { position: relative; min-width: 640px; }
.asm-compare { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: var(--fs-body); line-height: 1.45; }
.asm-compare th, .asm-compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--asm-line); }
.asm-compare th:first-child { padding-left: 0; }
.asm-compare col.c-label { width: 20%; }
.asm-compare col.c-other { width: 24%; }
.asm-compare col.c-us { width: 32%; }
.asm-us-trail { position: absolute; top: 0; right: 0; bottom: 0; width: 32%; border-radius: 18px; --ls-trail-radius: 18px; pointer-events: none; z-index: 1; }
.asm-compare thead th { border-top: 0; color: var(--muted2); font-size: var(--fs-caption); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.asm-compare tbody th { color: var(--text); font-weight: 650; }
.asm-compare td { color: var(--muted); }
.asm-compare .is-us { background: var(--asm-tint); color: var(--text); font-weight: 600; }
.asm-compare thead .is-us { color: var(--text); border-radius: 18px 18px 0 0; padding-top: 20px; }
.asm-compare tbody tr:last-child .is-us { border-radius: 0 0 18px 18px; padding-bottom: 22px; }
.asm-compare tbody tr { transition: background .3s ease; }
.asm-compare tbody tr:hover td:not(.is-us), .asm-compare tbody tr:hover th { background: rgba(255,255,255,.015); }
@media (max-width: 760px) {
  .asm-compare, .asm-compare tbody, .asm-compare tr, .asm-compare th, .asm-compare td { display: block; width: auto; min-width: 0; }
  .asm-table-inner { min-width: 0; }
  .asm-us-trail, .asm-compare colgroup { display: none; }
  .asm-compare thead { display: none; }
  .asm-compare tr { padding: 18px 0; border-top: 1px solid var(--asm-line); }
  .asm-compare th, .asm-compare td { padding: 4px 0; border: 0; }
  .asm-compare tbody th { width: auto; margin-bottom: 8px; }
  .asm-compare td { display: grid; grid-template-columns: 118px 1fr; gap: 12px; font-size: var(--fs-helper); }
  .asm-compare td::before { content: attr(data-label); color: var(--muted2); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
  .asm-compare td.is-us { margin-top: 6px; padding: 10px 12px; border-radius: 12px !important; }
  .asm-compare td.is-us::before { color: var(--text); }
}

/* ---------- Quién lo creó ---------- */
.asm-author { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.asm-author > div:last-child { padding-top: 30px; }
.asm-author .ui { color: var(--muted2); }
.asm-author h2 { margin: 10px 0 0; font-size: var(--fs-h2); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.asm-author p { margin: 0; max-width: 480px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
@media (max-width: 900px) { .asm-author { grid-template-columns: 1fr; gap: 20px; } .asm-author > div:last-child { padding-top: 0; } }

/* ---------- Testimonios ---------- */
.asm-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); }
.asm-quotes figure { margin: 0; padding-top: 22px; border-top: 1px solid var(--asm-line); }
.asm-quotes blockquote { margin: 0; }
.asm-quotes blockquote p { margin: 0; color: var(--text); font-size: var(--fs-h4); line-height: 1.45; letter-spacing: -.01em; }
.asm-quotes .is-placeholder blockquote p { color: var(--muted2); font-style: italic; }
.asm-quotes figcaption { margin-top: 18px; color: var(--muted2); font-size: var(--fs-helper); line-height: 1.5; }
.asm-quotes figcaption strong { display: block; color: var(--text); font-size: var(--fs-body); font-weight: 650; }
.asm-placeholder { display: inline-block; margin-left: 6px; padding: 2px 8px; border: 1px dashed rgba(240,236,228,.25); border-radius: 999px; color: var(--muted2); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 820px) { .asm-quotes { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Planes (escritorio): retícula comparable ---------- */
.asm-pricing { display: grid; grid-template-columns: minmax(170px, .9fr) repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(11, auto); column-gap: 0; }
.asm-plabels .asm-cell:nth-child(2) { border-top: 0; }
.asm-plabels, .asm-pcol { grid-row: 1 / span 11; display: grid; grid-template-rows: subgrid; }
.asm-cell { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 11px 18px; border-top: 1px solid var(--asm-line); color: var(--muted); font-size: var(--fs-helper); line-height: 1.4; }
.asm-cell--head, .asm-cell--cta, .asm-cell--price { border-top: 0; }
.asm-plabels .asm-cell { padding-left: 0; color: var(--muted2); font-weight: 600; }
.asm-cell--head { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; padding-top: 22px; padding-bottom: 8px; min-height: 92px; }
.asm-cell--head h3 { margin: 0; color: var(--text); font-size: var(--fs-h3-card); font-weight: 600; letter-spacing: -.03em; }
.asm-cell--price { align-items: baseline; gap: 6px; padding-bottom: 18px; }
.asm-cell--price small { color: var(--muted2); font-size: 11px; }
.asm-price { color: var(--text); font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.asm-cell strong { color: var(--text); font-weight: 650; font-size: var(--fs-body); }
.asm-cell--cta { padding-top: 22px; padding-bottom: 24px; }
.asm-pcol { border-radius: 18px; }
.asm-pcol .asm-cell { justify-content: center; text-align: center; }
.asm-pcol .asm-cell--head { align-items: center; }
.asm-pcol.is-featured { background: var(--asm-tint); --ls-trail-radius: 18px; }
.asm-pcol.is-soon .asm-cell { color: var(--muted2); }
.asm-pcol.is-soon .asm-price, .asm-pcol.is-soon strong { color: var(--muted); }
.ok { color: var(--text); font-size: 15px; }
.soon { color: var(--muted2); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.asm-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(240,236,228,.22); color: var(--text); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.asm-badge.is-empty { visibility: hidden; }
.asm-badge.is-empty::before { content: "."; }
.asm-badge.is-soon { color: var(--muted2); }
.asm-buy { position: relative; display: block; width: 100%; padding: 13px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-align: center; transition: background .25s ease, border-color .25s ease, color .25s ease; }
.asm-buy:hover { color: var(--text); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.asm-buy.is-primary { color: var(--text); background: transparent; border-color: transparent; }
.asm-buy.is-primary:hover { background: rgba(255,255,255,.04); color: var(--text); }
.asm-plans-note { margin: clamp(24px, 3vw, 36px) 0 0; color: var(--muted2); font-size: var(--fs-helper); }

/* ---------- Planes (celular): tarjetas por herencia ---------- */
.asm-plans-m { display: none; }
@media (max-width: 900px) {
  .asm-pricing { display: none; }
  .asm-plans-m { display: grid; gap: 14px; }
  .asm-plan { padding: 22px 20px 20px; border-radius: 18px; border: 1px solid var(--asm-line); }
  .asm-plan.is-featured { border-color: transparent; background: var(--asm-tint); --ls-trail-radius: 18px; }
  .asm-plan header { display: grid; gap: 8px; justify-items: start; }
  .asm-plan h3 { margin: 0; font-size: var(--fs-h3-card); font-weight: 600; letter-spacing: -.03em; }
  .asm-plan-price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
  .asm-plan-price small { color: var(--muted2); font-size: 12px; }
  .asm-plan-inh { margin: 16px 0 8px; color: var(--text); font-size: var(--fs-helper); font-weight: 650; }
  .asm-plan ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
  .asm-plan li { position: relative; padding-left: 22px; color: var(--muted); font-size: var(--fs-helper); line-height: 1.4; }
  .asm-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--text); }
  .asm-plan li .soon { margin-left: 4px; }
  .asm-plan ul { margin-top: 16px; }
  .asm-plan li.is-up, .asm-plan li strong { color: var(--text); font-weight: 650; }
  .asm-plan.is-soon h3, .asm-plan.is-soon .asm-price { color: var(--muted); }
}

/* ---------- Prueba gratis ---------- */
.asm-page > section.asm-trial { display: grid; place-items: center; text-align: center; border-top: 1px solid var(--asm-line); border-bottom: 1px solid var(--asm-line); }
.asm-trial .ui { color: var(--muted2); }
.asm-trial h2 { margin: 10px auto 0; max-width: 760px; font-size: var(--fs-h2); line-height: .98; letter-spacing: -.04em; font-weight: 600; }
.asm-trial p { margin: 16px auto 28px; max-width: 460px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.asm-trial .hero-cta { display: inline-block; padding: 13px 18px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; color: var(--text); }
@media (max-width: 540px) { .asm-trial .hero-cta { width: 100%; } }

/* ---------- FAQ: líneas neutras, light trail al pasar o abrir ---------- */
.asm-page .faq-list { border-top: 1px solid var(--asm-line); }
.asm-page .faq-item { border-bottom: 1px solid var(--asm-line); }
.asm-page .faq-item summary { min-height: 96px; transition: padding .35s ease, background .35s ease; }
.asm-page .faq-item summary > h3 { font-size: var(--fs-h4); font-weight: 600; }
.asm-page .faq-item summary::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--asm-grad); background-size: 200% 100%;
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
  animation: brand-pulse 5s linear infinite;
}
.asm-page .faq-item:hover summary, .asm-page .faq-item[open] summary { padding-left: 22px; background: rgba(255,255,255,.025); }
.asm-page .faq-item:hover summary::before, .asm-page .faq-item[open] summary::before { transform: scaleX(1); }
.asm-page .faq-item:hover summary .plus { transform: rotate(90deg) scale(1.12); }
.asm-page .faq-item[open] summary .plus { transform: rotate(45deg); }
.asm-page .faq-item[open] .faq-body { padding-left: 22px; }
@media (max-width: 820px) {
  .asm-page .faq-item summary { padding: 24px 0 !important; }
  .asm-page .faq-item:hover summary, .asm-page .faq-item[open] summary { padding-left: 12px !important; }
  .asm-page .faq-item[open] .faq-body { padding-left: 12px !important; }
  .asm-page .faq-item summary > h3 { font-size: var(--fs-h4) !important; line-height: 1.25; }
}

/* ---------- Demo en ventana: carrusel de 7 pasos ---------- */
.asm-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; background: transparent; width: min(94vw, 900px); max-width: none; height: fit-content; max-height: 94svh; overflow: visible; color: var(--text); }
.asm-dialog::backdrop { background: rgba(10,10,10,.86); backdrop-filter: blur(6px); }
.asm-dialog-close { position: absolute; top: -16px; right: -16px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: #1c1c1c; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.asm-demo { position: relative; padding: 22px clamp(18px, 3vw, 36px) 26px; border-radius: 26px; background: #161616; box-shadow: var(--asm-shadow); }
.asm-demo-tabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 22px; }
.asm-demo-tabs button { height: 18px; padding: 7px 0; border: 0; background: none; cursor: pointer; }
.asm-demo-tabs i { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(240,236,228,.16); overflow: hidden; }
.asm-demo-tabs i::after, .asm-hero-bars i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
/* Tríada con significado: entender (azul), decidir (amarillo), actuar (rojo). */
.asm-demo-tabs .g2 i::after, .asm-hero-bars .g2::after { background: var(--yellow); }
.asm-demo-tabs .g3 i::after, .asm-hero-bars .g3::after { background: var(--red); }
.asm-demo-slide { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; }
.asm-demo-slide[hidden] { display: none; }
.asm-demo-video { border-radius: 22px; overflow: hidden; background: #181818; box-shadow: var(--asm-shadow); aspect-ratio: 9 / 16; max-height: 70svh; }
.asm-demo-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.asm-demo-copy .ui { color: var(--muted2); }
.asm-demo-copy h3 { margin: 12px 0 14px; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; }
.asm-demo-copy p { margin: 0; max-width: 380px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.asm-demo-nav { position: absolute; right: clamp(18px, 3vw, 36px); bottom: 26px; display: flex; gap: 10px; }
.asm-demo-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(240,236,228,.16); background: none; color: var(--text); font-size: 16px; cursor: pointer; transition: border-color .25s ease, background .25s ease; }
.asm-demo-nav button:hover { border-color: rgba(240,236,228,.36); background: rgba(255,255,255,.04); }
.asm-demo-nav button:disabled { opacity: .3; cursor: default; }
@media (max-width: 700px) {
  .asm-dialog { width: 100vw; max-height: 100svh; }
  .asm-dialog-close { top: 10px; right: 10px; }
  .asm-demo { padding: 16px 16px 20px; border-radius: 0; min-height: 100svh; box-sizing: border-box; }
  .asm-demo-tabs { margin: 4px 52px 16px 0; }
  .asm-demo-slide { grid-template-columns: 1fr; gap: 16px; }
  .asm-demo-video { width: min(100%, calc(58svh * 9 / 16)); margin-inline: auto; max-height: 58svh; }
  .asm-demo-copy h3 { font-size: var(--fs-h3); margin: 8px 0 8px; }
  .asm-demo-copy p { font-size: var(--fs-helper); }
  .asm-demo-nav { position: static; justify-content: center; margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .asm-zoom img { transform: none; opacity: 1; transition: none; }
  .asm-line-item::before, .asm-page .faq-item summary::before { animation: none; }
}

.asm-nowrap { white-space: nowrap; }
.asm-cell .no { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: rgba(240,236,228,.28); }
