/* Lumaflow — sistema de diseño 2026. Solo /funcionalidades y /en-us/funcionalidades.
   Se carga después de /lf/emprendedores.css. Las escenas (.fx-scene) son ilustraciones del producto hechas en HTML/CSS. */

/* Hero */
.fx-hero { background: var(--orange); color: var(--on-orange); padding: calc(73px + var(--space-16)) 0 var(--space-16); }
.fx-hero .lfx-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); }
.fx-hero .lfx-hero-title { font-size: 88px; }
.fx-hero .lfx-hero-lead { max-width: 44ch; }
.fx-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); width: 100%; margin-top: var(--space-6); }
.fx-jump a { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); background: #fff; color: var(--ink); border: var(--border-strong) solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-hard); text-decoration: none; font: 400 30px/1.12 var(--font-display); text-transform: uppercase; transition: transform .12s ease; }
.fx-jump a:hover { transform: translateY(-2px); }
.fx-jump span { font: 700 13px/16px var(--font-body); letter-spacing: .08em; color: var(--orange-ink); }

/* Encabezado de grupo (navy) */
.fx-group { background: var(--navy); color: #fff; padding: var(--space-12) 0; scroll-margin-top: 73px; }
.fx-group .lfx-wrap { display: grid; grid-template-columns: 7fr 4fr; gap: var(--space-12); align-items: center; }
.fx-group-n { font: 400 20px/1 var(--font-display); letter-spacing: .04em; color: var(--orange); }
.fx-group h2 { font: 400 72px/1.1 var(--font-display); text-transform: uppercase; margin: var(--space-3) 0 var(--space-4); }
.fx-group p { font: 500 20px/30px var(--font-body); color: var(--on-dark-muted); max-width: 46ch; }
.fx-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.fx-chips a { display: inline-flex; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); border: var(--border-strong) solid #fff; color: #fff; font: 700 14px/18px var(--font-body); text-decoration: none; }
.fx-chips a:hover { background: #fff; color: var(--navy); }
.fx-group img { width: 100%; height: auto; max-width: 280px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; justify-self: end; border-radius: var(--radius-xl); border: var(--border-strong) solid #fff; box-shadow: 4px 4px 0 #fff; }

/* Filas de funcionalidad */
.fx-row { padding: var(--space-12) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 73px; }
.fx-row .lfx-wrap { display: grid; grid-template-columns: 5fr 6fr; gap: var(--space-16); align-items: center; }
.fx-row.flip .fx-text { order: 2; }
.fx-kicker { font: 700 13px/16px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.lfx .fx-text h3 { font: 400 52px/1.1 var(--font-display); text-transform: uppercase; margin: var(--space-3) 0 var(--space-4); }
.fx-text > p { font: 500 19px/29px var(--font-body); color: var(--graphite); max-width: 44ch; }
.lfx .fx-list { list-style: none; display: grid; gap: var(--space-3); margin: var(--space-6) 0 0; padding: 0; }
.fx-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 16px; line-height: 24px; }
.fx-list .lfx-ok { width: 22px; height: 22px; font-size: 12px; }

/* Escena: bloque de color con la tarjeta del producto encima */
.fx-scene { position: relative; background: var(--orange); border-radius: var(--radius-xl); padding: var(--space-12) var(--space-8); min-height: 380px; display: grid; place-items: center; }
.fx-scene.sky { background: var(--sky); }
.fx-scene.navy { background: var(--navy); }
.fx-card { background: #fff; color: var(--ink); border: var(--border-strong) solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-hard); width: 100%; max-width: 420px; overflow: hidden; font-family: var(--font-body); }
.fx-card-wide { max-width: 460px; }
.fx-card-h { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: var(--border-strong) solid var(--ink); font: 700 14px/18px var(--font-body); }
.fx-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--font-body); background: var(--orange-tint); flex: none; }
.fx-av svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fx-card-h small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.fx-dot { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex: none; }
.fx-float { position: absolute; z-index: 2; }
.fx-scene .lfx-sticker { font-size: 26px; }
.fx-skel { display: grid; gap: 8px; align-content: start; }
.fx-skel i { display: block; height: 10px; border-radius: 6px; background: var(--surface-warm); }
.fx-skel i.big { height: 64px; border-radius: 10px; background: var(--orange-tint); }

/* Chat (WhatsApp, agente IA) */
.fx-chat { padding: var(--space-4); display: grid; gap: var(--space-2); background: var(--surface-warm); }
.fx-msg { max-width: 80%; padding: var(--space-2) var(--space-3); border-radius: 14px; font-size: 15px; line-height: 21px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.fx-msg time { display: block; font-size: 11px; color: var(--muted); text-align: right; margin-top: 2px; }
.fx-msg.out { justify-self: end; background: var(--ink); color: #fff; border-color: var(--ink); }
.fx-msg.out time { color: var(--on-dark-muted); }
.fx-auto { justify-self: end; font: 700 11px/14px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--orange-ink); margin: 2px 2px -2px 0; }

/* Navegador (sitio web, agente IA) */
.fx-browser .fx-bar { display: flex; gap: 6px; align-items: center; padding: 8px 12px; border-bottom: var(--border-strong) solid var(--ink); background: var(--surface-warm); }
.fx-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.fx-bar span { margin-left: 8px; flex: 1; background: #fff; border-radius: 99px; font-size: 11px; color: var(--muted); padding: 2px 10px; }
.fx-site { padding: var(--space-4); display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--space-3); min-height: 250px; }
.fx-widget { border: var(--border-strong) solid var(--ink); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.fx-widget-h { background: var(--ink); color: #fff; font: 700 12px/16px var(--font-body); padding: 8px 10px; display: flex; justify-content: space-between; }
.fx-widget-h em { font-style: normal; color: var(--orange); }
.fx-widget .fx-chat { flex: 1; padding: 10px; }
.fx-widget .fx-msg { font-size: 12px; line-height: 16px; max-width: 90%; }
.fx-lp { padding: var(--space-4); display: grid; gap: var(--space-4); }
.fx-lp-hero { background: var(--navy); color: #fff; border-radius: 12px; padding: var(--space-6) var(--space-4); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.fx-lp-hero b { font: 400 26px/1.12 var(--font-display); text-transform: uppercase; }
.fx-lp-btn { display: inline-block; background: var(--orange); color: var(--on-orange); border-radius: 99px; padding: 6px 14px; font: 700 12px/16px var(--font-body); border: 1.5px solid var(--ink); }
.fx-lp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.fx-lp-form { border: 1.5px solid var(--ink); border-radius: 10px; padding: 10px; display: grid; gap: 6px; font-size: 11px; color: var(--muted); }
.fx-lp-form span { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; }
.fx-lp-form em { font-style: normal; text-align: center; background: var(--ink); color: #fff; border-radius: 6px; padding: 4px; font-weight: 700; }

/* Calendario mensual (redes) */
.fx-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: var(--space-4); background: var(--surface-warm); }
.fx-month div { background: #fff; border-radius: 8px; min-height: 52px; padding: 4px; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); }
.fx-month small { font-size: 10px; color: var(--muted); font-weight: 700; }
.fx-month i { display: block; flex: 1; border-radius: 5px; border: 1.5px solid var(--ink); }
.fx-month i.o { background: var(--orange); } .fx-month i.s { background: var(--sky); }

/* Bandeja */
.fx-inbox { display: grid; }
.fx-conv { display: grid; grid-template-columns: 32px 1fr auto; gap: var(--space-3); align-items: center; padding: 10px var(--space-4); border-bottom: 1px solid var(--line); position: relative; font-size: 13px; line-height: 18px; }
.fx-conv:last-child { border-bottom: 0; }
.fx-conv b { display: block; font-size: 13px; }
.fx-conv p { margin: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.fx-ch { font: 700 10px/14px var(--font-body); padding: 2px 8px; border-radius: 99px; background: var(--surface-warm); }
.fx-ch.wa { background: #dcfce7; } .fx-ch.ig { background: var(--orange-tint); } .fx-ch.fb { background: #e0e7ff; } .fx-ch.web { background: #e0f2fe; }
.fx-unread { position: absolute; left: 8px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); border: 1.5px solid #fff; }

/* Calendario semanal (citas) */
.fx-week { display: grid; grid-template-columns: 44px repeat(5, 1fr); font-size: 12px; }
.fx-week > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 46px; position: relative; }
.fx-week .d { font-weight: 700; text-align: center; padding: var(--space-2) 0; min-height: 0; background: var(--surface-warm); }
.fx-week .d.today { background: var(--ink); color: #fff; }
.fx-week .t { color: var(--muted); padding: 4px 6px; }
.fx-ev { position: absolute; inset: 3px; border-radius: 6px; padding: 3px 5px; font: 700 11px/13px var(--font-body); border: 1.5px solid var(--ink); overflow: hidden; }
.fx-ev small { display: block; font-weight: 500; }
.fx-ev.o { background: var(--orange); } .fx-ev.s { background: var(--sky); } .fx-ev.c { background: var(--coral); }
.fx-ev.tall { bottom: -44px; z-index: 1; }

/* Tablero de ventas */
.fx-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); padding: var(--space-3); background: var(--surface-warm); }
.fx-col h4 { margin: 0 0 var(--space-2); font: 700 11px/14px var(--font-body); letter-spacing: .06em; text-transform: uppercase; display: flex; justify-content: space-between; }
.fx-col h4 span { background: #fff; border-radius: 99px; padding: 0 6px; }
.fx-lead { background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; padding: 8px; margin-bottom: var(--space-2); font-size: 12px; line-height: 16px; }
.fx-lead b { display: block; font-size: 13px; }
.fx-src { display: inline-block; margin-top: 4px; font: 700 10px/14px var(--font-body); padding: 1px 6px; border-radius: 99px; background: var(--orange-tint); }
.fx-src.wa { background: #dcfce7; } .fx-src.web { background: #e0f2fe; }
.fx-amt { float: right; font: 400 15px/1 var(--font-display); }
.fx-col.won .fx-lead { background: var(--orange); }

/* Factura (pagos) */
.fx-paid { margin-left: auto; font: 700 11px/14px var(--font-body); letter-spacing: .06em; text-transform: uppercase; background: #dcfce7; border: 1.5px solid var(--ink); border-radius: 99px; padding: 3px 10px; }
.fx-inv-body { padding: var(--space-4); display: grid; gap: var(--space-2); }
.fx-inv-row { display: flex; justify-content: space-between; font-size: 14px; line-height: 20px; padding-bottom: var(--space-2); border-bottom: 1px solid var(--line); }
.fx-inv-total { border: 0; padding-top: var(--space-2); font-weight: 700; }
.fx-inv-total span:last-child { font: 400 34px/1 var(--font-display); }

/* Flujo (automatizaciones) */
.fx-flow { padding: var(--space-4); display: flex; flex-direction: column; align-items: center; background: var(--surface-warm); }
.fx-flow > i { display: block; width: 2px; height: 16px; background: var(--ink); }
.fx-node { background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; padding: 7px 12px; font: 700 12px/16px var(--font-body); text-align: center; max-width: 260px; }
.fx-node.o { background: var(--orange); } .fx-node.s { background: var(--sky); } .fx-node.c { background: var(--coral); }
.fx-node.q { border-radius: 99px; background: var(--ink); color: #fff; margin-bottom: 14px; position: relative; }
.fx-node.q::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 2px; height: 14px; background: var(--ink); }
.fx-branch { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); width: 100%; border-top: 2px solid var(--ink); padding-top: 12px; }

/* Reseñas */
.fx-stack { width: 100%; max-width: 420px; display: grid; gap: var(--space-4); }
.fx-review { padding: var(--space-4) var(--space-6); }
.fx-stars { color: var(--orange); font-size: 26px; letter-spacing: 2px; line-height: 1; }
.fx-review small { color: var(--muted); font-size: 12px; }
.fx-ask { justify-self: start; max-width: 300px; }

/* Email */
.fx-mail { padding: var(--space-4); display: grid; gap: var(--space-3); justify-items: start; }
.fx-mail-hero { width: 100%; background: var(--orange); border: 1.5px solid var(--ink); border-radius: 12px; padding: var(--space-6) var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.fx-mail-hero b { font: 400 28px/1.12 var(--font-display); text-transform: uppercase; color: #fff; text-shadow: 2px 2px 0 var(--ink); }
.fx-mail-logo { width: 46px; height: 12px; border-radius: 6px; background: #fff; }
.fx-mail .fx-skel { width: 100%; }

/* Curso (membresías) */
.fx-course { padding: var(--space-4); display: grid; gap: var(--space-2); }
.fx-progress { height: 10px; border-radius: 99px; background: var(--surface-warm); border: 1.5px solid var(--ink); overflow: hidden; margin-bottom: var(--space-2); }
.fx-progress span { display: block; width: 50%; height: 100%; background: var(--orange); }
.fx-module { display: flex; align-items: center; gap: var(--space-3); padding: 10px var(--space-3); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; }
.fx-module span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--font-body); background: var(--surface-warm); flex: none; }
.fx-module.done span { background: var(--ink); color: #fff; }

/* Incluido en los planes */
.fx-inc-box { display: grid; grid-template-columns: 1fr auto; gap: var(--space-12); align-items: center; background: #fff; border: var(--border-strong) solid var(--ink); border-radius: var(--radius-xl); padding: var(--space-12); }
.fx-inc-box .lfx-h2 { margin: var(--space-4) 0; }
.fx-inc-side { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.fx-inc-price { font: 400 96px/.9 var(--font-display); color: var(--orange-ink); }
.fx-inc-price span { font: 700 18px/1 var(--font-body); color: var(--ink); }
.lfx .fx-inc-note { margin-top: var(--space-4); max-width: 80ch; }

.lfx-funcs .lfx-close .lfx-h2 { max-width: 18ch; }

@media (max-width: 1100px) {
  .fx-hero .lfx-hero-title { font-size: 72px; }
  .fx-row .lfx-wrap { gap: var(--space-8); }
  .fx-group h2 { font-size: 60px; }
}
@media (max-width: 900px) {
  .fx-group .lfx-wrap, .fx-row .lfx-wrap, .fx-inc-box { grid-template-columns: 1fr; gap: var(--space-8); }
  .fx-row.flip .fx-text { order: 0; }
  .fx-group img { max-width: 280px; justify-self: start; }
  .fx-float { display: none; }
  .fx-inc-side { align-items: flex-start; }
}
@media (max-width: 767px) {
  .fx-hero { padding: calc(80px + var(--space-8)) 0 var(--space-12); }
  .fx-hero .lfx-hero-title { font-size: 52px; }
  .fx-jump { grid-template-columns: 1fr; gap: var(--space-3); }
  .fx-jump a { padding: var(--space-4); font-size: 24px; }
  .fx-group { padding: var(--space-12) 0; }
  .fx-group h2 { font-size: 46px; }
  .fx-group p { font-size: 18px; line-height: 27px; }
  .fx-group img { display: none; }
  .fx-row { padding: var(--space-12) 0; }
  .lfx .fx-text h3 { font-size: 40px; }
  .fx-text > p { font-size: 17px; line-height: 26px; }
  .fx-scene { padding: var(--space-6) var(--space-3); min-height: 0; border-radius: var(--radius-lg); }
  .fx-site { grid-template-columns: 1fr; }
  .fx-site .fx-skel { display: none; }
  .fx-board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; }
  .fx-lead { padding: 6px; font-size: 11px; }
  .fx-amt { float: none; display: block; margin: 2px 0; }
  .fx-conv p { max-width: 150px; }
  .fx-inc-box { padding: var(--space-6); }
  .fx-inc-price { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) { .fx-jump a { transition: none; } }
