/* Arkimidez · portafolio en ads.arkimidez.com (módulo aparte del sitio; todo con prefijo akp-) */
.akp, .akp-tt, .akp-modal, .akp-lb {
  --akp-ink: #111114;
  --akp-ink-2: #1a1a20;
  --akp-muted: #6b6b75;
  --akp-muted-2: #9c9ca5;
  --akp-line: #e3e3e8;
  --akp-bg: #f0f0ee;
  --akp-green: #16a34a;
  --akp-green-h: #15803d;
  --akp-acid: #9fff00;
  --akp-med: #1e3a8a;
  --akp-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--akp-font);
}
.akp *, .akp *::before, .akp *::after, .akp-tt *, .akp-modal *, .akp-lb * { box-sizing: border-box; }
.akp { position: relative; background: var(--akp-bg); color: var(--akp-ink); padding: 64px 0 0; overflow: hidden; }
.akp-inner { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .akp-inner { padding: 0 32px; } }
@media (min-width: 1024px) { .akp-inner { padding: 0 48px; } .akp { padding-top: 96px; } }

/* ---------- textos ---------- */
.akp-eyebrow { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--akp-line); background: #fff; border-radius: 999px; padding: 7px 14px 7px 12px; font-size: 13px; font-weight: 500; color: var(--akp-ink); }
.akp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--akp-acid); box-shadow: 0 0 0 4px rgba(159, 255, 0, .25); flex: none; }
.akp-h2 { font-weight: 500; letter-spacing: -.03em; line-height: 1.06; font-size: clamp(2rem, 7.2vw, 4.2rem); margin: 18px 0 14px; max-width: 15ch; color: var(--akp-ink); }
.akp-lead { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6; color: var(--akp-muted); max-width: 44rem; margin: 0; }
.akp-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--akp-muted); }
.akp-kicker::before { content: ""; width: 8px; height: 8px; background: var(--akp-ink); border-radius: 2px; transform: rotate(45deg); }
.akp-h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2rem, 5.4vw, 3.4rem); margin: 12px 0 14px; color: var(--akp-ink); }
.akp-desc { font-size: 15px; line-height: 1.6; color: var(--akp-muted); margin: 0; max-width: 34rem; }
.akp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.akp-chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--akp-line); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 500; color: var(--akp-ink); }
.akp-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--akp-green); flex: none; }
.akp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; }

/* ---------- botones (mismo lenguaje que el sitio) ---------- */
.akp-btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .65rem; border-radius: 999px; padding: .5rem .5rem .5rem 1.4rem; font: 500 14px/1 var(--akp-font); text-decoration: none; transition: background .3s ease, transform .2s ease; }
.akp-btn .akp-arrow { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 999px; transition: transform .45s cubic-bezier(.25, .1, .25, 1); }
.akp-btn:hover .akp-arrow { transform: rotate(-45deg); }
.akp-btn svg { width: 14px; height: 14px; }
.akp-btn--green { background: var(--akp-green); color: #fff; }
.akp-btn--green:hover { background: var(--akp-green-h); }
.akp-btn--green .akp-arrow { background: #fff; color: var(--akp-green); }
.akp-btn--dark { background: var(--akp-ink); color: #fff; }
.akp-btn--dark:hover { background: #000; }
.akp-btn--dark .akp-arrow { background: var(--akp-acid); color: var(--akp-ink); }
.akp-btn--acid { background: var(--akp-acid); color: var(--akp-ink); font-weight: 600; }
.akp-btn--acid .akp-arrow { background: var(--akp-ink); color: var(--akp-acid); }
.akp-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--akp-muted); text-decoration: none; padding: 8px 0; }
.akp-link:hover { color: var(--akp-ink); }
.akp-btn:focus-visible, .akp-link:focus-visible, .akp-explore:focus-visible, .akp-sound:focus-visible { outline: 3px solid var(--akp-acid); outline-offset: 3px; }

/* ---------- tarjeta TikTok ---------- */
.akp-tt { width: min(70vw, 270px); margin: 30px auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.akp-tt-card { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.akp-tt-card video, .akp-tt-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.akp-tt-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0, transparent 22%, transparent 62%, rgba(0, 0, 0, .7) 100%); pointer-events: none; }
.akp-tt-top { position: absolute; top: 12px; left: 14px; right: 14px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 12px; font-weight: 600; }
.akp-tt-top svg { width: 18px; height: 18px; }
.akp-tt-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .35); padding: 4px 8px; border-radius: 999px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.akp-tt-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff2d55; }
.akp-tt-side { position: absolute; right: 10px; bottom: 74px; z-index: 2; display: flex; flex-direction: column; gap: 14px; color: #fff; }
.akp-tt-side svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.akp-tt-meta { position: absolute; left: 14px; right: 52px; bottom: 16px; z-index: 2; color: #fff; }
.akp-tt-meta b { display: block; font-size: 13.5px; font-weight: 700; }
.akp-tt-meta span { display: block; font-size: 12.5px; line-height: 1.35; opacity: .92; margin-top: 3px; }
.akp-tt .akp-btn { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.akp-tt .akp-link { font-size: 12.5px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.akp-tt.is-hero { position: absolute; z-index: 6; right: clamp(24px, 4.2vw, 76px); top: 50%; transform: translateY(-44%); width: clamp(200px, 15vw, 238px); margin: 0; animation: akp-in .9s cubic-bezier(.2, .7, .2, 1) both .4s; }
.akp-tt.is-hero .akp-link { color: var(--akp-muted); }
@keyframes akp-in { from { opacity: 0; transform: translateY(-38%) scale(.96); } to { opacity: 1; transform: translateY(-44%) scale(1); } }
.akp-tt-slot { display: flex; justify-content: center; }

/* ---------- casos ---------- */
.akp-case { display: grid; gap: 30px; margin-top: 72px; align-items: center; }
.akp-case + .akp-case { margin-top: 96px; }
@media (min-width: 1024px) {
  .akp-case { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; margin-top: 104px; }
  .akp-case + .akp-case { margin-top: 140px; }
  .akp-case--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .akp-case--flip .akp-case-copy { order: 2; }
  .akp-case--flip .akp-stage { order: 1; }
  .akp-case .akp-case-wide { order: 3; }
}

/* escenario con parallax */
.akp-stage { position: relative; perspective: 1500px; padding: 10px 0 20px; --akp-ty: 0px; --akp-rx: 0deg; --akp-s: 1; --akp-py: 0px; --akp-wx: 0%; --akp-fy: 0px; }
.akp-bigword { position: absolute; left: 50%; top: 46%; transform: translate(calc(-50% + var(--akp-wx)), -50%); font-size: clamp(5.5rem, 19vw, 15rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(17, 17, 20, .09); pointer-events: none; user-select: none; z-index: 0; }
.akp-device { position: relative; z-index: 1; margin: 0 auto; transform-style: preserve-3d; transform: translateY(var(--akp-ty)) rotateX(var(--akp-rx)) scale(var(--akp-s)); will-change: transform; }

/* laptop */
.akp-laptop { width: 100%; max-width: 780px; display: none; }
.akp-laptop-lid { background: linear-gradient(180deg, #19191d, #0b0b0d); border-radius: 18px 18px 8px 8px; padding: 2.1% 2.1% 2.6%; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; position: relative; }
.akp-laptop-lid::before { content: ""; position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2a2a30; }
.akp-laptop-base { position: relative; height: 16px; width: 114%; margin-left: -7%; background: linear-gradient(180deg, #e4e4e8 0, #b9b9c1 60%, #8e8e96 100%); border-radius: 2px 2px 20px 20px; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .45); }
.akp-laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 6px; transform: translateX(-50%); background: #a3a3ab; border-radius: 0 0 10px 10px; }
.akp-laptop .akp-screen { aspect-ratio: 16 / 10; border-radius: 6px; }

/* teléfono */
.akp-phone { width: min(72vw, 300px); background: linear-gradient(160deg, #26262c, #0b0b0d 40%); border-radius: 46px; padding: 10px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .07) inset, 0 0 0 2px #2c2c33; }
.akp-phone .akp-screen { aspect-ratio: 390 / 844; border-radius: 36px; }
.akp-phone::after { content: ""; position: absolute; z-index: 4; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #000; border-radius: 999px; }

.akp-screen { position: relative; overflow: hidden; background: #0b0b0d; isolation: isolate; }
.akp-poster { position: absolute; top: 0; left: 0; width: 100%; height: auto; transform: translateY(var(--akp-py)); will-change: transform; transition: opacity .45s ease; }
.akp-frame { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; opacity: 0; pointer-events: none; transition: opacity .45s ease; background: #fff; }
.akp-screen.is-live .akp-frame { opacity: 1; }
.akp-screen.is-live .akp-poster { opacity: 0; }
.akp-screen.is-interactive .akp-frame { pointer-events: auto; }
.akp-explore { position: absolute; z-index: 5; left: 50%; bottom: 7%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; border: 0; cursor: pointer; background: rgba(17, 17, 20, .86); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: 10px 16px 10px 12px; font: 600 13px/1 var(--akp-font); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.akp-explore:hover { transform: translateX(-50%) scale(1.04); background: #000; }
.akp-explore i { width: 26px; height: 26px; border-radius: 50%; background: var(--akp-acid); color: var(--akp-ink); display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.akp-explore svg { width: 14px; height: 14px; }
.akp-screen.is-interactive .akp-explore { opacity: 0; pointer-events: none; }
.akp-screen.is-loading .akp-explore i { animation: akp-spin 1s linear infinite; }
@keyframes akp-spin { to { transform: rotate(360deg); } }
.akp-exit { position: absolute; z-index: 6; top: 10px; right: 10px; display: none; align-items: center; gap: 6px; border: 0; cursor: pointer; background: var(--akp-ink); color: #fff; border-radius: 999px; padding: 7px 12px; font: 600 12px/1 var(--akp-font); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.akp-screen.is-interactive .akp-exit { display: inline-flex; }
.akp-phone .akp-exit { top: 44px; }
.akp-device-note { text-align: center; margin: 22px auto 0; font-size: 12px; color: var(--akp-muted-2); max-width: 30rem; position: relative; z-index: 1; }

@media (min-width: 1024px) {
  .akp-case--laptop .akp-laptop { display: block; }
  .akp-case--laptop .akp-phone { display: none; }
  .akp-case--laptop .akp-device-note { padding-left: 190px; }
  .akp-case--phone .akp-device-note { margin-left: 18%; max-width: 24rem; }
}

/* video flotante dentro del escenario */
.akp-vcard { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.akp-vcard video, .akp-vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.akp-vcard-tag { position: absolute; z-index: 2; left: 10px; top: 10px; background: rgba(0, 0, 0, .55); color: #fff; border-radius: 999px; padding: 5px 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.akp-sound { position: absolute; z-index: 3; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0, 0, 0, .6); color: #fff; display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.akp-sound svg { width: 18px; height: 18px; }
.akp-sound .on { display: none; }
.akp-vcard.is-sound .akp-sound .on { display: block; }
.akp-vcard.is-sound .akp-sound .off { display: none; }
.akp-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--akp-ink); display: none; align-items: center; justify-content: center; cursor: pointer; }
.akp-vcard.is-paused .akp-play { display: inline-flex; }
.akp-play svg { width: 22px; height: 22px; margin-left: 3px; }

.akp-float { width: min(48vw, 210px); margin: 26px auto 0; transform: translateY(var(--akp-fy)); will-change: transform; z-index: 3; }
@media (min-width: 1024px) {
  .akp-float { position: absolute; margin: 0; width: clamp(150px, 14vw, 200px); }
  .akp-case--laptop .akp-float { left: -2%; bottom: -6%; }
  .akp-case--phone .akp-float { right: 4%; bottom: 4%; }
  .akp-case--phone .akp-device { margin-left: 18%; }
}

/* galería horizontal */
.akp-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 18px; margin: 30px -20px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.akp-strip::-webkit-scrollbar { display: none; }
.akp-strip > * { scroll-snap-align: center; flex: none; }
.akp-strip img { width: min(64vw, 260px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; background: #e8e8ec; box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .45); display: block; cursor: zoom-in; }
@media (min-width: 640px) { .akp-strip { margin: 34px -32px 0; padding: 6px 32px 18px; } }
@media (min-width: 1024px) { .akp-strip { margin: 40px -48px 0; padding: 6px 48px 18px; } .akp-strip img { width: 230px; } }
.akp-strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 46px; }
.akp-strip-head h4 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--akp-ink); }
.akp-strip-head span { font-size: 12.5px; color: var(--akp-muted-2); }
.akp-case-wide { grid-column: 1 / -1; }

/* ---------- motion graphics médicos ---------- */
.akp-motion { margin-top: 110px; }
.akp-med-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--akp-med); }
.akp-med-eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--akp-med); border-radius: 2px; transform: rotate(45deg); }
.akp-motion .akp-h3 { max-width: 18ch; }
.akp-motion-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 18px; margin: 30px -20px 0; scrollbar-width: none; }
.akp-motion-grid::-webkit-scrollbar { display: none; }
.akp-motion-item { flex: none; width: min(68vw, 280px); scroll-snap-align: center; margin: 0; }
.akp-motion-item figcaption { margin-top: 12px; }
.akp-motion-item b { display: block; font-size: 14.5px; font-weight: 700; color: var(--akp-ink); }
.akp-motion-item span { display: block; font-size: 13px; color: var(--akp-muted); margin-top: 2px; }
@media (min-width: 640px) { .akp-motion-grid { margin: 34px -32px 0; padding: 8px 32px 18px; } }
@media (min-width: 1024px) {
  .akp-motion-grid { overflow: visible; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 44px 0 0; padding: 0; max-width: 1040px; }
  .akp-motion-item { width: auto; }
  .akp-motion-item:nth-child(2) { transform: translateY(var(--akp-m2, 0px)); }
}
.akp-motion .akp-vcard { aspect-ratio: 9 / 16; }

/* ---------- sistema / CRM (banda oscura) ---------- */
.akp-crm { position: relative; margin-top: 120px; background: #0d0d10; color: #fff; padding: 84px 0 96px; overflow: hidden; }
.akp-crm::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0, transparent 75%); pointer-events: none; }
.akp-crm::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(159, 255, 0, .16), transparent 65%); pointer-events: none; }
.akp-crm .akp-inner { position: relative; z-index: 1; }
.akp-crm .akp-eyebrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.akp-crm .akp-h2 { color: #fff; max-width: 17ch; }
.akp-crm .akp-h2 em { font-style: normal; color: var(--akp-acid); }
.akp-crm .akp-lead { color: rgba(255, 255, 255, .72); }
.akp-crm-grid { display: grid; gap: 44px; margin-top: 44px; }
@media (min-width: 1024px) { .akp-crm-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; margin-top: 60px; } }
.akp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: akp; }
.akp-steps li { counter-increment: akp; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.akp-steps.is-in li { opacity: 1; transform: none; }
.akp-steps li::before { content: counter(akp, decimal-leading-zero); width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(159, 255, 0, .1); color: var(--akp-acid); font-weight: 700; font-size: 13px; border: 1px solid rgba(159, 255, 0, .25); }
.akp-steps b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.akp-steps span { display: block; font-size: 14px; color: rgba(255, 255, 255, .62); margin-top: 3px; line-height: 1.5; }
.akp-crm-close { margin-top: 28px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 32rem; }
.akp-crm-close b { color: var(--akp-acid); font-weight: 600; }

.akp-crm-visual { position: relative; padding-bottom: 40px; }
.akp-board { background: #16161b; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); overflow: hidden; }
.akp-board-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: rgba(255, 255, 255, .6); }
.akp-board-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a42; display: inline-block; }
.akp-board-bar i:nth-child(1) { background: #ff5f57; } .akp-board-bar i:nth-child(2) { background: #febc2e; } .akp-board-bar i:nth-child(3) { background: #28c840; }
.akp-board-bar span { margin-left: 8px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.akp-board-bar em { margin-left: auto; font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.akp-filters { display: flex; gap: 6px; padding: 10px 14px 0; flex-wrap: wrap; }
.akp-filters span { font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .7); }
.akp-filters span:first-child { background: var(--akp-acid); color: var(--akp-ink); }
.akp-cols { display: grid; grid-template-columns: repeat(4, minmax(118px, 1fr)); gap: 8px; padding: 12px 14px 16px; min-height: 250px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.akp-cols::-webkit-scrollbar { display: none; }
.akp-col { background: rgba(255, 255, 255, .03); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.akp-col h5 { margin: 2px 2px 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: rgba(255, 255, 255, .55); display: flex; justify-content: space-between; gap: 4px; white-space: nowrap; overflow: hidden; }
.akp-col h5 b { color: rgba(255, 255, 255, .85); font-weight: 700; }
.akp-lead-card { background: #1f1f26; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 8px; font-size: 11px; line-height: 1.3; min-width: 0; transition: box-shadow .3s ease, border-color .3s ease; }
.akp-lead-card b { display: block; font-size: 11.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.akp-lead-card small { display: inline-block; margin-top: 5px; padding: 2px 6px; border-radius: 999px; font-size: 9.5px; font-weight: 700; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.akp-lead-card small.meta { background: rgba(24, 119, 242, .2); color: #8fb8ff; }
.akp-lead-card small.wa { background: rgba(37, 211, 102, .18); color: #7ee3a8; }
.akp-lead-card small.web { background: rgba(159, 255, 0, .14); color: var(--akp-acid); }
.akp-lead-card small.g { background: rgba(251, 188, 5, .16); color: #ffd666; }
.akp-lead-card.is-hot { border-color: rgba(159, 255, 0, .7); box-shadow: 0 0 0 3px rgba(159, 255, 0, .15); }
.akp-board-note { padding: 0 14px 14px; font-size: 10.5px; color: rgba(255, 255, 255, .35); }
.akp-toast { position: absolute; z-index: 3; left: 14px; top: -18px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--akp-ink); border-radius: 999px; padding: 8px 14px 8px 10px; font-size: 12px; font-weight: 600; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.akp-toast.is-on { opacity: 1; transform: none; }
.akp-toast i { width: 22px; height: 22px; border-radius: 50%; background: var(--akp-acid); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; }

.akp-chatphone { position: relative; width: min(78vw, 290px); margin: -20px 0 0 auto; background: #0b0b0d; border-radius: 40px; padding: 9px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1) inset; z-index: 2; }
@media (min-width: 1024px) { .akp-chatphone { position: absolute; right: -10px; bottom: -40px; margin: 0; width: 270px; } .akp-crm-visual { padding: 0 140px 120px 0; } }
.akp-chat { background: #ece5dd; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; height: 470px; }
.akp-chat-head { background: #075e54; color: #fff; padding: 30px 14px 10px; display: flex; align-items: center; gap: 10px; }
.akp-chat-head i { width: 30px; height: 30px; border-radius: 50%; background: var(--akp-acid); color: var(--akp-ink); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 12px; }
.akp-chat-head b { display: block; font-size: 13px; }
.akp-chat-head small { display: block; font-size: 10.5px; opacity: .8; }
.akp-chat-body { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; justify-content: flex-end; }
.akp-msg { max-width: 82%; padding: 7px 9px 5px; border-radius: 10px; font-size: 12px; line-height: 1.35; color: #111; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s ease, transform .35s ease; }
.akp-msg.is-on { opacity: 1; transform: none; }
.akp-msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.akp-msg.out { align-self: flex-end; background: #dcf8c6; border-top-right-radius: 2px; }
.akp-msg time { display: block; text-align: right; font-size: 9.5px; color: #667781; margin-top: 2px; }
.akp-msg-sep { align-self: center; font-size: 10px; background: #e1f2fb; color: #54656f; padding: 3px 9px; border-radius: 6px; opacity: 0; transition: opacity .35s ease; }
.akp-msg-sep.is-on { opacity: 1; }
.akp-typing { align-self: flex-start; background: #fff; border-radius: 10px; padding: 8px 10px; display: none; gap: 4px; }
.akp-typing.is-on { display: inline-flex; }
.akp-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa5ac; animation: akp-blink 1.2s infinite; }
.akp-typing i:nth-child(2) { animation-delay: .2s; } .akp-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes akp-blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.akp-badges { position: absolute; z-index: 3; left: -6px; bottom: 30px; display: none; flex-direction: column; gap: 8px; }
@media (min-width: 1024px) { .akp-badges { display: flex; left: auto; right: 296px; bottom: 10px; } }
.akp-badges span { background: rgba(255, 255, 255, .95); color: var(--akp-ink); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 600; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); display: inline-flex; align-items: center; gap: 8px; opacity: 0; transform: translateX(10px); transition: opacity .4s ease, transform .4s ease; }
.akp-badges span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--akp-green); }
.akp-badges span.is-on { opacity: 1; transform: none; }
.akp-crm .akp-actions { margin-top: 30px; }

/* ---------- pantalla completa para explorar en el celular ---------- */
.akp-modal { position: fixed; inset: 0; z-index: 2147483000; background: rgba(10, 10, 12, .92); display: flex; flex-direction: column; opacity: 0; transition: opacity .25s ease; }
.akp-modal.is-open { opacity: 1; }
.akp-modal-bar { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; color: #fff; }
.akp-modal-bar b { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.akp-modal-bar b small { display: block; font-size: 11px; font-weight: 500; opacity: .6; }
.akp-modal-bar a, .akp-modal-bar button { appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 9px 13px; font: 600 12.5px/1 var(--akp-font); text-decoration: none; }
.akp-modal-bar a { background: rgba(255, 255, 255, .12); color: #fff; }
.akp-modal-bar button { background: var(--akp-acid); color: var(--akp-ink); }
.akp-modal-frame { flex: 1; margin: 0 8px calc(8px + env(safe-area-inset-bottom)); border-radius: 22px; overflow: hidden; background: #fff; transform: scale(.94); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.akp-modal.is-open .akp-modal-frame { transform: none; }
.akp-modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
html.akp-lock, html.akp-lock body { overflow: hidden !important; }

/* visor de imágenes */
.akp-lb { position: fixed; inset: 0; z-index: 2147483001; background: rgba(10, 10, 12, .9); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .2s ease; cursor: zoom-out; }
.akp-lb.is-open { opacity: 1; }
.akp-lb img { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }

/* tarjeta que reemplaza a Altum */
.akp-case-swap .case-media img { object-position: center top; }

@media (prefers-reduced-motion: reduce) {
  .akp-device, .akp-poster, .akp-float { transform: none !important; }
  .akp-steps li, .akp-msg, .akp-badges span { transition: none; }
  .akp-tt.is-hero { animation: none; }
}
