/* Lafoy Media — Landing v6 (estilo claro inspirado en Glaido, 26-oct-2026)
   Un solo acento (naranja Lafoy), fondo gris claro, tarjetas blancas con borde fino,
   botones casi cuadrados, etiquetas tipo código y líneas finas entre secciones. */

:root {
  --bg: #F2F2F2;
  --panel: #FFFFFF;
  --card: rgba(255, 255, 255, .78);
  --ink: #0A0A0A;
  --ink-70: rgba(10, 10, 10, .70);
  --ink-45: rgba(10, 10, 10, .45);
  --ink-30: rgba(10, 10, 10, .30);
  --line: rgba(10, 10, 10, .10);
  --line-strong: rgba(10, 10, 10, .16);
  --accent: #E8622A;
  --accent-hover: #D14E1E;
  --accent-tint: rgba(232, 98, 42, .10);
  --ok: #15803D;
  --radius-btn: 3px;
  --radius-card: 12px;
  --radius-panel: 20px;
  --max: 1200px;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { position: relative; border-top: 1px solid var(--line); padding: 112px 0; }
.section--tight { padding: 72px 0; }

/* ── Tipografía ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-70);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.title {
  margin: 16px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.08;
  font-weight: 500; letter-spacing: -.035em;
}
.title .soft { color: var(--ink-45); }
.lead { margin: 20px 0 0; font-size: 18px; color: var(--ink-70); max-width: 560px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.big-para {
  margin: 0; max-width: 880px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.22;
  font-weight: 500; letter-spacing: -.03em; color: var(--ink-45);
}
.big-para strong { color: var(--ink); font-weight: 500; }

/* ── Botones ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border: 1px solid var(--line-strong); background: var(--panel); }
.btn--ghost:hover { border-color: var(--ink-30); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn .arrow { font-size: 14px; transition: transform .15s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ── Menú ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 242, 242, .82); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -.04em; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  font-size: 14px; font-weight: 500; color: var(--ink-70); border-radius: var(--radius-btn);
}
.nav__link:hover, .dd.is-open > .nav__link { color: var(--ink); }
.nav__link .chev { width: 10px; height: 10px; transition: transform .2s ease; }
.dd { position: relative; }
.dd.is-open .chev { transform: rotate(180deg); }
.dd__menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px);
  width: 300px; padding: 8px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: 0 16px 40px rgba(10, 10, 10, .08);
  opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.dd.is-open .dd__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd__item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; }
.dd__item:hover { background: var(--bg); }
.dd__item b { font-size: 14px; font-weight: 600; }
.dd__item small { font-size: 13px; color: var(--ink-45); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__login { font-size: 14px; font-weight: 500; color: var(--ink-70); padding: 8px 12px; white-space: nowrap; }
.nav__login:hover { color: var(--ink); }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: "";
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.mobile { display: none; }

/* ── Portada ──────────────────────────────────────────── */
.hero { padding: 24px 0 0; }
.hero__stage {
  position: relative; padding: 24px;
  background:
    repeating-linear-gradient(135deg, transparent 0 46px, rgba(10, 10, 10, .035) 46px 92px);
}
.hero__panel {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-panel); padding: 96px 24px 88px; text-align: center;
  box-shadow: 0 1px 0 rgba(10, 10, 10, .02), 0 24px 60px rgba(10, 10, 10, .05);
}
.hero h1 {
  margin: 0 auto; max-width: 980px; font-size: clamp(40px, 7vw, 84px); line-height: 1.02;
  font-weight: 500; letter-spacing: -.045em;
}
.rotor { display: inline-flex; align-items: center; gap: .22em; white-space: nowrap; }
.rotor__icon {
  display: inline-grid; place-items: center; width: .95em; height: .95em; border-radius: .22em;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(10, 10, 10, .08);
  vertical-align: middle;
}
.rotor__icon img { width: .55em; height: .55em; }
.rotor__word { display: inline-block; transition: opacity .25s ease, transform .25s ease; }
.rotor.is-swapping .rotor__word, .rotor.is-swapping .rotor__icon { opacity: 0; transform: translateY(8px); }
.hero__sub { margin: 28px auto 0; max-width: 600px; font-size: 18px; color: var(--ink-70); }
.hero__cta { margin-top: 32px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero__ticks {
  margin: 20px 0 0; padding: 0; list-style: none; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-45);
}
.hero__ticks li { display: inline-flex; align-items: center; gap: 6px; }
.hero__ticks li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ── Franja de conexiones ─────────────────────────────── */
.apps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 24px; }
.apps__in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; padding-left: 0; padding-right: 0; }
.apps__label { white-space: nowrap; padding: 22px 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); border-right: 1px solid var(--line); }
.apps__label::before { content: "• "; color: var(--accent); }
.apps__track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.apps__row { display: flex; gap: 12px; padding: 16px 12px; width: max-content; animation: slide 40s linear infinite; }
.apps__track:hover .apps__row { animation-play-state: paused; }
.app-tile {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500;
}
.app-tile img { width: 20px; height: 20px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Logos de clientes ────────────────────────────────── */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); }
.logos div { display: grid; place-items: center; height: 96px; border-right: 1px solid var(--line); }
.logos div:last-child { border-right: 0; }
.logos img { max-height: 34px; max-width: 120px; filter: grayscale(1); opacity: .6; transition: opacity .2s, filter .2s; }
.logos div:hover img { filter: none; opacity: 1; }

/* ── Antes / después ──────────────────────────────────── */
.flow { margin-top: 64px; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.bubble { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; min-height: 196px; }
.bubble__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #E5E5E5; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ink-70); }
.who b { display: block; font-size: 14px; font-weight: 600; }
.who small { display: block; font-size: 12px; color: var(--ink-45); }
.tag-mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-45); }
.bubble p { margin: 18px 0 0; font-size: 19px; line-height: 1.4; font-weight: 500; letter-spacing: -.015em; }
.bubble--reply { border-color: rgba(232, 98, 42, .35); }
.bubble--reply .tag-mono { color: var(--accent); }
.slot { display: inline-block; margin-top: 14px; margin-right: 6px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-btn); font-size: 13px; font-weight: 600; background: var(--panel); }
.flow__mid { position: relative; display: grid; place-items: center; height: 100%; }
.flow__mid::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.flow__core { position: relative; width: 84px; height: 84px; border-radius: 20px; background: var(--accent); display: grid; place-items: center; box-shadow: 0 16px 36px rgba(232, 98, 42, .35); }
.flow__core { color: #fff; font-weight: 800; font-size: 34px; letter-spacing: -.06em; line-height: 1; }
.flow__core span { color: #111; }
.flow__note { margin: 32px 0 0; text-align: center; font-size: 14px; color: var(--ink-45); }

/* ── Tarjetas ─────────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.card__icon { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; color: var(--accent); background: var(--panel); }
.card__icon svg { width: 18px; height: 18px; }
.card h3 { margin: 44px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.card p { margin: 10px 0 0; font-size: 15px; color: var(--ink-70); }
.card .step { font-family: var(--mono); font-size: 12px; color: var(--ink-45); }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }

/* ── Panel de la app (mock) ───────────────────────────── */
.app { margin-top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 20px; }
.app__win { display: grid; grid-template-columns: 200px 1fr; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.app__dots { display: flex; gap: 6px; margin: 2px 0 16px 4px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #E5E5E5; }
.app__side a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-70); }
.app__side a.is-on { background: var(--bg); color: var(--ink); font-weight: 600; }
.app__side a i { width: 6px; height: 6px; border-radius: 2px; background: var(--ink-30); }
.app__side a.is-on i { background: var(--accent); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.kpi .tag-mono { display: block; }
.kpi b { display: block; margin-top: 10px; font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.kpi small { font-size: 13px; color: var(--ink-45); }
.kpi small.up { color: var(--ok); }
.feed { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 16px; }
.feed__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.feed__row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.feed__row span:last-child { font-family: var(--mono); font-size: 12px; color: var(--ink-45); }
.chip { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.chip--wa { background: #25D366; }
.chip--ig { background: #D62976; }
.chip--meta { background: #0866FF; }
.chip--ok { background: var(--accent); }
.app__caption { padding: 20px 8px 4px; }
.app__caption b { font-size: 17px; font-weight: 600; }
.app__caption p { margin: 4px 0 0; color: var(--ink-70); font-size: 15px; }
.demo-note { font-family: var(--mono); font-size: 11px; color: var(--ink-30); letter-spacing: .06em; text-transform: uppercase; }

.feat { margin-top: 16px; }
.feat .card { padding: 24px; }
.feat .card h3 { margin-top: 28px; font-size: 17px; }
.feat .card p { font-size: 14px; }
.mini { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.mini span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; font-weight: 500; background: var(--panel); }
.mini span.hot { border-color: rgba(232, 98, 42, .4); color: var(--accent-hover); background: var(--accent-tint); }

/* ── Casos con cifras ─────────────────────────────────── */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); overflow: hidden; }
.proof__item { padding: 32px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.proof__item:last-child { border-right: 0; }
.proof__item b { font-size: clamp(36px, 4vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.proof__item .tag-mono { margin-top: 14px; }
.proof__item p { margin: 12px 0 0; font-size: 14px; color: var(--ink-70); flex: 1; }
.proof__item a { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink); }
.proof__item a:hover { color: var(--accent); }
.fine { margin: 16px 0 0; font-size: 13px; color: var(--ink-45); }

/* ── Precios ──────────────────────────────────────────── */
.plans { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.plan--hot { background: var(--panel); border-color: var(--accent); box-shadow: 0 24px 60px rgba(232, 98, 42, .10); }
.plan__badge { position: absolute; top: -11px; left: 28px; padding: 3px 9px; background: var(--accent); color: #fff; border-radius: var(--radius-btn); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { margin: 0; font-size: 17px; font-weight: 600; }
.plan h3 span { color: var(--ink-45); font-weight: 500; }
.plan__price { margin-top: 24px; font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.plan__per { margin-top: 6px; font-size: 13px; color: var(--ink-45); min-height: 20px; }
.plan ul { margin: 24px 0 28px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-70); }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; }

/* ── Novedades ────────────────────────────────────────── */
.releases { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); overflow: hidden; }
.rel { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: center; padding: 20px 24px; border-top: 1px solid var(--line); transition: background .15s ease; }
.rel:first-child { border-top: 0; }
.rel:hover { background: var(--panel); }
.rel time { font-family: var(--mono); font-size: 12px; color: var(--ink-45); text-transform: uppercase; letter-spacing: .04em; }
.rel b { font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.rel .go { color: var(--ink-30); transition: color .15s, transform .15s; }
.rel:hover .go { color: var(--accent); transform: translateX(3px); }
.link-all { font-size: 14px; font-weight: 600; color: var(--ink-70); }
.link-all:hover { color: var(--accent); }

/* ── Preguntas ────────────────────────────────────────── */
.faq { max-width: 760px; margin: 48px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ink-45); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq p { margin: -6px 0 22px; color: var(--ink-70); font-size: 15px; max-width: 660px; }

/* ── Cierre y pie ─────────────────────────────────────── */
.final { padding: 24px 0 112px; }
.final .hero__panel { padding: 88px 24px; }
.final h2 { margin: 16px 0 0; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; font-weight: 500; letter-spacing: -.04em; }
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--ink-70); }
.foot__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-45); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot a:hover { color: var(--accent); }
.foot__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-45); }

/* ── Página de novedades ──────────────────────────────── */
.page-head { padding: 96px 0 56px; }
.log { border-top: 1px solid var(--line); }
.log__month { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.log__month h2 { margin: 0; position: sticky; top: 96px; align-self: start; font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-45); }
.entry { display: grid; gap: 10px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); }
.entry + .entry { margin-top: 16px; }
.entry__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.entry__meta time { font-family: var(--mono); font-size: 12px; color: var(--ink-45); text-transform: uppercase; }
.pill { padding: 3px 8px; border-radius: var(--radius-btn); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-70); background: var(--panel); }
.pill--new { border-color: rgba(232, 98, 42, .4); color: var(--accent-hover); background: var(--accent-tint); }
.entry h3 { margin: 4px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.entry p { margin: 0; color: var(--ink-70); font-size: 15px; }
.entry ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-70); font-size: 15px; display: grid; gap: 6px; }

/* ── Aparición al bajar ───────────────────────────────── */
.js .reveal { transform: translateY(16px); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .apps__row { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1020px) {
  .nav__links, .nav__login { display: none; }
  .burger { display: inline-flex; }
  .mobile.is-open { display: block; border-top: 1px solid var(--line); padding: 8px 24px 20px; background: var(--bg); }
  .mobile a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
  .mobile small { display: block; margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-45); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(2) { border-right: 0; }
  .proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos div:nth-child(3) { border-right: 0; }
  .logos div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero__stage { padding: 12px; }
  .hero__panel { padding: 64px 18px 56px; }
  .nav .btn { display: none; }
  .apps__in { grid-template-columns: minmax(0, 1fr); }
  .apps__label { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__mid { height: 96px; }
  .flow__mid::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow__core { width: 64px; height: 64px; border-radius: 16px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .card h3 { margin-top: 28px; }
  .app { padding: 10px; }
  .app__win { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .app__win > div { min-width: 0; }
  .app__side { display: flex; gap: 4px; overflow-x: auto; }
  .app__side a { white-space: nowrap; }
  .app__dots { display: none; }
  .kpis { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .proof__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof__item:last-child { border-bottom: 0; }
  .head-row { flex-direction: column; align-items: start; }
  .rel { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px; }
  .rel time { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .foot__base { flex-direction: column; }
  .log__month { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .log__month h2 { position: static; }
  .entry { padding: 20px; }
}

/* ═══ v6b (26-oct): líneas tipo Glaido, pestañas, ventanas por pilar ═══ */

/* Líneas verticales a los bordes del contenido, de arriba abajo */
main, .foot { position: relative; }
main::before, .foot::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: 0; pointer-events: none;
  width: min(var(--max), 100%); transform: translateX(-50%);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
main > *, .foot > * { position: relative; z-index: 1; }
/* Cruces pequeñas donde la línea de sección toca los bordes */
.section::before, .section::after {
  content: "+"; position: absolute; top: -8px; font: 400 14px/1 var(--mono); color: var(--ink-30);
  left: calc(50% - min(var(--max), 100%) / 2 - 4px);
}
.section::after { left: auto; right: calc(50% - min(var(--max), 100%) / 2 - 4px); }

/* Isotipo en el ejemplo */
.mark {
  position: relative; width: 84px; height: 84px; border-radius: 20px; background: #111;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 36px rgba(10, 10, 10, .22);
  font-weight: 800; font-size: 36px; letter-spacing: -.06em; line-height: 1; color: #fff;
}
.mark i { font-style: normal; color: var(--accent); }

/* Pestañas del ejemplo */
.tabs { display: inline-flex; gap: 4px; margin-top: 48px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.tab { padding: 8px 14px; border-radius: 5px; font-size: 14px; font-weight: 500; color: var(--ink-70); }
.tab:hover { color: var(--ink); }
.tab.is-on { background: var(--ink); color: #fff; }
.flow { margin-top: 24px; }
.flow.is-swap .bubble p, .flow.is-swap [data-ex-chips] { opacity: 0; }
.bubble p, [data-ex-chips] { transition: opacity .2s ease; }

/* Tarjetas de pilar que abren detalle */
.card--open { font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; transition: border-color .15s, background .15s, transform .15s; }
.card--open:hover { border-color: var(--line-strong); background: var(--panel); transform: translateY(-2px); }
.card--open p { flex: 1; }
.card__more { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.card__more b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.card--open:hover .card__more b { background: var(--accent); border-color: var(--accent); color: #fff; }
.card__icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Íconos reales en el panel */
.app__side svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app__side a.is-on svg { color: var(--accent); }
.feed__row .ico { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px; display: grid; place-items: center; color: var(--ink-70); background: var(--panel); }
.feed__row .ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Ventana de detalle */
.modal {
  width: min(1120px, calc(100% - 32px)); max-height: calc(100vh - 48px); margin: auto; padding: 56px 64px 64px;
  border: 0; border-radius: 22px; background: var(--panel); color: var(--ink); overflow-y: auto;
  box-shadow: 0 40px 120px rgba(10, 10, 10, .25);
}
.modal::backdrop { background: rgba(232, 232, 232, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.modal__x { position: sticky; top: 0; float: right; margin: -32px -40px 0 0; width: 40px; height: 40px; border-radius: 8px; background: var(--accent-tint); color: var(--accent-hover); font-size: 22px; line-height: 1; z-index: 2; }
.modal__x:hover { background: var(--accent); color: #fff; }
.modal__top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.modal h2 { margin: 14px 0 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; font-weight: 500; letter-spacing: -.03em; }
.modal__top p { margin: 16px 0 0; font-size: 17px; color: var(--ink-70); max-width: 560px; }
.checks { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-70); }
.checks li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 2px; }
.bento { margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.bento__big { min-height: 420px; border-radius: 14px; display: grid; place-items: center; padding: 32px; overflow: hidden; }
.bento--soft { background: radial-gradient(120% 90% at 0% 100%, rgba(232, 98, 42, .16), transparent 60%), #F6F6F6; }
.bento__side { display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.bento__stat { border-radius: 14px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(180deg, #F7F7F7 0%, #F7F7F7 40%, rgba(232, 98, 42, .18) 100%); }
.bento__stat b { font-size: clamp(40px, 5vw, 58px); font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.bento__stat p { margin: 14px 0 0; max-width: 300px; font-size: 15px; color: var(--ink-70); }
.bento__card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--panel); display: flex; flex-direction: column; gap: 14px; }
.bento__foot { margin: 0; font-size: 13px; color: var(--ink-45); }
.cols3 { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cols3 p { margin: 16px 0 0; font-size: 15px; color: var(--ink-70); }
.cols3 .card__icon { border-color: rgba(232, 98, 42, .35); }

/* Gráficos de ejemplo dentro de las ventanas */
.mock-ads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 520px; }
.mock-ad { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 14px; display: grid; gap: 8px; font-size: 13px; box-shadow: 0 10px 30px rgba(10, 10, 10, .06); }
.mock-ad.is-win { border-color: var(--accent); transform: translateY(-10px); }
.mock-ad__img { aspect-ratio: 4 / 5; border-radius: 8px; background: linear-gradient(160deg, #F4A07D, #E8622A); }
.mock-ad__img.b { background: linear-gradient(160deg, #E5E5E5, #BDBDBD); }
.mock-ad__img.c { background: linear-gradient(160deg, #EDEDED, #D4D4D4); }
.mock-ad span { font-family: var(--mono); font-size: 11px; color: var(--ink-45); }
.mock-ad.is-win span { color: var(--accent-hover); }
.meter { height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink-30); }
.is-win .meter i { background: var(--accent); }
.hbars { display: grid; gap: 10px; }
.hbars div { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.hbars i { height: 10px; border-radius: 3px; background: var(--ink-30); }
.hbars em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-70); }
.hbars .is-bad i { background: var(--accent); }
.hbars .is-bad em { color: var(--accent-hover); }
.phone { width: 280px; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 16px 14px 20px; box-shadow: 0 24px 60px rgba(10, 10, 10, .12); display: grid; gap: 8px; font-size: 13px; }
.phone__bar { display: flex; flex-direction: column; padding: 2px 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.phone__bar small { color: var(--ink-45); font-size: 11px; }
.msg { max-width: 82%; padding: 8px 11px; border-radius: 12px; line-height: 1.35; }
.msg.in { background: var(--bg); justify-self: start; border-bottom-left-radius: 4px; }
.msg.out { background: #111; color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.msg-slots { display: flex; gap: 6px; justify-content: flex-end; }
.msg-slots span { padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 6px; font-weight: 600; font-size: 12px; }
.msg-ok { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 6px; padding: 8px; border-radius: 8px; background: var(--accent-tint); color: var(--accent-hover); font-weight: 600; font-size: 12px; }
.msg-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.heat i { aspect-ratio: 1; border-radius: 2px; background: var(--bg); }
.mail { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 24px 60px rgba(10, 10, 10, .10); display: grid; gap: 14px; }
.mail__head { display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mail__head b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.mail p { margin: 0; color: var(--ink-70); font-size: 15px; }
.mail .btn { justify-self: start; }
.mail small { color: var(--ink-30); font-size: 11px; }
.vbars { display: flex; gap: 20px; align-items: flex-end; height: 120px; padding: 0 12px; }
.vbars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.vbars i { width: 100%; max-width: 64px; border-radius: 6px 6px 2px 2px; background: var(--ink-30); }
.vbars .is-hot i { background: var(--accent); }
.vbars span { font-size: 12px; color: var(--ink-70); }
.table { width: 100%; max-width: 560px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px 18px 16px; box-shadow: 0 24px 60px rgba(10, 10, 10, .08); font-size: 13px; }
.table__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.table__head { border-top: 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-45); }
.table .good { color: var(--ok); font-weight: 600; }
.table .bad { color: var(--accent-hover); font-weight: 600; }
.split { display: flex; height: 14px; border-radius: 4px; overflow: hidden; gap: 2px; }
.split i:first-child { background: var(--accent); }
.split i:last-child { background: var(--ink-30); }
.split__legend { display: flex; gap: 18px; font-size: 13px; color: var(--ink-70); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.dot.a { background: var(--accent); }
.dot.b { background: var(--ink-30); }

/* Novedades con detalle */
.entry__visual { margin-top: 10px; padding: 28px 20px; border-radius: 12px; display: grid; place-items: center; }
.entry__how { margin-top: 6px; padding: 14px 16px; border-radius: 10px; background: var(--bg); font-size: 14px; color: var(--ink-70); }
.entry__how b { color: var(--ink); font-weight: 600; }
.entry__note { font-size: 13px; color: var(--ink-45); }
.notif { width: 100%; max-width: 360px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(10, 10, 10, .10); font-size: 13px; }
.notif__ic { width: 34px; height: 34px; border-radius: 9px; background: #111; color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: -.06em; flex: none; }
.notif__ic i { font-style: normal; color: var(--accent); }
.notif b { display: block; font-size: 13px; }
.notif small { color: var(--ink-45); }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 520px; }
.kpi-row .kpi { background: var(--panel); }
.kpi-row .kpi b { font-size: 24px; }

@media (max-width: 1020px) {
  .section::before, .section::after { display: none; }
  .modal { padding: 40px 28px 40px; }
  .modal__x { margin: -20px -12px 0 0; }
  .modal__top { grid-template-columns: 1fr; gap: 8px; }
  .checks { margin-top: 24px; }
  .bento { grid-template-columns: 1fr; }
  .bento__big { min-height: 320px; }
}
@media (max-width: 760px) {
  main::before, .foot::before { display: none; }
  .tabs { display: flex; overflow-x: auto; max-width: 100%; }
  .tab { white-space: nowrap; }
  .mark { width: 64px; height: 64px; border-radius: 16px; font-size: 28px; }
  .modal { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; padding: 28px 18px 40px; }
  .modal__x { margin: -12px -4px 0 0; }
  .bento__big { padding: 18px; min-height: 0; }
  .mock-ads { gap: 8px; }
  .cols3 { grid-template-columns: 1fr; gap: 20px; }
  .table__row { grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 8px; font-size: 12px; }
  .phone { width: 100%; max-width: 280px; }
  .kpi-row { grid-template-columns: 1fr; }
}

/* ═══ v6c (26-oct): movimiento estilo Glaido/Stripe, portada con marca, botón expandir ═══ */
:root {
  --ease-move: cubic-bezier(.65, 0, .35, 1);
  --ease-enter: cubic-bezier(.165, .84, .44, 1);
  --ease-far: cubic-bezier(.16, 1, .3, 1);
}

/* Portada: el fondo ocupa todo el ancho entre las líneas */
.hero { padding-top: 0; }
.hero > .wrap, .final > .wrap { padding-left: 0; padding-right: 0; }
.hero__stage {
  position: relative; overflow: hidden; padding: 40px;
  background: none;
}
.final .hero__stage { padding: 40px; }
.shape {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-weight: 800; letter-spacing: -.07em; line-height: .8; white-space: nowrap;
  background: linear-gradient(150deg, rgba(10, 10, 10, .09) 10%, rgba(10, 10, 10, .02) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.shape--tl { font-size: clamp(260px, 34vw, 520px); left: -4%; top: -18%; }
.shape--br { font-size: clamp(200px, 26vw, 400px); right: -3%; bottom: -22%; }
.shape--tr { font-size: clamp(220px, 28vw, 420px); right: -4%; top: -30%; }
.shape--tl::after, .shape--br::after, .shape--tr::after { content: none; }
.hero__panel {
  z-index: 1; border: 0; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .80), rgba(255, 255, 255, .70));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(10, 10, 10, .12), inset 0 0 0 1px rgba(10, 10, 10, .10), 0 40px 120px rgba(10, 10, 10, .10);
}
/* Punto naranja de la marca, difuminado detrás del panel */
.hero__stage::before {
  content: ""; position: absolute; z-index: 0; width: 360px; height: 360px; border-radius: 50%;
  right: 14%; top: 8%; background: radial-gradient(circle, rgba(232, 98, 42, .22), rgba(232, 98, 42, 0) 70%);
  filter: blur(8px); pointer-events: none;
}
.final .hero__stage::before { left: 10%; right: auto; top: auto; bottom: -10%; }

/* Entrada de la portada */
.hero__panel > * { animation: enter .7s var(--ease-far) both; }
.hero__panel > *:nth-child(2) { animation-delay: .08s; }
.hero__panel > *:nth-child(3) { animation-delay: .16s; }
.hero__panel > *:nth-child(4) { animation-delay: .24s; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } }

/* Botón expandir estilo Stripe */
.xbtn {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink);
  transition: transform .24s var(--ease-move), background .24s var(--ease-move), border-color .24s var(--ease-move), color .24s var(--ease-move);
}
.xbtn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.xbtn g { transition: transform .24s var(--ease-move); }
.card--open:hover .xbtn, .card--open:focus-visible .xbtn { transform: scale(1.15); background: var(--accent); border-color: var(--accent); color: #fff; }
.card--open:hover .xa, .card--open:focus-visible .xa { transform: translate(1.5px, -1.5px); }
.card--open:hover .xb, .card--open:focus-visible .xb { transform: translate(-1.5px, 1.5px); }
.card__more { gap: 10px; transition: gap .24s var(--ease-move); }
.card--open:hover .card__more { gap: 12px; }

/* Tarjetas: se levantan al pasar el mouse */
.card, .plan, .proof, .releases, .bubble, .kpi { transition: transform .24s var(--ease-move), box-shadow .24s var(--ease-move), border-color .24s var(--ease-move), background .24s var(--ease-move); }
.card:hover, .plan:hover, .bubble:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10, 10, 10, .07); border-color: var(--line-strong); }
.card--open:hover { background: var(--panel); }
.kpi:hover { border-color: var(--line-strong); background: var(--bg); }
.app__side a { transition: background .18s var(--ease-move), color .18s var(--ease-move); cursor: pointer; }
.app__side a:not(.is-on):hover { background: rgba(10, 10, 10, .05); color: var(--ink); }
.feed__row { transition: background .18s var(--ease-move); border-radius: 6px; }
.feed__row:hover { background: rgba(10, 10, 10, .03); }
.app-tile { transition: transform .24s var(--ease-move), box-shadow .24s var(--ease-move); }
.app-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(10, 10, 10, .08); }
.btn { transition: background .18s var(--ease-move), border-color .18s var(--ease-move), transform .18s var(--ease-move); }
.btn:active { transform: scale(.98); }

/* Línea con luz que pasa por el logo (como Glaido) */
.flow { grid-template-columns: 1fr 200px 1fr; }
.flow__mid::before { content: none; }
.flow__mid { display: flex; align-items: center; justify-content: center; }
.beam { position: relative; flex: 1; height: 1px; overflow: visible; }
.beam--l { background: linear-gradient(90deg, rgba(232, 98, 42, 0), rgba(232, 98, 42, .6)); margin-left: -24px; }
.beam--r { background: linear-gradient(90deg, rgba(232, 98, 42, .6), rgba(232, 98, 42, 0)); margin-right: -24px; }
.beam i {
  position: absolute; top: 50%; left: 0; width: 56px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0;
}
.beam--l i { animation: beamL 3.6s var(--ease-move) infinite; }
.beam--r i { animation: beamR 3.6s var(--ease-move) infinite; }
@keyframes beamL { 0% { left: -20%; opacity: 0; } 6% { opacity: 1; } 28% { left: 90%; opacity: 1; } 32%, 100% { left: 100%; opacity: 0; } }
@keyframes beamR { 0%, 52% { left: -20%; opacity: 0; } 56% { opacity: 1; } 80% { left: 90%; opacity: 1; } 84%, 100% { left: 100%; opacity: 0; } }
.mark { overflow: hidden; flex: none; animation: markPop 3.6s var(--ease-move) infinite; }
.mark__shine {
  position: absolute; inset: -20% auto -20% 0; width: 50%; transform: translateX(-150%) skewX(-12deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  animation: shine 3.6s var(--ease-move) infinite;
}
@keyframes shine { 0%, 30% { transform: translateX(-150%) skewX(-12deg); } 48%, 100% { transform: translateX(260%) skewX(-12deg); } }
@keyframes markPop { 0%, 28% { transform: scale(1); } 36% { transform: scale(1.06); } 48%, 100% { transform: scale(1); } }
.bubble--reply { animation: replyPulse 3.6s var(--ease-move) infinite; }
@keyframes replyPulse { 0%, 80% { box-shadow: 0 0 0 0 rgba(232, 98, 42, 0); } 86% { box-shadow: 0 0 0 4px rgba(232, 98, 42, .12); } 100% { box-shadow: 0 0 0 0 rgba(232, 98, 42, 0); } }

/* Botón cerrar de las ventanas: centrado, fijo arriba a la derecha */
.modal { padding-top: 56px; }
.modal__bar { position: sticky; top: 0; z-index: 3; height: 0; display: flex; justify-content: flex-end; }
.modal__x {
  position: static; float: none; margin: -32px -40px 0 0; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; padding: 0; background: var(--accent-tint); color: var(--accent-hover);
  transition: background .18s var(--ease-move), color .18s var(--ease-move), transform .18s var(--ease-move);
}
.modal__x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; display: block; }
.modal__x:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
.modal[open] { animation: modalIn .32s var(--ease-far) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.modal::backdrop { animation: fade .24s var(--ease-enter) both; }
@keyframes fade { from { opacity: 0; } }

/* Novedades en la portada: abren detalle */
.rel { cursor: pointer; }
.rel .go { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid transparent; transition: background .24s var(--ease-move), color .24s var(--ease-move), transform .24s var(--ease-move); }
.rel:hover .go { background: var(--accent); color: #fff; transform: translateX(3px) scale(1.1); }
.rel .go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.modal--nov { width: min(860px, calc(100% - 32px)); }
.modal--nov h2 { margin-top: 14px; }
.modal--nov .entry__meta { margin-top: 0; }
.nov-lead { margin: 16px 0 0; font-size: 17px; color: var(--ink-70); }
.nov-cols { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.nov-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.nov-cols li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-70); }
.nov-cols li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.nov-foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }

@media (max-width: 1020px) {
  .flow { grid-template-columns: 1fr 140px 1fr; }
}
@media (max-width: 760px) {
  .hero__stage, .final .hero__stage { padding: 16px; }
  .shape--tl { left: -20%; top: -6%; }
  .shape--br { right: -25%; bottom: -8%; }
  .shape--tr { right: -30%; top: -10%; }
  .hero__stage::before { width: 240px; height: 240px; }
  .flow { grid-template-columns: 1fr; }
  .flow__mid { flex-direction: column; height: 120px; }
  .beam { flex: 1; width: 1px; height: auto; margin: 0 !important; }
  .beam--l { background: linear-gradient(180deg, rgba(232, 98, 42, 0), rgba(232, 98, 42, .6)); }
  .beam--r { background: linear-gradient(180deg, rgba(232, 98, 42, .6), rgba(232, 98, 42, 0)); }
  .beam i { display: none; }
  .modal__x { margin: -16px -6px 0 0; }
  .nov-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .beam i, .mark, .mark__shine, .bubble--reply, .hero__panel > * { animation: none !important; }
}

/* v6d: fondo de portada con piezas del logo (la "m" y el punto naranja) */
.hero__stage::before { content: none; }
.shape--tl { font-size: clamp(300px, 36vw, 560px); left: -2%; top: -46%; }
.shape--tr { font-size: clamp(260px, 30vw, 460px); right: -2%; top: -48%; left: auto; }
.orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, rgba(232, 98, 42, .55), rgba(232, 98, 42, .18) 55%, rgba(232, 98, 42, 0) 72%); }
.orb--br { width: clamp(220px, 24vw, 360px); aspect-ratio: 1; right: 4%; bottom: -16%; }
.orb--bl { width: clamp(200px, 22vw, 320px); aspect-ratio: 1; left: 6%; bottom: -20%; }
.beam--l, .beam--r { margin: 0; }
.flow .bubble { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .shape--tl { left: -18%; top: -14%; }
  .shape--tr { right: -24%; top: -18%; }
  .orb--br { right: -12%; bottom: -8%; }
  .orb--bl { left: -14%; bottom: -10%; }
}
.shape--tl { left: 3%; top: -6%; background: linear-gradient(160deg, rgba(10, 10, 10, .16) 15%, rgba(10, 10, 10, .03) 80%); -webkit-background-clip: text; background-clip: text; }
.shape--tr { right: 3%; top: -10%; background: linear-gradient(160deg, rgba(10, 10, 10, .14) 15%, rgba(10, 10, 10, .03) 80%); -webkit-background-clip: text; background-clip: text; }

/* ═══ v6e (26-oct): logo sobre las líneas, botón arriba a la derecha, portada gris, cierre en banda ═══ */

/* Logo del ejemplo siempre por encima de la línea, y el brillo escondido en reposo */
.flow__mid { position: relative; }
.beam { z-index: 0; }
.mark { position: relative; z-index: 2; }
.mark__shine { transform: translateX(-260%) skewX(-12deg); }
@keyframes shine { 0%, 30% { transform: translateX(-260%) skewX(-12deg); } 48%, 100% { transform: translateX(320%) skewX(-12deg); } }

/* Botón expandir arriba a la derecha (como Stripe) */
.card--open { position: relative; }
.card--open .card__more { position: absolute; top: 24px; right: 24px; margin: 0; }
.card--open p { flex: none; }
.xbtn { width: 30px; height: 30px; }
.xbtn svg { width: 13px; height: 13px; }

/* Portada: fondo gris con piezas del logo, hasta la línea de abajo */
.hero .orb, .final .orb { display: none; }
.hero__stage { padding: 32px 40px; }
.apps { margin-top: 0; }
.hero__panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .62));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(10, 10, 10, .12), inset 0 0 0 1px rgba(10, 10, 10, .10), 0 40px 120px rgba(10, 10, 10, .12);
}
.shape--tl {
  font-size: clamp(320px, 38vw, 600px); left: -3%; top: -14%;
  background: linear-gradient(150deg, rgba(10, 10, 10, .20) 10%, rgba(10, 10, 10, .05) 90%);
  -webkit-background-clip: text; background-clip: text;
}
.dotshape {
  position: absolute; z-index: 0; pointer-events: none; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(150deg, rgba(10, 10, 10, .18) 10%, rgba(10, 10, 10, .04) 90%);
}
.dotshape--br { width: clamp(180px, 20vw, 300px); right: 2%; bottom: -12%; }

/* Cierre en banda naranja (como el bloque final de Glaido) */
.final { padding: 32px 0 112px; }
.final > .wrap { padding-left: 24px; padding-right: 24px; }
.band {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--accent); color: #fff;
  min-height: 460px; display: flex; align-items: center; padding: 64px;
}
.band__in { position: relative; z-index: 1; max-width: 560px; }
.band__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.band h2 { margin: 18px 0 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.04; font-weight: 500; letter-spacing: -.04em; color: #fff; }
.band p { margin: 18px 0 0; font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 480px; }
.band__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #F2F2F2; }
.band__mail { font-size: 14px; color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.band__mail:hover { color: #fff; text-decoration-color: #fff; }
.band__mark {
  position: absolute; right: -2%; bottom: -16%; z-index: 0; pointer-events: none; user-select: none;
  font-weight: 800; font-size: clamp(220px, 30vw, 440px); line-height: .8; letter-spacing: -.07em; white-space: nowrap;
  color: rgba(255, 255, 255, .12);
}
.band__mark i { font-style: normal; color: rgba(17, 17, 17, .22); }

/* Avisos al celular */
.pushes { position: relative; width: 100%; max-width: 380px; padding-top: 18px; }
.push {
  position: relative; z-index: 1; display: grid; gap: 4px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .08), 0 18px 40px rgba(10, 10, 10, .12);
}
.push--back { position: absolute; z-index: 0; left: 14px; right: 14px; top: 0; transform: scale(.94); transform-origin: top; opacity: .7; }
.push__app { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.push__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 6px; background: #111; color: #fff;
  font-weight: 800; font-size: 10px; letter-spacing: -.06em; line-height: 1;
}
.push__icon i { font-style: normal; color: var(--accent); }
.push__icon--lg { width: 44px; height: 44px; border-radius: 12px; font-size: 19px; }
.push__name { font-size: 12px; font-weight: 600; color: var(--ink-70); text-transform: uppercase; letter-spacing: .04em; }
.push__time { margin-left: auto; font-size: 12px; color: var(--ink-45); }
.push b { font-size: 14px; font-weight: 600; }
.push p { margin: 0; font-size: 13px; color: var(--ink-70); }
.login { width: 100%; max-width: 280px; display: grid; justify-items: center; gap: 12px; padding: 24px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .08), 0 18px 40px rgba(10, 10, 10, .10); }
.login b { font-size: 16px; font-weight: 600; }
.login__field { width: 100%; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 13px; color: var(--ink-45); }

@media (max-width: 760px) {
  .hero__stage { padding: 14px; }
  .shape--tl { left: -24%; top: -6%; }
  .dotshape--br { right: -16%; bottom: -6%; }
  .card--open .card__more { top: 20px; right: 20px; }
  .final > .wrap { padding-left: 16px; padding-right: 16px; }
  .band { padding: 40px 24px 120px; min-height: 0; border-radius: 22px; }
  .band__mark { right: -10%; bottom: -10%; }
}
.dotshape--tl { width: clamp(320px, 34vw, 520px); left: -6%; top: -34%; }
@media (max-width: 760px) { .dotshape--tl { width: 300px; left: -30%; top: -12%; } }

.flow .bubble { background: #fff; }
.flow__mid { overflow: hidden; }
.flow__mid .mark { margin: 0 4px; }
.band__mark { right: 3%; }
.pushes { padding: 0 0 14px; }
.push--back { top: auto; bottom: 0; height: 40px; transform: none; left: 18px; right: 18px; opacity: 1; padding: 0; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .06), 0 10px 24px rgba(10, 10, 10, .06); }
.push--back > * { visibility: hidden; }

.bento--soft { background: radial-gradient(120% 90% at 0% 100%, rgba(10, 10, 10, .07), transparent 60%), #F6F6F6; }

/* ═══ v6f (26-oct): correcciones de la revisión detallada ═══ */
*::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
:root { --ink-60: rgba(10, 10, 10, .60); }

/* Texto chico con contraste suficiente */
.tag-mono, .rel time, .fine, .plan__per, .hero__ticks, .push__time, .entry__meta time, .entry__note, .bento__foot, .who small, .kpi small:not(.up), .feed__row span:last-child, .demo-note { color: var(--ink-60); }
.faq summary::after, .rel .go { color: var(--ink-60); }
.bubble--reply .tag-mono, .mock-ad.is-win span { color: var(--accent-hover); }

/* Ventanas: barra superior real para la X (no tapa contenido) */
.modal { padding-top: 0; }
.modal__bar {
  position: sticky; top: 0; z-index: 3; height: 64px; margin: 0 -64px 0; padding: 12px 16px 0;
  display: flex; justify-content: flex-end; align-items: flex-start;
  background: linear-gradient(var(--panel) 72%, rgba(255, 255, 255, 0));
}
.modal__x { margin: 0; }
.modal__top, .modal [data-nov-body] { margin-top: -8px; }

/* Tablas: columnas alineadas entre filas */
.table__row { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); align-items: end; }
.table__row > span:first-child { overflow-wrap: anywhere; }
.table__head span { white-space: nowrap; letter-spacing: .02em; }

/* Precios: precios a la misma altura y listas sin estirar */
.plan ul { align-content: start; }
.plan h3 { min-height: 3em; line-height: 1.45; }

/* Funcionalidades: etiquetas alineadas abajo */
.feat .card { display: flex; flex-direction: column; }
.feat .card h3 { min-height: 0; }
.mini { margin-top: auto; padding-top: 18px; }

/* Actividad del panel: líneas rectas, hover sin bordes curvos */
.feed__row { border-radius: 0; }
.feed__row:hover { background: transparent; }
.feed__row:hover span:nth-child(2) { color: var(--ink); }
.feed__row:hover .ico { border-color: var(--line-strong); color: var(--ink); }

/* Anuncio ganador sin desalinear */
.mock-ad.is-win { transform: none; box-shadow: 0 14px 34px rgba(232, 98, 42, .16); }

/* Tarjeta gráfica con contenido repartido */
.bento__card { justify-content: space-between; }

/* Novedades: viñetas iguales a las de la ventana */
.entry ul { list-style: none; padding: 0; gap: 10px; }
.entry li { display: flex; gap: 12px; }
.entry li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 800; }

/* Menú móvil: la hamburguesa pasa a X */
.burger span, .burger span::before, .burger span::after { transition: transform .24s var(--ease-move), background .24s var(--ease-move), top .24s var(--ease-move); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1210px) {
  .section::before, .section::after { display: none; }
}
@media (max-width: 1020px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .feat .card h3 { min-height: 0; }
  .plan h3 { min-height: 0; }
  .app__win { grid-template-columns: minmax(0, 1fr); }
  .app__win > div { min-width: 0; }
  .app__dots { display: none; }
  .app__side { display: flex; gap: 4px; overflow-x: auto; }
  .app__side a { white-space: nowrap; }
}
@media (max-width: 760px) {
  .grid--3 { grid-template-columns: 1fr; }
  .modal__bar { margin: 0 -18px; padding: 10px 10px 0; height: 56px; }
  .tabs, .app__side { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .kpi-row .kpi { padding: 10px; }
  .kpi-row .kpi b { font-size: 18px; }
  .kpi-row .tag-mono { font-size: 9px; letter-spacing: .02em; }
}

.mock-ad { align-content: start; }
.mock-ad span { white-space: nowrap; }

/* v6g: la línea pasa por detrás del logo y toca ambos globos (no queda cortada) */
.flow__mid { position: relative; overflow: visible; display: grid; place-items: center; }
.flow__mid .mark { margin: 0; }
.beam { position: absolute; top: 50%; height: 1px; flex: none; margin: 0 !important; z-index: 0; }
.beam--l { left: -24px; right: 50%; }
.beam--r { left: 50%; right: -24px; }
@media (max-width: 760px) {
  .flow__mid { height: 120px; }
  .beam { top: auto; left: 50% !important; right: auto !important; width: 1px; height: auto; }
  .beam--l { top: -24px; bottom: 50%; }
  .beam--r { top: 50%; bottom: -24px; }
}

/* v6g: guías y pie de producción */
.guides { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); overflow: hidden; }
.guides li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: baseline; padding: 18px 24px; border-top: 1px solid var(--line); transition: background .18s var(--ease-move); }
.guides li:first-child { border-top: 0; }
.guides li:hover { background: var(--panel); }
.guides a { font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.guides a:hover { color: var(--accent); }
.guides span { font-size: 14px; color: var(--ink-60); }
.foot__badge { display: inline-block; margin-top: 18px; }
.foot__badge img { width: 120px; height: auto; }
.foot nav h4 { margin: 0 0 14px; }
@media (max-width: 760px) {
  .guides li { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
}
