/* Fuente Touche en toda la página */
body.page-email-mkt,
body.page-email-mkt :where(div, section, main, header, footer, p, span, a, li, ul, h1, h2, h3, h4, h5, h6, strong, em, small, b, button, input, textarea, select, label, article, aside, blockquote):not(.emk-dm__demo, .emk-dm__demo *, .eb-prev-modal, .eb-prev-modal *, .eb-modal-overlay, .eb-modal-overlay *, .md3-snackbar, .md3-snackbar *) {
    font-family: 'Touche', 'touche', sans-serif;
}

/* ==========================================================================
   FLOATING CTA + NAVBAR (mismo patrón que fix_agente)
   ========================================================================== */

.floating-cta-btn {
    position: fixed;
    top: 13px;
    right: 140px;
    z-index: 1001;
    padding: 10px 26px;
    border-radius: 12px;
    font-family: 'touche', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block;
    white-space: nowrap;
    border: 2px solid transparent;
    height: 40px;
    line-height: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.floating-cta-btn.fcta-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-cta-btn.fcta-dark {
    background: #957afb;
    color: #fff;
    border-color: #957afb;
}

.floating-cta-btn.fcta-dark:hover {
    background: #333;
    border-color: #333;
    text-decoration: none;
}

.floating-cta-btn.fcta-light {
    background: #000000;
    color: #957afb;
    border-color: rgba(0, 0, 0, 0.9);
}

.floating-cta-btn.fcta-light:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
}

.floating-cta-btn:focus:not(:focus-visible) {
    outline: none;
}

.floating-cta-btn:focus-visible {
    outline: 2px solid rgba(168, 156, 247, 0.95);
    outline-offset: 3px;
}

@media screen and (min-width: 992px) {
    body.page-email-mkt .navbar,
    body.page-email-mkt .navbar.scrolled,
    body.page-email-mkt nav.navbar,
    body.page-email-mkt nav.navbar.scrolled {
        background: transparent !important;
        background-color: transparent !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    .navbar.scrolled .nav-actions a[href="/paneldecontrol"],
    .navbar.scrolled .nav-actions a[href="/contactanos"],
    .navbar.scrolled .nav-actions .nav-dashboard-link {
        opacity: 0;
        pointer-events: none;
        width: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

@media screen and (max-width: 991px) {
    .floating-cta-btn {
        display: none !important;
    }

    body.page-email-mkt .navbar,
    body.page-email-mkt .navbar.scrolled,
    body.page-email-mkt nav.navbar,
    body.page-email-mkt nav.navbar.scrolled {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }
}

/* ==========================================================================
   EMAIL MARKETING — HERO (plano: sin sombras ni degradados)
   ========================================================================== */

body.page-email-mkt {
    background: #fff !important;
    font-family: 'touche', sans-serif;
}

.emk-hero {
    --emk-purple: #957afb;
    --emk-purple-strong: #7c5dfa;
    --emk-lilac: #f4efff;
    --emk-line: #e3dafd;
    --emk-ink: #141414;
    --emk-gray: #8b9099;
    --emk-muted: #a3a7af;
    --emk-wine: #6b1d3a;
    --emk-rose: #f1d9d3;
    --emk-cream: #f7efe6;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --emk-cycle: 4800ms;

    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    padding: 190px 30px 100px;
    margin-top: -80px;
    overflow-x: clip;
    background: var(--emk-lilac);
    font-family: 'touche', sans-serif;
}

.emk-hero *,
.emk-hero *::before,
.emk-hero *::after {
    box-sizing: border-box;
}

/* Cubre cualquier franja blanca por encima del hero */
.emk-hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -120px;
    height: 120px;
    background: var(--emk-lilac);
    pointer-events: none;
}

/* Cuadrícula en perspectiva (SVG plano, sin degradados) */
.emk-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.emk-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(110, 80, 230, .07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(110, 80, 230, .07) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 14%, #000 45%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, transparent 14%, #000 45%, #000 80%, transparent 100%);
}

.emk-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 72px;
    width: 1240px;
    max-width: 100%;
    margin: 0 auto;
}

.emk-hero__content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

/* ---------- Jerarquía de texto (igual que fix_agente) ---------- */

.emk-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--emk-purple);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.emk-hero__badge > span { padding-top: 2px; }

.emk-hero__badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.emk-hero__title {
    margin: 18px 0 0;
    font-family: inherit;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.23;
    letter-spacing: -0.01em;
    color: var(--emk-ink);
}

.emk-hero__title > * { display: block; }

.emk-hero__title-line { font-weight: 500; }

.emk-hero__title-accent {
    margin-top: 0.06em;
    color: var(--emk-purple);
    font-size: 1.18em;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    white-space: nowrap;
}

.emk-hero__description {
    margin: 18px 0 0;
    max-width: 34em;
    color: var(--emk-gray);
    font-size: 20px;
    font-weight: 200;
    line-height: 1.35;
}

/* ---------- Pestañas de tipo de campaña ---------- */

.emk-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
    max-width: 680px;
    container-type: inline-size;
}

.emk-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    aspect-ratio: 1 / 1;
    min-width: 0;
    padding: 12% 8px 8%;
    overflow: hidden;
    font-family: inherit;
    border: 1.5px solid var(--emk-purple);
    border-radius: 18px;
    background: #fff;
    color: var(--emk-purple);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--emk-ease);
    -webkit-tap-highlight-color: transparent;
}

.emk-tab svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: transform 0.35s var(--emk-ease);
}

.emk-tab__name {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: clamp(10px, 2.2cqw, 14px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}

.emk-tab__auto {
    display: block;
    flex: 0 0 auto;
    margin-top: -1px;
    white-space: nowrap;
    font-size: clamp(9px, 1.9cqw, 12px);
    font-weight: 400;
    line-height: 1;
    opacity: 0.8;
}

/* El hover no mueve el botón (evita parpadeo al borde); solo anima el icono */
@media (hover: hover) {
    .emk-tab:not(.is-active):hover { background: #efeafe; }
    .emk-tab:hover svg { transform: scale(1.1) rotate(-4deg); }
}

.emk-tab.is-active {
    background: var(--emk-purple);
    color: #fff;
}

/* Barra de progreso del ciclo automático (oculta) */
.emk-tab__bar {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 0;
    background: #fff;
    opacity: 0.85;
}

.emk-tab.is-active .emk-tab__bar {
    animation: emk-progress var(--emk-cycle) linear forwards;
}

.emk-hero.is-paused .emk-tab.is-active .emk-tab__bar {
    animation: none;
    width: 100%;
}

@keyframes emk-progress {
    from { width: 0; }
    to   { width: 100%; }
}

.emk-tab:focus:not(:focus-visible) { outline: none; }
.emk-tab:focus-visible {
    outline: 2px solid var(--emk-ink);
    outline-offset: 2px;
}

/* ---------- Entrada del copy ---------- */

.emk-hero__content > *,
.emk-hero__title > * {
    animation: emkFadeUp 0.8s var(--emk-ease) both;
}

.emk-hero__badge { animation-delay: 0.06s; }
.emk-hero__title { animation-delay: 0.14s; }
.emk-hero__description { animation-delay: 0.26s; }
.emk-tabs { animation-delay: 0.42s; }
.emk-hero__title-line { animation-delay: 0.14s; }
.emk-hero__title-accent { animation-delay: 0.22s; }

@keyframes emkFadeUp {
    from { opacity: 0; transform: translate3d(0, 16px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ==========================================================================
   MOCKUP (medidas en em: el escenario escala con font-size)
   ========================================================================== */

.emk-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.emk-stage {
    --emk-bezel: 0.8em;
    position: relative;
    width: 56em;
    height: 61em;
    font-size: 10px;
    animation: emkFadeUp 0.8s var(--emk-ease) 0.14s both;
}

.emk-phone {
    position: absolute;
    top: 2.4em;
    left: 29.6em;
    z-index: 2;
    width: 26.4em;
    height: 55.8em;
    overflow: hidden;
    border: 0.2em solid #cfc6ee;
    border-radius: 4.6em;
    background: #fff;
    animation: emkFloat 4.4s ease-in-out infinite reverse;
}

.emk-phone__screen {
    position: absolute;
    inset: var(--emk-bezel);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 3.6em;
    border: 0.1em solid #ecebf1;
    border-radius: 3.85em;
    background: #fff;
}

.emk-phone__notch {
    position: absolute;
    top: calc(var(--emk-bezel) + 0.8em);
    left: 50%;
    z-index: 8;
    width: 7.6em;
    height: 2.25em;
    border-radius: 99px;
    background: #000;
    transform: translateX(-50%);
}

.emk-phone__cam {
    position: absolute;
    top: 50%;
    right: 0.6em;
    width: 1.15em;
    height: 1.15em;
    border-radius: 50%;
    background: #14151c;
    transform: translateY(-50%);
}

.emk-phone__cam::before {
    content: '';
    position: absolute;
    inset: 0.2em;
    border: 0.08em solid #2b3142;
    border-radius: 50%;
    background: #0a1222;
}

.emk-phone__status {
    position: absolute;
    top: calc(var(--emk-bezel) + 0.8em);
    right: var(--emk-bezel);
    left: var(--emk-bezel);
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 2.25em;
    padding: 0 1.7em 0 2.3em;
    color: var(--emk-ink);
}

.emk-phone__status > span:first-child {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.emk-phone__status-ico {
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.emk-phone__status-ico svg {
    display: block;
    width: auto;
    height: 1.05em;
}

.emk-phone__home {
    position: absolute;
    bottom: calc(var(--emk-bezel) + 0.55em);
    left: 50%;
    z-index: 8;
    width: 9.2em;
    height: 0.38em;
    border-radius: 99px;
    background: rgba(20, 20, 20, 0.28);
    transform: translateX(-50%);
}

/* Barra de la app de correo */
.emk-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9em 1.3em 0.6em;
}

.emk-bar__btn,
.emk-bar__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.8em;
    border: 0.1em solid #e6e4ee;
    border-radius: 99px;
    color: var(--emk-ink);
}

.emk-bar__btn { width: 2.8em; }
.emk-bar__nav { gap: 0.5em; padding: 0 1em; color: #9a9aa6; }
.emk-bar svg { width: 1.3em; height: 1.3em; }

.emk-sender {
    display: flex;
    align-items: flex-start;
    gap: 0.9em;
    padding: 0.7em 1.4em 0.9em;
    border-bottom: 0.1em solid #eeedf3;
}

.emk-sender__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.2em;
    height: 3.2em;
    border-radius: 0.8em;
    background: var(--emk-wine);
    transition: background 0.3s ease;
    color: #fff;
    font-size: 1.5em;
    line-height: 1;
}

.emk-sender__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    gap: 0.15em;
}

.emk-sender__info strong {
    display: flex;
    justify-content: space-between;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.2;
    color: var(--emk-ink);
}

.emk-sender__info em {
    font-size: 0.78em;
    font-style: normal;
    font-weight: 400;
    color: #8b8b97;
}

.emk-sender__info > span {
    font-size: 0.95em;
    line-height: 1.25;
    color: #8b8b97;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emk-subject {
    margin: 0;
    padding: 0.9em 1.4em;
    font-size: 1.25em;
    font-weight: 700;
    line-height: 1.2;
    color: var(--emk-ink);
}

/* ---------- Correos (uno por pestaña) ---------- */

.emk-mails {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #ececec;
}

.emk-mail {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--emk-cream);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 1.6em, 0);
    transition: opacity 0.45s ease, transform 0.6s var(--emk-ease), visibility 0s linear 0.45s;
}

.emk-mail.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
}

.emk-mail__brand {
    padding: 1.1em 0 0.9em;
    text-align: center;
    color: var(--emk-wine);
    font-size: 1.45em;
    font-weight: 600;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
}

.emk-mail__btn {
    display: inline-block;
    margin-top: 0.9em;
    padding: 0.75em 1.5em 0.6em;
    background: var(--emk-wine);
    color: #fff;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

/* 1. Masiva */
.emk-mail__hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    min-height: 15.5em;
    background: var(--emk-rose);
}

.emk-mail__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.2em 0.4em 1.2em 1.3em;
}

.emk-mail__copy small {
    font-size: 0.85em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emk-wine);
}

.emk-mail__copy b {
    margin-top: 0.5em;
    font-size: 1.55em;
    font-weight: 500;
    line-height: 1.12;
    color: var(--emk-ink);
}

.emk-art--figure {
    position: relative;
    overflow: hidden;
    background: #d9b3a8;
}

/* Figura abstracta: cabeza, saco y fondo */
.emk-art--figure i:nth-child(1) {
    position: absolute;
    left: 50%;
    top: 2.2em;
    width: 3.4em;
    height: 3.9em;
    margin-left: -1.7em;
    border-radius: 50%;
    background: #3a2a2a;
}

.emk-art--figure i:nth-child(2) {
    position: absolute;
    left: 50%;
    top: 6em;
    width: 8em;
    height: 12em;
    margin-left: -4em;
    border-radius: 3.5em 3.5em 0 0;
    background: #f7efe6;
}

.emk-art--figure i:nth-child(3) {
    position: absolute;
    right: -2em;
    bottom: -2em;
    width: 7em;
    height: 7em;
    border-radius: 50%;
    background: var(--emk-wine);
}

.emk-mail__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5em;
    padding: 1.1em 1em;
}

.emk-tile {
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 0.3em;
}

.emk-tile--1 { background: var(--emk-wine); }
.emk-tile--2 { background: #d9b3a8; }
.emk-tile--3 { background: #3a2a2a; }
.emk-tile--4 { background: #c9a36b; }

/* 2-5. Correos centrados */
.emk-mail__center {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 1.6em 1.6em 1em;
    text-align: center;
}

.emk-mail__center--rose { background: var(--emk-rose); }

.emk-mail__center b {
    margin-top: 0.9em;
    font-size: 1.7em;
    font-weight: 600;
    line-height: 1.15;
    color: var(--emk-ink);
}

.emk-mail__center > span:not(.emk-mail__btn) {
    margin-top: 0.5em;
    font-size: 1.1em;
    line-height: 1.3;
    color: #6f6764;
}

.emk-coupon {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    margin-top: 1.2em;
    padding: 0.9em 2em 0.8em;
    border: 0.15em dashed var(--emk-wine);
    color: var(--emk-wine);
}

.emk-coupon small { font-size: 1em; letter-spacing: 0.12em; }
.emk-coupon strong { font-size: 1.7em; font-weight: 700; letter-spacing: 0.14em; line-height: 1; }

/* Pastel */
.emk-art--cake {
    position: relative;
    width: 9em;
    height: 8em;
    margin-top: 0.4em;
}

.emk-art--cake i:nth-child(1) {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4.6em;
    border-radius: 0.6em;
    background: var(--emk-wine);
}

.emk-art--cake i:nth-child(2) {
    position: absolute;
    left: 0.9em;
    right: 0.9em;
    top: 2.4em;
    height: 1.4em;
    border-radius: 99px;
    background: #fff;
}

.emk-art--cake i:nth-child(3) {
    position: absolute;
    left: 50%;
    top: 0;
    width: 0.7em;
    height: 2.4em;
    margin-left: -0.35em;
    background: #c9a36b;
    animation: emkFlame 1.6s ease-in-out infinite;
    transform-origin: 50% 100%;
}

/* Reseña */
.emk-product {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8em;
    height: 8em;
    border-radius: 50%;
    background: var(--emk-rose);
}

.emk-product i {
    display: block;
    width: 4em;
    height: 5em;
    border-radius: 1.6em 1.6em 0.5em 0.5em;
    background: var(--emk-wine);
}

.emk-stars {
    display: flex;
    gap: 0.5em;
    margin-top: 1.1em;
}

.emk-stars svg {
    width: 2.6em;
    height: 2.6em;
    fill: #c9a36b;
    transform-origin: 50% 60%;
}

.emk-mail.is-active .emk-stars svg { animation: emkStar 0.5s var(--emk-ease) both; }
.emk-mail.is-active .emk-stars svg:nth-child(2) { animation-delay: 0.08s; }
.emk-mail.is-active .emk-stars svg:nth-child(3) { animation-delay: 0.16s; }
.emk-mail.is-active .emk-stars svg:nth-child(4) { animation-delay: 0.24s; }
.emk-mail.is-active .emk-stars svg:nth-child(5) { animation-delay: 0.32s; }

/* Recompra */
.emk-bottle {
    position: relative;
    width: 5.4em;
    height: 8em;
    margin-top: 0.2em;
}

.emk-bottle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2em;
    height: 1.8em;
    margin-left: -1em;
    background: #c9a36b;
}

.emk-bottle i {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6.4em;
    border-radius: 1em;
    background: var(--emk-wine);
}

.emk-bottle i::after {
    content: '';
    position: absolute;
    left: 1em;
    right: 1em;
    top: 1.8em;
    height: 2.4em;
    background: var(--emk-cream);
}

/* Post visita */
.emk-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7em;
    height: 7em;
    border-radius: 50%;
    background: var(--emk-wine);
}

.emk-heart svg {
    width: 3.6em;
    height: 3.6em;
    fill: #fff;
}

.emk-mail.is-active .emk-heart svg { animation: emkBeat 1.4s ease-in-out infinite; }

.emk-points {
    width: 100%;
    height: 0.9em;
    margin-top: 1.3em;
    overflow: hidden;
    border-radius: 99px;
    background: #e4d6c8;
}

.emk-points i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--emk-wine);
}

.emk-mail.is-active .emk-points i { animation: emkFill 1s var(--emk-ease) 0.2s both; }

.emk-points__l {
    margin-top: 0.7em;
    font-size: 1em;
    color: #6f6764;
}

/* Dock inferior del cliente de correo */
.emk-dock {
    position: absolute;
    left: 1.3em;
    right: 1.3em;
    bottom: 2.1em;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.emk-dock__group,
.emk-dock__single {
    display: flex;
    align-items: center;
    gap: 1.2em;
    height: 3.8em;
    padding: 0 1.3em;
    border-radius: 99px;
    background: #fff;
    color: var(--emk-ink);
}

.emk-dock__single { width: 3.8em; justify-content: center; padding: 0; }
.emk-dock svg { width: 1.9em; height: 1.9em; }

@keyframes emkPhoneIn {
    from { opacity: 0; transform: translate3d(0, 2.4em, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes emkFlame {
    0%, 100% { transform: scaleY(1); }
    50%      { transform: scaleY(0.82); }
}

@keyframes emkStar {
    from { opacity: 0; transform: scale(0.3) rotate(-30deg); }
    to   { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes emkBeat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.16); }
}

@keyframes emkFill {
    from { width: 0 !important; }
}

/* ---------- Editor de templates (detrás del móvil) ---------- */

.emk-win {
    position: absolute;
    top: 13em;
    left: 0;
    z-index: 1;
    width: 48em;
    height: 34em;
    overflow: hidden;
    border: 0.1em solid var(--emk-line);
    border-radius: 1.8em;
    background: #fff;
    animation: emkFloat 5s ease-in-out infinite;
}

.emk-ed__top {
    display: flex;
    align-items: center;
    gap: 1.2em;
    height: 5.2em;
    padding: 0 1.6em;
    white-space: nowrap;
    border-bottom: 0.1em solid #eeedf3;
}

.emk-ed__logo {
    flex-shrink: 0;
    display: block;
    width: 3.4em;
    height: 3.4em;
    border-radius: 0.8em;
    object-fit: cover;
}

.emk-ed__top strong { font-size: 1.35em; font-weight: 500; letter-spacing: -0.01em; color: #2a2a35; }
.emk-ed__saved { display: flex; align-items: center; gap: 0.6em; margin-left: 0.4em; font-size: 1.1em; font-weight: 400; color: #8b8b97; }
.emk-ed__saved i { width: 0.7em; height: 0.7em; border-radius: 50%; background: #17a367; }
.emk-ed__tools { display: flex; gap: 0.6em; margin-left: auto; }
.emk-ed__tools b { display: flex; align-items: center; justify-content: center; width: 2.8em; height: 2.8em; border: 0.1em solid #e6e4ee; border-radius: 0.8em; color: #3b3b46; }
.emk-ed__tools b svg { width: 1.4em; height: 1.4em; }
.emk-ed__tools b.is-on { background: var(--emk-lilac); border-color: var(--emk-line); color: var(--emk-purple-strong); }
.emk-ed__test { padding: 0.8em 1.4em; border: 0.1em solid #e6e4ee; border-radius: 99px; font-size: 1.1em; font-weight: 500; color: #3b3b46; }

.emk-ed__body { display: flex; height: calc(100% - 5.2em); }

.emk-ed__side { flex: 0 0 18em; border-right: 0.1em solid #eeedf3; }
.emk-ed__side p { display: flex; align-items: center; height: 2.74em; margin: 0; padding: 0 1.037em; border-bottom: 0.1em solid #eeedf3; font-size: 1.35em; font-weight: 500; letter-spacing: -0.01em; color: #2a2a35; }
.emk-ed__side ul { margin: 0; padding: 0; list-style: none; }

.emk-ed__side li {
    display: flex;
    align-items: center;
    gap: 0.7em;
    height: 3.7em;
    padding: 0 1.4em;
    border-bottom: 0.1em solid #eeedf3;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #9a9aa8;
    white-space: nowrap;
}

.emk-ed__side li svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.emk-ed__side li i { flex: 1; height: 0.1em; background: #e6e4ee; }

.emk-ed__canvas {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding: 1.4em 1.6em;
    background-color: #f5f6f9;
    animation: emkCanvasBg var(--emk-cycle, 8s) ease-in-out infinite;
    background-image: radial-gradient(#d3d6df 0.1em, transparent 0.1em);
    background-size: 1.6em 1.6em;
}

.emk-ed__sheet {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    overflow: hidden;
    padding: 1em;
    border: 0.1em solid #e6e4ee;
    border-radius: 0.8em;
    background: #fff;
    box-shadow: 0 0.4em 1.6em rgba(60, 50, 110, 0.08);
}

.emk-ed__footer {
    margin-top: auto;
    animation: emkFootHi var(--emk-cycle, 8s) ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4em;
    padding: 1em 1.2em;
    border-radius: 0.6em;
    background: #f8f9fb;
    text-align: center;
    font-size: 1em;
    font-weight: 400;
    color: #8b8b97;
}

.emk-ed__footer > span { font-size: 0.85em; color: #6f6f7c; }
.emk-ed__footer b { font-weight: 500; color: #5b5b68; }
.emk-ed__footer small { font-size: 0.7em; line-height: 1.45; }

@keyframes emkWinIn {
    from { opacity: 0; transform: translate3d(-2em, 0, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ---------- Animación del editor: construye el template y lo envía al móvil (ciclo 8s) ---------- */

.emk-ed__blk { flex-shrink: 0; display: flex; flex-direction: column; gap: 0.4em; opacity: 0; }
.emk-ed__blk i, .emk-ed__blk b { display: block; border-radius: 0.4em; background: #dcd7f3; }
.emk-ed__blk--head { flex-direction: row; align-items: center; justify-content: space-between; padding: 0.5em 0.9em; border-radius: 0.8em; background: #f6f4fb; animation: emkBlkHead var(--emk-cycle, 8s) var(--emk-ease) infinite; }
.emk-ed__blk--head b { width: 5em; height: 0.9em; background: var(--emk-wine); }
.emk-ed__blk--head i { width: 2em; height: 0.9em; }
.emk-ed__blk--title { animation: emkBlkTitle var(--emk-cycle, 8s) var(--emk-ease) infinite; }
.emk-ed__blk--title i { height: 0.7em; width: 100%; }
.emk-ed__blk--title i + i { width: 70%; background: #e8e5f6; }
.emk-ed__blk--img { height: 3em; border-radius: 0.8em; background: linear-gradient(135deg, #e9d9e1, #cfc6ee); animation: emkBlkImg var(--emk-cycle, 8s) var(--emk-ease) infinite; }
.emk-ed__blk--btn { align-items: flex-start; animation: emkBlkBtn var(--emk-cycle, 8s) var(--emk-ease) infinite; }
.emk-ed__blk--btn i { width: 8em; height: 1.6em; border-radius: 99px; background: var(--emk-wine); }

.emk-ed__side li { animation: emkSideOn var(--emk-cycle, 8s) ease-in-out infinite; }
.emk-ed__side li:nth-child(2) { animation-delay: calc(var(--emk-cycle, 8s) * 0.05); }
.emk-ed__side li:nth-child(3) { animation-delay: calc(var(--emk-cycle, 8s) * 0.1); }
.emk-ed__side li:nth-child(4) { animation-delay: calc(var(--emk-cycle, 8s) * 0.15); }
.emk-ed__side li:nth-child(5) { animation-delay: calc(var(--emk-cycle, 8s) * 0.2); }
.emk-ed__side li:nth-child(6) { animation-delay: calc(var(--emk-cycle, 8s) * 0.25); }

.emk-ed__saved i { animation: emkSaving var(--emk-cycle, 8s) ease-in-out infinite; }
.emk-ed__test { animation: emkTestPress var(--emk-cycle, 8s) ease-in-out infinite; }
.emk-ed__tools b:nth-child(1) { animation: emkToolOff var(--emk-cycle, 8s) ease-in-out infinite; }
.emk-ed__tools b:nth-child(2) { animation: emkToolOn var(--emk-cycle, 8s) ease-in-out infinite; }

.emk-win.is-reset * { animation: none !important; }

.emk-hero.is-paused .emk-win,
.emk-hero.is-paused .emk-win *,
.emk-hero.is-paused .emk-phone { animation-play-state: paused; }

@keyframes emkSideOn {
    0%, 16%, 100% { background: transparent; color: #9a9aa8; }
    3%, 13% { background: var(--emk-lilac); color: var(--emk-purple-strong); }
}
@keyframes emkCanvasBg {
    0%, 14%, 100% { background-color: #f5f6f9; }
    4%, 10% { background-color: #ece8fb; }
}
@keyframes emkFootHi {
    0%, 68%, 85%, 100% { box-shadow: 0 0 0 0 rgba(124, 92, 230, 0); }
    72%, 81% { box-shadow: 0 0 0 0.2em rgba(124, 92, 230, 0.45); }
}
@keyframes emkFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -0.9em; }
}
@keyframes emkBlkHead {
    0%, 1% { opacity: 0; transform: translate3d(0, -0.8em, 0); }
    5%, 93% { opacity: 1; transform: translate3d(0, 0, 0); }
    98%, 100% { opacity: 0; transform: translate3d(0, 0, 0); }
}
@keyframes emkBlkTitle {
    0%, 5% { opacity: 0; transform: translate3d(-1em, 0, 0); }
    9%, 93% { opacity: 1; transform: translate3d(0, 0, 0); }
    98%, 100% { opacity: 0; transform: translate3d(0, 0, 0); }
}
@keyframes emkBlkImg {
    0%, 9% { opacity: 0; transform: scale(0.92); }
    13%, 93% { opacity: 1; transform: scale(1); }
    98%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes emkBlkBtn {
    0%, 13% { opacity: 0; transform: translate3d(0, 0.8em, 0); }
    17%, 93% { opacity: 1; transform: translate3d(0, 0, 0); }
    98%, 100% { opacity: 0; transform: translate3d(0, 0, 0); }
}
@keyframes emkSaving {
    0%, 100% { background: #17a367; transform: scale(1); }
    3%, 7%, 11%, 15%, 69% { background: #17a367; transform: scale(1); }
    5%, 9%, 13%, 17%, 71% { background: #f0a020; transform: scale(1.5); }
    7.5%, 11.5%, 15.5%, 19%, 75% { background: #17a367; transform: scale(1); }
}
@keyframes emkTestPress {
    0%, 78%, 92%, 100% { background: transparent; color: #3b3b46; transform: scale(1); }
    82% { background: var(--emk-lilac); color: var(--emk-purple-strong); transform: scale(0.93); }
    86% { transform: scale(1.04); }
}
@keyframes emkToolOff {
    0%, 80%, 94%, 100% { background: var(--emk-lilac); border-color: var(--emk-line); color: var(--emk-purple-strong); }
    84%, 90% { background: transparent; border-color: #e6e4ee; color: #3b3b46; }
}
@keyframes emkToolOn {
    0%, 80%, 94%, 100% { background: transparent; border-color: #e6e4ee; color: #3b3b46; }
    84%, 90% { background: var(--emk-lilac); border-color: var(--emk-line); color: var(--emk-purple-strong); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media screen and (max-width: 1199px) {
    .emk-hero__inner {
        gap: 40px;
        width: 100%;
    }

    .emk-hero__title { font-size: 30px; }
    .emk-hero__description { font-size: 18px; }

    .emk-stage {
        font-size: clamp(8px, calc((100vw - 60px - 40px) * 0.5 / 56), 10px);
    }
}

@media screen and (max-width: 991px) {
    .emk-hero { padding: 140px 24px 72px; }

    .emk-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        justify-content: center;
        justify-items: center;
        gap: 0;
        text-align: center;
    }

    /* badge → título → mockup → descripción → botón → pestañas */
    .emk-hero__content { display: contents; }

    .emk-hero__badge { order: 1; }
    .emk-hero__title { order: 2; }
    .emk-hero__visual { order: 3; margin-top: 28px; }
    .emk-hero__description { order: 4; margin-top: 28px; }
    .emk-tabs { order: 6; }

    .emk-hero__title,
    .emk-hero__description,
    .emk-tabs { max-width: 640px; }

    .emk-hero__title { font-size: clamp(28px, 4.2vw, 32px); }
    .emk-hero__title-accent { font-size: 1.14em; white-space: normal; }
    .emk-hero__description { max-width: 36em; font-size: 18px; }
    .emk-tabs { width: 100%; }

    .emk-stage { font-size: min(11px, calc((100vw - 48px) / 56)); }
}

@media screen and (max-width: 640px) {
    .emk-hero { padding: 120px 18px 56px; }

    .emk-hero__badge {
        font-size: 12px;
        min-height: 34px;
        padding: 9px 13px 7px;
    }

    .emk-hero__title {
        margin-top: 16px;
        font-size: clamp(20px, 5.8vw, 24px);
        line-height: 1.25;
    }

    .emk-hero__title-line { text-wrap: balance; }

    /* El acento va en una sola línea y se ajusta al ancho disponible */
    .emk-hero__title-accent {
        margin-top: 0.16em;
        font-size: min(1.2em, calc((100vw - 36px) / 15.5));
        line-height: 1.15;
        white-space: nowrap;
    }

    .emk-hero__visual { margin-top: 24px; width: 100%; }

    /* Mobile: teléfono grande a la derecha y editor asomando detrás a la izquierda */
    .emk-stage {
        width: 100%;
        height: 59em;
        font-size: clamp(7px, calc((100vw - 36px) / 42), 9px);
    }

    .emk-phone {
        left: auto;
        right: 0;
        top: 0.8em;
    }

    .emk-win { top: 11em; width: calc(100% - 8em); }

    .emk-hero__description {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.45;
    }

    /* Pestañas: 3 + 2 centradas */
    .emk-tabs {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        margin-top: 20px;
    }

    .emk-tab { grid-column: span 2; padding: 12% 8px 8%; }
    .emk-tab__name { font-size: clamp(12px, 3.8cqw, 14px); }
    .emk-tab__auto { font-size: clamp(9.5px, 3.2cqw, 11.5px); }
    .emk-tab svg { width: 28px; height: 28px; }
    .emk-tab:nth-child(4) { grid-column: 2 / span 2; }
    .emk-tab:nth-child(5) { grid-column: 4 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
    .emk-hero__content > *,
    .emk-hero__title > *,
    .emk-stage,
    .emk-phone,
    .emk-win,
    .emk-win *,
    .emk-mail.is-active .emk-stars svg,
    .emk-mail.is-active .emk-heart svg,
    .emk-mail.is-active .emk-points i,
    .emk-art--cake i:nth-child(3) {
        animation: none !important;
    }

    .emk-ed__blk { opacity: 1; }

    .emk-mail,
    .emk-tab,
    .emk-tab svg { transition: none !important; }

    .emk-tab.is-active .emk-tab__bar { animation: none; width: 100%; }
}

/* ==========================================================================
   EMAIL MARKETING — ¿CÓMO FUNCIONA? Pasos a la izquierda + escenario animado
   a la derecha. Flat: sin sombras ni degradados.
   ========================================================================== */

.emk-how {
    --emk-purple: #957afb;
    --emk-purple-strong: #7c5dfa;
    --emk-lilac: #f4efff;
    --emk-line: #e3dafd;
    --emk-ink: #141414;
    --emk-gray: #8b9099;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --emk-cycle: 6500ms;
    --ac: var(--emk-purple); --ac-soft: #ece6ff; --ac-line: #e3dafd; --ac-wash: #f8f5ff;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 100px 30px;
    background: var(--emk-purple);
    color: #fff;
    overflow: hidden;
}
.emk-how *, .emk-how *::before, .emk-how *::after { box-sizing: border-box; }
.emk-how__inner { position: relative; z-index: 1; width: 1240px; max-width: 100%; margin: 0 auto; }

/* ---------- Fondo animado (plano): flujo de correos en carriles ---------- */
.emk-how__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: layout paint; }
.emk-how__lane {
    position: absolute; left: 0; right: 0; top: var(--t); height: 48px; margin-top: -24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='48' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='10' width='36' height='26' rx='5'/%3E%3Cpath d='M10 14l16 12 16-12'/%3E%3Cpath d='M64 23h90' stroke-dasharray='2 8'/%3E%3Ccircle cx='176' cy='23' r='3' fill='%23fff' stroke='none'/%3E%3Cpath d='M198 23h54' stroke-dasharray='2 8'/%3E%3Crect x='272' y='10' width='36' height='26' rx='5'/%3E%3Cpath d='M274 14l16 12 16-12'/%3E%3Cpath d='M326 23h20' stroke-dasharray='2 8'/%3E%3Cpath d='M360 24l6 6 12-13'/%3E%3C/svg%3E") 0 0 / 400px 48px repeat-x;
    opacity: .1;
    animation: emkHowLane var(--d, 80s) linear infinite;
}
.emk-how__lane--r { animation-direction: reverse; }
@keyframes emkHowLane { to { background-position: 400px 0; } }
@media (prefers-reduced-motion: reduce) { .emk-how__lane { animation: none; } }

/* ---------- Encabezado ---------- */
.emk-how__head { max-width: none; margin: 0 auto; text-align: center; }
.emk-how__title { margin: 0; font-family: inherit; font-size: clamp(26px, 2.6vw, 30px); font-weight: 500; line-height: 1.12; color: #fff; }
.emk-how__title > * { display: block; }
.emk-how__title > span { font-size: 1em; font-weight: 500; letter-spacing: -0.01em; }
.emk-how__title > strong { margin-top: 0.1em; white-space: nowrap; color: var(--emk-ink); font-size: 1.12em; font-weight: 600; letter-spacing: -0.02em; }
.emk-how__title > strong em { font-style: normal; color: #fff; }
.emk-how__lead { margin: 14px 0 0; color: #fff; font-size: 20px; font-weight: 200; line-height: 1.35; }

/* ---------- Layout: pasos | escenario ---------- */
.emk-how__steps {
    list-style: none; margin: 64px 0 0; padding: 0;
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(3, auto);
    column-gap: 28px; row-gap: 14px;
}
.emk-how__step { display: contents; }
.emk-how__h { grid-column: 1; margin: 0; font: inherit; }

/* paso (botón) */
.emk-how__tab {
    position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; row-gap: 6px;
    width: 100%; height: 100%; padding: 22px 24px 24px; overflow: hidden; text-align: left; cursor: pointer;
    border: 1.5px solid rgba(255,255,255,.45); border-radius: 22px; background: var(--emk-purple); color: #fff;
    font-family: inherit; -webkit-tap-highlight-color: transparent;
    transition: background-color .35s, border-color .35s, color .35s;
}
.emk-how__tab:hover { border-color: #fff; }
.emk-how__tab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.emk-how__num {
    display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 28px; padding: 0 14px;
    border-radius: 14px 14px 14px 0; background: rgba(255,255,255,.22); color: #fff;
    font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .02em; transition: background-color .35s, color .35s;
}
.emk-how__t { font-size: 22px; font-weight: 600; line-height: 1.2; }
.emk-how__d { grid-column: 1 / -1; font-size: 16px; font-weight: 300; line-height: 1.45; opacity: .9; }
/* barra de progreso del autoplay */

.emk-how__step.is-active .emk-how__tab { border-color: #fff; background: #fff; color: var(--emk-ink); }
.emk-how__step.is-active .emk-how__num { background: var(--emk-purple); color: #fff; }
.emk-how__step.is-active .emk-how__d { color: #4a4f57; opacity: 1; }
/* pasos ya recorridos: número con check lila */
.emk-how__step.is-done .emk-how__num { background: #fff; color: var(--emk-purple-strong); }

/* ---------- Escenario ---------- */
.emk-how__pane { grid-column: 2; grid-row: 1 / span 3; display: grid; min-width: 0; visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .6s var(--emk-ease), visibility 0s .45s; }
.emk-how__step.is-active .emk-how__pane { visibility: visible; opacity: 1; transform: none; transition: opacity .45s ease .1s, transform .6s var(--emk-ease) .1s, visibility 0s; }
.emk-st {
    display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 100%; padding: 26px;
    border-radius: 26px; background: #fff; color: var(--emk-ink);
}
.emk-st__tag { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--emk-purple-strong); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.emk-st__tag svg { width: 16px; height: 16px; }
.emk-st__count { margin-left: auto; padding: 5px 10px 4px; border-radius: 999px; background: var(--emk-lilac); color: var(--emk-purple-strong); font-size: 12px; letter-spacing: .02em; text-transform: none; font-variant-numeric: tabular-nums; }

/* 01 · fuentes → base */
.emk-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.emk-chip { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1.5px solid #e8e8ec; border-radius: 14px; background: #fff; font-size: 15px; font-weight: 500; }
.emk-chip__ico { display: grid; flex: none; place-items: center; align-self: stretch; aspect-ratio: 1; border-radius: 10px; background: var(--ac-soft); color: var(--ac); }
.emk-chip__ico svg { width: 20px; height: 20px; }
.emk-chip--own { grid-column: 1 / -1; border-style: dashed; border-color: #c5b6fd; background: var(--ac-wash); color: var(--emk-purple-strong); }
.emk-chip--own .emk-chip__ico { background: var(--ac); color: #fff; }

/* 02 · campañas */
.emk-base { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 84px; padding: 14px 16px; border-radius: 18px; background: var(--emk-lilac); border: 1.5px solid var(--emk-line); }
.emk-base__top { display: flex; align-items: center; gap: 12px; }
.emk-base__ico { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--emk-purple); color: #fff; }
.emk-base__ico svg { width: 22px; height: 22px; }
.emk-base__txt { display: flex; flex-direction: column; min-width: 0; }
.emk-base__txt small { color: var(--emk-purple-strong); font-size: 13px; font-weight: 400; }
.emk-base__txt b { font-size: 28px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.emk-base__live { display: inline-flex; flex: none; align-items: center; gap: 4px; margin-left: auto; padding: 6px 12px 5px; border-radius: 999px; background: var(--emk-purple); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.emk-base__live svg { width: 13px; height: 13px; }
.emk-base__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.emk-base__stats li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--emk-line); border-radius: 14px; background: #fff; }
.emk-base__stats li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.emk-base__si { display: grid; flex: none; place-items: center; align-self: stretch; aspect-ratio: 1; border-radius: 10px; background: var(--ac-soft); color: var(--ac); }
.emk-base__si svg { width: 22px; height: 22px; }
.emk-base__stats b { font-size: 18px; font-weight: 600; line-height: 1.15; }
.emk-base__stats small { overflow: hidden; color: var(--emk-gray); font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.emk-camp { display: grid; flex: 1; grid-auto-rows: 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.emk-camp__row { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 16px; border: 1.5px solid #e8e8ec; border-radius: 16px; background: #fff; }
.emk-camp__row.is-mass { border-color: var(--emk-line); background: var(--emk-lilac); }
.emk-camp__name { flex: 1; min-width: 0; font-size: 16px; font-weight: 500; }
.emk-camp__row em { padding: 5px 10px 4px; border-radius: 999px; background: #f0f0f3; color: var(--emk-gray); font-size: 12px; font-style: normal; font-weight: 600; transition: background-color .3s, color .3s; }
.emk-camp__row.is-mass em { background: var(--emk-purple); color: #fff; }
.emk-sw { position: relative; flex: none; width: 38px; height: 22px; border-radius: 11px; background: #d9dce2; }
.emk-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

/* 03 · resultados */
.emk-res { display: flex; flex: 1; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.emk-res__item { display: flex; flex: 1; align-items: center; gap: 12px; min-height: 68px; padding: 12px 16px; border: 1.5px solid #e8e8ec; border-radius: 16px; background: #fff; }
.emk-res__av { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 13px; font-weight: 600; }
.emk-res__av--purple { background: #ece6ff; color: #7c5dfa; }
.emk-res__av--wine { background: #fbe4ec; color: #b23a63; }
.emk-res__av--teal { background: #dff3ea; color: #1f8a5a; }
.emk-res__av--ink { background: #e8e9f2; color: #3b3d5c; }
.emk-res__txt { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.emk-res__txt strong { font-size: 16px; font-weight: 600; line-height: 1.25; }
.emk-res__txt small { overflow: hidden; color: var(--emk-gray); font-size: 13px; font-weight: 300; text-overflow: ellipsis; white-space: nowrap; }
.emk-res__tag { flex: none; padding: 5px 10px 4px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 600; }
.emk-res__tag--green { background: #e3f6ec; color: #0d7a4a; }
.emk-res__tag--amber { background: #fdf0d5; color: #8a5a00; }
.emk-res__tag--lilac { background: var(--emk-line); color: var(--emk-purple-strong); }
.emk-res__tag--rose { background: #fbe4ec; color: #b23a63; }

/* ---------- Animaciones (se reinician cada vez que el paso se activa) ---------- */
.emk-how__step.is-active .emk-chip,
.emk-how__step.is-active .emk-camp__row,
.emk-how__step.is-active .emk-res__item { animation: emkHowIn .55s var(--emk-ease) both; animation-delay: calc(.15s + var(--i, 0) * .1s); }
.emk-how__step.is-active .emk-base { animation: emkHowIn .55s var(--emk-ease) .95s both; }
.emk-how__step.is-active .emk-base__stats li { animation: emkHowIn .5s var(--emk-ease) both; animation-delay: calc(1.2s + var(--i, 0) * .1s); }
.emk-how__step.is-active .emk-res__tag { animation: emkHowPop .5s var(--emk-bounce, cubic-bezier(.34,1.45,.64,1)) both; animation-delay: calc(.5s + var(--i, 0) * .45s); }
.emk-how__step.is-active .emk-res__item { animation-delay: calc(.15s + var(--i, 0) * .45s); }
.emk-how__step.is-active .emk-sw { animation: emkHowSw .3s ease both; animation-delay: calc(1.3s + var(--i) * .5s); }
.emk-how__step.is-active .emk-sw::after { animation: emkHowKnob .3s ease both; animation-delay: calc(1.3s + var(--i) * .5s); }
.emk-how__step.is-active .emk-camp__row:not(.is-mass) em { animation: emkHowEm .3s ease both; animation-delay: calc(1.3s + var(--i) * .5s); }
@keyframes emkHowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes emkHowPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes emkHowDot { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes emkHowSw { to { background: var(--emk-purple); } }
@keyframes emkHowKnob { to { transform: translateX(16px); } }
@keyframes emkHowEm { to { background: var(--emk-lilac); color: var(--emk-purple-strong); } }

/* ---------- Entrada ---------- */
.emk-how__head, .emk-how__steps { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s var(--emk-ease); }
.emk-how.is-in .emk-how__head, .emk-how.is-in .emk-how__steps { opacity: 1; transform: none; }
.emk-how.is-in .emk-how__steps { transition-delay: .15s; }

@media screen and (max-width: 1199px) {
    .emk-how__lead { font-size: 18px; }
    .emk-how__t { font-size: 20px; }
    .emk-how__tab { padding: 18px 20px 20px; }
    .emk-st { padding: 20px; }
    .emk-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .emk-chip { font-size: 14px; }
    .emk-res__tag { display: none; }
}
/* tablet / móvil: acordeón (cada paso despliega su escenario debajo) */
@media screen and (max-width: 991px) {
    .emk-how { padding: 72px 24px 80px; }
    .emk-how__steps { display: flex; flex-direction: column; gap: 12px; max-width: 620px; margin: 48px auto 0; }
    .emk-how__step { display: block; }
    .emk-how__pane { display: grid; grid-template-rows: 0fr; visibility: visible; opacity: 1; transform: none; transition: grid-template-rows .5s var(--emk-ease), margin .5s var(--emk-ease); margin-top: 0; }
    .emk-how__step.is-active .emk-how__pane { grid-template-rows: 1fr; margin-top: 10px; transition: grid-template-rows .5s var(--emk-ease), margin .5s var(--emk-ease); }
    .emk-st { min-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transition: padding .5s var(--emk-ease); }
    .emk-how__step.is-active .emk-st { padding-top: 20px; padding-bottom: 20px; }
    .emk-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .emk-res__tag { display: inline-block; }
}
@media screen and (max-width: 640px) {
    .emk-how { padding: 56px 18px 64px; }
    .emk-how__title { font-size: clamp(24px, 7vw, 28px); line-height: 1.15; }
    .emk-how__title > strong { font-size: 1.1em; white-space: normal; }
    .emk-how__lead { margin-top: 12px; font-size: 16px; line-height: 1.4; }
    .emk-how__steps { margin-top: 36px; }
    .emk-how__tab { padding: 16px 16px 18px; border-radius: 20px; column-gap: 12px; }
    .emk-how__t { font-size: 18px; }
    .emk-how__d { font-size: 15px; }
    .emk-st { border-radius: 22px; }
    .emk-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .emk-chip { min-height: 46px; padding: 6px 10px; }
    .emk-base { padding: 12px 14px; }
    .emk-base__live span { display: none; }
    .emk-base__stats { gap: 6px; }
    .emk-base__stats li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; }
    .emk-base__si { align-self: flex-start; width: 36px; height: 36px; }
    .emk-camp__row { padding: 8px 12px; gap: 10px; }
    .emk-camp__name { font-size: 15px; }
    .emk-res__tag { font-size: 11px; padding: 4px 8px 3px; }
    .emk-res__item { padding: 10px 12px; }
    .emk-res__txt small { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .emk-how__head, .emk-how__steps, .emk-how__pane, .emk-st { opacity: 1; transform: none; transition: none; }
    .emk-how *, .emk-how *::before, .emk-how *::after { animation: none !important; }
    .emk-sw { background: var(--emk-purple); }
    .emk-sw::after { transform: translateX(16px); }
}

/* ==========================================================================
   EMAIL MARKETING — TIPOS DE CAMPAÑAS (masivas / automatizadas)
   Flat: sin sombras ni degradados. Misma jerarquía tipográfica que el resto.
   ========================================================================== */

.emk-ty {
    --emk-purple: #957afb;
    --emk-purple-strong: #7c5dfa;
    --emk-lilac: #f4efff;
    --emk-line: #e3dafd;
    --emk-ink: #141414;
    --emk-gray: #8b9099;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --emk-cycle: 9500ms;
    box-sizing: border-box;
    width: 100%;
    padding: 100px 30px;
    background: var(--emk-lilac);
    color: var(--emk-ink);
    overflow: hidden;
}
.emk-ty *, .emk-ty *::before, .emk-ty *::after { box-sizing: border-box; }
.emk-ty__inner { width: 1240px; max-width: 100%; margin: 0 auto; }

/* ---------- Encabezado ---------- */
.emk-ty__head { max-width: none; margin: 0 auto; text-align: center; }
.emk-ty__eyebrow { display: inline-block; line-height: 1; color: var(--emk-purple-strong); font-size: 20px; font-weight: 600; letter-spacing: .12em; }
.emk-ty__title { margin: 8px 0 0; font-family: inherit; font-size: clamp(26px, 2.6vw, 30px); font-weight: 500; line-height: 1.12; color: var(--emk-ink); }
.emk-ty__title { white-space: nowrap; }
.emk-ty__title > * { display: inline; }
.emk-ty__title > strong { margin-left: 0; color: var(--emk-purple); font-size: 1.12em; font-weight: 600; letter-spacing: -.02em; }
.emk-ty__lead { max-width: none; margin: 8px auto 0; color: #4a4f57; font-size: 20px; font-weight: 200; line-height: 1.35; }

/* ---------- Tarjetas ---------- */
.emk-ty__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.emk-ty__card { display: flex; flex-direction: column; min-width: 0; padding: 32px; border: 1.5px solid var(--emk-line); border-radius: 26px; background: #fff; }
.emk-ty__card--mass { border-color: var(--emk-line); background: #fff; }
.emk-ty__card--auto { border-color: #d8ccfc; background: #ece6ff; }
.emk-ty__card--auto { border-color: #cdbdfc; background: var(--emk-lilac); }
.emk-ty__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: var(--emk-purple-strong); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.emk-ty__tag svg { width: 16px; height: 16px; }
.emk-ty__card h3 { margin: 14px 0 0; font-family: inherit; font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--emk-ink); }
.emk-ty__card > p { max-width: 420px; margin: 10px 0 0; color: #4a4f57; font-size: 16px; font-weight: 300; line-height: 1.5; }

.emk-ty__panel { flex: 1; margin-top: 24px; border-radius: 20px; }

/* ---------- Masivas: envío a la base ---------- */
.emk-send { display: flex; flex-direction: column; justify-content: stretch; gap: 16px; padding: 20px; border: 1.5px solid var(--emk-line); background: #fff; }
.emk-send__row { display: flex; flex: 1; align-items: stretch; gap: 10px; }
.emk-send__mail { display: flex; flex-direction: column; flex: 0 0 48%; min-width: 0; padding: 16px; border: 1.5px solid #e8e8ec; border-radius: 14px; background: #fff; }
.emk-send__mail small { display: block; color: var(--emk-gray); font-size: 12px; font-weight: 400; }
.emk-send__mail b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 4px; font-size: 15px; font-weight: 600; line-height: 1.25; }
.emk-send__banner { display: block; width: 100%; flex: 1 1 auto; min-height: 0; aspect-ratio: 16 / 9; height: auto; margin-top: 12px; border-radius: 12px; object-fit: cover; }
.emk-send__dots { display: grid; flex: 1; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); justify-items: center; align-items: center; gap: 7px; min-width: 0; padding: 12px; }
.emk-send__dots i { display: block; height: 100%; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--emk-line); transform: scale(.82); transition: background-color .25s, transform .35s var(--emk-ease); }
.emk-send__dots i { position: relative; }
.emk-send__dots i::after { content: ""; position: absolute; inset: 22%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l4 4 7.5-8.5'/%3E%3C/svg%3E") center / contain no-repeat; transform: scale(0); transition: transform .3s var(--emk-ease); }
.emk-send__dots i.is-on { background: var(--emk-purple); transform: scale(1); }
.emk-send__dots i.is-on::after { transform: scale(1); }
.emk-send__track { position: relative; flex: none; width: 40px; align-self: center; height: 28px; color: var(--emk-purple); }
.emk-send__line { position: absolute; left: 0; right: 0; top: 50%; margin-top: -1px; border-top: 2px dashed var(--emk-purple); opacity: .45; }
.emk-send__line::after { content: ""; position: absolute; right: 0; top: -5px; width: 8px; height: 8px; border: solid var(--emk-purple); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.emk-send__fly { position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; opacity: 0; }
.emk-send:not(.is-done) .emk-send__fly { animation: emkTyFly 1s var(--emk-ease) infinite; }
@keyframes emkTyFly { 0% { transform: translateX(-6px) scale(.7); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(34px) scale(1); opacity: 0; } }
@keyframes emkTyFlyV { 0% { transform: translateY(-4px) scale(.7); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(24px) scale(1); opacity: 0; } }
.emk-send__base { display: flex; flex-direction: column; justify-content: center; flex: 1; min-width: 0; padding: 12px; border: 1.5px solid var(--emk-line); border-radius: 14px; background: var(--emk-lilac); }
.emk-send__base .emk-send__dots { flex: none; padding: 0; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
.emk-send__base .emk-send__dots i { width: 100%; height: auto; }
.emk-send__count { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--emk-purple); }
.emk-send__count b { font-weight: 700; font-variant-numeric: tabular-nums; }
.emk-send.is-done .emk-send__dots i { animation: emkTyPulse .6s var(--emk-ease) both; }
@keyframes emkTyPulse { 50% { transform: scale(1.07); } }
.emk-send.is-swap .emk-send__mail b, .emk-send.is-swap .emk-send__banner { animation: emkTySwap .8s var(--emk-ease) both; }
@keyframes emkTySwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Automatizadas: flujo ---------- */
.emk-flow { display: flex; flex-direction: column; justify-content: center; padding: 20px; background: var(--emk-ink); }
.emk-flow__node { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: #24222f; color: #fff; }
.emk-flow__ico { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #34304a; color: #c5b6fd; }
.emk-flow__ico svg { width: 19px; height: 19px; }
.emk-flow__txt { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.emk-flow__txt small { color: #b3a5f2; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.emk-flow__txt b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.emk-flow__node--mail { background: var(--emk-purple); }
.emk-flow__node--mail .emk-flow__ico { background: rgba(255,255,255,.22); color: #fff; }
.emk-flow__node--mail small { color: #fff; opacity: .85; }
.emk-flow__ok { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 5px 10px 4px; border-radius: 999px; background: #fff; color: var(--emk-purple-strong); font-size: 12px; font-style: normal; font-weight: 600; }
.emk-flow__ok svg { width: 12px; height: 12px; }
.emk-flow__link { position: relative; display: block; width: 2px; height: 16px; margin: 0 0 0 31px; background: #3b3752; overflow: hidden; }
.emk-flow__link::after { content: ""; position: absolute; inset: 0; background: var(--emk-purple); transform: scaleY(1); transform-origin: top center; }

/* secuencia: se activa al cambiar de caso */
.emk-flow.is-run .emk-flow__node, .emk-flow.is-run .emk-flow__ok { animation: emkTyPop .9s var(--emk-ease) both; }
.emk-flow.is-run .emk-flow__link { animation: emkTyShow .01s linear both; }
.emk-flow.is-run .emk-flow__link::after { animation: emkTyFill .8s var(--emk-ease) both; }
.emk-flow.is-run .emk-flow__link:nth-child(2) { animation-delay: .8s; }
.emk-flow.is-run .emk-flow__link:nth-child(4) { animation-delay: 2.4s; }
.emk-flow.is-run .emk-flow__node:nth-child(1) { animation-delay: 0s; }
.emk-flow.is-run .emk-flow__link:nth-child(2)::after { animation-delay: .8s; }
.emk-flow.is-run .emk-flow__node:nth-child(3) { animation-delay: 1.6s; }
.emk-flow.is-run .emk-flow__link:nth-child(4)::after { animation-delay: 2.4s; }
.emk-flow.is-run .emk-flow__node:nth-child(5) { animation-delay: 3.2s; }
.emk-flow.is-run .emk-flow__ok { animation-delay: 4.3s; animation-timing-function: var(--emk-ease); }
@keyframes emkTyPop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes emkTyShow { from { opacity: 0; } to { opacity: 1; } }
@keyframes emkTyFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Chips (casos de uso) ---------- */
.emk-ty__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.emk-ty__chip {
    position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 14px;
    overflow: hidden; border: 1.5px solid #e8e8ec; border-radius: 14px; background: #fff; color: var(--emk-ink);
    font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; text-align: left; cursor: pointer;
    transition: border-color .3s, background-color .3s;
    -webkit-tap-highlight-color: transparent;
}
.emk-ty__chip i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #c5b6fd; transition: background-color .3s, transform .3s var(--emk-ease); }
.emk-ty__chip::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--emk-purple); transform: scaleX(0); transform-origin: left center; }
.emk-ty__chip:hover { border-color: #c5b6fd; }
.emk-ty__chip:focus-visible { outline: 2px solid var(--emk-purple); outline-offset: 2px; }
.emk-ty__chip.is-active { border-color: var(--emk-purple); background: var(--emk-lilac); }
.emk-ty__chip.is-active i { background: var(--emk-purple-strong); transform: scale(1.35); }
.emk-ty__chip.is-active::after { animation: emkTyBar var(--emk-cycle) linear forwards; }
.emk-ty.is-paused .emk-ty__chip.is-active::after { animation-play-state: paused; }
@keyframes emkTyBar { to { transform: scaleX(1); } }

/* ---------- Entrada ---------- */
.emk-ty__head, .emk-ty__card { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s var(--emk-ease); }
.emk-ty.is-in .emk-ty__head, .emk-ty.is-in .emk-ty__card { opacity: 1; transform: none; }
.emk-ty.is-in .emk-ty__card:nth-child(1) { transition-delay: .12s; }
.emk-ty.is-in .emk-ty__card:nth-child(2) { transition-delay: .24s; }

@media screen and (max-width: 1199px) {
    .emk-ty__lead { font-size: 18px; }
    .emk-ty__eyebrow { font-size: 18px; }
    .emk-ty__card { padding: 26px; }
    .emk-ty__card h3 { font-size: 21px; }
    .emk-ty__chip { font-size: 14px; padding: 8px 12px; }
}
@media screen and (max-width: 991px) {
    .emk-ty { padding: 72px 24px; }
    .emk-ty__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 620px; margin: 44px auto 0; }
}
@media screen and (max-width: 640px) {
    .emk-ty { padding: 56px 18px; }
    .emk-ty__eyebrow { font-size: 16px; }
    .emk-ty__title { font-size: clamp(24px, 7vw, 28px); line-height: 1.15; white-space: normal; }
    .emk-ty__title > * { display: block; }
    .emk-ty__title > strong { font-size: 1.1em; }
    .emk-ty__lead { margin-top: 8px; font-size: 16px; line-height: 1.4; }
    .emk-ty__grid { margin-top: 36px; }
    .emk-ty__card { padding: 18px; border-radius: 22px; }
    .emk-ty__card h3 { font-size: 20px; }
    .emk-ty__panel { margin-top: 14px; border-radius: 16px; }
    .emk-send, .emk-flow { padding: 10px; }
    .emk-ty__tag { font-size: 12px; }
    .emk-ty__card > p { max-width: none; font-size: 15px; }
    /* Masivas: apilado vertical (correo → flecha → base de clientes) */
    .emk-send__row { flex-direction: column; align-items: stretch; gap: 2px; }
    .emk-send__mail { flex: none; padding: 10px; }
    .emk-send__mail b { min-height: 0; }
    .emk-send__track { width: 100%; height: 28px; align-self: stretch; }
    .emk-send__line { left: 50%; right: auto; top: 0; bottom: 0; margin: 0 0 0 -1px; border-top: 0; border-left: 2px dashed var(--emk-purple); }
    .emk-send__line::after { right: auto; left: -5px; top: auto; bottom: 0; border-width: 0 2px 2px 0; }
    .emk-send__fly { left: 50%; top: 0; width: 18px; height: 18px; margin: 0 0 0 -9px; }
    .emk-send:not(.is-done) .emk-send__fly { animation-name: emkTyFlyV; }
    .emk-send__base { flex: none; padding: 10px; }
    .emk-send__base .emk-send__dots { gap: 6px; padding: 0; grid-template-columns: repeat(10, minmax(0, 1fr)); }
    .emk-send__count { margin-top: 10px; font-size: 13px; }
    .emk-ty__chips { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .emk-ty__chip { min-height: 44px; }
    .emk-flow__node { padding: 10px; }
    .emk-flow__link { margin-left: 27px; }
}
@media (prefers-reduced-motion: reduce) {
    .emk-ty__head, .emk-ty__card { opacity: 1; transform: none; transition: none; }
    .emk-flow.is-run .emk-flow__node, .emk-flow.is-run .emk-flow__ok, .emk-flow.is-run .emk-flow__link::after,
    .emk-send.is-swap .emk-send__mail b, .emk-send.is-swap .emk-send__banner, .emk-send__fly, .emk-send.is-done .emk-send__dots i { animation: none !important; }
    .emk-ty__chip.is-active::after { animation: none; transform: scaleX(1); }
}


/* ==========================================================================
   EMAIL MARKETING — CAMPAÑAS AUTOMATIZADAS
   Recorrido disparador → campañas + correo que recibe el cliente.
   Flat: sin sombras ni degradados.
   ========================================================================== */

.emk-au {
    --emk-purple: #957afb;
    --emk-purple-strong: #7c5dfa;
    --emk-lilac: #f4efff;
    --emk-line: #e3dafd;
    --emk-ink: #141414;
    --emk-gray: #8b9099;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --emk-bounce: cubic-bezier(0.34, 1.45, 0.64, 1);
    --au-cycle: 6500ms;
    box-sizing: border-box;
    width: 100%;
    padding: 100px 30px;
    background: var(--emk-lilac);
    color: var(--emk-ink);
    overflow: hidden;
}
.emk-au *, .emk-au *::before, .emk-au *::after { box-sizing: border-box; }
.emk-au__inner { width: 1240px; max-width: 100%; margin: 0 auto; }

/* ---------- Encabezado ---------- */
.emk-au__head { max-width: none; margin: 0 auto; text-align: center; }
.emk-au__eyebrow { display: inline-block; line-height: 1; color: var(--emk-purple-strong); font-size: 20px; font-weight: 600; letter-spacing: .12em; }
.emk-au__title { margin: 8px 0 0; font-family: inherit; font-size: clamp(26px, 2.6vw, 30px); font-weight: 500; line-height: 1.12; color: var(--emk-ink); white-space: nowrap; }
.emk-au__title > * { display: inline; }
.emk-au__title > strong { color: var(--emk-purple); font-size: 1.12em; font-weight: 600; letter-spacing: -.02em; }
.emk-au__lead { max-width: none; margin: 8px auto 0; color: #4a4f57; font-size: 20px; font-weight: 200; line-height: 1.35; }

/* ---------- Escenario ---------- */
.emk-au__stage { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: stretch; margin-top: 56px; }
.emk-au__flow, .emk-au__preview { min-width: 0; }
.emk-au__preview { position: relative; }

/* ---------- Recorrido (riel + tarjetas) ---------- */
.emk-au__steps { --au-top: 24px; --au-h: calc(100% - 48px); --au-fill: 0px; position: relative; margin: 0; padding: 0; list-style: none; }
.emk-au__steps::before, .emk-au__steps::after { content: ""; position: absolute; left: 4px; top: var(--au-top); width: 2px; border-radius: 2px; }
.emk-au__steps::before { height: var(--au-h); background: var(--emk-line); }
.emk-au__steps::after { height: var(--au-fill); background: var(--emk-purple); transition: height .8s var(--emk-ease); }

.emk-au__li { position: relative; margin: 0 0 14px; padding-left: 38px; }
.emk-au__li:last-child { margin-bottom: 0; }
.emk-au__dot { position: absolute; z-index: 1; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: 2px solid var(--emk-purple); border-radius: 50%; background: var(--emk-lilac); transition: background-color .3s, border-color .3s; }
.emk-au__li.is-origin .emk-au__dot, .emk-au__li.is-done .emk-au__dot, .emk-au__li.is-active .emk-au__dot { border-color: var(--emk-purple); background: var(--emk-purple); }
.emk-au__li.is-active .emk-au__dot::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--emk-purple); border-radius: 50%; animation: emkAuRing 1.8s ease-out infinite; }

.emk-au__card {
    position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 4px 16px;
    width: 100%; margin: 0; padding: 16px 18px; border: 1.5px solid #e8e8ec; border-radius: 18px; background: #fff;
    color: inherit; font: inherit; text-align: left; overflow: hidden;
    transition: border-color .3s, transform .45s var(--emk-ease);
}
button.emk-au__card { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.emk-au__card:hover { border-color: var(--emk-purple); }
button.emk-au__card:focus-visible { outline: 2px solid var(--emk-purple); outline-offset: 2px; }
.emk-au__li.is-active .emk-au__card { transform: translateX(6px); border-color: var(--emk-purple); background: #fff; }
.emk-au__li.is-active .emk-au__ico { background: var(--emk-purple); color: #fff; }
.emk-au__li.is-active .emk-au__when { background: var(--emk-purple); color: #fff; }

.emk-au__ico { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--emk-lilac); color: var(--emk-purple-strong); transition: background-color .3s, color .3s; }
.emk-au__ico svg { width: 22px; height: 22px; }

.emk-au__txt { display: flex; flex-direction: column; justify-content: center; align-self: center; gap: 0; min-width: 0; }
.emk-au__txt small { color: var(--emk-purple-strong); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.emk-au__txt h3 { margin: 0; padding: 0; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.25; color: var(--emk-ink); }
.emk-au__txt p { margin: 2px 0 0; padding: 0; color: #4a4f57; font-size: 15px; font-weight: 300; line-height: 1.4; }

.emk-au__when { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 5px; border-radius: 999px; background: var(--emk-lilac); color: var(--emk-purple-strong); font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background-color .3s, color .3s; }
.emk-au__when svg { width: 13px; height: 13px; }


/* Disparador */
.emk-au__card--origin { border-color: #24222f; background: #24222f; }
.emk-au__card--origin .emk-au__txt h3 { color: #fff; }
.emk-au__card--origin .emk-au__txt small { color: var(--emk-purple); }
.emk-au__card--origin .emk-au__ico { background: var(--emk-purple); color: #fff; }
.emk-au__card--origin .emk-au__ico::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--emk-purple); border-radius: 14px; opacity: 0; }
.emk-au__li.is-origin.is-pulse .emk-au__ico::after { animation: emkAuPulse .9s var(--emk-ease); }
.emk-au__chips { list-style: none; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.emk-au__chips i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--emk-lilac); color: #4a4f57; font-size: 13px; font-weight: 500; line-height: 1; }
.emk-au__card--origin .emk-au__chips i { background: #34304a; color: #e8e8ec; }
.emk-au__card--origin .emk-au__chips svg { color: var(--emk-purple); }
.emk-au__chips svg { width: 13px; height: 13px; flex: none; display: block; color: var(--emk-purple-strong); }

/* Animación de icono por campaña (solo la activa) */
.emk-au__li--visita.is-active .emk-au__ico svg { animation: emkAuBeat 1.3s ease-in-out infinite; }
.emk-au__li--resenas.is-active .emk-au__ico svg { animation: emkAuTwirl 1.2s var(--emk-ease) both; }
.emk-au__li--recompra.is-active .emk-au__ico svg { animation: emkAuSpin 1.4s var(--emk-ease) both; }
.emk-au__li--cumple.is-active .emk-au__ico svg { animation: emkAuWiggle 1.4s ease-in-out both; }

/* ---------- Vista previa del correo ---------- */

.emk-au__mails { position: absolute; inset: 0; display: grid; border: 1.5px solid var(--emk-line); border-radius: 22px; background: #fff; overflow: hidden; }
.emk-au__mail { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.emk-au__mail.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }

.emk-au__mh { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1.5px solid #efeaff; }
.emk-au__av { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--emk-purple); color: #fff; font-size: 15px; font-weight: 600; }
.emk-au__who { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.emk-au__who strong { font-size: 15px; font-weight: 600; line-height: 1.2; }
.emk-au__who small { margin-top: 2px; color: var(--emk-gray); font-size: 13px; font-weight: 400; line-height: 1.25; }
.emk-au__auto { flex: none; padding: 4px 9px 3px; border-radius: 999px; background: var(--emk-lilac); color: var(--emk-purple-strong); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .08em; }

.emk-au__mb { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 20px; }
.emk-au__mb h4 { flex: none; margin: 0 0 12px; font-family: inherit; font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--emk-ink); }
.emk-au__hero { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-height: 0; padding: 12px 20px; border-radius: 16px; background: var(--emk-lilac); text-align: center; }
.emk-au__hico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--emk-purple-strong); }
.emk-au__hico svg { width: 22px; height: 22px; }
.emk-au__hero small { margin-top: 8px; color: var(--emk-purple-strong); font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.emk-au__hero b { margin-top: 2px; font-size: 25px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; color: var(--emk-ink); }
.emk-au__stars { display: flex; gap: 6px; margin-top: 8px; }
.emk-au__stars span { display: inline-flex; }
.emk-au__stars svg { width: 20px; height: 20px; color: var(--emk-purple); fill: var(--emk-purple); }
.emk-au__coupon { margin-top: 8px; padding: 4px 14px 3px; border: 1.5px dashed var(--emk-purple); border-radius: 8px; color: var(--emk-purple-strong); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.emk-au__mb p { flex: none; margin: 12px 0; color: #4a4f57; font-size: 14px; font-weight: 300; line-height: 1.45; }
.emk-au__cta { display: block; flex: none; padding: 11px 16px 12px; border-radius: 12px; background: var(--emk-purple); color: #fff; font-size: 15px; font-weight: 600; text-align: center; }
.emk-au__sent { display: flex; flex: none; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; color: var(--emk-gray); font-size: 13px; font-weight: 500; }
.emk-au__sent svg { width: 15px; height: 15px; color: var(--emk-purple-strong); }

/* Entrada en cascada del correo activo */
.emk-au__mail.is-active .emk-au__cs { animation: emkAuUp .6s var(--emk-ease) both; animation-delay: calc(var(--n) * .09s + .1s); }
.emk-au__mail.is-active .emk-au__stars span { animation: emkAuStar .5s var(--emk-bounce) both; animation-delay: calc(var(--s) * .12s + .5s); }
.emk-au__mail.is-active .emk-au__coupon { animation: emkAuUp .6s var(--emk-ease) .55s both; }
.emk-au__mail--visita.is-active .emk-au__hico svg { animation: emkAuBeat 1.3s ease-in-out .4s infinite; }
.emk-au__mail--cumple.is-active .emk-au__hico svg { animation: emkAuWiggle 1.4s ease-in-out .5s both; }
.emk-au__mail--recompra.is-active .emk-au__hico svg { animation: emkAuSpin 1.4s var(--emk-ease) .4s both; }

/* ---------- iPhone conectándose al WiFi (estado del disparador) ---------- */
.emk-au__scene { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.emk-au__scene.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.emk-au__phone { --emk-bezel: .8em; position: relative; top: auto; left: auto; flex: none; margin: 0; font-size: var(--au-fs, 10px); animation: none; box-shadow: none; }
.emk-au__phone .emk-phone__screen { background: #f2f2f7; padding-top: 3.9em; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; color: #000; }

.emk-wf__nav { position: relative; display: flex; flex: none; align-items: center; justify-content: space-between; padding: .5em 1.2em .8em; }
.emk-wf__nav strong { position: absolute; left: 50%; font-size: 1.25em; font-weight: 600; transform: translateX(-50%); }
.emk-wf__back, .emk-wf__edit { display: grid; place-items: center; height: 3.4em; border-radius: 99px; background: #fff; box-shadow: 0 .1em .6em rgba(0, 0, 0, .08); }
.emk-wf__back { width: 3.4em; }
.emk-wf__back svg { width: 1.5em; height: 1.5em; }
.emk-wf__edit { padding: 0 1.3em; font-size: 1.15em; }

.emk-wf__card { flex: none; margin: .4em 1em 0; padding: 1.3em 1.3em 0; border-radius: 2em; background: #fff; }
.emk-wf__app { display: grid; place-items: center; width: 3.9em; height: 3.9em; border-radius: .95em; background: linear-gradient(180deg, #2fa0ff, #0a74f2); color: #fff; }
.emk-wf__app .emk-wf__sig { width: 2.3em; height: auto; color: #fff; }
.emk-wf__card h5 { margin: .55em 0 .1em; font-family: inherit; font-size: 1.55em; font-weight: 700; line-height: 1.2; color: #000; }
.emk-wf__card p { margin: 0 0 1em; font-size: .98em; font-weight: 400; line-height: 1.38; color: #8a8a8e; }
.emk-wf__card p em { color: #0a7aff; font-style: normal; }

.emk-wf__row { position: relative; display: flex; align-items: center; gap: .4em; min-height: 3.4em; padding-right: 0; font-size: 1.05em; line-height: 1.2; }
.emk-wf__card .emk-wf__row { border-top: .08em solid #e5e5ea; }
.emk-wf__lead { display: grid; flex: none; place-items: center; width: 1.5em; height: 1.5em; color: #0a7aff; }
.emk-wf__card .emk-wf__row--sw .emk-wf__lead { display: none; }
.emk-wf__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emk-wf__lock { flex: none; width: .78em; height: auto; margin-right: .1em; }
.emk-wf__sig { flex: none; width: 1.3em; height: auto; }
.emk-wf__info { flex: none; width: 1.6em; height: 1.6em; margin-left: .2em; color: #0a7aff; }
.emk-wf__check { width: 1.45em; height: 1.45em; }

.emk-wf__sw { position: relative; flex: none; width: 3.7em; height: 2.25em; border-radius: 99px; background: #34c759; }
.emk-wf__sw::after { content: ""; position: absolute; top: .15em; right: .15em; width: 1.95em; height: 1.95em; border-radius: 50%; background: #fff; box-shadow: 0 .1em .3em rgba(0, 0, 0, .2); }

.emk-wf__h { margin: 1.5em 0 .5em 1.9em; font-family: inherit; font-size: 1.15em; font-weight: 600; color: #8a8a8e; text-transform: none; letter-spacing: 0; }
.emk-wf__list { margin: 0 1em; border-radius: 2em; background: #fff; overflow: hidden; }
.emk-wf__list .emk-wf__row { padding: 0 1em 0 1.3em; }
.emk-wf__sig { color: #000; }

/* Estado final por defecto (sin animación): ya conectado */
.emk-wf__on { overflow: hidden; }
.emk-wf__on .emk-wf__row { padding-right: 0; }
.emk-wf__net { overflow: hidden; max-height: 0; opacity: 0; }
.emk-au__mails { transition: opacity .3s ease, border-color .3s ease, background .3s ease, visibility 0s linear .3s; }
.emk-au__preview.is-phone .emk-au__mails { opacity: 0; visibility: hidden; border-color: transparent; background: transparent; }
.emk-wf__spin { width: 1.4em; height: 1.4em; border: .17em solid #c7c7cc; border-top-color: transparent; border-radius: 50%; opacity: 0; }
.emk-wf__tap { position: absolute; inset: 0; background: #d1d1d6; opacity: 0; pointer-events: none; }
.emk-wf__toast { position: absolute; z-index: 6; top: 4.3em; left: 1.2em; right: 1.2em; display: flex; align-items: center; gap: .9em; padding: .9em 1.1em; border-radius: 1.8em; background: rgba(255, 255, 255, .96); border: .1em solid rgba(0, 0, 0, .06); opacity: 0; transform: translateY(-140%); }
.emk-wf__toast-ico { display: grid; flex: none; place-items: center; width: 2.9em; height: 2.9em; border-radius: .75em; background: linear-gradient(180deg, #2fa0ff, #0a74f2); color: #fff; }
.emk-wf__toast-ico .emk-wf__sig { width: 1.75em; color: #fff; }
.emk-wf__toast span:last-child { display: flex; flex-direction: column; min-width: 0; }
.emk-wf__toast small { color: #8a8a8e; font-size: .9em; font-weight: 500; line-height: 1.2; }
.emk-wf__toast b { overflow: hidden; font-size: 1.02em; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }

/* Línea de tiempo: toque (0.9s) → conectando (1.4s) → portal Fiweex (x1.5) → conectado (9.6s) → aviso (10.4s) */
.emk-au__scene.is-active .emk-wf__tap { animation: emkWfTap 0.9s ease 1.35s both; }
.emk-au__scene.is-active .emk-wf__spin { animation: emkWfSpinShow 2.25s linear 2.1s both, emkWfRot .8s linear 1.4s infinite; }
.emk-au__scene.is-active .emk-wf__net { animation: emkWfOut 0.825s var(--emk-ease) 14.4s both; }
.emk-au__scene.is-active .emk-wf__on { animation: emkWfIn 0.9s var(--emk-ease) 14.4s both; }
.emk-au__scene.is-active .emk-wf__on .emk-wf__check { animation: emkWfPop 0.825s var(--emk-bounce) 14.925s both; }
.emk-au__scene.is-active .emk-wf__toast { animation: emkWfToast 4.5s var(--emk-ease) 15.6s both; }

@keyframes emkWfTap { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@keyframes emkWfSpinShow { 0%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes emkWfRot { to { transform: rotate(360deg); } }
@keyframes emkWfOut { from { max-height: 10em; opacity: 1; } to { max-height: 0; opacity: 0; } }
@keyframes emkWfIn { from { max-height: 0; opacity: 0; } to { max-height: 3.6em; opacity: 1; } }
@keyframes emkWfPop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes emkWfToast { 0% { opacity: 0; transform: translateY(-140%); } 14%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-140%); } }


/* ---------- Portal Fiweex dentro del iPhone ---------- */
.emk-pv { position: absolute; z-index: 5; inset: 0; opacity: 0; visibility: hidden; overflow: hidden; border-radius: inherit; background: #2a1d14 url(/page_18/img/email_mkt/fondo_portal.webp) center / cover; color: #fff; font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif; }
.emk-pv::before { content: ""; position: absolute; inset: 0; background: rgba(28, 18, 12, .45); backdrop-filter: blur(.5em); -webkit-backdrop-filter: blur(.5em); }
.emk-pv__view { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 4.2em 1.6em 2.2em; opacity: 0; }
.emk-pv__card { display: flex; flex-direction: column; align-items: center; padding: 2em 1.6em; border: .1em solid rgba(255, 255, 255, .28); border-radius: 2.4em; background: rgba(255, 255, 255, .13); box-shadow: 0 1.2em 3em rgba(0, 0, 0, .3); text-align: center; }
.emk-pv__brand { width: 7.4em; height: auto; }
.emk-pv__kicker { margin: 1.1em 0 0; font-size: 1.15em; font-weight: 600; }
.emk-pv__logo { display: grid; flex: none; place-items: center; width: 10em; height: 10em; margin: 1.4em 0; overflow: hidden; border-radius: 50%; background: #957afb; box-shadow: 0 0 2.4em rgba(149, 122, 251, .55); }
.emk-pv__logo img { width: 100%; height: 100%; object-fit: cover; }
.emk-pv__logo--sm { width: 5.2em; height: 5.2em; margin: 0 0 .9em; }
.emk-pv__sub { margin: 0 0 1.5em; font-size: 1.25em; line-height: 1.35; }
.emk-pv__cta { display: block; align-self: stretch; padding: 1em .6em; border-radius: 99px; background: #957afb; color: #fff; font-size: 1.3em; font-weight: 700; text-align: center; }
.emk-pv__terms { margin: 1em 0 0; font-size: .85em; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.emk-pv__title { margin: 0 0 1em; font-family: inherit; font-size: 1.9em; font-weight: 800; line-height: 1.15; }
.emk-pv__row { display: flex; align-self: stretch; gap: .6em; margin-bottom: .6em; }
.emk-pv__f { position: relative; display: flex; flex: 1; align-items: center; min-width: 0; height: 2.9em; padding: 0 .9em; overflow: hidden; border: .1em solid rgba(255, 255, 255, .3); border-radius: .9em; background: rgba(255, 255, 255, .08); font-size: 1em; text-align: left; }
.emk-pv__f--s { flex: .6; }
.emk-pv__f em { position: absolute; left: .9em; font-style: normal; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.emk-pv__f b { position: relative; font-weight: 500; white-space: nowrap; opacity: 0; background: inherit; }
.emk-pv__view--b .emk-pv__cta { margin-top: .5em; font-size: 1.15em; }
.emk-pv__view--c { padding: 0; }
.emk-pv__modal { position: absolute; top: 4em; right: 1em; bottom: 2.2em; left: 1em; display: flex; flex-direction: column; overflow: hidden; border-radius: 2em; background: #2b1d14; border: .1em solid rgba(255, 255, 255, .22); }
.emk-pv__flyer { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: center top; }
.emk-pv__bar { flex: none; padding: 1.1em 1.2em 1.3em; background: #2b1d14; }
.emk-pv__cta--c { font-size: 1.25em; }

/* Línea de tiempo del portal: bienvenida (2.9s) → registro (5s) → banner (7.6s) → vuelve a Ajustes (9.9s) */
.emk-au__scene.is-active .emk-pv { animation: emkPvBox 10.5s ease 4.35s both; }
.emk-au__scene.is-active .emk-pv__view--a { animation: emkPvView 3.6s var(--emk-ease) 4.35s both; }
.emk-au__scene.is-active .emk-pv__view--b { animation: emkPvView 4.2s var(--emk-ease) 7.5s both; }
.emk-au__scene.is-active .emk-pv__view--c { animation: emkPvLast 3.6s var(--emk-ease) 11.4s both; }
.emk-au__scene.is-active .emk-pv__cta--a { animation: emkPvPress 0.75s ease 6.825s both; }
.emk-au__scene.is-active .emk-pv__cta--b { animation: emkPvPress 0.75s ease 10.95s both; }
.emk-au__scene.is-active .emk-pv__cta--c { animation: emkPvPress 0.75s ease 13.95s both; }
.emk-au__scene.is-active .emk-pv__f b { animation: emkPvType 0.675s steps(9, end) var(--d) both; }
.emk-au__scene.is-active .emk-pv__f em { animation: emkPvHide 0.015s linear var(--d) both; }

@keyframes emkPvStatus { 0%, 100% { color: inherit; } 5%, 95% { color: #fff; } }
.emk-au__scene.is-active .emk-phone__status { animation: emkPvStatus 10.5s ease 4.35s both; z-index: 7; }
@keyframes emkPvBox { 0% { opacity: 0; visibility: visible; transform: translateY(4%); } 5%, 95% { opacity: 1; visibility: visible; transform: none; } 100% { opacity: 0; visibility: visible; } }
@keyframes emkPvView { 0% { opacity: 0; transform: scale(.95); } 14%, 84% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-5%); } }
@keyframes emkPvLast { 0% { opacity: 0; transform: translateX(5%); } 14%, 100% { opacity: 1; transform: none; } }
@keyframes emkPvPress { 0%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 40% { transform: scale(.94); box-shadow: 0 0 0 .7em rgba(255, 255, 255, .32); } }
@keyframes emkPvType { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes emkPvHide { to { opacity: 0; } }

/* Disparador activo */
.emk-au__li.is-live .emk-au__card--origin { transform: translateX(6px); }
.emk-au__li.is-origin.is-live .emk-au__dot::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--emk-purple); border-radius: 50%; animation: emkAuRing 1.8s ease-out infinite; }

/* ---------- Entrada de la sección ---------- */
.emk-au__head, .emk-au__preview, .emk-au__li { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s var(--emk-ease); }
.emk-au__li { transition-delay: calc(var(--i) * .1s + .12s); }
.emk-au__preview { transition-delay: .3s; }
.emk-au.is-in .emk-au__head, .emk-au.is-in .emk-au__preview, .emk-au.is-in .emk-au__li { opacity: 1; transform: none; }

@keyframes emkAuRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes emkAuPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes emkAuUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes emkAuStar { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes emkAuBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.14); } 60% { transform: scale(1); } }
@keyframes emkAuTwirl { 0% { transform: scale(.6) rotate(-90deg); } 60% { transform: scale(1.2) rotate(8deg); } 100% { transform: none; } }
@keyframes emkAuSpin { from { transform: rotate(-200deg); } to { transform: none; } }
@keyframes emkAuWiggle { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 35% { transform: rotate(12deg); } 55% { transform: rotate(-8deg); } 75% { transform: rotate(5deg); } }

/* ---------- Responsive ---------- */
@media screen and (max-width: 1199px) {
    .emk-au__eyebrow { font-size: 18px; }
    .emk-au__lead { font-size: 18px; }
    .emk-au__stage { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
    .emk-au__card { padding: 14px 16px; gap: 4px 14px; }
    .emk-au__txt h3 { font-size: 17px; }
}
@media screen and (max-width: 991px) {
    .emk-au { padding: 72px 24px; }
    .emk-au__stage { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 620px; margin: 44px auto 0; }
    .emk-au__preview { order: -1; --au-fs: 10px; min-height: calc(var(--au-fs) * 55.8); }
    .emk-au__mails { position: static; min-height: calc(var(--au-fs) * 55.8); }
}
@media screen and (max-width: 640px) {
    .emk-au { padding: 56px 18px; }
    .emk-au__eyebrow { font-size: 16px; }
    .emk-au__title { font-size: clamp(24px, 7vw, 28px); line-height: 1.15; white-space: normal; }
    .emk-au__lead { font-size: 16px; line-height: 1.4; }
    .emk-au__stage { gap: 28px; margin-top: 36px; }
    .emk-au__li { padding-left: 28px; margin-bottom: 12px; }
    .emk-au__card { grid-template-columns: 40px minmax(0, 1fr); padding: 14px; border-radius: 16px; gap: 6px 12px; }
    .emk-au__ico { width: 40px; height: 40px; border-radius: 12px; }
    .emk-au__ico svg { width: 20px; height: 20px; }
    .emk-au__when { grid-column: 2; justify-self: start; margin-top: 2px; }
    .emk-au__li.is-active .emk-au__card, .emk-au__li.is-live .emk-au__card--origin { transform: none; }
    .emk-au__txt h3 { font-size: 16px; }
    .emk-au__txt p { font-size: 14px; }
    .emk-au__mh { padding: 14px 16px; }
    .emk-au__mb { padding: 16px; }
    .emk-au__mb h4 { font-size: 18px; }
    .emk-au__hero b { font-size: 23px; }
    .emk-au__chips { gap: 6px; margin-top: 6px; }
    .emk-au__when { white-space: normal; }
    .emk-au__mh { gap: 10px; }
    .emk-au__who strong, .emk-au__who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .emk-au__mails { border-radius: 18px; }
}
@media screen and (max-width: 380px) {
    .emk-au { padding: 48px 14px; }
    .emk-au__preview { --au-fs: 9px; }
    .emk-au__card { padding: 12px; gap: 6px 10px; }
    .emk-au__li { padding-left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .emk-au__head, .emk-au__preview, .emk-au__li { opacity: 1; transform: none; transition: none; }
    .emk-au__steps::after, .emk-au__card, .emk-au__mail, .emk-au__scene { transition: none; }
    .emk-au__li.is-active .emk-au__dot::after,
    .emk-au__li.is-live .emk-au__dot::after,
    .emk-au__scene.is-active .emk-wf__tap,
    .emk-au__scene.is-active .emk-wf__spin,
    .emk-au__scene.is-active .emk-wf__net,
    .emk-au__scene.is-active .emk-wf__on,
    .emk-au__scene.is-active .emk-wf__on .emk-wf__check,
    .emk-au__scene.is-active .emk-wf__toast,
    .emk-au__scene.is-active .emk-pv,
    .emk-au__scene.is-active .emk-phone__status,
    .emk-au__scene.is-active .emk-pv__view,
    .emk-au__scene.is-active .emk-pv__cta,
    .emk-au__scene.is-active .emk-pv__f b,
    .emk-au__scene.is-active .emk-pv__f em,
    .emk-au__li.is-active .emk-au__ico svg,
    .emk-au__mail.is-active .emk-au__cs,
    .emk-au__mail.is-active .emk-au__stars span,
    .emk-au__mail.is-active .emk-au__coupon,
    .emk-au__mail.is-active .emk-au__hico svg { animation: none; }
}


/* ==========================================================================
   EMAIL MARKETING — CAMPAÑAS MASIVAS
   Pasos + filtros por rubro + carrusel de ejemplos. Flat.
   ========================================================================== */

.emk-ms {
    --emk-purple: #957afb;
    --emk-purple-strong: #7c5dfa;
    --emk-lilac: #f4efff;
    --emk-line: #e3dafd;
    --emk-ink: #141414;
    --emk-wine: #6b1d3a;
    --emk-rose: #f1d9d3;
    --emk-cream: #f7efe6;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box;
    width: 100%;
    padding: 100px 30px;
    background: #fff;
    color: var(--emk-ink);
    overflow: hidden;
}
.emk-ms *, .emk-ms *::before, .emk-ms *::after { box-sizing: border-box; }
.emk-ms__inner { width: 1240px; max-width: 100%; margin: 0 auto; }

/* Encabezado (misma jerarquía que las otras secciones) */
.emk-ms__head { max-width: none; margin: 0 auto; text-align: center; }
.emk-ms__eyebrow { display: inline-block; line-height: 1; color: var(--emk-purple-strong); font-size: 20px; font-weight: 600; letter-spacing: .12em; }
.emk-ms__title { margin: 8px 0 0; font-family: inherit; font-size: clamp(26px, 2.6vw, 30px); font-weight: 500; line-height: 1.12; color: var(--emk-ink); }
.emk-ms__title > * { display: inline; }
.emk-ms__title > strong { color: var(--emk-purple); font-size: 1.12em; font-weight: 600; letter-spacing: -.02em; }
.emk-ms__lead { max-width: none; margin: 8px auto 0; color: #4a4f57; font-size: 20px; font-weight: 200; line-height: 1.35; }

/* Pasos */
.emk-ms__steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: ms; }
.emk-ms__step { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--emk-lilac); border: 1px solid var(--emk-line); border-radius: 18px; counter-increment: ms; transition: transform .35s var(--emk-ease), border-color .25s ease; }
.emk-ms__step:hover { transform: translateY(-3px); border-color: var(--emk-purple); }
.emk-ms__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -17px; width: 18px; height: 2px; background: var(--emk-purple); opacity: .5; transform: translateY(-50%); z-index: 1; }
.emk-ms__sico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--emk-purple); color: #fff; transition: transform .4s var(--emk-ease); }
.emk-ms__step:hover .emk-ms__sico { transform: rotate(-8deg) scale(1.08); }
.emk-ms__sico svg { width: 22px; height: 22px; }
.emk-ms__stxt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.emk-ms__stxt b { font-size: 17px; font-weight: 600; line-height: 1.2; }
.emk-ms__stxt b::before { content: "0" counter(ms) " · "; color: var(--emk-purple-strong); }
.emk-ms__stxt small { color: #4a4f57; font-size: 14px; font-weight: 300; line-height: 1.35; }

/* Filtros + flechas */
.emk-ms__bar { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.emk-ms__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.emk-ms__chip { appearance: none; cursor: pointer; padding: 9px 18px; border: 1.5px solid var(--emk-line); border-radius: 999px; background: #fff; color: var(--emk-ink); font-size: 14px; font-weight: 500; line-height: 1; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--emk-ease); }
.emk-ms__chip:hover { border-color: var(--emk-purple); transform: translateY(-2px); }
.emk-ms__chip.is-active { background: var(--emk-purple); border-color: var(--emk-purple); color: #fff; }
.emk-ms__nav { flex: none; display: flex; gap: 8px; }
.emk-ms__arrow { appearance: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--emk-purple); border-radius: 50%; background: #fff; color: var(--emk-purple); transition: background-color .25s ease, color .25s ease, opacity .25s ease, transform .3s var(--emk-ease); }
.emk-ms__arrow svg { width: 18px; height: 18px; }
.emk-ms__arrow:hover:not(:disabled) { background: var(--emk-purple); color: #fff; transform: scale(1.08); }
.emk-ms__arrow:disabled { opacity: .35; cursor: default; }
.emk-ms__chip:focus-visible, .emk-ms__arrow:focus-visible, .emk-ms__track:focus-visible { outline: 2px solid var(--emk-purple-strong); outline-offset: 3px; }

/* Carrusel */
.emk-ms__track { margin-top: 12px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 16px 2px 14px; margin-top: 12px; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.emk-ms__track::-webkit-scrollbar { display: none; }
.emk-ms__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.emk-ms__card { flex: 0 0 auto; width: 320px; scroll-snap-align: start; transition: transform .45s var(--emk-ease), opacity .4s ease; }
.emk-ms__card[hidden] { display: none; }
.emk-ms__shot { position: relative; aspect-ratio: auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--emk-line); background: var(--emk-lilac); transition: transform .45s var(--emk-ease), border-color .25s ease; }
.emk-ms__card:hover .emk-ms__shot { transform: translateY(-8px); border-color: var(--emk-purple); }
.emk-ms__shot img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.emk-ms__logo { margin-top: 12px; height: 48px; display: flex; align-items: center; justify-content: center; }
.emk-ms__logo img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Correo de muestra (mientras no hay imagen) */
.emk-ms__mock { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 18px 28px; text-align: center; background: var(--tone-bg); color: var(--tone-fg); }
.emk-ms__mbrand { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.emk-ms__mart { position: relative; width: 100%; flex: none; border-radius: 0; background: var(--tone-art); overflow: hidden; }
.emk-ms__mart i { position: absolute; border-radius: 50%; background: var(--tone-fg); opacity: .16; }
.emk-ms__mart i:nth-child(1) { width: 70%; aspect-ratio: 1; right: -18%; top: -12%; }
.emk-ms__mart i:nth-child(2) { width: 34%; aspect-ratio: 1; left: 12%; bottom: 10%; opacity: .1; }
.emk-ms__mock b { font-size: 19px; font-weight: 700; line-height: 1.12; }
.emk-ms__mline { margin-top: 4px; width: 86%; height: 6px; border-radius: 3px; background: var(--tone-fg); opacity: .2; }
.emk-ms__mline--s { width: 56%; margin-top: -4px; }
.emk-ms__mbtn { margin-top: 10px; padding: 9px 18px; border-radius: 999px; background: var(--tone-fg); color: var(--tone-bg); font-size: 12px; font-weight: 600; }
.emk-ms__card--wine   { --tone-bg: #fff; --tone-fg: #6b1d3a; --tone-art: #f1d9d3; }
.emk-ms__card--cream  { --tone-bg: #fff; --tone-fg: #3b2a1e; --tone-art: #f7efe6; }
.emk-ms__card--purple { --tone-bg: #fff; --tone-fg: #7c5dfa; --tone-art: #e3dafd; }
.emk-ms__card--ink    { --tone-bg: #141414; --tone-fg: #fff; --tone-art: #2a2a33; }
.emk-ms__card--rose   { --tone-bg: #fff; --tone-fg: #141414; --tone-art: #f1d9d3; }

/* Sello "Enviado" que aparece en cascada */

/* Progreso */
.emk-ms__foot { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.emk-ms__progress { flex: 0 1 220px; height: 4px; border-radius: 2px; background: var(--emk-line); overflow: hidden; }
.emk-ms__progress u { display: block; height: 100%; width: 25%; border-radius: 2px; background: var(--emk-purple); text-decoration: none; transition: transform .3s ease; transform-origin: left; }
.emk-ms__note { margin: 0; color: #8b9099; font-size: 13px; font-weight: 300; text-align: right; }

/* Entrada */
.emk-ms__head, .emk-ms__step, .emk-ms__bar, .emk-ms__card { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s var(--emk-ease); }
.emk-ms__step { transition-delay: calc(var(--i) * .1s + .15s); }
.emk-ms__card { transition-delay: calc(var(--i) * .08s + .3s); }
.emk-ms.is-in .emk-ms__head, .emk-ms.is-in .emk-ms__step, .emk-ms.is-in .emk-ms__bar, .emk-ms.is-in .emk-ms__card { opacity: 1; transform: none; }
.emk-ms.is-in .emk-ms__card:hover { transition-delay: 0s; }
.emk-ms__card.is-pop { animation: emkMsPop .55s var(--emk-ease) both; animation-delay: calc(var(--k, 0) * .06s); }

@keyframes emkMsPop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

@media screen and (max-width: 1199px) {
    .emk-ms__eyebrow, .emk-ms__lead { font-size: 18px; }
}
@media screen and (max-width: 991px) {
    .emk-ms { padding: 32px 24px 72px; }
    .emk-ms__steps { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
    .emk-ms__step:not(:last-child)::after { display: none; }
    .emk-ms__bar { flex-direction: column; align-items: stretch; gap: 14px; }
    .emk-ms__nav { display: none; }
    .emk-ms__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 2px 24px; }
    .emk-ms__filters::-webkit-scrollbar { display: none; }
    .emk-ms__chip { flex: none; }
    .emk-ms__track { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; scroll-padding-left: 24px; }
    .emk-ms__bar { margin-top: 32px; }
    .emk-ms__card { width: 260px; }
}
@media screen and (max-width: 640px) {
    .emk-ms { padding: 24px 20px 56px; }
    .emk-ms__eyebrow { font-size: 16px; }
    .emk-ms__title { font-size: clamp(24px, 7vw, 28px); line-height: 1.15; }
    .emk-ms__title > * { display: block; }
    .emk-ms__title > strong { font-size: 1.1em; }
    .emk-ms__lead { margin-top: 8px; font-size: 16px; line-height: 1.4; }
    .emk-ms__bar { margin-top: 28px; gap: 12px; }
    .emk-ms__filters { margin: 0 -20px; padding: 2px 20px; gap: 6px; }
    .emk-ms__chip { padding: 9px 16px; font-size: 14px; }
    .emk-ms__track { margin-left: -20px; margin-right: -20px; padding: 12px 20px 10px; scroll-padding-left: 20px; gap: 14px; }
    .emk-ms__card { width: 62vw; max-width: 240px; }
    .emk-ms__card:hover .emk-ms__shot { transform: none; }
    .emk-ms__mock { gap: 10px; padding: 22px 16px 22px; }
    .emk-ms__mbrand { font-size: 12px; }
    .emk-ms__mbtn { font-size: 12px; }
    .emk-ms__logo { height: 32px; margin-top: 8px; }
    .emk-ms__foot { margin-top: 8px; }
    .emk-ms__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
    .emk-ms__progress { flex-basis: auto; width: 100%; }
    .emk-ms__note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .emk-ms__head, .emk-ms__step, .emk-ms__bar, .emk-ms__card { opacity: 1; transform: none; transition: none; }
    .emk-ms__card.is-pop { animation: none; }
    .emk-ms__track { scroll-behavior: auto; }
}


/* ==========================================================================
   EMAIL MARKETING — DEMO EN VIVO
   Encabezado + contenedor. El constructor y el buzón simulado (mismos que
   audience.php) usan email_mkt_demo.css. Flat: sin sombras ni gradientes.
   ========================================================================== */

.emk-dm {
    --emk-purple: #957afb;
    --emk-purple-strong: #7c5dfa;
    --emk-lilac: #f4efff;
    --emk-line: #e3dafd;
    --emk-ink: #141414;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box;
    width: 100%;
    padding: 100px 30px;
    background: #fff;
    color: var(--emk-ink);
    overflow: hidden;
}
.emk-dm *, .emk-dm *::before, .emk-dm *::after { box-sizing: border-box; }
.emk-dm .emk-dm__inner { position: relative; z-index: 1; width: 1240px; max-width: 100%; margin: 0 auto; }

/* Fondo animado sutil: luces lilas a la deriva, malla de puntos, ondas de envío
   y sobres / aviones de papel que flotan. Solo transform/opacity. */
.emk-dm { position: relative; isolation: isolate; }
.emk-dm .emk-dm__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.emk-dm .emk-dm__bg i { position: absolute; display: block; }
.emk-dm .emk-dm__blob { width: 640px; height: 640px; border-radius: 50%; opacity: .55; will-change: transform; }
.emk-dm .emk-dm__blob--a { top: -220px; left: -160px; background: radial-gradient(closest-side, #ece4ff, rgba(236, 228, 255, 0)); animation: emkDmDrift 22s ease-in-out infinite alternate; }
.emk-dm .emk-dm__blob--b { bottom: -240px; right: -180px; width: 720px; height: 720px; background: radial-gradient(closest-side, #f1e9ff, rgba(241, 233, 255, 0)); animation: emkDmDrift 28s ease-in-out -9s infinite alternate-reverse; }
.emk-dm .emk-dm__dots { inset: 0; background-image: radial-gradient(#cdbffb 1.2px, transparent 1.4px); background-size: 30px 30px; opacity: .45; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 34%, #000 92%); mask-image: radial-gradient(ellipse at 50% 50%, transparent 34%, #000 92%); animation: emkDmDots 40s linear infinite; }
.emk-dm .emk-dm__frame { width: 300px; height: 190px; border: 1.5px dashed #b9a5fc; border-radius: 6px; opacity: 0; animation: emkDmFrame 12s ease-in-out infinite; }
.emk-dm .emk-dm__frame::before, .emk-dm .emk-dm__frame::after { content: ""; position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid #957afb; border-radius: 2px; }
.emk-dm .emk-dm__frame::before { top: -5px; left: -5px; box-shadow: none; }
.emk-dm .emk-dm__frame::after { bottom: -5px; right: -5px; }
.emk-dm .emk-dm__frame--a { top: 12%; right: 3%; }
.emk-dm .emk-dm__frame--b { bottom: 10%; left: 2%; width: 240px; height: 150px; animation-delay: -6s; }
.emk-dm .emk-dm__fly { width: 40px; height: 40px; opacity: 0; background: center / contain no-repeat; will-change: transform, opacity; animation: emkDmFly 16s ease-in-out infinite; }
.emk-dm .emk-dm__fly--palette { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23957afb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13.5' cy='6.5' r='.5'/%3E%3Ccircle cx='17.5' cy='10.5' r='.5'/%3E%3Ccircle cx='8.5' cy='7.5' r='.5'/%3E%3Ccircle cx='6.5' cy='12.5' r='.5'/%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z'/%3E%3C/svg%3E"); }
.emk-dm .emk-dm__fly--pen { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23957afb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z'/%3E%3Cpath d='m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18'/%3E%3Cpath d='m2.3 2.3 7.286 7.286'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E"); }
.emk-dm .emk-dm__fly--type { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23957afb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 7 4 4 20 4 20 7'/%3E%3Cline x1='9' x2='15' y1='20' y2='20'/%3E%3Cline x1='12' x2='12' y1='4' y2='20'/%3E%3C/svg%3E"); }
.emk-dm .emk-dm__fly--image { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23957afb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E"); }
.emk-dm .emk-dm__fly--layout { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23957afb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='7' x='3' y='3' rx='1'/%3E%3Crect width='9' height='7' x='3' y='14' rx='1'/%3E%3Crect width='5' height='7' x='16' y='14' rx='1'/%3E%3C/svg%3E"); }
.emk-dm .emk-dm__fly--cursor { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23957afb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z'/%3E%3C/svg%3E"); }
.emk-dm .emk-dm__fly--1 { left: 4%; top: 64%; animation-delay: 0s; }
.emk-dm .emk-dm__fly--2 { right: 5%; top: 24%; width: 34px; height: 34px; animation-delay: -5s; animation-duration: 19s; }
.emk-dm .emk-dm__fly--3 { left: 10%; top: 12%; width: 32px; height: 32px; animation-delay: -10s; animation-duration: 21s; }
.emk-dm .emk-dm__fly--4 { right: 9%; top: 72%; animation-delay: -7s; animation-duration: 18s; }
.emk-dm .emk-dm__fly--5 { left: 3%; top: 38%; width: 34px; height: 34px; animation-delay: -13s; animation-duration: 23s; }
.emk-dm .emk-dm__fly--6 { right: 3%; top: 48%; width: 30px; height: 30px; animation-delay: -3s; animation-duration: 20s; }
@keyframes emkDmDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(120px, 70px, 0) scale(1.18); } }
@keyframes emkDmFrame { 0%, 100% { transform: scale(.94); opacity: 0; } 25%, 75% { opacity: .55; } 50% { transform: scale(1.04) rotate(-.6deg); opacity: .55; } }
@keyframes emkDmFly { 0% { transform: translate3d(0, 0, 0) rotate(-8deg); opacity: 0; } 15% { opacity: .5; } 50% { transform: translate3d(26px, -56px, 0) rotate(8deg); opacity: .5; } 85% { opacity: .5; } 100% { transform: translate3d(0, -110px, 0) rotate(-8deg); opacity: 0; } }
@keyframes emkDmDots { from { background-position: 0 0; } to { background-position: 60px 60px; } }
@media (prefers-reduced-motion: reduce) {
    .emk-dm .emk-dm__bg i { animation: none !important; }
    .emk-dm .emk-dm__fly, .emk-dm .emk-dm__frame { display: none; }
}

.emk-dm .emk-dm__head { max-width: none; margin: 0 auto; text-align: center; }
.emk-dm .emk-dm__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding: 10px 15px 8px; border: 1.5px solid var(--emk-purple); border-radius: 999px; background: transparent; color: var(--emk-purple-strong); box-sizing: border-box; font-size: 14px; font-weight: 400; letter-spacing: 0.02em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.emk-dm .emk-dm__live { position: relative; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: -2px; background: var(--emk-purple); }
.emk-dm .emk-dm__live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--emk-purple); animation: emkDmLive 1.8s ease-out infinite; }
.emk-dm .emk-dm__title { margin: 20px 0 0; width: 100%; max-width: none; font-family: inherit; font-size: clamp(26px, 2.6vw, 30px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; color: var(--emk-ink); }
.emk-dm .emk-dm__title > * { display: inline; }
.emk-dm .emk-dm__title > strong { font-weight: 600; letter-spacing: -.02em; color: var(--emk-purple-strong); background: linear-gradient(90deg, var(--emk-purple-strong), #b79cff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.emk-dm .emk-dm__lead { max-width: none; width: 100%; margin: 18px 0 0; color: #4a4f57; font-size: 20px; font-weight: 200; line-height: 1.35; }
.emk-dm .emk-dm__demo { margin-top: 44px; }
.emk-dm .emk-dm__demo .demo-content-box { border: 1px solid var(--emk-line); border-radius: 16px; }
.emk-dm .emk-dm__note { margin: 18px 0 0; text-align: center; color: #4a4f57; font-size: 14px; font-weight: 300; line-height: 1.3; }

/* Pasos */
.emk-dm .emk-dm__steps { list-style: none; margin: 36px auto 0; padding: 0; display: flex; justify-content: center; gap: 10px; }
.emk-dm .emk-dm__step { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 1.5px solid var(--emk-line); border-radius: 999px; background: #fff; color: #4a4f57; font-size: 14px; font-weight: 500; line-height: 1.2; }
.emk-dm .emk-dm__sico { position: relative; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--emk-lilac); color: var(--emk-purple-strong); transition: background-color .3s ease, color .3s ease, transform .4s cubic-bezier(0.34, 1.45, 0.64, 1); }
.emk-dm .emk-dm__sico svg { width: 16px; height: 16px; grid-area: 1 / 1; transition: opacity .25s ease, transform .35s cubic-bezier(0.34, 1.45, 0.64, 1); }
.emk-dm .emk-dm__tick { opacity: 0; transform: scale(.4); }
.emk-dm .emk-dm__step.is-active { border-color: var(--emk-purple); color: var(--emk-ink); }
.emk-dm .emk-dm__step.is-active .emk-dm__sico { background: var(--emk-purple); color: #fff; transform: scale(1.08); }
.emk-dm .emk-dm__step.is-done { color: var(--emk-ink); }
.emk-dm .emk-dm__step.is-done .emk-dm__sico { background: var(--emk-purple-strong); color: #fff; }
.emk-dm .emk-dm__step.is-done .emk-dm__sico svg:not(.emk-dm__tick) { opacity: 0; transform: scale(.4); }
.emk-dm .emk-dm__step.is-done .emk-dm__tick { opacity: 1; transform: none; }
.emk-dm .emk-dm__step.is-pop .emk-dm__sico { animation: emkDmPop .6s cubic-bezier(0.34, 1.45, 0.64, 1); }
.emk-dm .emk-dm__steps + .emk-dm__demo { margin-top: 28px; }

/* Pestañas Editor / Buzón simulado */
.emk-dm .emk-dm__demo { position: relative; }
.emk-dm .emk-dm__demo [hidden] { display: none !important; }
.emk-dm .emk-dm__bar { display: flex; justify-content: flex-start; margin-bottom: 14px; }
.emk-dm .emk-dm__tabs { flex: none; display: inline-flex; gap: 4px; padding: 3px; border: 1.5px solid var(--emk-line); border-radius: 12px; background: #fff; }
.emk-dm .eb-topbar > .emk-dm__tabs { margin-right: 4px; }
.emk-dm .emk-dm__tabs .emk-dm__tab { padding: 6px 12px; font-size: 13px; }
.emk-dm .eb-topbar .eb-logo, .emk-dm .eb-topbar .eb-title-input { display: none; }
.emk-dm .emk-dm__tab { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: 10px; background: transparent; color: #4a4f57; font-size: 14px; font-weight: 500; line-height: 1.2; font-family: inherit; white-space: nowrap; transition: background-color .25s ease, color .25s ease; }
.emk-dm .emk-dm__tab svg { width: 17px; height: 17px; flex: none; }
.emk-dm .emk-dm__tab:hover { color: var(--emk-ink); }
.emk-dm .emk-dm__tab.is-active { background: var(--emk-lilac); color: var(--emk-purple-strong); font-weight: 600; }
.emk-dm .emk-dm__badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5484d; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1; animation: emkDmBadge .5s cubic-bezier(0.34, 1.45, 0.64, 1) both; }
.emk-dm .emk-dm__tab:focus-visible, .emk-dm .emk-dm__link:focus-visible, .emk-dm .emk-dm__back:focus-visible, .emk-dm .emk-dm__row:focus-visible { outline: 2px solid var(--emk-ink); outline-offset: 2px; }

/* Buzón simulado */
.emk-dm .emk-dm__inbox { display: flex; flex-direction: column; height: clamp(560px, 68vh, 760px); border: 1px solid var(--emk-line); border-radius: 16px; background: #f6f8fc; overflow: hidden; animation: emkDmFade .45s var(--emk-ease); }
.emk-dm .emk-dm__gtop { flex: none; display: flex; align-items: center; gap: 16px; padding: 12px 20px; }
.emk-dm .emk-dm__gbrand { flex: none; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: 0; color: #4a4f57; white-space: nowrap; }
.emk-dm .emk-dm__gbrand svg { width: 17px; height: 17px; display: block; flex: none; color: var(--emk-purple-strong); }
.emk-dm .emk-dm__gsearch { flex: 1; max-width: 640px; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-radius: 22px; background: #eaf1fb; color: #5f6368; font-size: 14px; }
.emk-dm .emk-dm__gsearch svg { width: 18px; height: 18px; }
.emk-dm .emk-dm__gme { margin-left: auto; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--emk-purple); color: #fff; font-size: 14px; font-weight: 600; }
.emk-dm .emk-dm__gbody { flex: 1; min-height: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px; padding: 0 16px 16px 0; }
.emk-dm .emk-dm__gside { padding: 4px 0 0 12px; }
.emk-dm .emk-dm__compose { display: inline-flex; align-items: center; gap: 12px; height: 48px; margin-bottom: 14px; padding: 0 22px 0 16px; border-radius: 16px; background: #c2e7ff; color: #001d35; font-size: 14px; font-weight: 500; }
.emk-dm .emk-dm__compose svg { width: 20px; height: 20px; }
.emk-dm .emk-dm__gside ul { list-style: none; margin: 0; padding: 0; }
.emk-dm .emk-dm__gside li { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; border-radius: 0 17px 17px 0; color: #3c4047; font-size: 14px; }
.emk-dm .emk-dm__gside li svg { width: 18px; height: 18px; flex: none; }
.emk-dm .emk-dm__gside li span { flex: 1; }
.emk-dm .emk-dm__gside li b { font-size: 12px; font-weight: 600; }
.emk-dm .emk-dm__gside li.on { background: #d3e3fd; color: #001d35; font-weight: 700; }
.emk-dm .emk-dm__gmain { position: relative; min-width: 0; min-height: 0; border-radius: 16px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.emk-dm .emk-dm__list { overflow-y: auto; overflow-x: hidden; }
.emk-dm .emk-dm__hint { display: flex; align-items: flex-start; gap: 12px; margin: 14px; padding: 14px 16px; border: 1.5px dashed var(--emk-line); border-radius: 14px; background: var(--emk-lilac); color: #4a4f57; font-size: 14px; line-height: 1.4; }
.emk-dm .emk-dm__hint svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--emk-purple-strong); }
.emk-dm .emk-dm__link { appearance: none; cursor: pointer; padding: 0; border: 0; background: none; color: var(--emk-purple-strong); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.emk-dm .emk-dm__row { appearance: none; width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 16px; border: 0; border-bottom: 1px solid #edf0f5; background: #fff; text-align: left; color: #3c4047; font: inherit; font-size: 14px; line-height: 1.3; transition: background-color .2s ease, border-color .2s ease; }
.emk-dm .emk-dm__row--static { opacity: .62; }
.emk-dm .emk-dm__row--new { border-radius: 12px; cursor: pointer; background: #f2f6fc; font-weight: 700; color: var(--emk-ink); animation: emkDmRow .7s cubic-bezier(0.34, 1.45, 0.64, 1) both; }
.emk-dm .emk-dm__row--new { transition: background-color .2s ease, box-shadow .2s ease; }
.emk-dm .emk-dm__row--new:hover { background: #efe9ff; border-bottom-color: transparent; }
.emk-dm .emk-dm__row--new.is-read { font-weight: 400; background: #fff; }
.emk-dm .emk-dm__row--new.is-read:hover { background: #f7f5ff; }
.emk-dm .emk-dm__row--new.is-read strong { font-weight: 500; }
.emk-dm .emk-dm__av { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 600; }
.emk-dm .emk-dm__av--me { background: var(--emk-purple-strong); }
.emk-dm .emk-dm__av--0 { background: #1f8a5f; } .emk-dm__av--1 { background: #e5484d; } .emk-dm__av--2 { background: #8a5a2e; } .emk-dm__av--3 { background: #3b82f6; }
.emk-dm .emk-dm__rtxt { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 16px; }
.emk-dm .emk-dm__rtxt > b { flex: none; width: 128px; font-weight: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emk-dm .emk-dm__rtxt > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emk-dm .emk-dm__rtxt strong { font-weight: inherit; }
.emk-dm .emk-dm__rtxt em { font-style: normal; font-weight: 400; color: #8b9099; }
.emk-dm .emk-dm__row time { flex: none; font-size: 12px; color: #8b9099; }
.emk-dm .emk-dm__row--new time { color: var(--emk-ink); }

/* Mensaje abierto */
.emk-dm .emk-dm__msg { flex: 1; min-height: 0; display: flex; flex-direction: column; animation: emkDmFade .45s var(--emk-ease); }
.emk-dm .emk-dm__mtools { flex: none; padding: 10px 14px; border-bottom: 1px solid #edf0f5; }
.emk-dm .emk-dm__back { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: #3c4047; font: inherit; font-size: 14px; font-weight: 500; transition: background-color .2s ease; }
.emk-dm .emk-dm__back svg { width: 18px; height: 18px; transition: transform .3s var(--emk-ease); }
.emk-dm .emk-dm__back:hover { background: #f2f6fc; }
.emk-dm .emk-dm__back:hover svg { transform: translateX(-3px); }
.emk-dm .emk-dm__mmeta { flex: none; padding: 16px 20px 10px; }
.emk-dm .emk-dm__mmeta h3 { margin: 0 0 12px; font-family: inherit; font-size: 20px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.emk-dm .emk-dm__from { display: flex; align-items: center; gap: 12px; }
.emk-dm .emk-dm__ftxt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.emk-dm .emk-dm__ftxt b { font-weight: 600; }
.emk-dm .emk-dm__ftxt small { color: #8b9099; font-size: 12px; font-weight: 400; }
.emk-dm .emk-dm__from time { flex: none; color: #8b9099; font-size: 12px; }
.emk-dm .emk-dm__mcanvas { flex: 1; min-height: 0; padding: 18px 20px 28px; overflow: auto; }
.emk-dm .emk-dm__mwrap { position: relative; margin: 0 auto; border: 1px solid var(--emk-line); border-radius: 12px; overflow: hidden; background: #fff; animation: emkDmMail .7s var(--emk-ease) .1s both; }
.emk-dm .emk-dm__mwrap iframe { display: block; border: 0; width: 640px; background: #fff; transform-origin: top left; }

/* Aviso */
.emk-dm .emk-dm__toast { position: absolute; left: 50%; bottom: 20px; z-index: 5; max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 12px; background: var(--emk-ink); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .3s ease, transform .45s cubic-bezier(0.34, 1.45, 0.64, 1); }
.emk-dm .emk-dm__toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@keyframes emkDmFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes emkDmBadge { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes emkDmRow { from { opacity: 0; transform: translateX(-24px); background: #d3e3fd; } to { opacity: 1; transform: none; } }
@keyframes emkDmMail { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* Entrada (solo opacidad y desplazamiento del encabezado: sin transform en el contenedor del constructor) */
.emk-dm .emk-dm__head, .emk-dm .emk-dm__step, .emk-dm .emk-dm__demo, .emk-dm .emk-dm__note { opacity: 0; transition: opacity .7s ease, transform .7s var(--emk-ease), border-color .3s ease, color .3s ease; }
.emk-dm .emk-dm__step { transform: translateY(14px); transition-delay: calc(var(--i) * .1s + .15s), calc(var(--i) * .1s + .15s), 0s, 0s; }
.emk-dm .emk-dm__head { transform: translateY(18px); }
.emk-dm .emk-dm__demo { transition-delay: .2s; }
.emk-dm .emk-dm__note { transition-delay: .4s; }
.emk-dm.is-in .emk-dm__head, .emk-dm.is-in .emk-dm__step, .emk-dm.is-in .emk-dm__demo, .emk-dm.is-in .emk-dm__note { opacity: 1; transform: none; }

@keyframes emkDmPop { 0% { transform: scale(.6); } 100% { transform: scale(1.08); } }
@keyframes emkDmLive { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2); opacity: 0; } }

@media screen and (max-width: 1199px) {
    .emk-dm .emk-dm__lead { font-size: 18px; }
}
@media screen and (max-width: 991px) {
    .emk-dm { padding: 80px 24px; }
    .emk-dm .emk-dm__steps { flex-wrap: wrap; }
    .emk-dm .emk-dm__gbody { grid-template-columns: minmax(0, 1fr); padding: 0 12px 12px; }
    .emk-dm .emk-dm__gside { display: none; }
}
@media screen and (max-width: 640px) {
    .emk-dm { padding: 64px 20px; }
    .emk-dm .emk-dm__eyebrow { font-size: 12px; min-height: 34px; padding: 9px 13px; }
    .emk-dm .emk-dm__title { font-size: clamp(24px, 7vw, 28px); line-height: 1.15; }
    .emk-dm .emk-dm__lead { font-size: 16px; line-height: 1.4; }
    .emk-dm .emk-dm__steps { flex-direction: column; align-items: stretch; margin-top: 28px; }
    .emk-dm .emk-dm__step { border-radius: 16px; }
    .emk-dm .emk-dm__note { font-size: 13px; }
    .emk-dm .emk-dm__tabs .emk-dm__tab { padding: 6px 9px; font-size: 12px; }
    .emk-dm .emk-dm__inbox { height: auto; min-height: 520px; }
    .emk-dm .emk-dm__gtop { padding: 10px 12px; gap: 10px; }
    .emk-dm .emk-dm__gbrand { font-size: 14px; }
    .emk-dm .emk-dm__gsearch { display: none; }
    .emk-dm .emk-dm__rtxt { flex-direction: column; gap: 1px; }
    .emk-dm .emk-dm__rtxt > b { width: auto; }
    .emk-dm .emk-dm__rtxt > span { width: 100%; flex: none; }
    .emk-dm .emk-dm__mmeta { padding: 14px 14px 8px; }
    .emk-dm .emk-dm__mmeta h3 { font-size: 18px; }
    .emk-dm .emk-dm__ftxt b small { display: none; }
    .emk-dm .emk-dm__mcanvas { padding: 12px 10px 22px; }
}
/* Constructor en móvil: barra en dos filas y panel de bloques sobre el lienzo */
@media screen and (max-width: 767px) {
    .emk-dm .emk-dm__demo .demo-content-box { height: auto; min-height: 0; max-height: none; }
    .emk-dm .emk-dm__demo .demo-content-box .content.content-wizard { padding: 8px; overflow: visible; }
    .emk-dm .emk-dm__demo .demo-content-box .email-builder { min-height: 0; overflow: visible; }
    .emk-dm .emk-dm__demo .email-builder .eb-topbar { height: auto; flex-wrap: wrap; padding: 10px 12px; row-gap: 8px; }
    .emk-dm .emk-dm__demo .email-builder .eb-tb-l { flex: 1 1 100%; }
    .emk-dm .emk-dm__demo .email-builder .eb-tb-c { flex: 0 0 auto; }
    .emk-dm .emk-dm__demo .email-builder .eb-tb-r { flex: 1 1 auto; flex-wrap: wrap; }
    .emk-dm .emk-dm__demo .email-builder .eb-title-input { min-width: 0; max-width: 100%; }
    .emk-dm .emk-dm__demo .email-builder .eb-ws { flex-direction: column; overflow: visible; }
    .emk-dm .emk-dm__demo .email-builder .eb-lp { width: 100% !important; min-width: 0 !important; height: 280px; border-right: 0; border-bottom: 1px solid var(--eb-border); }
    .emk-dm .emk-dm__demo .email-builder .eb-canvas-area { flex: none; height: 440px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .emk-dm .emk-dm__head, .emk-dm .emk-dm__step, .emk-dm .emk-dm__demo, .emk-dm .emk-dm__note { opacity: 1; transform: none; transition: none; }
    .emk-dm .emk-dm__live::after, .emk-dm .emk-dm__badge, .emk-dm .emk-dm__row--new, .emk-dm .emk-dm__mwrap, .emk-dm .emk-dm__inbox, .emk-dm .emk-dm__msg { animation: none; }
    .emk-dm .emk-dm__toast { transition: none; }
}


.emk-sender__avatar--logo { overflow: hidden; padding: 0; background: none; width: 4.4em; height: 4.4em; font-size: 1em; border-radius: 50%; }
.emk-sender__avatar--logo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }


/* ==========================================================================
   REPORTES (plano: sin sombras ni degradados)
   ========================================================================== */
.emk-rp {
    --emk-purple: #957afb;
    --emk-purple-strong: #957afb; /* lila Fiweex */
    --emk-lilac: #f4efff;
    --emk-lilac-2: #ebe3fe;
    --emk-line: #e3dafd;
    --emk-ink: #141414;
    --emk-gray: #8b9099;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box;
    width: 100%;
    padding: 80px 30px;
    background: var(--emk-lilac);
    color: var(--emk-ink);
    overflow: hidden;
    position: relative;
}
.emk-rp__inner { position: relative; }
.emk-rp *, .emk-rp *::before, .emk-rp *::after { box-sizing: border-box; }
.emk-rp__inner { width: 1240px; max-width: 100%; margin: 0 auto; }

.emk-rp__top { --rp-gut: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: center; }
.emk-rp__copy { padding-left: var(--rp-gut); }

/* Escenario */
.emk-rp__stage { position: relative; padding: 24px var(--rp-gut) 24px 0; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.emk-rp__send, .emk-rp__res { background: #fff; border: 1px solid var(--emk-line); border-radius: 22px; }
.emk-rp__send { position: relative; z-index: 1; width: 90%; display: flex; overflow: hidden; align-self: flex-start; animation: emkRpFloat 6s ease-in-out infinite; }
.emk-rp__res { position: relative; z-index: 2; width: 92%; margin: -26px 0 0 auto; padding: 22px; animation: emkRpFloat 6s ease-in-out -3s infinite; }
@keyframes emkRpFloat { 50% { transform: translateY(-7px); } }

.emk-rp__thumb { position: relative; flex: 0 0 42%; aspect-ratio: 1 / 1; min-height: 150px; background: var(--emk-lilac); overflow: hidden; }
.emk-rp__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .4s ease, transform .8s var(--emk-ease); }
.emk-rp__thumb-ico { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; color: var(--emk-purple-strong); }
.emk-rp__thumb-ico svg { width: 56px; height: 56px; }
.emk-rp__send.is-auto .emk-rp__thumb img { display: none; }
.emk-rp__send.is-auto .emk-rp__thumb-ico { display: flex; }
.emk-rp__sbody { flex: 1; min-width: 0; padding: 18px 20px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.emk-rp__srow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.emk-rp__mail { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--emk-lilac-2); color: var(--emk-purple-strong); }
.emk-rp__mail svg { width: 20px; height: 20px; }
.emk-rp__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #dff5e5; color: #167a35; font-size: 13px; font-weight: 600; line-height: 1; }
.emk-rp__badge i { width: 7px; height: 7px; border-radius: 50%; background: #1fa24a; animation: emkRpPulse 1.8s ease-in-out infinite; }
.emk-rp__stitle { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.emk-rp__stitle small { font-size: 18px; font-weight: 500; line-height: 1.2; }
.emk-rp__stitle strong { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
@keyframes emkRpPulse { 50% { transform: scale(1.7); opacity: .4; } }

.emk-rp__rhead { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--emk-line); }
.emk-rp__rico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--emk-lilac-2); color: var(--emk-purple-strong); }
.emk-rp__rico svg { width: 16px; height: 16px; }
.emk-rp__rhead strong { font-size: 18px; font-weight: 600; }
.emk-rp__rmain { display: flex; align-items: center; gap: 22px; padding: 18px 0; }
.emk-rp__uniq { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.emk-rp__uniq small { font-size: 11px; font-weight: 500; letter-spacing: .06em; color: #4a4f57; }
.emk-rp__ring { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.emk-rp__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.emk-rp__ring circle { fill: none; stroke-width: 7; }
.emk-rp__track { stroke: var(--emk-lilac-2); }
.emk-rp__arc { stroke: var(--emk-purple-strong); stroke-linecap: round; stroke-dasharray: 0 100; }
.emk-rp__ring b { position: relative; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.emk-rp__pct { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-left: 22px; border-left: 1px solid var(--emk-line); }
.emk-rp__pct span { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 300; }
.emk-rp__pct span b { font-size: 20px; font-weight: 600; color: var(--emk-purple-strong); font-variant-numeric: tabular-nums; }
.emk-rp__pct u, .emk-rp__row u { display: block; height: 8px; border-radius: 99px; background: var(--emk-lilac-2); overflow: hidden; text-decoration: none; }
.emk-rp__pct s { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--emk-purple-strong); }
.emk-rp__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.emk-rp__tiles li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 12px; background: var(--emk-lilac); text-align: center; transition: transform .4s var(--emk-ease), background-color .3s ease; }
.emk-rp__tiles li:hover { transform: translateY(-3px); background: var(--emk-lilac-2); }
.emk-rp__tiles b { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.emk-rp__tiles small { font-size: 12px; font-weight: 300; line-height: 1.2; color: #4a4f57; }
.emk-rp__res.is-swap .emk-rp__tiles li, .emk-rp__send.is-swap .emk-rp__sbody { animation: emkRpSwap .5s var(--emk-ease) both; }
.emk-rp__res.is-swap .emk-rp__tiles li:nth-child(2) { animation-delay: .06s; }
.emk-rp__res.is-swap .emk-rp__tiles li:nth-child(3) { animation-delay: .12s; }
.emk-rp__res.is-swap .emk-rp__tiles li:nth-child(4) { animation-delay: .18s; }
@keyframes emkRpSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Texto */
.emk-rp__eyebrow { display: inline-block; line-height: 1; color: var(--emk-purple-strong); font-size: 20px; font-weight: 600; letter-spacing: .12em; }
.emk-rp__title { margin: 8px 0 0; font-family: inherit; font-size: clamp(26px, 2.6vw, 30px); font-weight: 500; line-height: 1.12; color: var(--emk-ink); }
.emk-rp__title > * { display: block; }
.emk-rp__title > strong { color: var(--emk-purple-strong); font-size: 1.12em; font-weight: 600; letter-spacing: -.02em; }
.emk-rp__lead { max-width: 520px; margin: 12px 0 0; color: var(--emk-ink); font-size: 20px; font-weight: 200; line-height: 1.35; }
.emk-rp__lead b { font-weight: 500; color: var(--emk-ink); }
.emk-rp__facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.emk-rp__facts li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border: 1px solid var(--emk-line); border-radius: 16px; background: #fff; }
.emk-rp__fico { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--emk-lilac); color: var(--emk-purple-strong); }
.emk-rp__fico svg { width: 20px; height: 20px; }
.emk-rp__facts b { display: block; font-size: 18px; font-weight: 600; color: var(--emk-ink); line-height: 1.2; }
.emk-rp__facts span.emk-rp__ftxt { display: block; margin-top: 3px; font-size: 15px; font-weight: 300; line-height: 1.4; color: #4a4f57; }
@media (min-width: 560px) { .emk-rp__facts span.emk-rp__ftxt { white-space: nowrap; } }
.emk-rp__hit:focus-visible { outline: 2px solid var(--emk-purple-strong); outline-offset: 2px; }

/* Entrada */
.emk-rp__stage, .emk-rp__copy { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s var(--emk-ease); }
.emk-rp__copy { transition-delay: .15s; }
.emk-rp.is-in .emk-rp__stage, .emk-rp.is-in .emk-rp__copy { opacity: 1; transform: none; }

@media screen and (max-width: 1199px) {
    .emk-rp__eyebrow, .emk-rp__lead { font-size: 18px; }
    .emk-rp__top { --rp-gut: 36px; }
}
@media screen and (max-width: 991px) {
    .emk-rp { padding: 80px 24px; }
    .emk-rp__top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .emk-rp__inner { width: 100%; max-width: 560px; margin: 0 auto; }
    .emk-rp__copy { padding-left: 0; }
    .emk-rp__stage { padding: 32px 24px; background: var(--emk-lilac-2); border-radius: 28px; }
    .emk-rp__send, .emk-rp__res { width: 100%; }
    /* Mobile: encabezado -> tarjetas -> beneficios (copy se "disuelve" para reordenar sus hijos) */
    .emk-rp__top { gap: 0; }
    .emk-rp__copy { display: contents; }
    .emk-rp__eyebrow { order: 1; justify-self: center; text-align: center; }
    .emk-rp__title { order: 2; text-align: center; }
    .emk-rp__lead { order: 3; max-width: none; text-align: center; }
    .emk-rp__stage { order: 4; margin-top: 32px; }
    .emk-rp__facts { order: 5; max-width: none; margin-top: 32px; }
    .emk-rp__copy > * { opacity: 1; transform: none; }
}
@media screen and (max-width: 640px) {
    .emk-rp { padding: 64px 18px; }
    .emk-rp__eyebrow { font-size: 16px; }
    .emk-rp__title { font-size: clamp(24px, 7vw, 28px); line-height: 1.15; }
    .emk-rp__lead { font-size: 16px; line-height: 1.4; }
    .emk-rp__stage { padding: 20px 12px; border-radius: 22px; }
    .emk-rp__send, .emk-rp__res { width: 100%; }
    .emk-rp__send { flex-direction: column; }
    .emk-rp__thumb { flex-basis: auto; aspect-ratio: 16 / 9; height: auto; min-height: 0; }
    .emk-rp__thumb img { object-position: center 60%; }
    .emk-rp__res { padding: 16px; margin-top: -18px; }
    .emk-rp__rmain { gap: 14px; }
    .emk-rp__pct { padding-left: 14px; }
    .emk-rp__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .emk-rp__facts { gap: 12px; }
    .emk-rp__facts li { padding: 12px 14px; gap: 12px; }
    .emk-rp__facts b { font-size: 16px; }
    .emk-rp__facts span.emk-rp__ftxt { font-size: 14px; }
    .emk-rp__stitle small, .emk-rp__rhead strong { font-size: 16px; }
    .emk-rp__stitle strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .emk-rp__stage, .emk-rp__copy { opacity: 1; transform: none; transition: none; }
    .emk-rp__send, .emk-rp__res { animation: none; }
    .emk-rp__badge i, .emk-rp__dot::after, .emk-rp__tiles li, .emk-rp__sbody { animation: none !important; }
    .emk-rp__guide, .emk-rp__dot, .emk-rp__row s { transition: none; }
}

/* Mini gráfico dentro de Resultados */
.emk-rp__mini { padding: 0 0 14px; }
.emk-rp__mhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; }
.emk-rp__mhead b { font-weight: 600; }
.emk-rp__mhead span { color: var(--emk-purple-strong); font-weight: 500; }
.emk-rp__mhead small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #4a4f57; }
.emk-rp__mhead strong { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.emk-rp__plot { position: relative; height: 64px; margin-top: 8px; }
.emk-rp__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.emk-rp__area { fill: var(--emk-lilac); }
.emk-rp__line { fill: none; stroke: var(--emk-purple-strong); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.emk-rp__guide { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-left: 2px dashed var(--emk-purple); opacity: .5; pointer-events: none; transition: left .35s var(--emk-ease); }
.emk-rp__dot { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 3px solid var(--emk-purple-strong); pointer-events: none; transition: left .35s var(--emk-ease), top .35s var(--emk-ease); }
.emk-rp__dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--emk-purple); opacity: 0; animation: emkRpRing 1.8s ease-out infinite; }
@keyframes emkRpRing { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.3); opacity: 0; } }
.emk-rp__hits { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.emk-rp__hit { border: 0; background: transparent; padding: 0; cursor: crosshair; }
.emk-rp__days { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 6px; text-align: center; font-size: 11px; font-weight: 300; color: var(--emk-gray); }
.emk-rp__days span.is-on { color: var(--emk-purple-strong); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .emk-rp__dot::after { animation: none; } .emk-rp__guide, .emk-rp__dot { transition: none; } }


/* ==========================================================================
   BASES DE DATOS / COMPATIBILIDAD (plano: sin sombras ni degradados)
   ========================================================================== */
.emk-cp {
    --emk-purple: #957afb;
    --emk-purple-strong: #7c5dfa;
    --emk-lilac: #f4efff;
    --emk-navy: #1b1c2a;
    --emk-navy-tint: #e6e7ef;
    --emk-navy-soft: #f2f3f8;
    --emk-lilac-2: #ebe3fe;
    --emk-line: #e3dafd;
    --emk-ink: #141414;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box; width: 100%; padding: 80px 30px;
    background: #fff; color: var(--emk-ink); overflow: hidden; position: relative;
}
.emk-cp *, .emk-cp *::before, .emk-cp *::after { box-sizing: border-box; }
.emk-cp__inner { width: 1240px; max-width: 100%; margin: 0 auto; position: relative; z-index: 1; }

/* Fondo animado: manchas de luz + piezas "fantasma" (correo, base de datos, envío) que suben; reacciona al producto elegido */
.emk-cp__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: layout paint; }
.emk-cp.is-paused .emk-cp__bg * , .emk-cp.is-paused .emk-cp__bg *::before, .emk-cp.is-paused .emk-cp__bg *::after { animation-play-state: paused !important; }
.emk-cp__blob {
    position: absolute; border-radius: 50%; will-change: transform, opacity; backface-visibility: hidden;
    background: radial-gradient(circle, rgba(149, 122, 251, .5), rgba(149, 122, 251, 0) 70%);
    opacity: .4; transition: opacity 1s ease;
    animation: emkCpDrift 16s ease-in-out infinite alternate;
}
.emk-cp__blob--a { width: 500px; height: 500px; top: -170px; left: -150px; }
.emk-cp__blob--b { width: 440px; height: 440px; bottom: -180px; right: -120px; animation-delay: -6s; background: radial-gradient(circle, rgba(133, 102, 246, .45), rgba(133, 102, 246, 0) 70%); }
.emk-cp__blob--c { width: 320px; height: 320px; top: 42%; left: 40%; animation-delay: -11s; opacity: 0; }
.emk-cp.has-col .emk-cp__blob { opacity: .6; }
.emk-cp.has-col .emk-cp__blob--c { opacity: .45; }

.emk-cp__g {
    --dur: 18s; --dl: 0s; --o: .9;
    position: absolute; bottom: -100px; opacity: 0; will-change: transform, opacity; backface-visibility: hidden;
    animation: emkCpUp var(--dur) linear var(--dl) infinite;
}
.emk-cp__g--1 { left: 3%; }
.emk-cp__g--2 { right: 5%; --dl: 3s; --dur: 20s; }
.emk-cp__g--3 { left: 6%; --dl: 7s; --dur: 16s; }
.emk-cp__g--4 { left: 7%; --dl: 11s; --dur: 22s; }
.emk-cp__g--5 { right: 3%; --dl: 9s; --dur: 17s; }
.emk-cp__g--6 { right: 7%; --dl: 14s; --dur: 15s; }

/* Correo: tarjeta con avatar y líneas que se "escriben" */
.emk-cp__g--mail {
    width: 96px; height: 62px; border-radius: 12px; overflow: hidden;
    background-color: rgba(255, 255, 255, .92); border: 1px solid rgba(149, 122, 251, .3);
    background-image: linear-gradient(rgba(149, 122, 251, .38), rgba(149, 122, 251, .38)), linear-gradient(rgba(149, 122, 251, .38), rgba(149, 122, 251, .38)), linear-gradient(rgba(149, 122, 251, .22), rgba(149, 122, 251, .22));
    background-repeat: no-repeat; background-size: 46% 5px, 70% 5px, 56% 5px; background-position: 34px 13px, 12px 34px, 12px 46px;
}
.emk-cp__g--mail::before { content: ""; position: absolute; left: 10px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: rgba(149, 122, 251, .5); }
.emk-cp__g--mail::after { content: ""; position: absolute; inset: 28px 6px 4px 8px; background: rgba(255, 255, 255, .97); transform-origin: 100% 50%; animation: emkCpReveal 5s cubic-bezier(.6, 0, .3, 1) infinite; }

/* Base de datos: tres filas apiladas con indicador que parpadea */
.emk-cp__g--db {
    width: 70px; height: 18px; border-radius: 9px; border: 1px solid rgba(149, 122, 251, .32);
    background-color: rgba(255, 255, 255, .92);
    background-image: radial-gradient(circle at 11px 50%, rgba(149, 122, 251, .75) 3px, transparent 3.6px), linear-gradient(rgba(149, 122, 251, .3), rgba(149, 122, 251, .3));
    background-repeat: no-repeat; background-size: 100% 100%, 34px 4px; background-position: 0 0, 22px 6px;
}
.emk-cp__g--db::before, .emk-cp__g--db::after { content: ""; position: absolute; left: -1px; right: -1px; height: 100%; border: inherit; border-radius: inherit; background: inherit; }
.emk-cp__g--db::before { top: -25px; }
.emk-cp__g--db::after { top: 23px; }
.emk-cp__g--db { margin-top: 24px; }

/* Envío: píldora lila con check */
.emk-cp__g--send {
    width: 104px; height: 32px; border-radius: 16px; background-color: #e4dcfd; border: 1px solid rgba(149, 122, 251, .3);
    background-image: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7));
    background-repeat: no-repeat; background-size: 42px 5px, 24px 5px; background-position: 40px 9px, 40px 19px;
}
.emk-cp__g--send::before { content: ""; position: absolute; left: 8px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: #fff; animation: emkCpPulse 2.4s ease-in-out infinite; }
.emk-cp__g--send::after { content: ""; position: absolute; left: 14px; top: 10px; width: 5px; height: 8px; border: solid #7c5dfa; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.8); }

/* Destellos */
.emk-cp__spark { position: absolute; width: 18px; height: 18px; background: #957afb; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; transform: scale(0); animation: emkCpTwinkle 5s ease-in-out infinite; }
.emk-cp__spark--a { top: 16%; left: 5%; }
.emk-cp__spark--b { top: 30%; right: 4%; width: 24px; height: 24px; animation-delay: 1.4s; }
.emk-cp__spark--c { bottom: 24%; left: 3%; width: 14px; height: 14px; animation-delay: 2.6s; }
.emk-cp__spark--d { bottom: 14%; right: 6%; animation-delay: 3.6s; }

@keyframes emkCpDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, 40px, 0) scale(1.15); } }
@keyframes emkCpUp { 0% { transform: translate3d(0, 0, 0) scale(.92); opacity: 0; } 12% { opacity: 1; } 25% { transform: translate3d(8px, -20vh, 0) scale(.96); } 50% { transform: translate3d(-8px, -40vh, 0) scale(1); } 75% { transform: translate3d(8px, -60vh, 0) scale(1.02); opacity: .9; } 100% { transform: translate3d(0, -80vh, 0) scale(1.04); opacity: 0; } }
@keyframes emkCpReveal { 0%, 8% { transform: scaleX(1); } 45%, 88% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes emkCpPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes emkCpTwinkle { 0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); } 50% { opacity: .6; transform: scale(1) rotate(45deg); } }
@media (max-width: 991px) { .emk-cp__blob--a { width: 320px; height: 320px; } .emk-cp__blob--b { width: 300px; height: 300px; } .emk-cp__g--2, .emk-cp__g--5, .emk-cp__g--6 { display: none; } }
@media (max-width: 767px) { .emk-cp__bg { display: none; } }
@media (prefers-reduced-motion: reduce) { .emk-cp__blob, .emk-cp__g, .emk-cp__g::after, .emk-cp__g::before, .emk-cp__spark { animation: none !important; } .emk-cp__g { display: none; } }
.emk-cp__head { text-align: center; }
.emk-cp__eyebrow { display: inline-block; line-height: 1; color: var(--emk-purple-strong); font-size: 20px; font-weight: 600; letter-spacing: .12em; }
.emk-cp__title { margin: 8px 0 0; font-size: clamp(26px, 2.6vw, 30px); font-weight: 500; line-height: 1.12; }
.emk-cp__title { width: 100%; max-width: none; }
.emk-cp__title > * { display: inline; }
.emk-cp__title > strong { color: var(--emk-purple); font-weight: 600; letter-spacing: -.02em; }
.emk-cp__lead { max-width: none; width: 100%; margin: 12px auto 0; color: #4a4f57; font-size: 20px; font-weight: 200; line-height: 1.35; }
.emk-cp__lead b { font-weight: 500; color: var(--emk-purple-strong); }

/* Selector de producto */
.emk-cp__picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 0; }
.emk-cp__chip { appearance: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 18px; min-width: 104px; border-radius: 14px; border: 1.5px solid var(--emk-line); background: #fff; color: var(--emk-ink); line-height: 1.1; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .35s var(--emk-ease); }
.emk-cp__chip small { font-size: 11px; font-weight: 300; color: #6a6f78; transition: color .25s ease; }
.emk-cp__chip b { font-size: 15px; font-weight: 600; }
.emk-cp__chip:hover { transform: translateY(-3px); border-color: var(--emk-purple); }
.emk-cp__chip[aria-selected="true"] { background: var(--emk-purple-strong); border-color: var(--emk-purple-strong); color: #fff; transform: translateY(-3px); }
.emk-cp__chip[aria-selected="true"] small { color: #e3dafd; }
.emk-cp__chip:focus-visible, .emk-cp__table th:focus-visible { outline: 2px solid var(--emk-ink); outline-offset: 3px; }

.emk-cp__sum { min-height: 28px; margin: 22px 0 0; text-align: center; font-size: 18px; font-weight: 300; color: #4a4f57; }
.emk-cp__sum b { font-weight: 600; color: var(--emk-purple-strong); font-variant-numeric: tabular-nums; }
.emk-cp__sum span { display: inline-block; }
.emk-cp__sum.is-swap span { animation: emkCpSwap .5s var(--emk-ease) both; }
@keyframes emkCpSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Tarjeta + tabla */
.emk-cp__card { margin-top: 44px; background: #fff; border: 1px solid var(--emk-line); border-radius: 28px; overflow: hidden; }
.emk-cp__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.emk-cp__table thead th { background: var(--emk-purple); color: #fff; padding: 18px 8px; text-align: center; font-weight: 400; line-height: 1.15; border-left: 1px solid rgba(255,255,255,.28); cursor: pointer; position: relative; transition: background-color .4s ease; }
.emk-cp__table thead th.emk-cp__corner { border-left: 0; cursor: default; width: 25%; text-align: center; }
.emk-cp__table thead small { display: block; font-size: 12px; font-weight: 300; opacity: .9; }
.emk-cp__table thead b { display: block; font-size: 15px; font-weight: 600; }
.emk-cp__corner b { font-size: 17px !important; }
.emk-cp__table tbody th { padding: 18px 20px; height: 88px; vertical-align: middle; text-align: center; font-weight: 400; border-top: 1px dashed var(--emk-line); }
.emk-cp__table tbody td { text-align: center; vertical-align: middle; height: 88px; padding: 0 4px; border-top: 1px dashed var(--emk-line); border-left: 1px solid var(--emk-line); transition: background-color .4s ease; }
.emk-cp__tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 500; }
.emk-cp__tag svg { width: 16px; height: 16px; flex: none; }
.emk-cp__tag--wa { background: #e3f6ea; color: #1a8f4a; }
.emk-cp__tag--mail { background: var(--emk-lilac-2); color: var(--emk-purple-strong); }
.emk-cp__name { display: block; margin: 8px auto 0; max-width: 230px; font-size: 15px; font-weight: 400; color: #33363d; line-height: 1.25; text-wrap: balance; }
.emk-cp__ok { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--emk-purple); color: #fff; transition: transform .4s var(--emk-ease), background-color .4s ease; }
.emk-cp__ok svg { width: 16px; height: 16px; }
.emk-cp__no { display: inline-block; width: 12px; height: 2px; border-radius: 2px; background: var(--emk-line); vertical-align: middle; }
.emk-cp__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Resaltado de columna / fila */
.emk-cp[data-col] .emk-cp__table td, .emk-cp[data-col] .emk-cp__table thead th:not(.emk-cp__corner) { transition: background-color .4s ease, opacity .4s ease; }
.emk-cp__table tbody tr { transition: opacity .35s ease; }
.emk-cp.has-col tbody tr.is-off { opacity: 1; }

/* Lista móvil */
.emk-cp__list { display: none; list-style: none; margin: 0; padding: 0; }
.emk-cp__list li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tag state" "name state"; align-items: center; column-gap: 12px; padding: 14px 16px; border-top: 1px dashed var(--emk-line); }
.emk-cp__list li:first-child { border-top: 0; }
.emk-cp__list .emk-cp__tag { grid-area: tag; justify-self: start; }
.emk-cp__list .emk-cp__name { grid-area: name; }
.emk-cp__state { grid-area: state; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--emk-lilac); transition: background-color .3s ease, transform .4s var(--emk-ease); }
.emk-cp__state::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: var(--emk-line); }
.emk-cp__list li.is-on .emk-cp__state { background: var(--emk-purple-strong); transform: scale(1.1); }
.emk-cp__list li.is-on .emk-cp__state::before { width: 14px; height: 8px; border-radius: 0; background: none; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.emk-cp__list li.is-off { opacity: .5; }

/* Entrada */
.emk-cp__head, .emk-cp__picker, .emk-cp__sum { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s var(--emk-ease); }
.emk-cp__picker { transition-delay: .12s; } .emk-cp__sum { transition-delay: .2s; }
.emk-cp__card { opacity: 0; transform: translateY(24px); transition: opacity .7s ease .25s, transform .8s var(--emk-ease) .25s; }
.emk-cp.is-in .emk-cp__head, .emk-cp.is-in .emk-cp__picker, .emk-cp.is-in .emk-cp__sum, .emk-cp.is-in .emk-cp__card { opacity: 1; transform: none; }
.emk-cp__table tbody tr, .emk-cp__list li { --d: calc(.5s + var(--i) * .09s); }
.emk-cp:not(.is-in) .emk-cp__ok { transform: scale(0); }
.emk-cp.is-in .emk-cp__ok { animation: emkCpPop .5s var(--emk-ease) both; animation-delay: calc(var(--d, .5s) + var(--c, 0) * .05s); }
@keyframes emkCpPop { from { transform: scale(0); } 60% { transform: scale(1.2); } to { transform: scale(1); } }

@media screen and (max-width: 1199px) { .emk-cp__eyebrow, .emk-cp__lead { font-size: 18px; } .emk-cp__table thead b { font-size: 14px; } }
@media screen and (max-width: 991px) {
    .emk-cp { padding: 80px 24px; }
    .emk-cp__card { border-radius: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .emk-cp__table { min-width: 860px; }
    .emk-cp__card { scrollbar-width: thin; scrollbar-color: rgba(149,122,251,.35) transparent; }
    .emk-cp__card::-webkit-scrollbar { height: 4px; }
    .emk-cp__card::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
    .emk-cp__card::-webkit-scrollbar-track { background: transparent; margin: 0 24px; }
    .emk-cp__card::-webkit-scrollbar-thumb { background: rgba(149,122,251,.35); border-radius: 99px; }
}
@media screen and (max-width: 640px) {
    .emk-cp { padding: 64px 20px; }
    .emk-cp__eyebrow { font-size: 16px; }
    .emk-cp__title { font-size: clamp(24px, 7vw, 28px); line-height: 1.15; }
    .emk-cp__lead { font-size: 16px; line-height: 1.4; }
    .emk-cp__sum { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .emk-cp__head, .emk-cp__picker, .emk-cp__sum, .emk-cp__card { opacity: 1; transform: none; transition: none; }
    .emk-cp:not(.is-in) .emk-cp__ok { transform: none; }
    .emk-cp.is-in .emk-cp__ok, .emk-cp__sum.is-swap span { animation: none; }
    .emk-cp * { transition: none !important; }
}


/* ==========================================================================
   CTA FINAL / AUDIENCE (plano: sin sombras ni degradados)
   ========================================================================== */
.emk-ct {
    --emk-purple: #957afb; --emk-purple-strong: #7c5dfa; --emk-lilac: #f4efff; --emk-lilac-2: #ebe3fe; --emk-ink: #141414;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box; width: 100%; padding: 0 30px 80px; background: var(--emk-lilac-2); overflow: hidden;
}
.emk-ct *, .emk-ct *::before, .emk-ct *::after { box-sizing: border-box; }
.emk-ct__inner { width: 1240px; max-width: 100%; margin: 0 auto; }
.emk-ct__card { position: relative; display: flex; align-items: center; justify-content: center; min-height: 440px; padding: 64px 300px; border-radius: 32px; background: var(--emk-purple); color: #fff; text-align: center; overflow: hidden; }
.emk-ct__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.28); pointer-events: none; translate: -50% -50%; }
.emk-ct__ring--1 { width: 520px; height: 520px; animation: emkCtSpin 60s linear infinite; }
.emk-ct__ring--2 { width: 780px; height: 780px; border-style: solid; border-color: rgba(255,255,255,.12); }
@keyframes emkCtSpin { to { rotate: 360deg; } }

.emk-ct__body { position: relative; z-index: 2; max-width: 600px; }
.emk-ct__eyebrow { display: inline-block; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.18); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .14em; line-height: 1; }
.emk-ct__title { margin: 18px 0 0; font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.emk-ct__lead { max-width: 460px; margin: 16px auto 0; font-size: 20px; font-weight: 200; line-height: 1.35; color: #fff; }
.emk-ct__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.emk-ct__btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 14px; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none !important; border: 2px solid transparent; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--emk-ease); }
.emk-ct__btn svg { width: 18px; height: 18px; transition: transform .35s var(--emk-ease); }
.emk-ct__btn--main { background: #fff; color: var(--emk-purple); }
.emk-ct__btn--main:hover { background: var(--emk-ink); color: #fff; transform: translateY(-3px); }
.emk-ct__btn--main:hover svg { transform: translateX(4px); }
.emk-ct__btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.emk-ct__btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-3px); }
.emk-ct__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Tarjetas flotantes */
.emk-ct__float { position: absolute; z-index: 2; width: 232px; padding: 16px; border-radius: 20px; background: #fff; color: var(--emk-ink); text-align: left; }
.emk-ct__float small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--emk-purple); }
.emk-ct__float--l { left: 40px; top: 50px; rotate: -5deg; animation: emkCtFloat 6s ease-in-out infinite; }
.emk-ct__float--r { right: 40px; top: 56px; rotate: 4deg; animation: emkCtFloat 7s ease-in-out -3s infinite; }
@keyframes emkCtFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.emk-ct__float ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.emk-ct__float li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--emk-lilac); animation: emkCtRow 6s var(--emk-ease) infinite; animation-delay: calc(var(--i) * .9s); }
@keyframes emkCtRow { 0% { opacity: 0; transform: translateX(-18px); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(10px); } }
.emk-ct__av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--emk-purple); color: #fff; font-size: 13px; font-weight: 600; }
.emk-ct__pt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.emk-ct__pt b { font-size: 13px; font-weight: 600; }
.emk-ct__pt i { font-style: normal; font-size: 11px; font-weight: 300; color: #6a6f78; }
.emk-ct__float li > svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--emk-purple); color: #fff; }
.emk-ct__float strong { display: block; margin-top: 6px; font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.emk-ct__bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 14px; }
.emk-ct__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--emk-lilac-2); transform-origin: bottom; animation: emkCtBar 4.8s var(--emk-ease) infinite; animation-delay: calc(var(--i) * .12s); }
.emk-ct__bars i:last-child { background: var(--emk-purple); }
@keyframes emkCtBar { 0% { transform: scaleY(.1); } 25%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.1); } }

.emk-ct__chip { position: absolute; z-index: 2; left: 120px; bottom: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--emk-ink); color: #fff; font-size: 13px; font-weight: 600; rotate: 3deg; animation: emkCtFloat 5s ease-in-out -1s infinite; }
.emk-ct__chip svg { width: 15px; height: 15px; color: var(--emk-purple); }
.emk-ct__tile { position: absolute; z-index: 2; right: 120px; bottom: 44px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.5); color: #fff; rotate: -8deg; animation: emkCtFloat 5.5s ease-in-out -2s infinite; }
.emk-ct__tile svg { width: 24px; height: 24px; }

/* Entrada */
.emk-ct__card { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .9s var(--emk-ease); }
.emk-ct.is-in .emk-ct__card { opacity: 1; transform: none; }
.emk-ct__body > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s var(--emk-ease); }
.emk-ct.is-in .emk-ct__body > * { opacity: 1; transform: none; }
.emk-ct.is-in .emk-ct__body > :nth-child(2) { transition-delay: .12s; }
.emk-ct.is-in .emk-ct__body > :nth-child(3) { transition-delay: .22s; }
.emk-ct.is-in .emk-ct__body > :nth-child(4) { transition-delay: .32s; }
.emk-ct:not(.is-in) .emk-ct__float, .emk-ct:not(.is-in) .emk-ct__float *, .emk-ct:not(.is-in) .emk-ct__ring, .emk-ct:not(.is-in) .emk-ct__chip, .emk-ct:not(.is-in) .emk-ct__tile { animation-play-state: paused; }

@media screen and (max-width: 1199px) { .emk-ct__card { padding: 64px 250px; } .emk-ct__float { width: 200px; } .emk-ct__float--l { left: 24px; } .emk-ct__float--r { right: 24px; } .emk-ct__lead { font-size: 18px; } .emk-ct__chip { left: 80px; } .emk-ct__tile { right: 80px; } }
@media screen and (max-width: 991px) {
    .emk-ct { padding: 0 24px 80px; }
    .emk-ct__card { flex-direction: column; min-height: 0; padding: 56px 28px 40px; gap: 36px; }
    .emk-ct__body { order: 1; }
    .emk-ct__float { position: relative; inset: auto; order: 2; width: 100%; max-width: 340px; rotate: 0deg; animation: none; }
    .emk-ct__float--l, .emk-ct__float--r { left: auto; right: auto; top: auto; }
    .emk-ct__float--l { display: none; }
    .emk-ct__chip, .emk-ct__tile { display: none; }
}
@media screen and (max-width: 991px) {
    .emk-ct { padding: 0 20px 64px; }
    .emk-ct__card { padding: 48px 20px 28px; border-radius: 24px; }
    .emk-ct__card { gap: 0; }
    .emk-ct__body { display: contents; }
    .emk-ct__eyebrow { order: 1; }
    .emk-ct__title { order: 2; }
    .emk-ct__float--r { order: 3; margin: 24px auto 0; }
    .emk-ct__lead { order: 4; margin-top: 20px; }
    .emk-ct__actions { order: 5; width: 100%; }
    .emk-ct__eyebrow { font-size: 16px; padding: 7px 12px; }
    .emk-ct__title { margin-top: 14px; font-size: clamp(24px, 7vw, 28px); line-height: 1.15; }
    .emk-ct__lead { font-size: 16px; line-height: 1.4; }
    .emk-ct__actions { flex-direction: column; align-items: stretch; margin-top: 24px; }
    .emk-ct__btn { justify-content: center; font-size: 16px; padding: 15px 20px; }
    .emk-ct__card { padding: 44px 20px 24px; }
    .emk-ct__float { max-width: 100%; }
    .emk-ct__float--r { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: end; padding: 14px 18px; border-radius: 18px; }
    .emk-ct__float--r small { grid-column: 1; grid-row: 1; font-size: 11px; }
    .emk-ct__float--r strong { grid-column: 1; grid-row: 2; margin-top: 4px; font-size: 30px; }
    .emk-ct__float--r .emk-ct__bars { grid-column: 2; grid-row: 1 / span 2; height: 52px; margin-top: 0; gap: 5px; }
    .emk-ct__ring--1 { width: 380px; height: 380px; } .emk-ct__ring--2 { width: 560px; height: 560px; }
}
@media screen and (min-width: 641px) and (max-width: 991px) {
    .emk-ct__card { padding: 56px 40px 52px; }
    .emk-ct__title { font-size: 36px; }
    .emk-ct__lead { max-width: 440px; font-size: 18px; }
    .emk-ct__float--r { width: 100%; max-width: 340px; grid-template-columns: auto 1fr; column-gap: 28px; margin: 28px auto 0; }
    .emk-ct__float--r .emk-ct__bars { width: 100%; max-width: 170px; justify-self: end; }
    .emk-ct__actions { flex-direction: row; justify-content: center; align-items: center; width: auto; margin-top: 28px; }
    .emk-ct__btn { flex: 0 0 auto; padding: 15px 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .emk-ct__card, .emk-ct__body > * { opacity: 1; transform: none; transition: none; }
    .emk-ct__float, .emk-ct__float *, .emk-ct__ring, .emk-ct__chip, .emk-ct__tile { animation: none !important; }
    .emk-ct__btn, .emk-ct__btn svg { transition: none; }
}

/* Correo = imagen (seccion1_imagenN.webp) */
.emk-mail { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.emk-mail::-webkit-scrollbar { display: none; }
.emk-mail__img { display: block; width: 100%; height: auto; flex: none; }

.emk-au__av { overflow: hidden; background: #fff; }
.emk-au__av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.emk-au__hero { padding: 0; overflow: hidden; background: transparent; }
.emk-au__hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Flyer dentro del bloque de la simulación */
.emk-ms__mart img { display: block; width: 100%; height: auto; border-radius: 0; pointer-events: none; }
.emk-ms__marrow { width: 22px; height: 11px; margin-top: 6px; flex: none; }
.emk-ms__marrow + .emk-ms__mbtn { margin-top: 0; }

/* ==========================================================================
   CAMPAÑAS MASIVAS — ajuste desktop: toda la sección cabe en una pantalla (100vh).
   El ancho de las tarjetas se calcula según el alto disponible.
   ========================================================================== */
@media screen and (min-width: 992px) {
    .emk-ms { min-height: 100vh; padding: 32px 30px; display: flex; align-items: center; }
    .emk-ms__inner { width: 1240px; }
    .emk-ms__title { margin-top: 12px; }
    .emk-ms__lead { margin-top: 12px; }
    .emk-ms__bar { margin-top: 36px; }
    .emk-ms__chip { padding: 9px 18px; font-size: 14px; }
    .emk-ms__arrow { width: 38px; height: 38px; }
    .emk-ms__track { padding: 18px 2px 10px; margin-top: 12px; gap: 20px; }
    .emk-ms__card { width: clamp(170px, calc((100vh - 440px) * .564 + 28px), 260px); }
    .emk-ms__mock { gap: 8px; padding: 16px 14px 16px; }
    .emk-ms__mbrand { font-size: 11px; }
    .emk-ms__mline { height: 5px; margin-top: 0; }
    .emk-ms__mline--s { margin-top: -4px; }
    .emk-ms__mbtn { margin-top: 0; padding: 8px 16px; font-size: 11px; }
    .emk-ms__logo { margin-top: 8px; height: 24px; }
    .emk-ms__foot { margin-top: 14px; }
}

/* Automatizaciones: colores de marca según el flyer de cada correo */
.emk-au__mail .emk-au__av { background: var(--bs, #fff); color: var(--b, var(--emk-purple)); font-weight: 700; }
.emk-au__mail .emk-au__auto { background: var(--bs, var(--emk-lilac)); color: var(--b, var(--emk-purple-strong)); }
.emk-au__mail .emk-au__mb h4 { color: var(--b, var(--emk-ink)); }
.emk-au__mail .emk-au__cta { background: var(--b, var(--emk-purple)); }

/* Espaciado entre secciones: 350px (175px abajo de una + 175px arriba de la siguiente) */
.emk-hero { padding-bottom: 175px; }
@media screen and (max-width: 991px) { .emk-hero { padding-bottom: 72px; } }
@media screen and (max-width: 640px) { .emk-hero { padding-bottom: 56px; } }
.emk-how, .emk-ty, .emk-au, .emk-ms, .emk-dm, .emk-rp, .emk-cp { padding-top: 175px; padding-bottom: 175px; }
.emk-ct { padding-top: 175px; padding-bottom: 175px; }
@media screen and (max-width: 991px) { .emk-ct { padding-top: 72px; padding-bottom: 72px; } }
@media screen and (max-width: 640px) { .emk-ct { padding-top: 56px; padding-bottom: 56px; } }
@media screen and (max-width: 380px) { .emk-ct { padding-left: 14px; padding-right: 14px; } .emk-ct__card { padding-left: 16px; padding-right: 16px; } }
/* Reportes: en tablet/mobile se respeta su padding responsive */
@media screen and (max-width: 991px) { .emk-rp { padding-top: 72px; padding-bottom: 72px; } }
@media screen and (max-width: 640px) { .emk-rp { padding-top: 56px; padding-bottom: 56px; } }
@media screen and (max-width: 380px) { .emk-rp { padding-left: 14px; padding-right: 14px; } }
/* Tipos de campañas: en tablet/mobile se respeta el padding de su bloque responsive */
@media screen and (max-width: 991px) { .emk-ty { padding-top: 72px; padding-bottom: 72px; } }
@media screen and (max-width: 640px) { .emk-ty { padding-top: 56px; padding-bottom: 56px; } }
/* Campañas automatizadas: en tablet/mobile se respeta su padding responsive */
@media screen and (max-width: 991px) { .emk-au { padding-top: 72px; padding-bottom: 72px; } }
@media screen and (max-width: 640px) { .emk-au { padding-top: 56px; padding-bottom: 56px; } }
@media screen and (max-width: 380px) { .emk-au { padding-top: 48px; padding-bottom: 48px; } }
/* Cómo funciona: en tablet/mobile se respeta el padding definido en su bloque responsive (el de 175px de arriba es solo desktop) */
@media screen and (max-width: 991px) {
    .emk-how { padding-top: 72px; padding-bottom: 80px; }
    .emk-how__title > strong { white-space: normal; text-wrap: balance; }
}
@media screen and (max-width: 640px) {
    .emk-how { padding-top: 56px; padding-bottom: 64px; }
    .emk-how__tab { grid-template-columns: auto minmax(0, 1fr); }
    .emk-how__t, .emk-how__d { overflow-wrap: anywhere; }
    .emk-st { padding: 0 16px; gap: 12px; }
    .emk-how__step.is-active .emk-st { padding-top: 16px; padding-bottom: 16px; }
    .emk-st__tag { flex-wrap: wrap; font-size: 12px; }
    .emk-chip { font-size: 13px; gap: 8px; }
    .emk-chip__ico svg { width: 18px; height: 18px; }
    .emk-base__top { flex-wrap: wrap; gap: 10px; }
    .emk-base__ico { width: 40px; height: 40px; }
    .emk-base__txt b { font-size: 24px; }
    .emk-base__stats b { font-size: 16px; }
    .emk-camp { gap: 8px; }
    .emk-camp__row { min-height: 52px; }
    .emk-camp__name { font-size: 15px; line-height: 1.25; }
    .emk-res { gap: 8px; }
    .emk-res__item { min-height: 60px; gap: 10px; }
    .emk-res__av { width: 34px; height: 34px; font-size: 12px; }
    .emk-res__txt strong { font-size: 15px; }
}
@media screen and (max-width: 380px) {
    .emk-how { padding-left: 14px; padding-right: 14px; }
    .emk-chips { grid-template-columns: minmax(0, 1fr); }
    .emk-res__tag { display: none; }
}
/* Campañas masivas: en tablet/mobile se respeta el padding de su bloque responsive (el de 175px es solo desktop) */
@media screen and (max-width: 991px) { .emk-ms { padding-top: 72px; padding-bottom: 72px; } }
@media screen and (max-width: 640px) { .emk-ms { padding-top: 56px; padding-bottom: 56px; } }
/* Padding superior e inferior iguales también en Campañas masivas (sin 100vh centrado) */
@media screen and (min-width: 992px) {
    .emk-ms { min-height: 0; display: block; padding-top: 175px; padding-bottom: 175px; }
}
/* Hero: padding superior fijo aumentado para que no se vea la sección siguiente */
.emk-hero { padding-top: 200px; }
@media screen and (max-width: 991px) { .emk-hero { padding-top: 140px; } }
@media screen and (max-width: 640px) { .emk-hero { padding-top: 120px; } }

/* Demo en vivo: solo desktop; se oculta en tablet y mobile */
@media screen and (max-width: 991px) { .emk-dm { display: none !important; } }

/* Bases de datos: tablet/mobile respetan su padding responsive (el de 175px es solo desktop) */
@media screen and (max-width: 991px) { .emk-cp { padding-top: 72px; padding-bottom: 72px; } }
@media screen and (max-width: 640px) {
    .emk-cp { padding-top: 56px; padding-bottom: 56px; }
    .emk-cp__card { margin-top: 28px; overflow: visible; border: 0; border-radius: 0; background: none; }
    .emk-cp__table { display: block; min-width: 0; width: 100%; }
    .emk-cp__table tbody { display: flex; align-items: stretch; gap: 12px; width: auto; margin: 0 -18px; padding: 2px 18px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
    .emk-cp__table tbody::-webkit-scrollbar { display: none; }
    .emk-cp__table thead { display: none; }
    .emk-cp__table tbody tr { display: block; flex: 0 0 86%; scroll-snap-align: start; background: #fff; border: 1px solid var(--emk-line); border-radius: 18px; overflow: hidden; }
    .emk-cp__table tbody th { display: block; height: auto; padding: 16px 16px 14px; text-align: left; border-top: 0; background: var(--emk-lilac); }
    .emk-cp__tag { font-size: 14px; }
    .emk-cp__name { max-width: none; margin: 8px 0 0; font-size: 16px; line-height: 1.3; text-wrap: pretty; }
    .emk-cp__table tbody tr::after { content: ""; display: table; clear: both; }
    .emk-cp__table tbody td { float: left; width: 50%; height: auto; min-height: 52px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; border-left: 0; border-top: 1px dashed var(--emk-line); cursor: pointer; }
    .emk-cp__table tbody td:nth-of-type(odd) { border-right: 1px dashed var(--emk-line); }
    .emk-cp__table tbody td::before { content: attr(data-label); font-size: 14px; font-weight: 400; line-height: 1.2; color: #33363d; }
    .emk-cp__table tbody td[data-on="0"]::before { color: #8a8f98; }
    .emk-cp__table tbody td:last-child:nth-of-type(odd) { width: 100%; border-right: 0; }
    .emk-cp__ok { width: 26px; height: 26px; }
    .emk-cp__ok svg { width: 14px; height: 14px; }
    .emk-cp__sum { margin-top: 14px; line-height: 1.35; }
    .emk-cp__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
    .emk-cp__dot { width: 8px; height: 8px; border-radius: 99px; background: var(--emk-lilac-2); cursor: pointer; transition: width .3s var(--emk-ease), background-color .3s ease; }
    .emk-cp__dot.is-active { width: 24px; background: var(--emk-purple-strong); }
}
@media screen and (max-width: 380px) {
    .emk-cp { padding-left: 14px; padding-right: 14px; }
    .emk-cp__table tbody { margin: 0 -14px; padding: 2px 14px 4px; scroll-padding: 0 14px; }
    .emk-cp__table tbody td { padding: 10px; }
}
@media screen and (min-width: 641px) { .emk-cp__dots { display: none; } }

/* ==========================================================================
   MOBILE — espaciado entre secciones: 200px (100px abajo + 100px arriba)
   ========================================================================== */
@media screen and (max-width: 640px) {
    .emk-hero { padding-bottom: 100px; }
    .emk-how, .emk-ty, .emk-au, .emk-ms, .emk-dm,
    .emk-rp, .emk-cp, .emk-ct {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

/* ==========================================================================
   Padding unificado de secciones en tablet y mobile (va al final para ganar la cascada)
   Tablet: 72px 24px · Mobile: 56px 18px · Mobile pequeño: 14px laterales
   ========================================================================== */
@media screen and (max-width: 991px) {
    .emk-how, .emk-ty, .emk-au, .emk-ms, .emk-rp, .emk-cp, .emk-ct { padding: 72px 24px; }
    .emk-hero { padding-left: 24px; padding-right: 24px; padding-bottom: 72px; }
}
@media screen and (max-width: 640px) {
    .emk-how, .emk-ty, .emk-au, .emk-ms, .emk-rp, .emk-cp, .emk-ct { padding: 56px 18px; }
    .emk-hero { padding-left: 18px; padding-right: 18px; padding-bottom: 56px; }
}
@media screen and (max-width: 380px) {
    .emk-how, .emk-ty, .emk-au, .emk-ms, .emk-rp, .emk-cp, .emk-ct { padding-left: 14px; padding-right: 14px; }
    .emk-hero { padding-left: 14px; padding-right: 14px; }
}

/* ==========================================================================
   Encabezados unificados (eyebrow, título, descripción) en tablet y mobile
   ========================================================================== */
@media screen and (max-width: 991px) {
    .emk-how__head, .emk-ty__head, .emk-au__head, .emk-ms__head { max-width: none; margin-left: auto; margin-right: auto; text-align: center; }
    .emk-cp__head { text-align: center; }
    .emk-how__title, .emk-ty__title, .emk-au__title, .emk-ms__title, .emk-rp__title, .emk-cp__title { text-align: center; }
    .emk-ty__eyebrow, .emk-au__eyebrow, .emk-ms__eyebrow, .emk-rp__eyebrow, .emk-cp__eyebrow { font-size: 18px; }
    .emk-ty__title, .emk-au__title, .emk-ms__title, .emk-rp__title, .emk-cp__title { margin: 8px 0 0; }
    .emk-how__title { margin: 0; }
    .emk-how__lead, .emk-ty__lead, .emk-au__lead, .emk-ms__lead { max-width: none; margin: 12px auto 0; font-size: 18px; line-height: 1.35; text-align: center; }
    .emk-rp__lead { max-width: 640px; margin: 12px auto 0; font-size: 18px; line-height: 1.35; text-align: center; }
    .emk-cp__lead { max-width: none; margin: 12px auto 0; font-size: 18px; line-height: 1.35; text-align: center; }
}
@media screen and (max-width: 640px) {
    .emk-ty__eyebrow, .emk-au__eyebrow, .emk-ms__eyebrow, .emk-rp__eyebrow, .emk-cp__eyebrow { font-size: 16px; }
    .emk-how__title, .emk-ty__title, .emk-au__title, .emk-ms__title, .emk-rp__title, .emk-cp__title { font-size: clamp(24px, 7vw, 28px); line-height: 1.15; }
    .emk-how__lead, .emk-ty__lead, .emk-au__lead, .emk-ms__lead, .emk-rp__lead, .emk-cp__lead { max-width: none; margin-top: 12px; font-size: 16px; line-height: 1.4; }
}

/* ==========================================================================
   Ancho de contenido unificado en tablet/mobile: todas las secciones usan el mismo
   ancho máximo (620px) centrado, de modo que el espaciado lateral coincide.
   ========================================================================== */
@media screen and (max-width: 991px) {
    .emk-how__inner, .emk-ty__inner, .emk-au__inner, .emk-ms__inner, .emk-rp__inner, .emk-cp__inner, .emk-ct__inner { width: 100%; max-width: 620px; margin-left: auto; margin-right: auto; }
    .emk-how__head, .emk-ty__head, .emk-au__head, .emk-ms__head, .emk-cp__head,
    .emk-how__steps, .emk-ty__grid, .emk-au__stage { max-width: 620px; }
}


/* Cómo funciona: en desktop el título del paso no se parte en dos líneas; la columna de pasos gana ancho */
@media screen and (min-width: 1200px) {
    .emk-how__steps { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
    .emk-how__t { white-space: nowrap; }
}

/* CTA final: hover del botón fantasma y del principal con colores legibles */
.emk-ct .emk-ct__btn--main:hover { background: var(--emk-ink); border-color: var(--emk-ink); color: #fff !important; }
.emk-ct .emk-ct__btn--ghost:hover { background: #fff; border-color: #fff; color: var(--emk-purple-strong) !important; }

/* Bases de datos: 9 productos y campañas automatizadas con color propio */
.emk-cp__corner { width: 19% !important; }
.emk-cp__table thead th:not(.emk-cp__corner) { padding-left: 4px; padding-right: 4px; }
.emk-cp__table thead b { font-size: 14px; }
.emk-cp__tag--auto { background: var(--emk-navy-tint); color: var(--emk-navy); }
/* Cabecera: tipos de campaña (columnas) */
.emk-cp__table thead th:not(.emk-cp__corner) { cursor: default; padding: 16px 8px; }
.emk-cp__table thead th.emk-cp__col--auto { background: var(--emk-navy); }
/* Filas: productos */
.emk-cp__table tbody th { cursor: pointer; text-align: left; padding-left: 24px; padding-right: 12px; transition: background-color .4s ease; }
.emk-cp__table tbody th > span { vertical-align: middle; }
.emk-cp__pico { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 12px; border-radius: 12px; background: var(--emk-lilac-2); color: var(--emk-purple-strong); }
.emk-cp__pico svg { width: 20px; height: 20px; }
.emk-cp__ptxt { display: inline-block; line-height: 1.15; }
.emk-cp__ptxt small { display: block; font-size: 12px; font-weight: 300; color: #6a6f78; }
.emk-cp__ptxt b { display: block; font-size: 16px; font-weight: 600; color: var(--emk-ink); }
.emk-cp__table tbody td, .emk-cp__table tbody th { height: 68px; padding-top: 8px; padding-bottom: 8px; }
.emk-cp__table tbody td { cursor: pointer; }
.emk-cp__table tbody td.emk-cp__col--auto .emk-cp__ok { background: var(--emk-navy); }
.emk-cp__table tbody tr.is-row th, .emk-cp__table tbody tr.is-row td { background: var(--emk-lilac); }
.emk-cp__table tbody tr.is-row td.emk-cp__col--auto { background: var(--emk-navy-soft); }
@media screen and (min-width: 641px) and (max-width: 991px) { .emk-cp__table { min-width: 1060px; } }
@media screen and (max-width: 640px) { .emk-cp__table tbody th { height: auto; padding: 16px 16px 14px; cursor: default; } .emk-cp__table tbody td { height: auto; } .emk-cp__table tbody td.emk-cp__col--auto::before { color: var(--emk-navy); } }

/* ==========================================================================
   EMAIL MKT — CONOCE FIX EN UN MINUTO (video). Mismo diseño que FIX Agente.
   ========================================================================== */
.emk-know {
    --emk-purple: #957afb;
    --emk-purple-strong: #8566f6;
    --emk-purple-soft: #f1edff;
    --emk-lilac: #f4efff;
    --emk-ink: #141414;
    --emk-gray: #8b9099;
    --emk-muted: #a3a7af;
    --emk-line: #e8e8ec;
    --emk-soft: #f5f5f7;
    --emk-navy: #1b1c2a;
    --emk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --emk-bounce: cubic-bezier(0.34, 1.45, 0.64, 1);

    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    padding: 100px 30px;
    background: var(--emk-lilac); /* fondo lila claro de la sección */
    color: var(--emk-ink);
    font-family: 'touche', sans-serif;
}

.emk-know *,
.emk-know *::before,
.emk-know *::after {
    box-sizing: border-box;
}

.emk-know__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1240px;
    max-width: 100%;
    margin: 0 auto;
    /* Bloque lila con rayas blancas (igual que "Cada negocio vende diferente") */
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 4.5vw, 60px) clamp(24px, 5vw, 72px);
    border-radius: 44px;
    background-color: var(--emk-purple);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132'%3E%3Cpath d='M132 0v132M0 132h132' fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='1'/%3E%3C/svg%3E");
    color: #fff;
}

/* ---------- Video ---------- */

.emk-know__visual {
    position: relative;
    width: 100%;
    max-width: 1040px;
    margin-top: 34px;
}

.emk-know__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    background: var(--emk-purple-soft);
    border: 3px solid #fff;
    opacity: 0;
    transform: translateY(36px) scale(0.96);
    transition: opacity 0.7s ease, transform 0.9s var(--emk-ease);
}

.emk-know.is-in .emk-know__media {
    opacity: 1;
    transform: none;
}

.emk-know__video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    cursor: pointer;
}

/* ---------- Controles del video (estilo YouTube) ---------- */

.emk-know__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 14px 12px;
    background: linear-gradient(to top, rgba(20, 10, 40, 0.65), rgba(20, 10, 40, 0));
    opacity: 1;
    transition: opacity 0.25s ease;
}

.emk-know__media.is-playing:not(:hover):not(:focus-within) .emk-know__controls {
    opacity: 0;
}

.emk-know__ctrl {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1.5px solid var(--emk-purple);
    border-radius: 50%;
    background: #fff;
    color: var(--emk-purple);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--emk-bounce);
    -webkit-tap-highlight-color: transparent;
}

.emk-know__ctrl:hover {
    background: var(--emk-purple);
    color: #fff;
    transform: scale(1.06);
}

.emk-know__ctrl:focus-visible {
    outline: 2px solid var(--emk-purple);
    outline-offset: 3px;
}

.emk-know__ctrl svg {
    width: 18px;
    height: 18px;
}

.emk-know__play .is-play { display: block; }
.emk-know__play .is-pause { display: none; }
.emk-know__media.is-playing .emk-know__play .is-play { display: none; }
.emk-know__media.is-playing .emk-know__play .is-pause { display: block; }

.emk-know__time {
    flex: none;
    min-width: 34px;
    color: #fff;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.emk-know__progress {
    position: relative;
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    touch-action: none;
    transition: height 0.15s ease;
}

/* Zona de toque ampliada */
.emk-know__progress::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}

.emk-know__progress:hover,
.emk-know__progress.is-dragging {
    height: 7px;
}

.emk-know__progress:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.emk-know__buffer,
.emk-know__played {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-radius: inherit;
}

.emk-know__buffer { background: rgba(255, 255, 255, 0.45); }
.emk-know__played { background: var(--emk-purple); }

.emk-know__thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--emk-purple);
    border: 2px solid #fff;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.15s ease;
    pointer-events: none;
}

.emk-know__progress:hover .emk-know__thumb,
.emk-know__progress:focus-visible .emk-know__thumb,
.emk-know__progress.is-dragging .emk-know__thumb {
    transform: translate(-50%, -50%) scale(1);
}

.emk-know__sound:hover {
    background: var(--emk-purple);
    color: #fff;
    transform: scale(1.06);
}

.emk-know__sound:focus-visible {
    outline: 2px solid var(--emk-purple);
    outline-offset: 3px;
}

.emk-know__sound svg {
    width: 18px;
    height: 18px;
}

.emk-know__sound .is-on { display: none; }
.emk-know__sound[aria-pressed="true"] .is-on { display: block; }
.emk-know__sound[aria-pressed="true"] .is-off { display: none; }

/* ---------- Texto ---------- */

.emk-know__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
    max-width: 1040px; /* mismo ancho que el video */
    text-align: center;
}

.emk-know__badge {
    margin-bottom: 18px;
}

.emk-know__title {
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.23;
    letter-spacing: -0.01em;
}

.emk-know__title > * {
    display: block;
}

.emk-know__title > span {
    color: #fff;
    font-size: 20.4px; /* = eyebrow de "Cómo trabaja FIX" (0.68 × 30px) */
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.emk-know__title > strong {
    margin-top: 0.06em;
    color: #fff;
    font-size: 1.18em;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.emk-know__title em {
    color: #ece6ff;
    font-style: normal;
    font-weight: 600;
}

.emk-know__fade {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.8s var(--emk-ease);
}

.emk-know.is-in .emk-know__fade {
    opacity: 1;
    transform: none;
}

.emk-know__caption {
    margin: 18px 0 0;
    max-width: none;
    color: #fff;
    font-size: 20px;
    font-weight: 200;
    line-height: 1.35;
    transition-delay: 0.3s;
}

/* ---------- CTA (usa .emk-button del hero) ---------- */

.emk-know .emk-know__cta {
    background: #fff;
    border-color: #fff;
    color: var(--emk-purple);
}

.emk-know .emk-know__cta svg {
    color: #b9a6ff;
    transition: color 0.2s ease, transform 0.25s var(--emk-ease);
}

.emk-know .emk-know__cta:hover,
.emk-know .emk-know__cta:focus-visible {
    background: #f4f0ff;
    border-color: #f4f0ff;
    color: var(--emk-purple);
}

.emk-know .emk-know__cta:hover svg,
.emk-know .emk-know__cta:focus-visible svg {
    color: #b9a6ff;
}

.emk-know__cta {
    margin-top: 28px;
    transition: opacity 0.7s ease, transform 0.8s var(--emk-ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    transition-delay: 0.85s, 0.85s, 0s, 0s, 0s;
}

.emk-know__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    height: 48px;
    padding: 0 1.6rem;
    border: 1.5px solid #fff;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
}
.emk-know__cta span { display: block; line-height: 1; padding-top: 0.3rem; }
.emk-know__cta svg { display: block; width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.25s var(--emk-ease); }
.emk-know__cta:hover svg { transform: translateX(3px); }

.emk-know.emk-know.emk-know { padding-top: 150px; padding-bottom: 150px; }
@media screen and (max-width: 991px) {
    .emk-know { padding: 65px 20px; }
    .emk-know.emk-know.emk-know { padding-top: 75px; padding-bottom: 75px; }
    .emk-know__inner { border-radius: 32px; }
    .emk-know__visual { margin-top: 28px; }
    .emk-know__title { font-size: 30px; }
    .emk-know__title > span { font-size: 15px; }
    .emk-know__caption { font-size: 18px; }
}
@media screen and (max-width: 640px) {
    .emk-know { padding: 48px 16px; }
    .emk-know__inner { width: 100%; padding: 28px 16px 20px; border-radius: 26px; background-size: 96px 96px; }
    .emk-know__content { width: 100%; }
    .emk-know__visual { margin-top: 24px; }
    .emk-know__media { border-width: 2px; border-radius: 16px; }
    .emk-know__controls { gap: 7px; padding: 22px 10px 8px; }
    .emk-know__time { font-size: 11px; min-width: 28px; }
    .emk-know__ctrl { width: 32px; height: 32px; }
    .emk-know__ctrl svg { width: 15px; height: 15px; }
    .emk-know__title { font-size: 24px; }
    .emk-know__title > span { font-size: 13px; }
    .emk-know__caption { font-size: 16px; }
    .emk-know__cta { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .emk-know__media, .emk-know__fade, .emk-know__cta { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.emk-know__cta:hover { transition-delay: 0s; }
