/* ==========================================================================
   Demos vivas de /marketing (servicio de agencia): mkt-report (hero), mkt-ads,
   mkt-social y mkt-landing. Escenas de agencia; solo el hero nombra redes
   reales (Facebook, Instagram y TikTok: captura de la marca + logo de la red).
   Markup: resources/views/web/partials/anim/mkt-*.blade.php · JS: anim/mkt.js
   ========================================================================== */

/* ---------- Base común ---------- */
.lla-mkt {
  --lla-bg: #ffffff;
  --lla-surface: #f8f9fa;
  --lla-text: #1e2022;
  --lla-muted: #677788;
  --lla-border: #e7eaf3;
  --lla-border-2: #d0d7e2;
  --lla-primary: #377dff;
  --lla-success: #00c9a7;
  --lla-warning: #f5a623;
  --lla-brand: #2d6a4f;
  --lla-shadow: 0 32px 64px -24px rgba(22, 34, 58, .38), 0 10px 24px -10px rgba(22, 34, 58, .18);
  --lla-glow-a: rgba(55, 125, 255, .16);
  --lla-glow-b: rgba(0, 201, 167, .12);
  --lla-bezel: #1d2129;
  --lla-bezel-edge: #3a404c;
  --lla-cursor-fill: #1e2022;
  --lla-cursor-edge: #ffffff;
  --lla-cursor-ring: rgba(55, 125, 255, .55);
  max-width: 600px;
  margin-inline: auto;
  color: var(--lla-text);
  line-height: 1.3;
  text-align: left;
}
html[data-theme="dark"] .lla-mkt {
  --lla-bezel-edge: #535b6a;
  --lla-glow-a: rgba(77, 159, 255, .14);
  --lla-glow-b: rgba(74, 217, 145, .1);
  --lla-shadow: 0 32px 64px -24px rgba(0, 0, 0, .8), 0 10px 24px -10px rgba(0, 0, 0, .55);
}
.lla-mkt :where(b, small, strong, em, i, p) { margin: 0; font-size: inherit; font-style: normal; color: inherit; }
.lla-mkt .bi::before { vertical-align: 0; }

.lla-mkt__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.lla-mkt__glow--a { left: -40px; top: 0; width: 420px; height: 420px; background: radial-gradient(closest-side, var(--lla-glow-a), transparent); }
.lla-mkt__glow--b { left: 280px; top: 80px; width: 380px; height: 380px; background: radial-gradient(closest-side, var(--lla-glow-b), transparent); }

.lla-mkt__card { position: absolute; padding: 16px; border: 1px solid var(--lla-border); border-radius: 16px; background: var(--lla-bg); box-shadow: var(--lla-shadow); }
.lla-mkt__h { display: flex; align-items: center; gap: 7px; margin-bottom: 10px !important; font-size: 14px; font-weight: 700; }
.lla-mkt__h .bi { color: var(--lla-primary); }
.lla-mkt__c--primary { color: var(--lla-primary); }
.lla-mkt__c--success { color: #00a389; }
.lla-mkt__c--warning { color: #1e2022; }
.lla-mkt__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-size: 14px; }
.lla-mkt__icon--primary { background: rgba(55, 125, 255, .1); color: var(--lla-primary); }
.lla-mkt__icon--success { background: rgba(0, 201, 167, .12); color: #00a389; }
.lla-mkt__icon--warning { background: rgba(245, 166, 35, .14); color: #d48806; }
.lla-mkt__avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lla-brand); color: #fff; font-size: 11px; font-weight: 700; }
.lla-mkt__avatar--sm { width: 22px; height: 22px; font-size: 8px; background: #a855f7; }

.lla-mkt__notif { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--lla-border); border-radius: 14px; background: var(--lla-bg); box-shadow: 0 16px 34px -12px rgba(22, 34, 58, .35); font-size: 12px; opacity: 0; transform: translateY(-10px) scale(.96); transition: opacity .4s var(--lla-ease), transform .45s var(--lla-ease); }
.lla-mkt__notif > span:last-child { display: flex; flex-direction: column; }
.lla-mkt__notif b { font-size: 13px; font-weight: 700; }
.lla-mkt__notif small { color: var(--lla-muted); font-size: 11px; }
.lla-mkt__live { display: inline-flex; align-items: center; gap: 5px; color: #00a389; font-size: 11px; font-weight: 600; }
.lla-mkt__live i { width: 7px; height: 7px; border-radius: 50%; background: #00c9a7; animation: lla-mkt-pulse 1.6s ease-in-out infinite; }

.lla-mkt__win { position: absolute; overflow: hidden; border: 1px solid var(--lla-border); border-radius: 14px; background: var(--lla-bg); box-shadow: var(--lla-shadow); }
.lla-mkt__chrome { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--lla-border); background: var(--lla-surface); }
.lla-mkt__dots { display: flex; gap: 5px; }
.lla-mkt__dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.lla-mkt__dots i:nth-child(2) { background: #febc2e; }
.lla-mkt__dots i:nth-child(3) { background: #28c840; }
.lla-mkt__url { display: flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 6px; background: var(--lla-bg); color: var(--lla-muted); font-size: 10.5px; }
.lla-mkt__url .bi { color: #198754; font-size: 8.5px; }

.lla-mkt__phone { position: absolute; z-index: 2; padding: 7px; border-radius: 32px; background: var(--lla-bezel); box-shadow: inset 0 0 0 1.5px var(--lla-bezel-edge), var(--lla-shadow); }
.lla-mkt__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 26px; background: #fff; }
.lla-mkt__notch { position: absolute; top: 6px; left: 50%; z-index: 4; width: 56px; height: 14px; border-radius: 999px; background: var(--lla-bezel); transform: translateX(-50%); }

.lla-mkt__cursor { position: absolute; top: 0; left: 0; z-index: 10; width: 22px; height: 22px; pointer-events: none; opacity: 0; transform: translate(300px, 420px); transition: transform .6s var(--lla-ease), opacity .3s var(--lla-ease); }
.lla-mkt[data-cursor] .lla-mkt__cursor { opacity: 1; }
.lla-mkt__cursor svg { position: relative; display: block; width: 22px; height: 22px; fill: var(--lla-cursor-fill); stroke: var(--lla-cursor-edge); stroke-width: 1.4; stroke-linejoin: round; }
.lla-mkt__cursor-ring { position: absolute; left: -10px; top: -12px; width: 28px; height: 28px; border: 2px solid var(--lla-cursor-ring); border-radius: 50%; opacity: 0; }
.lla-mkt__cursor.is-tap svg { animation: lla-mkt-press .3s var(--lla-ease); }
.lla-mkt__cursor.is-tap .lla-mkt__cursor-ring { animation: lla-mkt-ripple .5s var(--lla-ease); }

/* ---------- mkt-report (hero) ---------- */
.lla .lla-mkt-report__stage { --lla-w: 560; --lla-h: 470; }
.lla-mkt-report__card { left: 10px; top: 46px; width: 366px; }
.lla-mkt-report__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lla-mkt-report__head b { font-size: 16px; font-weight: 700; }
.lla-mkt-report__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lla-mkt-report__tile { display: flex; flex-direction: column; gap: 4px; padding: 11px; border-radius: 12px; background: var(--lla-surface); }
.lla-mkt-report__val { font-size: 25px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.lla-mkt-report__tile small { color: var(--lla-muted); font-size: 10.5px; }
.lla-mkt-report__chart { margin-top: 10px; padding: 11px 11px 5px; border-radius: 12px; background: var(--lla-surface); color: var(--lla-primary); }
.lla-mkt-report__chart small { color: var(--lla-muted); font-size: 11px; font-weight: 600; }
.lla-mkt-report__chart svg { display: block; width: 100%; height: 78px; margin-top: 5px; overflow: visible; }
.lla-mkt-report__line { stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 2.4s var(--lla-ease); }
.lla-mkt-report__area { opacity: 0; transition: opacity 1s var(--lla-ease) 1.4s; }
.lla-mkt-report[data-on] .lla-mkt-report__line { stroke-dashoffset: 0; }
.lla-mkt-report[data-on] .lla-mkt-report__area { opacity: 1; }
.lla-mkt-report__months { display: flex; justify-content: space-between; margin-top: 4px; color: var(--lla-muted); font-size: 9.5px; }
.lla-mkt-report__notif--1 { left: 300px; top: 4px; }
.lla-mkt-report__notif--2 { left: 312px; top: 404px; }
.lla-mkt-report[data-n1] .lla-mkt-report__notif--1,
.lla-mkt-report[data-n2] .lla-mkt-report__notif--2 { opacity: 1; transform: none; }

/* Redes sociales: UNA ventana grande (se va la red que publicó y entra la siguiente) con el logo de esa red en la
   esquina inferior derecha. Estados de cada ventana en data-state: next (abajo, oculta) / live / past (arriba, oculta) */
.lla-mkt-report__social { position: absolute; left: 382px; top: 76px; width: 166px; height: 295px; }
.lla-mkt-report__win { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; background: var(--lla-surface); box-shadow: 0 26px 46px -24px rgba(22, 34, 58, .6), 0 8px 18px -10px rgba(22, 34, 58, .25); opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .8s var(--lla-ease), transform .9s var(--lla-ease); }
.lla-mkt-report__win[data-state="live"] { z-index: 2; opacity: 1; transform: none; }
.lla-mkt-report__win[data-state="past"] { transform: translateY(-20px) scale(.98); transition-duration: .5s, .7s; }
.lla-mkt-report__win img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lla-mkt-report__tag { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 16px); padding: 5px 9px; border-radius: 999px; background: rgba(8, 14, 26, .62); color: #fff; font-size: 10px; line-height: 1.2; }
.lla-mkt-report__tag b { font-size: 10.5px; font-weight: 700; }
.lla-mkt-report__stat { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; color: rgba(255, 255, 255, .92); }
.lla-mkt-report__live, .lla-mkt-report__done { display: none; align-items: center; gap: 4px; }
.lla-mkt-report__live .lla-spinner { width: 8px; height: 8px; border-width: 1.5px; }
.lla-mkt-report__done { color: #6ef0c8; }
.lla-mkt-report__win.is-live .lla-mkt-report__live { display: inline-flex; }
.lla-mkt-report__win.is-done .lla-mkt-report__done { display: inline-flex; }
/* Logo de la red, colgando de la esquina inferior derecha de la ventana */
.lla-mkt-report__brand { position: absolute; right: -6px; bottom: -6px; z-index: 3; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #1877f2; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 20px 34px -14px rgba(22, 34, 58, .55); transition: background-color .35s var(--lla-ease), transform .35s var(--lla-ease), opacity .35s var(--lla-ease); }
.lla-mkt-report__brand .bi { font-size: 32px; line-height: 1; color: #fff; }
.lla-mkt-report__brand[data-brand="ig"] { background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%); }
.lla-mkt-report__brand[data-brand="tt"] { background: #111111; }
/* Antes de la primera publicación no hay logo: aparece junto con la primera ventana. */
.lla-mkt-report[data-nets="0"] .lla-mkt-report__brand { opacity: 0; transform: scale(.82); }
.lla-mkt-report__brand.is-pop { animation: lla-mkt-report-pop .55s var(--lla-ease); }
/* Cierre del ciclo: se va todo (reporte, ventana, logo y avisos) y queda el calendario de contenido. */
.lla-mkt-report__cal { position: absolute; left: 50%; top: 50%; z-index: 8; width: 440px; height: 440px; opacity: 0; transform: translate(-50%, -48%) scale(.96); transition: opacity .5s var(--lla-ease), transform .6s var(--lla-ease); }
.lla-mkt-report__cal img { display: block; width: 100%; height: 100%; border-radius: 16px; box-shadow: 0 34px 64px -30px rgba(22, 34, 58, .6), 0 10px 24px -14px rgba(22, 34, 58, .3); }
.lla-mkt-report[data-cal] .lla-mkt-report__cal { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lla-mkt-report[data-cal] .lla__canvas > *:not(.lla-mkt__glow):not(.lla-mkt-report__cal) { opacity: 0; }

@keyframes lla-mkt-report-pop {
  0% { transform: scale(.84); }
  55% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

/* ---------- mkt-ads ---------- */
.lla .lla-mkt-ads__stage { --lla-w: 600; --lla-h: 440; }
.lla-mkt-ads__ad { left: 6px; top: 20px; width: 270px; padding: 12px; }
.lla-mkt-ads__ad-head { display: flex; align-items: center; gap: 9px; }
.lla-mkt-ads__ad-head > span:last-child { display: flex; flex-direction: column; }
.lla-mkt-ads__ad-head b { font-size: 12.5px; font-weight: 700; }
.lla-mkt-ads__ad-head small { color: var(--lla-muted); font-size: 10px; }
.lla-mkt-ads__text { margin: 9px 0 !important; font-size: 12px; line-height: 1.4; }
.lla-mkt-ads__media { position: relative; display: flex; align-items: center; justify-content: center; height: 170px; border-radius: 10px; background: linear-gradient(135deg, #2d6a4f, #52b788); color: #fff; font-size: 60px; }
.lla-mkt-ads__media b { position: absolute; right: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #2d6a4f; font-size: 14px; font-weight: 800; }
.lla-mkt-ads__cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.lla-mkt-ads__cta small { overflow: hidden; color: var(--lla-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.lla-mkt-ads__cta span { display: inline-flex; flex: none; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 8px; background: #25d366; color: #fff; font-size: 10.5px; font-weight: 700; }

.lla-mkt-ads__panel { left: 300px; top: 4px; width: 294px; }
.lla-mkt-ads__seg { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 8px 10px; border: 1px dashed var(--lla-border-2); border-radius: 10px; color: var(--lla-muted); font-size: 12px; transition: border-color .3s var(--lla-ease), background-color .3s var(--lla-ease), color .3s var(--lla-ease); }
.lla-mkt-ads__seg em { margin-left: auto; color: #00a389; opacity: 0; transform: scale(.4); transition: opacity .25s var(--lla-ease), transform .3s var(--lla-ease); }
.lla-mkt-ads[data-segs="1"] [data-seg="1"],
.lla-mkt-ads[data-segs="2"] :is([data-seg="1"], [data-seg="2"]),
.lla-mkt-ads[data-segs="3"] :is([data-seg="1"], [data-seg="2"], [data-seg="3"]),
.lla-mkt-ads[data-segs="4"] .lla-mkt-ads__seg { border-style: solid; border-color: var(--lla-primary); background: rgba(55, 125, 255, .06); color: var(--lla-text); }
.lla-mkt-ads[data-segs="1"] [data-seg="1"] em,
.lla-mkt-ads[data-segs="2"] :is([data-seg="1"], [data-seg="2"]) em,
.lla-mkt-ads[data-segs="3"] :is([data-seg="1"], [data-seg="2"], [data-seg="3"]) em,
.lla-mkt-ads[data-segs="4"] .lla-mkt-ads__seg em { opacity: 1; transform: none; }
.lla-mkt-ads__bh { justify-content: space-between; margin-top: 12px !important; }
.lla-mkt-ads__bh strong { margin-left: auto; color: var(--lla-primary); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lla-mkt-ads__slider { position: relative; display: block; height: 6px; border-radius: 999px; background: var(--lla-surface); box-shadow: inset 0 0 0 1px var(--lla-border); }
.lla-mkt-ads__slider i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--b, .35) * 100%); border-radius: 999px; background: var(--lla-primary); transition: width 1.2s var(--lla-ease); }
.lla-mkt-ads__slider em { position: absolute; top: 50%; left: calc(var(--b, .35) * 100%); width: 16px; height: 16px; border: 3px solid var(--lla-primary); border-radius: 50%; background: #fff; transform: translate(-50%, -50%); transition: left 1.2s var(--lla-ease); }

.lla-mkt-ads__results { left: 300px; top: 300px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: 294px; padding: 12px 10px; }
.lla-mkt-ads__res { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.lla-mkt-ads__res .bi { font-size: 15px; }
.lla-mkt-ads__res b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lla-mkt-ads__res small { color: var(--lla-muted); font-size: 10px; }

/* ---------- mkt-social ---------- */
.lla .lla-mkt-social__stage { --lla-w: 620; --lla-h: 450; }
.lla-mkt-social__cal { left: 4px; top: 40px; width: 420px; }
.lla-mkt-social__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.lla-mkt-social__day { display: flex; flex-direction: column; gap: 5px; min-height: 220px; padding: 6px 4px; border-radius: 8px; background: var(--lla-surface); }
.lla-mkt-social__day > small { color: var(--lla-muted); font-size: 10.5px; font-weight: 700; text-align: center; }
.lla-mkt-social__post { display: none; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 8px; color: #fff; font-size: 9px; font-weight: 700; text-align: center; }
.lla-mkt-social__post .bi { font-size: 16px; }
.lla-mkt-social__post--a { background: linear-gradient(160deg, #ec4899, #f97316); }
.lla-mkt-social__post--b { background: linear-gradient(160deg, #6366f1, #06b6d4); }
.lla-mkt-social__post--c { background: linear-gradient(160deg, #22c55e, #14b8a6); }
.lla-mkt-social[data-posts="1"] [data-post="1"],
.lla-mkt-social[data-posts="2"] :is([data-post="1"], [data-post="2"]),
.lla-mkt-social[data-posts="3"] :is([data-post="1"], [data-post="2"], [data-post="3"]),
.lla-mkt-social[data-posts="4"] :is([data-post="1"], [data-post="2"], [data-post="3"], [data-post="4"]),
.lla-mkt-social[data-posts="5"] .lla-mkt-social__post { display: flex; animation: lla-mkt-drop .45s var(--lla-ease) both; }

.lla-mkt-social__phone { left: 404px; top: 4px; width: 212px; height: 440px; }
.lla-mkt-social__feed { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 30px 10px 10px; font-size: 10.5px; opacity: .25; transition: opacity .5s var(--lla-ease); }
.lla-mkt-social[data-live] .lla-mkt-social__feed { opacity: 1; }
.lla-mkt-social__feed .lla-mkt__avatar { width: 28px; height: 28px; font-size: 9.5px; }
.lla-mkt-social__media { position: relative; display: flex; align-items: center; justify-content: center; height: 170px; border-radius: 10px; background: linear-gradient(160deg, #ec4899, #f97316); color: #fff; font-size: 54px; }
.lla-mkt-social__play { position: absolute; right: 8px; top: 8px; font-size: 16px; }
.lla-mkt-social__actions { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.lla-mkt-social__actions .bi-heart-fill { color: #ef4444; }
.lla-mkt-social__actions b { margin-left: auto; font-size: 10.5px; font-weight: 700; }
.lla-mkt-social__caption { font-size: 10.5px; line-height: 1.35; }
.lla-mkt-social__caption b { font-weight: 700; }
.lla-mkt-social__comment { display: flex; align-items: flex-start; gap: 6px; font-size: 10px; line-height: 1.35; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--lla-ease), transform .4s var(--lla-ease); }
.lla-mkt-social__comment b { font-weight: 700; }
.lla-mkt-social__comment--a { padding-left: 16px; }
.lla-mkt-social__comment--a .lla-mkt__avatar { background: var(--lla-brand); }
.lla-mkt-social[data-q] .lla-mkt-social__comment--q,
.lla-mkt-social[data-a] .lla-mkt-social__comment--a { opacity: 1; transform: none; }

/* ---------- mkt-landing ---------- */
.lla .lla-mkt-landing__stage { --lla-w: 640; --lla-h: 450; }
.lla-mkt-landing__win { left: 0; top: 40px; width: 500px; height: 360px; }
.lla-mkt-landing__body { height: calc(100% - 30px); overflow: hidden; }
.lla-mkt-landing__phone { left: 450px; top: 60px; width: 186px; height: 380px; }
.lla-mkt-landing__mbody { height: 100%; padding-top: 24px; overflow: hidden; }
.lla-mkt-landing__notif { left: 210px; top: 0; }
.lla-mkt-landing[data-notif] .lla-mkt-landing__notif { opacity: 1; transform: none; }

.lla-mkt-lp { display: flex; flex-direction: column; gap: 10px; padding: 0 0 12px; font-size: 11px; }
.lla-mkt-lp__nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--lla-border); }
.lla-mkt-lp__nav b { color: var(--lla-brand); font-size: 13px; font-weight: 800; }
.lla-mkt-lp__nav span { display: flex; gap: 14px; color: var(--lla-muted); font-size: 10.5px; }
.lla-mkt-lp__hero { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 120px; margin: 0 16px; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, #e8f3ee, #f8faf9); }
.lla-mkt-lp__hero > b { max-width: 70%; color: #1b4332; font-size: 20px; font-weight: 800; line-height: 1.1; }
.lla-mkt-lp__hero > small { color: #40916c; font-size: 11px; }
.lla-mkt-lp__btn { display: inline-flex; align-items: center; justify-content: center; padding: 6px 14px; border-radius: 8px; background: var(--lla-brand); color: #fff; font-size: 10.5px; font-weight: 700; transition: transform .15s var(--lla-ease), background-color .3s var(--lla-ease); }
.lla-mkt-lp__btn.is-pressed { transform: scale(.95); }
.lla-mkt-lp__art { position: absolute; right: 22px; top: 50%; color: #2d6a4f; font-size: 56px; opacity: .85; transform: translateY(-50%); }
.lla-mkt-lp__benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 16px; }
.lla-mkt-lp__benefits > span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 58px; padding: 8px; border: 1px solid var(--lla-border); border-radius: 10px; text-align: center; }
.lla-mkt-lp__benefits .bi { color: var(--lla-brand); font-size: 18px; }
.lla-mkt-lp__benefits small { font-size: 10px; font-weight: 600; }
.lla-mkt-lp__form { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0 16px; padding: 12px; border-radius: 12px; background: var(--lla-surface); }
.lla-mkt-lp__form > b { font-size: 12px; font-weight: 700; }
.lla-mkt-lp__in { position: relative; display: flex; align-items: center; height: 26px; padding: 0 9px; overflow: hidden; border: 1px solid var(--lla-border-2); border-radius: 7px; background: #fff; white-space: nowrap; }
.lla-mkt-lp__in em { position: absolute; left: 9px; color: #adb5bd; }
.lla-mkt-lp__in [data-ref]:not(:empty) + em { display: none; }
.lla-mkt-lp__btn--wide { width: 100%; }
.lla-mkt-lp__send-b { display: none; }
.lla-mkt-landing[data-sent] .lla-mkt-lp--m .lla-mkt-lp__send-a { display: none; }
.lla-mkt-landing[data-sent] .lla-mkt-lp--m .lla-mkt-lp__send-b { display: inline; }
.lla-mkt-landing[data-sent] .lla-mkt-lp--m [data-ref="send"] { background: #198754; }

/* Boceto -> página terminada */
.lla-mkt-lp__sk { display: block; border-radius: 6px; background: #e5e7eb; animation: lla-mkt-sk 1.4s ease-in-out infinite; }
.lla-mkt-lp__sk--title { width: 60%; height: 22px; }
.lla-mkt-lp__sk--line { width: 40%; height: 12px; }
.lla-mkt-lp__sk--box { position: absolute; inset: 8px; }
.lla-mkt-lp__sk--form { position: absolute; inset: 12px; }
.lla-mkt-lp__real { opacity: 0; transition: opacity .5s var(--lla-ease); }
.lla-mkt-landing[data-built] .lla-mkt-lp__sk { display: none; }
.lla-mkt-landing[data-built] .lla-mkt-lp__real { opacity: 1; }
.lla-mkt-landing:not([data-built]) .lla-mkt-lp__hero { background: #f3f4f6; }

/* Versión celular */
.lla-mkt-lp--m { gap: 8px; font-size: 10px; }
.lla-mkt-lp--m .lla-mkt-lp__nav { padding: 8px 10px; }
.lla-mkt-lp--m .lla-mkt-lp__hero { min-height: 96px; margin: 0 8px; padding: 12px; }
.lla-mkt-lp--m .lla-mkt-lp__hero > b { max-width: 100%; font-size: 15px; }
.lla-mkt-lp--m .lla-mkt-lp__art { display: none; }
.lla-mkt-lp--m .lla-mkt-lp__benefits { display: none; }
.lla-mkt-lp--m .lla-mkt-lp__form { margin: 0 8px; padding: 10px; }

/* ---------- Celular angosto: escala solo (sin cambios de acomodo) ---------- */
@container (max-width: 479px) {
  .lla-mkt__notif { font-size: 13px; }
  .lla-mkt-report__tag { font-size: 12px; }
  .lla-mkt-report__tag b { font-size: 12.5px; }
  .lla-mkt-report__stat { font-size: 11px; }
}

@keyframes lla-mkt-pulse { 50% { opacity: .35; } }
@keyframes lla-mkt-sk { 50% { opacity: .55; } }
@keyframes lla-mkt-drop { from { transform: translateY(-12px) scale(.9); } to { transform: none; } }
@keyframes lla-mkt-press { 50% { transform: scale(.85); } }
@keyframes lla-mkt-ripple {
  0% { opacity: .9; transform: scale(.4); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* Reset suave: todo el contenido se desvanece (las escenas de marketing no usan .lla-fade) */
.lla-mkt .lla__canvas > *:not(.lla-mkt__glow) { transition: opacity .4s var(--lla-ease); }
.lla-mkt[data-fade] .lla__canvas > *:not(.lla-mkt__glow) { opacity: 0; }

/* ---------- mkt-email (Campañas de correo, ll-email-campaigns.vue) ----------
   Estados: data-m edit|send · data-list (menú Añadir bloque) · data-btnblock (bloque Botón agregado)
            data-v2 (vista previa actualizada) · data-refreshing · data-saved (renglón en la lista)
            data-st draft|sending|sent · data-focus title · data-going (Enviar con spinner) */
.lla .lla-mkt-email__stage { --lla-w: 680; --lla-h: 460; }
.lla-mkt-email { max-width: 680px; }
.lla-mkt-email__win { left: 0; top: 4px; width: 680px; height: 452px; }
.lla-mkt-email__panel { position: relative; height: calc(100% - 30px); padding: 14px; background: #f5f7fb; font-size: 10.5px; }
.lla-mkt-email__list { overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(22, 34, 58, .1); }
.lla-mkt-email__lhead { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
.lla-mkt-email__lhead b { font-size: 15px; font-weight: 600; }
.lla-mkt-email__btn { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border: 1px solid var(--lla-primary); border-radius: 6px; background: var(--lla-primary); color: #fff; font-size: 10.5px; font-weight: 600; white-space: nowrap; transition: transform .15s var(--lla-ease); }
.lla-mkt-email__btn.is-pressed { transform: scale(.94); }
.lla-mkt-email__btn--outline { background: #fff; color: var(--lla-primary); }
.lla-mkt-email__btn--outline .bi-chevron-down { font-size: 8px; }
.lla-mkt-email__btn--gray { border-color: #6c757d; background: #6c757d; }
.lla-mkt-email__tr { display: grid; grid-template-columns: 1.3fr 1.6fr .9fr 1.1fr .8fr 1fr; align-items: center; gap: 6px; padding: 9px 14px; border-top: 1px solid var(--lla-border); }
.lla-mkt-email__tr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lla-mkt-email__tr b { font-weight: 700; }
.lla-mkt-email__tr--head { background: var(--lla-surface); color: var(--lla-muted); font-size: 9.5px; font-weight: 600; }
.lla-mkt-email__c { text-align: center; }
.lla-mkt-email__end { text-align: right; }
.lla-mkt-email__tr--new { display: none; }
.lla-mkt-email[data-saved] .lla-mkt-email__tr--new { display: grid; animation: lla-mkt-arrive 2s var(--lla-ease) both; }
.lla-mkt-email__badge { display: inline-block; padding: 2px 7px; border-radius: 5px; font-size: 9px; font-weight: 600; }
.lla-mkt-email__badge--draft { border: 1px solid var(--lla-border-2); background: #f8f9fa; color: #1e2022; }
.lla-mkt-email__badge--sending { background: #0dcaf0; color: #1e2022; }
.lla-mkt-email__badge--sent { background: #198754; color: #fff; }
.lla-mkt-email__st-sending, .lla-mkt-email__st-sent { display: none; }
.lla-mkt-email[data-st="sending"] .lla-mkt-email__st-draft,
.lla-mkt-email[data-st="sent"] .lla-mkt-email__st-draft { display: none; }
.lla-mkt-email[data-st="sending"] .lla-mkt-email__st-sending,
.lla-mkt-email[data-st="sent"] .lla-mkt-email__st-sent { display: inline-block; }
.lla-mkt-email__opened { display: none; color: #1e2022; }
.lla-mkt-email__opened .bi { margin-right: 3px; color: var(--lla-muted); }
.lla-mkt-email__opened small { color: var(--lla-muted); }
.lla-mkt-email__opened--on,
.lla-mkt-email[data-st="sent"] .lla-mkt-email__opened { display: inline; }
.lla-mkt-email[data-st="sent"] .lla-mkt-email__dash { display: none; }
.lla-mkt-email__dash { color: var(--lla-muted); }
.lla-mkt-email__acts { display: flex; justify-content: flex-end; gap: 3px; }
.lla-mkt-email__acts .bi { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid; border-radius: 4px; font-size: 9px; transition: transform .15s var(--lla-ease), background-color .2s; }
.lla-mkt-email__a--info { color: #0dcaf0; }
.lla-mkt-email__a--success { color: #198754; }
.lla-mkt-email__a--danger { color: #dc3545; }
.lla-mkt-email__acts .bi.is-pressed { transform: scale(.86); background: #198754; color: #fff; }

.lla-mkt-email__backdrop { position: absolute; inset: 0; z-index: 4; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .3s var(--lla-ease); }
.lla-mkt-email[data-m] .lla-mkt-email__backdrop { opacity: 1; }
.lla-mkt-email__modal { position: absolute; z-index: 5; display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .3s var(--lla-ease), transform .35s var(--lla-ease); }
.lla-mkt-email[data-m="edit"] .lla-mkt-email__modal--edit,
.lla-mkt-email[data-m="send"] .lla-mkt-email__modal--send { opacity: 1; transform: none; }
.lla-mkt-email__modal--edit { top: 6px; left: 8px; right: 8px; bottom: 6px; }
.lla-mkt-email__modal--send { top: 40px; left: 50%; width: 330px; margin-left: -165px; }
.lla-mkt-email__mhead { display: flex; flex: none; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--lla-border); }
.lla-mkt-email__mhead b { font-size: 13px; font-weight: 600; }
.lla-mkt-email__mhead span { color: var(--lla-muted); font-size: 16px; line-height: 1; }
.lla-mkt-email__mbody { display: flex; flex: 1; gap: 12px; min-height: 0; padding: 10px 14px; overflow: hidden; }
.lla-mkt-email__mfoot { display: flex; flex: none; justify-content: flex-end; gap: 6px; padding: 7px 14px; border-top: 1px solid var(--lla-border); }

.lla-mkt-email__editor { display: flex; flex: 1.25; flex-direction: column; gap: 6px; min-width: 0; }
.lla-mkt-email__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lla-mkt-email__grid2 > span { display: flex; flex-direction: column; gap: 2px; }
.lla-mkt-email__grid2 small { font-size: 9px; font-weight: 600; }
.lla-mkt-email__in { display: flex; align-items: center; height: 22px; padding: 0 7px; overflow: hidden; border: 1px solid var(--lla-border-2); border-radius: 5px; font-size: 9.5px; white-space: nowrap; transition: border-color .2s var(--lla-ease); }
.lla-mkt-email[data-focus="title"] [data-ref="f-title"] { border-color: var(--lla-primary); box-shadow: 0 0 0 2px rgba(55, 125, 255, .12); }
.lla-mkt-email__in--sel { justify-content: space-between; }
.lla-mkt-email__in--sel .bi { font-size: 8px; color: var(--lla-muted); }
.lla-mkt-email__addwrap { position: relative; align-self: flex-start; }
.lla-mkt-email__addwrap .lla-mkt-email__btn { padding: 3px 9px; font-size: 9.5px; }
.lla-mkt-email__menu { position: absolute; top: 24px; left: 0; z-index: 3; display: none; flex-direction: column; min-width: 120px; padding: 3px 0; border: 1px solid var(--lla-border-2); border-radius: 6px; background: #fff; box-shadow: 0 8px 20px rgba(22, 34, 58, .18); }
.lla-mkt-email[data-list] .lla-mkt-email__menu { display: flex; }
.lla-mkt-email__menu i { display: flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: 10px; }
.lla-mkt-email__menu i.is-pressed { background: rgba(55, 125, 255, .1); }
.lla-mkt-email__block { display: flex; flex-direction: column; gap: 3px; padding: 6px 9px; border: 1px solid var(--lla-border); border-radius: 7px; }
.lla-mkt-email__block > b { font-size: 8.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lla-mkt-email__block > small { color: var(--lla-muted); font-size: 8.5px; }
.lla-mkt-email__rte { padding: 5px 7px; border: 1px solid var(--lla-border-2); border-radius: 5px; font-size: 9px; line-height: 1.35; }
.lla-mkt-email__block--btn { display: none; }
.lla-mkt-email[data-btnblock] .lla-mkt-email__block--btn { display: flex; border-color: var(--lla-primary); animation: lla-mkt-drop .4s var(--lla-ease) both; }

.lla-mkt-email__preview { display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 0; }
.lla-mkt-email__ptitle { display: flex; align-items: center; justify-content: space-between; }
.lla-mkt-email__ptitle small { font-size: 9.5px; font-weight: 600; }
.lla-mkt-email__ptitle i { display: inline-flex; align-items: center; gap: 3px; color: var(--lla-primary); font-size: 9.5px; transition: transform .15s var(--lla-ease); }
.lla-mkt-email__ptitle i.is-pressed { transform: scale(.92); }
.lla-mkt-email__mail { flex: 1; overflow: hidden; padding: 10px; border: 1px solid var(--lla-border); border-radius: 6px; background: #f3f4f6; transition: opacity .25s var(--lla-ease); }
.lla-mkt-email[data-refreshing] .lla-mkt-email__mail { opacity: .3; }
.lla-mkt-email__mail-head { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border-radius: 8px 8px 0 0; background: #fff; border-bottom: 3px solid var(--lla-brand); }
.lla-mkt-email__mail-head .lla-mkt__avatar { width: 26px; height: 26px; font-size: 9px; }
.lla-mkt-email__mail-head b { color: var(--lla-brand); font-size: 12px; font-weight: 800; }
.lla-mkt-email__mail-body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 12px; background: #fff; text-align: center; }
.lla-mkt-email__mail-h { font-size: 14px; font-weight: 800; line-height: 1.2; }
.lla-mkt-email__mail-body p { color: #4b5563; font-size: 10px; line-height: 1.45; }
.lla-mkt-email__mail-btn { padding: 7px 16px; border-radius: 6px; background: var(--lla-brand); color: #fff; font-size: 10.5px; font-weight: 700; }
.lla-mkt-email__v2 { display: none; }
.lla-mkt-email[data-v2] .lla-mkt-email__v1 { display: none; }
.lla-mkt-email[data-v2] .lla-mkt-email__v2 { display: block; }
.lla-mkt-email[data-v2] .lla-mkt-email__mail-btn { display: inline-block; }
.lla-mkt-email__mail-foot { display: block; padding: 8px; color: #9ca3af; font-size: 8.5px; text-align: center; }

.lla-mkt-email__sbody { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; font-size: 11px; }
.lla-mkt-email__sbody p b { font-weight: 700; }
.lla-mkt-email__sbody > small { font-size: 10px; }
.lla-mkt-email__radios { display: flex; gap: 14px; margin-top: 2px; }
.lla-mkt-email__radios span { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; }
.lla-mkt-email__radios i { position: relative; width: 11px; height: 11px; border: 1.5px solid #adb5bd; border-radius: 50%; }
.lla-mkt-email__radios .is-on i { border-color: var(--lla-primary); }
.lla-mkt-email__radios .is-on i::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--lla-primary); }
.lla-mkt-email__alert { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 6px; background: #fff3cd; color: #664d03; font-size: 10px; }
.lla-mkt-email__go-b { display: none; align-items: center; gap: 5px; }
.lla-mkt-email__go-b .lla-spinner { width: 10px; height: 10px; }
.lla-mkt-email[data-going] .lla-mkt-email__go-a { display: none; }
.lla-mkt-email[data-going] .lla-mkt-email__go-b { display: inline-flex; }

@keyframes lla-mkt-arrive {
  0% { transform: translateY(-8px); background-color: #fff7d6; }
  15% { transform: none; }
  70% { background-color: #fff7d6; }
  100% { background-color: transparent; }
}
