/* ═══════════════════════════════════════════
   TECNOSYSCOL — EMPRESAS (Bloque D.3)
   Hub B2B: hero + servicios + planes + terus + quiz + casos + faq
   Misma arquitectura Light/Dark · tokens --ts-*
   ═══════════════════════════════════════════ */

#servicios-empresas,
#planes,
#terus,
#quiz,
#faq {
    scroll-margin-top: 132px;
}

/* ═══ 1 · HERO ═══ */
.em-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(720px 420px at 78% 48%, rgba(8, 102, 245, 0.11), transparent 68%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 68%, #ffffff 100%);
    padding: 160px 0 20px;
}

@media (min-width: 992px) {
    .em-hero {
        min-height: calc(100vh - 110px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding-top: 140px !important;
        padding-bottom: 50px !important;
    }
}

[data-theme="dark"] .em-hero {
    background:
        radial-gradient(760px 440px at 78% 45%, rgba(8, 102, 245, 0.22), transparent 68%),
        linear-gradient(180deg, #02091a 0%, #061329 72%, var(--ts-bg) 100%);
}

.em-hero::after {
    content: '';
    position: absolute;
    width: 430px;
    height: 330px;
    right: -32px;
    top: 118px;
    background-image: radial-gradient(circle, rgba(8, 102, 245, 0.16) 1px, transparent 1.5px);
    background-size: 14px 14px;
    mask-image: linear-gradient(90deg, transparent, #000 42%, transparent 96%);
    pointer-events: none;
}

.em-hero__glow {
    position: absolute;
    width: 620px;
    height: 360px;
    top: 22%;
    right: 2%;
    background: rgba(8, 102, 245, 0.09);
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
}

.em-hero__inner {
    max-width: var(--ts-container);
    margin-inline: auto;
    padding-inline: var(--ts-pad-inline);
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(12px, 1.8vw, 24px);
    align-items: center;
    position: relative;
    z-index: 2;
}

.em-hero .breadcrumbs {
    display: none;
}

.em-hero .breadcrumbs a {
    color: var(--ts-text-3);
}

.em-hero .breadcrumbs a:hover {
    color: var(--ts-brand);
}

.em-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ts-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ts-brand);
    background: var(--ts-label-bg);
    border: 1px solid var(--ts-label-border);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.em-hero h1 {
    font-family: var(--ts-font-h);
    font-size: clamp(36px, 3.4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ts-text);
    margin-bottom: 14px;
    max-width: 520px;
}

.em-hero h1 em {
    font-style: normal;
    color: var(--ts-brand);
}

.em-hero__sub {
    font-family: var(--ts-font);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ts-text-2);
    max-width: 430px;
    margin-bottom: 20px;
}

.em-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.em-hero__actions .ts-btn {
    min-height: 44px;
    font-size: 13.5px;
    padding: 10px 24px;
    border-radius: 9px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.em-hero__actions .ts-btn--primary {
    background: var(--ts-btn-primary-bg);
    color: #fff;
    border: 1.5px solid var(--ts-btn-primary-bg);
    box-shadow: 0 8px 24px rgba(8, 102, 245, 0.3);
}

.em-hero__actions .ts-btn--primary:hover {
    background: var(--ts-btn-primary-hover);
    transform: translateY(-1px);
}

.em-hero__actions .ts-btn--secondary {
    background: transparent;
    color: var(--ts-text);
    border: 1.5px solid var(--ts-border-strong);
}

.em-hero__actions .ts-btn--secondary:hover {
    border-color: var(--ts-brand);
    color: var(--ts-brand);
}

.em-hero__actions .ts-btn:focus-visible {
    outline: var(--ts-focus);
    outline-offset: 3px;
}

.em-hero__micro {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.em-hero__micro-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ts-font);
    font-size: 12px;
    font-weight: 500;
    color: var(--ts-text-2);
}

.em-hero__micro-item svg {
    width: 16px;
    height: 16px;
    color: var(--ts-brand);
    flex-shrink: 0;
}

/* ═══ Hero Visual — Carrusel de imágenes compuestas (I.2) ═══ */
.em-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 4 / 3;
    justify-self: start;
    margin-left: -18px;
    overflow: visible;
}

.em-hero__image,
.em-hero__slide {
    display: block;
    position: absolute;
    width: 125%;
    height: 125%;
    max-width: none;
    left: 7%;
    top: 50%;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.10));
    pointer-events: none;
}

.em-hero__image.is-active,
.em-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

[data-theme="dark"] .em-hero__image,
[data-theme="dark"] .em-hero__slide {
    filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.30));
}

/* VIP Badge flotante en el Hero de Empresas */
.em-hero__vip-badge {
    position: absolute;
    bottom: -10px;
    right: 10px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
    color: #0F172A !important;
    font-family: var(--ts-font);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 138, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.85);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: vipBadgeBounce 4s ease-in-out infinite alternate;
}

.em-hero__vip-badge:hover {
    transform: scale(1.06) translateY(-3px);
    box-shadow: 0 14px 32px rgba(255, 138, 0, 0.6), 0 0 20px rgba(255, 184, 0, 0.5);
}

@keyframes vipBadgeBounce {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-6px);
    }
}

/* ═══ 2 · SERVICIOS ═══ */
.em-servicios {
    padding: 30px 0 38px;
    background: var(--ts-bg);
}

.em-servicios__head {
    max-width: 680px;
    margin: 0 auto 18px;
    text-align: center;
}

.em-servicios__eyebrow {
    display: block;
    margin-bottom: 5px;
    font-family: var(--ts-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ts-brand);
}

.em-servicios__head h2 {
    font-family: var(--ts-font-h);
    font-size: clamp(24px, 2.25vw, 29px);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ts-text);
    margin-bottom: 0;
    text-wrap: balance;
}

/* Bento grid — I.2 Fase 1 */
.em-servicios__grid {
    display: grid;
    grid-template-columns: minmax(0, 3.35fr) repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(143px, auto));
    gap: 12px;
    width: min(calc(100% - 48px), 1160px);
    margin-inline: auto;
}

.em-servicio {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    background: var(--ts-card-bg);
    border: 1px solid var(--ts-card-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 35, 70, 0.06);
    padding: 15px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.em-servicio:hover {
    transform: translateY(-2px);
    border-color: var(--ts-card-hover-border);
    box-shadow: var(--ts-card-shadow-hover);
}

.em-servicio:focus-visible,
.em-servicio__cta:focus-visible {
    outline: var(--ts-focus);
    outline-offset: 3px;
}

/* ── Card destacada (Outsourcing) ── */
.em-servicio--destacado {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    grid-row: 1 / 3;
    grid-column: 1;
    background: linear-gradient(145deg, #071a42 0%, #083b89 58%, #0866f5 145%);
    color: #fff;
    padding: 16px 18px;
    gap: 6px;
}

.em-servicio--destacado::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 58%, rgba(255, 255, 255, 0.07)),
        radial-gradient(circle at 88% 28%, rgba(255, 255, 255, 0.16) 1px, transparent 1.5px);
    background-size: auto, 15px 15px;
    mask-image: linear-gradient(90deg, transparent 28%, #000);
}

.em-servicio.em-servicio--destacado h3 {
    color: #fff;
    font-size: 17px;
}

.em-servicio.em-servicio--destacado p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.4;
}

.em-servicio--destacado .em-servicio__icon {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 0;
    color: #fff;
}

.em-servicio--destacado .em-servicio__icon svg {
    width: 42px;
    height: 42px;
}

.em-servicio--destacado .em-servicio__features {
    margin-top: 2px;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.em-servicio--destacado .em-servicio__features li {
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 17px;
    position: relative;
}

.em-servicio--destacado .em-servicio__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34d399;
    font-weight: 700;
}

.em-servicio--destacado .em-servicio__badge {
    align-self: flex-start;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: rgba(8, 102, 245, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 3px 8px;
}

.em-servicio--destacado .em-servicio__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    width: 100%;
    padding: 8px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    font-size: 12.5px;
    font-weight: 700;
    color: #0757d9;
    margin-top: 14px;
    text-decoration: none;
}

.em-servicio--destacado .em-servicio__cta:hover {
    opacity: 0.85;
}

/* ── Bento positions (desktop) ── */
.em-servicio--reds {
    grid-row: 1;
    grid-column: 2 / 5;
}

.em-servicio--servers {
    grid-row: 1;
    grid-column: 5 / 8;
}

.em-servicio--seg {
    grid-row: 2;
    grid-column: 2 / 4;
}

.em-servicio--cctv {
    grid-row: 2;
    grid-column: 4 / 6;
}

.em-servicio--software {
    grid-row: 2;
    grid-column: 6 / 8;
}

.em-servicio__icon {
    grid-row: 1 / 4;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    padding: 6px;
    background: var(--ts-icon-bg, #F3F7FF);
    border: 1px solid var(--ts-label-border, rgba(8, 102, 245, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ts-brand);
    flex-shrink: 0;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

[data-theme="dark"] .em-servicio__icon {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(101, 160, 255, 0.25);
}

.em-servicio__icon svg {
    width: 36px;
    height: 36px;
}

.em-servicio__png-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(8, 102, 245, 0.22));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.em-servicio:hover .em-servicio__png-icon {
    transform: scale(1.14) rotate(3deg);
    filter: drop-shadow(0 8px 18px rgba(8, 102, 245, 0.42));
}

.em-servicio h3 {
    grid-column: 2;
    font-family: var(--ts-font-h);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ts-text);
    line-height: 1.3;
}

.em-servicio p {
    grid-column: 2;
    font-family: var(--ts-font);
    font-size: 11.5px;
    color: var(--ts-text-3);
    line-height: 1.45;
}

.em-servicio__link {
    grid-column: 2;
    align-self: end;
    font-family: var(--ts-font);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ts-brand);
}

/* ═══ EXPANSIÓN DE NAVEGACIÓN Y FOOTER A 1360PX ═══ */
.nav__inner,
.footer__inner {
    max-width: var(--ts-container, 1360px) !important;
}

/* ═══ 3 · PROCESO EMPRESAS ═══ */
.em-proceso {
    padding: 16px 0 38px;
    background: var(--ts-bg);
}

.em-proceso__panel {
    width: min(calc(100% - 48px), 1160px);
    margin-inline: auto;
    padding: 22px 30px 18px;
    border: 1px solid rgba(8, 102, 245, 0.10);
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f9ff 0%, #edf4ff 100%);
    box-shadow: 0 12px 34px rgba(13, 38, 76, 0.05);
}

[data-theme="dark"] .em-proceso__panel {
    border-color: rgba(95, 160, 255, 0.20);
    background: linear-gradient(135deg, rgba(14, 32, 62, 0.96), rgba(9, 25, 52, 0.96));
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.em-proceso__head {
    text-align: center;
    margin-bottom: 18px;
}

.em-proceso__eyebrow,
.em-proceso__technologies>h3 {
    display: block;
    font-family: var(--ts-font);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ts-brand);
}

.em-proceso__head h2 {
    margin-top: 7px;
    font-family: var(--ts-font-h);
    font-size: clamp(22px, 2.2vw, 29px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ts-text);
}

.em-proceso__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.em-proceso__step {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 12px;
    padding-top: 38px;
    min-width: 0;
    align-items: center;
}

.em-proceso__number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(8, 102, 245, 0.22);
    border-radius: 50%;
    background: var(--ts-card-bg);
    box-shadow: 0 4px 14px rgba(8, 102, 245, 0.08);
    font: 700 12px/1 var(--ts-font);
    color: var(--ts-brand);
    z-index: 3;
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.em-proceso__num-text {
    position: relative;
    z-index: 2;
}

.em-proceso__ring {
    position: absolute;
    inset: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 1;
}

.em-proceso__ring-bg {
    fill: none;
    stroke: transparent;
    stroke-width: 2.5;
}

.em-proceso__ring-fill {
    fill: none;
    stroke: #10B981;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-dasharray: 110;
    stroke-dashoffset: 110;
    transition: stroke-dashoffset 2s linear;
}

/* Línea Verde de Conexión Animada */
.em-proceso__line-progress {
    position: absolute;
    top: 17px;
    left: calc(50% + 18px);
    right: calc(-50% - 8px);
    height: 2px;
    background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.em-proceso__step:last-child .em-proceso__line-progress {
    display: none;
}

.em-proceso__step.is-line-active .em-proceso__line-progress {
    transform: scaleX(1);
}

.em-proceso__step.is-line-active::after,
.em-proceso__step.is-completed::after {
    color: #10B981 !important;
    opacity: 1;
}

/* Estado Activo / Cargando */
.em-proceso__step.is-active .em-proceso__number {
    border-color: #10B981;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

.em-proceso__step.is-completed .em-proceso__number {
    background: #10B981;
    color: #FFFFFF;
    border-color: #10B981;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}

[data-theme="dark"] .em-proceso__step.is-completed .em-proceso__number {
    background: #059669;
    color: #FFFFFF;
}

/* Resaltado de tarjetas inferiores */
.em-proceso__step.is-active .em-proceso__png-icon,
.em-proceso__step.is-completed .em-proceso__png-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 6px 16px rgba(16, 185, 129, 0.45));
}

.em-proceso__step.is-active .em-proceso__copy,
.em-proceso__step.is-completed .em-proceso__copy {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.em-proceso__step.is-active .em-proceso__copy h3,
.em-proceso__step.is-completed .em-proceso__copy h3 {
    color: #059669;
    transition: color 0.3s ease;
}

[data-theme="dark"] .em-proceso__step.is-active .em-proceso__copy h3,
[data-theme="dark"] .em-proceso__step.is-completed .em-proceso__copy h3 {
    color: #34D399;
}

/* Check / Chulo Verde Final (Paso 04) */
.em-proceso__check-final {
    position: absolute;
    top: -2px;
    left: calc(50% + 14px);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ECFDF5;
    border: 2px solid #10B981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 4;
}

[data-theme="dark"] .em-proceso__check-final {
    background: #064E3B;
}

.em-proceso__check-svg {
    width: 16px;
    height: 16px;
}

.em-proceso__check-svg path {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    transition: stroke-dashoffset 0.4s ease-out 0.15s;
}

.em-proceso__step.is-check-active .em-proceso__check-final {
    opacity: 1;
    animation: check-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.em-proceso__step.is-check-active .em-proceso__check-svg path {
    stroke-dashoffset: 0;
}

.em-proceso__step.is-check-active .em-proceso__number {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6), 0 0 10px rgba(16, 185, 129, 0.3);
}

@keyframes check-pop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.22) rotate(10deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.em-proceso__step::before {
    content: '';
    position: absolute;
    top: 16px;
    left: calc(50% + 17px);
    right: calc(-50% - 7px);
    color: var(--ts-brand);
    border-top: 1px dashed currentColor;
}

.em-proceso__step::after {
    content: '›';
    position: absolute;
    top: 4px;
    right: calc(-50% - 7px);
    opacity: 0.72;
    transform: translateX(0);
    color: var(--ts-brand);
    font: 700 24px/1 var(--ts-font);
    transition: opacity .45s ease, transform .45s ease, color .45s ease;
}

[data-theme="dark"] .em-proceso__step::before,
[data-theme="dark"] .em-proceso__step::after {
    color: #5FA0FF;
}

.em-proceso.is-pulse-active .em-proceso__step:not(:last-child)::after {
    animation-name: emProcesoPulse;
    animation-duration: 3.2s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

.em-proceso.is-pulse-active .em-proceso__step:nth-child(2)::after {
    animation-delay: 0.7s;
}

.em-proceso.is-pulse-active .em-proceso__step:nth-child(3)::after {
    animation-delay: 1.4s;
}

@keyframes emProcesoPulse {
    0% {
        opacity: 0.72;
        transform: translateX(0);
    }

    2% {
        opacity: 0.72;
        transform: translateX(-7px);
    }

    9% {
        opacity: 1;
        transform: translateX(0);
    }

    18%,
    100% {
        opacity: 0.72;
        transform: translateX(0);
    }
}

.em-proceso__step:last-child::before,
.em-proceso__step:last-child::after {
    display: none;
}

.em-proceso__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-top: 0;
    align-self: center;
    color: var(--ts-brand);
}

.em-proceso__icon svg {
    width: 55px;
    height: 55px;
}

.em-proceso__png-icon {
    width: 53px;
    height: 53px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(8, 102, 245, 0.25));
    transition: transform 0.3s ease;
}

.em-proceso__step:hover .em-proceso__png-icon {
    transform: scale(1.14);
}

.em-proceso__copy h3 {
    margin: 2px 0 5px;
    font: 700 14px/1.25 var(--ts-font-h);
    color: var(--ts-text);
}

.em-proceso__copy p {
    margin: 0;
    font: 400 11.5px/1.5 var(--ts-font);
    color: var(--ts-text-3);
}

[data-theme="dark"] .em-proceso__copy p {
    color: #91a9c9;
}

.em-proceso__technologies {
    margin-top: 18px;
    padding: 12px 16px 14px;
    border-radius: 13px;
    background: rgba(8, 102, 245, 0.045);
}

[data-theme="dark"] .em-proceso__technologies {
    background: rgba(8, 102, 245, 0.10);
}

.em-proceso__technologies>h3 {
    margin-bottom: 10px;
    text-align: center;
}

.em-proceso__tech-viewport {
    position: relative;
    overflow: hidden !important;
    width: 100%;
    padding: 6px 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.em-proceso__tech-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 16px;
    width: max-content !important;
    animation: emTechMarquee 32s linear infinite !important;
    will-change: transform;
}

.em-proceso__tech-viewport:hover .em-proceso__tech-track {
    animation-play-state: paused !important;
}

@keyframes emTechMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.em-proceso__tech {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    min-width: 220px;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid var(--ts-card-border, #E7EBF1);
    border-radius: 12px;
    background: var(--ts-card-bg, #FFFFFF);
    box-shadow: 0 4px 16px rgba(13, 38, 76, 0.04);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    flex: 0 0 auto !important;
    user-select: none;
}

[data-theme="dark"] .em-proceso__tech {
    border-color: rgba(100, 165, 245, 0.22);
    background: rgba(14, 32, 62, 0.92);
}

.em-proceso__tech:hover {
    transform: translateY(-2px);
    border-color: #0866F5;
    box-shadow: 0 8px 22px rgba(8, 102, 245, 0.16);
}

.em-proceso__tech-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    padding: 5px;
    background: var(--ts-icon-bg, #F3F7FF);
    border: 1px solid rgba(8, 102, 245, 0.15);
    flex-shrink: 0;
}

[data-theme="dark"] .em-proceso__tech-icon {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(101, 160, 255, 0.2);
}

.em-proceso__tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.em-proceso__tech div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.em-proceso__tech strong {
    font: 700 13px/1.2 var(--ts-font-h);
    color: var(--ts-text, #101b34);
}

[data-theme="dark"] .em-proceso__tech strong {
    color: #F0F4FF;
}

.em-proceso__tech span {
    margin-top: 3px;
    font: 500 9.5px/1.35 var(--ts-font);
    color: var(--ts-text-3, #667085);
}

/* ═══ 4 · AKE POS (POS & ERP DESTACADO) ═══ */
.em-akepos {
    padding: 48px 0;
    background: var(--ts-bg, #FFFFFF);
    transition: background-color .3s ease;
}

.em-akepos__inner {
    max-width: var(--ts-container, 1320px);
    margin-inline: auto;
    padding-inline: var(--ts-pad-inline, 24px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    padding: 32px 36px;
    border-radius: 20px;
    background: var(--ts-card-bg, #FFFFFF);
    border: 1px solid var(--ts-card-border, #E7EBF1);
    box-shadow: var(--ts-card-shadow, 0 12px 36px rgba(13, 38, 76, 0.06));
}

[data-theme="dark"] .em-akepos__inner {
    background: linear-gradient(135deg, rgba(14, 32, 62, 0.95), rgba(8, 20, 42, 0.95));
    border-color: rgba(100, 165, 245, 0.22);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.em-akepos__media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(8, 102, 245, 0.2);
    box-shadow: 0 14px 34px rgba(8, 102, 245, 0.15);
    background: rgba(7, 26, 66, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.em-akepos__img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.em-akepos:hover .em-akepos__img {
    transform: scale(1.02);
}

.em-akepos__contenido h2 {
    font-family: var(--ts-font-h, sans-serif);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    color: var(--ts-text, #101B34);
    margin: 8px 0 12px;
}

[data-theme="dark"] .em-akepos__contenido h2 {
    color: #F0F4FF;
}

.em-akepos__contenido p {
    font: 400 14px/1.6 var(--ts-font, sans-serif);
    color: var(--ts-text-2, #344054);
    margin-bottom: 18px;
}

[data-theme="dark"] .em-akepos__contenido p {
    color: #B8CBEA;
}

.em-akepos__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.em-akepos__features span {
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--ts-bg-blue, #F3F7FF);
    border: 1px solid rgba(8, 102, 245, 0.2);
    color: #0866F5;
    font: 600 11px/1 var(--ts-font, sans-serif);
}

[data-theme="dark"] .em-akepos__features span {
    background: #0F2040;
    border-color: rgba(95, 160, 255, 0.25);
    color: #5FA0FF;
}

/* ═══ BOTONES Y ACCIONES AKE POS ═══ */
.em-akepos__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.em-akepos__actions .ts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    min-height: 46px;
    border-radius: 12px;
    font-family: var(--ts-font, sans-serif);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

/* Botón Principal: Solicitar información */
.em-akepos__actions .ts-btn--primary {
    background: linear-gradient(180deg, #2F7DFF 0%, #0866F5 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(8, 102, 245, 0.28) !important;
}

.em-akepos__actions .ts-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 102, 245, 0.38) !important;
}

/* Botón Secundario: Ver demo en vivo */
.em-akepos__actions .ts-btn--secondary {
    background: var(--ts-bg-blue, #F0F5FF) !important;
    color: #0866F5 !important;
    border: 1.5px solid rgba(8, 102, 245, 0.28) !important;
    box-shadow: 0 4px 14px rgba(8, 102, 245, 0.08) !important;
}

[data-theme="dark"] .em-akepos__actions .ts-btn--secondary {
    background: rgba(15, 32, 64, 0.9) !important;
    color: #5FA0FF !important;
    border-color: rgba(95, 160, 255, 0.35) !important;
}

.em-akepos__actions .ts-btn--secondary:hover {
    background: #0866F5 !important;
    color: #FFFFFF !important;
    border-color: #0866F5 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(8, 102, 245, 0.3) !important;
}

/* VIP Badge flotante en Tarjeta Outsourcing y Soporte TI */
article.em-servicio--destacado {
    position: relative;
    overflow: visible !important;
}

.em-servicio__vip-badge {
    position: absolute !important;
    top: -15px !important;
    right: -15px !important;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFB800 0%, #FF8A00 50%, #E67700 100%);
    color: #0F172A !important;
    font-family: var(--ts-font);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 8px 22px rgba(255, 138, 0, 0.45), 0 0 16px rgba(255, 184, 0, 0.4);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: vipBadgeBounce 3s ease-in-out infinite alternate;
}

.em-servicio__vip-badge:hover {
    transform: scale(1.06) translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 138, 0, 0.65), 0 0 22px rgba(255, 184, 0, 0.6);
}

/* ═══ 3 · PLANES DE IT (REDISEÑO MOCKUP & COBERTURA) ═══ */
.em-planes {
    padding: 110px 0 90px;
    background: url('../../img/pages/empresas/servicios/fondo%20planes.png') center center / cover no-repeat;
    position: relative;
    isolation: isolate;
}

@media (min-width: 992px) {
    .em-planes {
        min-height: calc(100vh - 70px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 24px 0 !important;
    }

    .em-planes__head {
        margin-bottom: 14px !important;
    }

    .em-planes__tag {
        margin-bottom: 8px !important;
        padding: 4px 18px !important;
    }

    .em-planes__head h2 {
        font-size: clamp(20px, 2.2vw, 28px) !important;
        margin-bottom: 4px !important;
    }

    .em-planes__head p {
        font-size: 13.5px !important;
        margin-bottom: 6px !important;
    }

    .em-planes__pills {
        margin-bottom: 16px !important;
        gap: 8px !important;
    }

    .em-plan {
        padding: 22px 20px !important;
        border-radius: 18px !important;
    }

    .em-plan__circle-icon {
        width: 48px !important;
        height: 48px !important;
        margin: 0 auto 10px !important;
    }

    .em-plan__circle-icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .em-plan__top-center {
        margin-bottom: 10px !important;
    }

    .em-plan__top-center h3 {
        font-size: 20px !important;
        margin: 0 0 4px !important;
    }

    .em-plan__subtitulo {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }

    .em-plan__desc-center {
        font-size: 12px !important;
        margin: 0 0 12px !important;
        line-height: 1.45 !important;
    }

    .em-plan__features-list {
        gap: 7px !important;
        margin: 0 0 14px !important;
    }

    .em-plan__features-list li {
        font-size: 12px !important;
        gap: 8px !important;
    }

    .em-plan__summary-box-v2 {
        padding: 10px 12px !important;
        margin-bottom: 12px !important;
    }

    .em-plan__summary-text-v2 {
        font-size: 11.5px !important;
    }

    .em-plan__btn {
        padding: 10px 16px !important;
        font-size: 12.5px !important;
    }

    .em-planes__cobertura {
        margin-top: 14px !important;
        padding: 10px 20px !important;
    }
}

.em-planes__head {
    max-width: 960px;
    margin: 0 auto 36px;
    text-align: center;
}

/* Tag Superior de Planes "PARA EMPRESAS" con Fondo Azul Moderno */
.em-planes__tag {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0066FF 0%, #00C6FF 100%);
    color: #FFFFFF !important;
    font-family: var(--ts-font);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
    margin-bottom: 16px;
}

.em-planes__head h2 {
    font-family: var(--ts-font-h);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 800;
    color: var(--ts-text);
    margin-bottom: 10px;
}

.em-planes__head p {
    font-family: var(--ts-font);
    font-size: 14.5px;
    color: var(--ts-text-2);
    line-height: 1.6;
}

/* Píldoras (Pills) en el Header con SVGs Nítidos */
.em-planes__pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.em-planes__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #0F172A;
    font-family: var(--ts-font);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    white-space: nowrap;
}

.em-planes__pill-svg {
    width: 18px;
    height: 18px;
    stroke: #0866F5;
    flex-shrink: 0;
}

[data-theme="dark"] .em-planes__pill-svg {
    stroke: #60A5FA;
}

.em-planes__pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 102, 245, 0.12);
}

[data-theme="dark"] .em-planes__pill {
    background: rgba(14, 32, 62, 0.92);
    border-color: rgba(100, 165, 245, 0.25);
    color: #F8FAFC;
}

.em-planes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin-inline: auto;
    align-items: stretch;
}

/* Tarjetas Limpias Corporativas (Glassmorphism) */
.em-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 32px 26px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: visible;
}

[data-theme="dark"] .em-plan {
    background: rgba(13, 20, 38, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.em-plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(8, 102, 245, 0.16);
    border-color: rgba(8, 102, 245, 0.4);
}

/* Tarjeta Destacada Central (Borde Azul Grueso) */
.em-plan--featured {
    border: 2.5px solid #0866F5 !important;
    box-shadow: 0 20px 50px rgba(8, 102, 245, 0.22) !important;
}

[data-theme="dark"] .em-plan--featured {
    border-color: #60A5FF !important;
    box-shadow: 0 20px 50px rgba(96, 165, 255, 0.25) !important;
}

/* Badge RECOMENDADO con degradado azul moderno y estrella titilante */
.em-plan__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--ts-font);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #0066FF 0%, #00C6FF 100%) !important;
    padding: 6px 20px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.45);
    z-index: 25 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Titilación amarilla en la estrella blanca */
.em-plan__badge-star {
    display: inline-block;
    color: #FFFFFF;
    font-size: 13px;
    animation: starYellowTwinkle 2.2s ease-in-out infinite;
}

@keyframes starYellowTwinkle {

    0%,
    100% {
        color: #FFFFFF;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9));
        transform: scale(1);
    }

    50% {
        color: #FFD700;
        filter: drop-shadow(0 0 6px #FFD700) drop-shadow(0 0 10px #FF8A00);
        transform: scale(1.35) rotate(15deg);
    }
}

/* Circular Icon Container in Card Header */
.em-plan__circle-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    flex-shrink: 0;
    background: #0866F5 !important;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(8, 102, 245, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

.em-plan__circle-icon svg {
    width: 28px;
    height: 28px;
    stroke: #FFFFFF !important;
}

.em-plan:hover .em-plan__circle-icon,
.em-plan__circle-icon:hover {
    transform: scale(1.18);
    box-shadow: 0 8px 24px rgba(8, 102, 245, 0.45);
}

/* Card Header Text Alignment & Layout */
.em-plan__top-center {
    text-align: center;
    margin-bottom: 16px;
}

.em-plan__top-center h3 {
    font-family: var(--ts-font-h);
    font-size: 23px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 6px;
}

[data-theme="dark"] .em-plan__top-center h3 {
    color: #F8FAFC;
}

.em-plan__subtitulo {
    font-family: var(--ts-font);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.em-plan__desc-center {
    font-family: var(--ts-font);
    font-size: 13px;
    color: #64748B;
    line-height: 1.55;
    margin: 0 0 20px;
}

[data-theme="dark"] .em-plan__desc-center {
    color: #94A3B8;
}

/* Features List Checkmarks */
.em-plan__features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.em-plan__features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--ts-font);
    font-size: 13px;
    color: #334155;
    line-height: 1.45;
}

[data-theme="dark"] .em-plan__features-list li {
    color: #CBD5E1;
}

.em-plan__check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 900;
}

/* Summary Box V2 */
.em-plan__summary-box-v2 {
    padding: 14px 16px;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.em-plan__summary-svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.em-plan__summary-text-v2 {
    font-family: var(--ts-font);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

/* Button Variants */
.ts-btn--outline-blue {
    background: #FFFFFF !important;
    color: #0866F5 !important;
    border: 1.5px solid #0866F5 !important;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.25s ease;
}

.ts-btn--outline-blue:hover {
    background: #0866F5 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 102, 245, 0.25);
}

.ts-btn--primary-solid {
    background: #0866F5 !important;
    color: #FFFFFF !important;
    border: 1.5px solid #0866F5 !important;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 22px rgba(8, 102, 245, 0.35);
    transition: all 0.25s ease;
}

.ts-btn--primary-solid:hover {
    background: #0052CC !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 102, 245, 0.45);
}

.ts-btn--outline-purple {
    background: #FFFFFF !important;
    color: #8B5CF6 !important;
    border: 1.5px solid #8B5CF6 !important;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.25s ease;
}

.ts-btn--outline-purple:hover {
    background: #8B5CF6 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.em-plan .ts-btn--full {
    width: 100%;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Cobertura Integral Card (Vibrant & Creative 8 Columns) */
.em-planes__cobertura {
    max-width: 1200px;
    margin: 48px auto 32px;
    padding: 32px 38px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(8, 102, 245, 0.12);
    box-shadow: 0 16px 40px rgba(8, 102, 245, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.em-planes__cobertura::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0866F5 0%, #00D2FF 50%, #8B5CF6 100%);
    border-radius: 24px 24px 0 0;
}

[data-theme="dark"] .em-planes__cobertura {
    background: linear-gradient(145deg, rgba(13, 22, 45, 0.94) 0%, rgba(6, 12, 26, 0.96) 100%);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(8, 102, 245, 0.05);
}

.em-planes__cobertura-title {
    max-width: 280px;
    flex-shrink: 0;
}

.em-planes__cobertura-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(8, 102, 245, 0.08);
    border: 1px solid rgba(8, 102, 245, 0.2);
    color: #0866F5;
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

[data-theme="dark"] .em-planes__cobertura-badge {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38BDF8;
}

.em-planes__cobertura-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0866F5;
    box-shadow: 0 0 8px #0866F5;
    animation: cobPulse 2s ease-in-out infinite;
}

[data-theme="dark"] .em-planes__cobertura-dot {
    background: #38BDF8;
    box-shadow: 0 0 8px #38BDF8;
}

@keyframes cobPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.75);
    }
}

.em-planes__cobertura-title h3 {
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: 21px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.25;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .em-planes__cobertura-title h3 {
    color: #F8FAFC;
}

.em-planes__cobertura-title p {
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.45;
    margin: 0;
}

[data-theme="dark"] .em-planes__cobertura-title p {
    color: #94A3B8;
}

.em-planes__cobertura-grid-8 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    flex-grow: 1;
}

.em-planes__cobertura-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: 16px;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.em-planes__cobertura-item:hover {
    background: #FFFFFF;
    border-color: rgba(8, 102, 245, 0.18);
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(8, 102, 245, 0.12);
}

[data-theme="dark"] .em-planes__cobertura-item:hover {
    background: rgba(15, 27, 54, 0.9);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.15);
}

.em-planes__cobertura-icon-wrapper {
    position: relative;
}

.em-planes__cobertura-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EBF3FF 0%, #E0EEFF 100%);
    border: 1px solid rgba(8, 102, 245, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(8, 102, 245, 0.08);
}

[data-theme="dark"] .em-planes__cobertura-icon {
    background: linear-gradient(135deg, rgba(8, 102, 245, 0.22) 0%, rgba(0, 210, 255, 0.15) 100%);
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.em-planes__cobertura-item:hover .em-planes__cobertura-icon {
    background: linear-gradient(135deg, #0866F5 0%, #0052CC 100%);
    border-color: #0866F5;
    box-shadow: 0 8px 20px rgba(8, 102, 245, 0.4);
    transform: scale(1.08);
}

[data-theme="dark"] .em-planes__cobertura-item:hover .em-planes__cobertura-icon {
    background: linear-gradient(135deg, #0066FF 0%, #00D2FF 100%);
    border-color: #00D2FF;
    box-shadow: 0 8px 22px rgba(0, 210, 255, 0.45);
}

.em-planes__cobertura-icon svg {
    width: 22px;
    height: 22px;
    stroke: #0866F5;
    transition: stroke 0.28s ease, transform 0.28s ease;
}

[data-theme="dark"] .em-planes__cobertura-icon svg {
    stroke: #38BDF8;
}

.em-planes__cobertura-item:hover .em-planes__cobertura-icon svg {
    stroke: #FFFFFF !important;
    transform: scale(1.08);
}

.em-planes__cobertura-label {
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    line-height: 1.3;
    transition: color 0.25s ease;
    word-break: normal;
    overflow-wrap: normal;
    white-space: normal;
    hyphens: none;
}

[data-theme="dark"] .em-planes__cobertura-label {
    color: #CBD5E1;
}

.em-planes__cobertura-item:hover .em-planes__cobertura-label {
    color: #0866F5;
}

[data-theme="dark"] .em-planes__cobertura-item:hover .em-planes__cobertura-label {
    color: #38BDF8;
}

/* Responsive Cobertura */
@media (max-width: 1100px) {
    .em-planes__cobertura {
        flex-direction: column;
        align-items: stretch;
        padding: 28px 24px;
    }

    .em-planes__cobertura-title {
        max-width: 100%;
        text-align: center;
    }

    .em-planes__cobertura-badge {
        margin: 0 auto 10px;
    }

    .em-planes__cobertura-grid-8 {
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .em-planes__cobertura-grid-8 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .em-planes__cobertura-item {
        padding: 10px 4px;
    }
}

@media (max-width: 992px) {
    .em-planes__grid {
        grid-template-columns: 1fr;
    }

    .em-planes__cobertura {
        flex-direction: column;
        align-items: flex-start;
    }

    .em-planes__cobertura-grid {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
}

@media (max-width: 640px) {
    .em-planes__cobertura-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══ 4 · AKE POS / ERP (CREATIVE & ANIMATED) ═══ */
.em-akepos,
.em-terus {
    padding: 72px 0;
    background: var(--ts-bg);
    position: relative;
    overflow: hidden;
}

.em-akepos__head {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 28px;
}

.em-akepos__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0066FF 0%, #00D2FF 100%);
    color: #FFFFFF !important;
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    animation: akeposTagGlow 3s ease-in-out infinite alternate;
}

.em-akepos__tag:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.45);
}

@keyframes akeposTagGlow {
    0% {
        box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
    }

    100% {
        box-shadow: 0 6px 22px rgba(0, 210, 255, 0.45);
    }
}

.em-akepos__inner,
.em-terus__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(32px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(0, 102, 255, 0.18);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

[data-theme="dark"] .em-akepos__inner,
[data-theme="dark"] .em-terus__inner {
    background: linear-gradient(145deg, rgba(11, 22, 44, 0.85) 0%, rgba(6, 11, 20, 0.92) 100%);
    border-color: rgba(56, 189, 248, 0.22);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(0, 102, 255, 0.06);
}

.em-akepos__inner:hover,
.em-terus__inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(0, 102, 255, 0.16);
    border-color: rgba(0, 210, 255, 0.45);
}

[data-theme="dark"] .em-akepos__inner:hover {
    box-shadow: 0 24px 60px rgba(0, 102, 255, 0.25), inset 0 0 35px rgba(0, 210, 255, 0.1);
}

.em-akepos__media-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.em-akepos__brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4px 0 2px;
}

.em-akepos__logo-img {
    max-width: 195px;
    width: 100%;
    height: auto;
    max-height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.18));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.em-akepos__inner:hover .em-akepos__logo-img {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 6px 18px rgba(0, 210, 255, 0.35));
}

.em-akepos__logo-img--light {
    display: block;
}

.em-akepos__logo-img--dark {
    display: none;
}

[data-theme="dark"] .em-akepos__logo-img--light {
    display: none !important;
}

[data-theme="dark"] .em-akepos__logo-img--dark {
    display: block !important;
    filter: drop-shadow(0 4px 16px rgba(0, 210, 255, 0.35));
}

@keyframes akepos3DLevitate {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
        filter: drop-shadow(0 12px 26px rgba(0, 102, 255, 0.32));
    }

    50% {
        transform: translateY(-8px) rotateX(2deg) rotateY(-2deg) scale(1.02);
        filter: drop-shadow(0 24px 44px rgba(0, 210, 255, 0.45));
    }

    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
        filter: drop-shadow(0 12px 26px rgba(0, 102, 255, 0.32));
    }
}

.em-akepos__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0;
    overflow: visible;
    perspective: 1000px;
    transform-style: preserve-3d;
}

[data-theme="dark"] .em-akepos__media {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.em-akepos__inner:hover .em-akepos__media {
    transform: none;
    box-shadow: none !important;
}

.em-akepos__slide {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    opacity: 0;
    transform: scale(0.96) translateY(6px);
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.em-akepos__slide.is-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 2;
    pointer-events: auto;
    animation: akepos3DLevitate 5.5s ease-in-out infinite;
}

.em-akepos__inner:hover .em-akepos__slide.is-active {
    filter: drop-shadow(0 26px 50px rgba(0, 210, 255, 0.55));
}

.em-akepos__contenido,
.em-terus__contenido {
    display: flex;
    flex-direction: column;
}

.em-akepos__contenido .ts-label,
.em-terus__contenido .ts-label {
    margin-bottom: 12px;
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0066FF;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 4px 12px;
    border-radius: 999px;
}

[data-theme="dark"] .em-akepos__contenido .ts-label {
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
}

.em-akepos__contenido h2,
.em-terus__contenido h2 {
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ts-text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.em-akepos__contenido>p,
.em-terus__contenido>p {
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 14px;
    color: var(--ts-text-2);
    line-height: 1.65;
    margin-bottom: 20px;
}

[data-theme="dark"] .em-akepos__contenido>p {
    color: #94A3B8;
}

.em-akepos__features,
.em-terus__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.em-akepos__features span,
.em-terus__features span {
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 12px;
    font-weight: 700;
    color: #1E293B;
    background: rgba(240, 246, 255, 0.95);
    border: 1px solid rgba(0, 102, 255, 0.16);
    padding: 7px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    cursor: default;
}

[data-theme="dark"] .em-akepos__features span,
[data-theme="dark"] .em-terus__features span {
    color: #E2E8F0;
    background: rgba(14, 28, 54, 0.85);
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.em-akepos__features span:hover,
.em-terus__features span:hover {
    transform: translateY(-2px) scale(1.03);
    color: #0066FF;
    border-color: #00D2FF;
    background: #FFFFFF;
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.18);
}

[data-theme="dark"] .em-akepos__features span:hover {
    color: #38BDF8;
    background: rgba(20, 40, 78, 0.95);
    border-color: #38BDF8;
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.28);
}

.em-akepos__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.em-akepos__actions .ts-btn {
    padding: 12px 26px;
    font-size: 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.em-akepos__actions .ts-btn--primary {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #FFFFFF !important;
    border: 1px solid #0066FF;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
}

.em-akepos__actions .ts-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 102, 255, 0.45);
    background: linear-gradient(135deg, #0052CC 0%, #0040A8 100%);
}

.em-akepos__actions .ts-btn--secondary {
    background: #FFFFFF;
    color: #0F172A !important;
    border: 1.5px solid rgba(15, 23, 42, 0.16);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .em-akepos__actions .ts-btn--secondary {
    background: rgba(14, 28, 54, 0.7);
    color: #F8FAFC !important;
    border-color: rgba(56, 189, 248, 0.3);
}

.em-akepos__actions .ts-btn--secondary:hover {
    transform: translateY(-2px);
    border-color: #0066FF;
    color: #0066FF !important;
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.15);
}

[data-theme="dark"] .em-akepos__actions .ts-btn--secondary:hover {
    border-color: #38BDF8;
    color: #38BDF8 !important;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

@media (max-width: 900px) {

    .em-akepos__inner,
    .em-terus__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .em-akepos__contenido .ts-label {
        align-self: center;
    }

    .em-akepos__features {
        justify-content: center;
    }

    .em-akepos__actions {
        justify-content: center;
    }
}

/* ═══ 5 · QUIZ ═══ */
.em-quiz {
    padding: 64px 0;
    background: var(--ts-bg-alt);
}

.em-quiz__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ts-pad-inline);
}

.em-quiz__head {
    text-align: center;
    margin-bottom: 32px;
}

.em-quiz__head .ts-label {
    margin-bottom: 12px;
}

.em-quiz__head h2 {
    font-family: var(--ts-font-h);
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ts-text);
    margin-bottom: 12px;
}

.em-quiz__head p {
    font-family: var(--ts-font);
    font-size: 15px;
    color: var(--ts-text-3);
    line-height: 1.6;
}

.em-quiz__head p strong {
    color: var(--ts-text);
}

.em-quiz__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
    align-items: stretch;
    max-width: 1200px;
    margin-inline: auto;
}

.em-quiz--done .em-quiz__grid {
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.em-quiz:not(.em-quiz--done) .em-quiz__card--wa {
    display: none;
}

.em-quiz__card {
    background: var(--ts-card-bg);
    border: 1px solid var(--ts-card-border);
    border-radius: var(--ts-card-radius);
    box-shadow: var(--ts-card-shadow);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
}

.em-quiz__card--question {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(0, 102, 255, 0.16);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .em-quiz__card--question {
    background: linear-gradient(145deg, rgba(14, 28, 54, 0.9) 0%, rgba(6, 11, 20, 0.95) 100%);
    border-color: rgba(56, 189, 248, 0.22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.em-quiz__card[hidden],
.em-quiz__status[hidden],
.em-quiz__rec[hidden],
.em-quiz__done[hidden],
.em-quiz__back[hidden],
.em-quiz__form[hidden] {
    display: none !important;
}

.em-quiz__progress {
    margin-bottom: 20px;
}

.em-quiz__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #0066FF 0%, #00D2FF 100%);
    box-shadow: 0 3px 12px rgba(0, 102, 255, 0.3);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 12px;
}

.em-quiz__bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 102, 255, 0.1);
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .em-quiz__bar {
    background: rgba(255, 255, 255, 0.1);
}

.em-quiz__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0066FF 0%, #00D2FF 100%);
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.em-quiz__form {
    display: flex;
    flex-direction: column;
}

.em-quiz-q {
    margin: 0;
    padding: 0;
    border: 0;
}

.em-quiz-q--hidden {
    display: none;
}

.em-quiz-q--in {
    animation: emQuizIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes emQuizIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.em-quiz-q__pregunta {
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 800;
    line-height: 1.35;
    color: var(--ts-text);
    margin-bottom: 18px;
    padding: 0;
}

.em-quiz-q__opciones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.em-quiz-q__opcion {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #1E293B;
    background: rgba(240, 246, 255, 0.7);
    border: 1.5px solid rgba(0, 102, 255, 0.14);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

[data-theme="dark"] .em-quiz-q__opcion {
    color: #E2E8F0;
    background: rgba(14, 28, 54, 0.6);
    border-color: rgba(56, 189, 248, 0.2);
}

.em-quiz-q__opcion:hover {
    transform: translateX(4px);
    border-color: #00D2FF;
    background: #FFFFFF;
    color: #0066FF;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.16);
}

[data-theme="dark"] .em-quiz-q__opcion:hover {
    background: rgba(20, 42, 82, 0.85);
    color: #38BDF8;
    border-color: #38BDF8;
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25);
}

.em-quiz-q__opcion:has(input:checked) {
    border-color: #0066FF;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 210, 255, 0.14) 100%);
    color: #0066FF;
    box-shadow: 0 0 0 1.5px #0066FF, 0 6px 18px rgba(0, 102, 255, 0.2);
    transform: scale(1.01);
}

[data-theme="dark"] .em-quiz-q__opcion:has(input:checked) {
    border-color: #38BDF8;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.22) 0%, rgba(56, 189, 248, 0.22) 100%);
    color: #38BDF8;
    box-shadow: 0 0 0 1.5px #38BDF8, 0 6px 20px rgba(56, 189, 248, 0.3);
}

.em-quiz-q__opcion input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.em-quiz-q__radio {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .em-quiz-q__radio {
    border-color: rgba(56, 189, 248, 0.35);
}

.em-quiz-q__radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066FF, #00D2FF);
    box-shadow: 0 0 8px #00D2FF;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.em-quiz-q__opcion:has(input:checked) .em-quiz-q__radio {
    border-color: #0066FF;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
}

[data-theme="dark"] .em-quiz-q__opcion:has(input:checked) .em-quiz-q__radio {
    border-color: #38BDF8;
}

.em-quiz-q__opcion:has(input:checked) .em-quiz-q__radio::after {
    transform: translate(-50%, -50%) scale(1);
}

.em-quiz-q__opcion:focus-within {
    outline: var(--ts-focus);
    outline-offset: 2px;
}

.em-quiz__back {
    align-self: flex-start;
    margin-top: 18px;
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: #0066FF;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 8px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

[data-theme="dark"] .em-quiz__back {
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
}

.em-quiz__back:hover {
    background: #0066FF;
    color: #FFFFFF !important;
    transform: translateX(-3px);
}

.em-quiz__back:focus-visible {
    outline: var(--ts-focus);
    outline-offset: 3px;
}

.em-quiz__done {
    text-align: center;
    margin-top: auto;
}

.em-quiz__done-img-box {
    width: 104px;
    height: 104px;
    margin: 0 auto 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(8, 102, 245, 0.08) 0%, rgba(0, 210, 255, 0.12) 100%);
    border: 1.5px solid rgba(8, 102, 245, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(8, 102, 245, 0.12);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .em-quiz__done-img-box {
    background: linear-gradient(135deg, rgba(8, 102, 245, 0.22) 0%, rgba(56, 189, 248, 0.18) 100%);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.em-quiz__done-img-box:hover {
    transform: scale(1.06) translateY(-3px);
}

.em-quiz__done-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(8, 102, 245, 0.25));
}

.em-quiz__done-badge {
    display: inline-block;
    font-family: var(--ts-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #16a34a;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

.em-quiz__done h3 {
    font-family: var(--ts-font-h);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ts-text);
    margin-bottom: 14px;
}

.em-quiz__reset {
    font-family: var(--ts-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--ts-brand);
    background: transparent;
    border: 1.5px solid var(--ts-border-strong);
    border-radius: 10px;
    padding: 10px 18px;
    cursor: pointer;
}

.em-quiz__reset:hover {
    border-color: var(--ts-brand);
}

.em-quiz__reset:focus-visible {
    outline: var(--ts-focus);
    outline-offset: 3px;
}

.em-quiz__card--status {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 380px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
}

.em-quiz__status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.em-quiz__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0066FF;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 22px;
}

[data-theme="dark"] .em-quiz__eyebrow {
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
}

.em-quiz__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00D2FF;
    box-shadow: 0 0 8px #00D2FF;
    animation: quizDotPulse 1.8s infinite ease-in-out;
}

@keyframes quizDotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.4);
    }
}

/* ── GAUGE / RADAR SCANNER ── */
.em-quiz__gauge-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.em-quiz__gauge-halo {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.22) 0%, rgba(0, 210, 255, 0.08) 60%, transparent 80%);
    animation: quizHaloBreathe 3s infinite ease-in-out alternate;
    pointer-events: none;
}

@keyframes quizHaloBreathe {
    0% {
        transform: scale(0.92);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.12);
        opacity: 0.95;
    }
}

.em-quiz__gauge-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.em-quiz__gauge-radar {
    fill: none;
    stroke: rgba(0, 102, 255, 0.25);
    stroke-width: 1.5;
    stroke-dasharray: 6 6;
    animation: quizRadarSpin 12s linear infinite;
    transform-origin: 60px 60px;
}

[data-theme="dark"] .em-quiz__gauge-radar {
    stroke: rgba(56, 189, 248, 0.35);
}

@keyframes quizRadarSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.em-quiz__gauge-track {
    fill: none;
    stroke: rgba(0, 102, 255, 0.1);
    stroke-width: 6;
}

[data-theme="dark"] .em-quiz__gauge-track {
    stroke: rgba(255, 255, 255, 0.08);
}

.em-quiz__gauge-progress {
    fill: none;
    stroke: url(#quizGaugeGrad);
    stroke-width: 7;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.45));
}

.em-quiz__gauge-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

.em-quiz__gauge-pct {
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: 24px;
    font-weight: 800;
    color: var(--ts-text);
    letter-spacing: -0.02em;
    margin-bottom: 3px;
    transition: transform 0.2s ease;
}

.em-quiz__gauge-label {
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0066FF;
    animation: quizLabelBlink 1.8s infinite ease-in-out;
}

[data-theme="dark"] .em-quiz__gauge-label {
    color: #38BDF8;
}

@keyframes quizLabelBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.55;
    }
}

.em-quiz__status,
.em-quiz__rec {
    text-align: center;
}

.em-quiz__rec--in {
    animation: emQuizIn 0.2s ease;
}

.em-quiz__done-img-box,
.em-quiz__rec-img-box,
.em-quiz__wa-img-box {
    width: 100%;
    height: 156px;
    margin: 0 auto 16px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.em-quiz__done-img,
.em-quiz__rec-img,
.em-quiz__wa-img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(8, 102, 245, 0.35));
    animation: quizImgFloat3D 4s ease-in-out infinite alternate;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.em-quiz__done-img:hover,
.em-quiz__rec-img:hover,
.em-quiz__wa-img:hover {
    transform: scale(1.08) translateY(-8px) rotate(1.5deg);
    filter: drop-shadow(0 22px 38px rgba(8, 102, 245, 0.45));
}

@keyframes quizImgFloat3D {
    0% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 10px 22px rgba(8, 102, 245, 0.28));
    }

    50% {
        transform: translateY(-9px) rotate(-1.8deg);
        filter: drop-shadow(0 20px 36px rgba(8, 102, 245, 0.42));
    }

    100% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 10px 22px rgba(8, 102, 245, 0.28));
    }
}

.em-quiz--done .em-quiz__progress {
    display: none !important;
}

.em-quiz__done,
.em-quiz__rec,
.em-quiz__wa {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
}

.em-quiz__done h3,
.em-quiz__rec h3,
.em-quiz__wa h3 {
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ts-text);
    margin: 0 0 10px 0;
    min-height: 68px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.em-quiz__done-sub,
.em-quiz__rec p,
.em-quiz__wa p {
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 13px;
    line-height: 1.55;
    color: var(--ts-text-3);
    margin: 0 0 10px;
    min-height: 44px;
}

/* Decoraciones creativas (Highlights & Online status) */
.em-quiz__rec-highlights,
.em-quiz__wa-status {
    margin: 6px 0 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
}

.em-quiz__chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(8, 102, 245, 0.08);
    border: 1px solid rgba(8, 102, 245, 0.18);
    color: #0866F5;
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 10.5px;
    font-weight: 700;
}

[data-theme="dark"] .em-quiz__chip {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.28);
    color: #38BDF8;
}

.em-quiz__wa-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 11px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 12px;
    border-radius: 999px;
}

[data-theme="dark"] .em-quiz__wa-online {
    color: #34D399;
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.35);
}

.em-quiz__wa-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: waDotPulse 1.8s infinite ease-in-out;
}

@keyframes waDotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.7);
    }
}

/* Botón Volver a responder con Animación Continua en Bucle (Spin Repeat) */
.em-quiz__reset {
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--ts-brand);
    background: transparent;
    border: 1.5px solid var(--ts-border-strong);
    border-radius: 12px;
    padding: 10px 18px;
    cursor: pointer;
    margin-top: auto;
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.em-quiz__reset:hover {
    border-color: var(--ts-brand);
    background: rgba(8, 102, 245, 0.06);
}

.em-quiz__reset-spin {
    display: inline-block;
    animation: quizResetSpin 4s linear infinite;
    transform-origin: center;
}

.em-quiz__reset:hover .em-quiz__reset-spin {
    animation-duration: 1.2s;
}

@keyframes quizResetSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.em-quiz__rec .ts-btn,
.em-quiz__wa .ts-btn {
    margin-top: auto;
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.em-quiz__wa-icon {
    width: 44px;
    height: 44px;
    color: #25D366;
    margin-bottom: 12px;
}

.em-quiz__wa h3 {
    font-family: var(--ts-font-h);
    font-size: 17px;
    font-weight: 800;
    color: var(--ts-text);
    margin-bottom: 10px;
}

.em-quiz__wa p {
    font-family: var(--ts-font);
    font-size: 13px;
    line-height: 1.55;
    color: var(--ts-text-3);
    margin-bottom: 18px;
}

.em-quiz__wa .ts-btn {
    width: 100%;
    min-height: 44px;
}

.em-quiz__live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ═══ 7 · CTA / HABLEMOS ═══ */
.em-cta {
    position: relative;
    padding: 64px 0;
    overflow: hidden;
}

.em-cta__bg {
    position: absolute;
    inset: 0;
    border-radius: var(--ts-card-radius);
    overflow: hidden;
}

.em-cta__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

[data-theme="dark"] .em-cta__bg::after {
    background: linear-gradient(90deg, rgba(8, 21, 42, 0.88) 0%, rgba(8, 21, 42, 0.6) 45%, rgba(8, 21, 42, 0.15) 70%, transparent 100%);
}

.em-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.em-cta__inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ts-pad-inline);
}

.em-cta__content {
    max-width: 600px;
}

.em-cta__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.25s ease;
}

/* 1. Estado Online (En Horario: Verde) */
.em-cta__status.em-cta__status--online {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #059669;
}

[data-theme="dark"] .em-cta__status.em-cta__status--online {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34D399;
}

/* 2. Estado Offhours (Fuera de Horario: Azul / Gris suave) */
.em-cta__status.em-cta__status--offhours {
    background: rgba(8, 102, 245, 0.08);
    border: 1px solid rgba(8, 102, 245, 0.22);
    color: #0866F5;
}

[data-theme="dark"] .em-cta__status.em-cta__status--offhours {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38BDF8;
}

/* 3. Estado Holiday (Domingos y Festivos: Ámbar / Naranja elegante) */
.em-cta__status.em-cta__status--holiday {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #D97706;
}

[data-theme="dark"] .em-cta__status.em-cta__status--holiday {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.32);
    color: #FBBF24;
}

.em-cta__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.em-cta__status-dot--online {
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: emRadiantPulse 1.8s infinite ease-in-out;
}

.em-cta__status-dot--offhours {
    background: #0866F5;
    box-shadow: 0 0 8px rgba(8, 102, 245, 0.5);
    animation: emSoftGlow 2.5s infinite ease-in-out;
}

[data-theme="dark"] .em-cta__status-dot--offhours {
    background: #38BDF8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.em-cta__status-dot--holiday {
    background: #F59E0B;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
    animation: emSoftGlow 2.5s infinite ease-in-out;
}

@keyframes emRadiantPulse {
    0% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8), 0 0 8px #10B981;
    }
    50% {
        transform: scale(1.18);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0), 0 0 18px #10B981;
    }
    100% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 0 8px #10B981;
    }
}

@keyframes emSoftGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.85);
    }
}

.em-cta__pretitle {
    display: block;
    font-family: var(--ts-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--ts-text);
    margin-bottom: 8px;
}

.em-cta__content h2 {
    font-family: var(--ts-font-h);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ts-text);
    margin-bottom: 28px;
}

.em-cta__content h2 em {
    font-style: normal;
    color: var(--ts-brand);
}

.em-cta__cards {
    display: flex;
    gap: 16px;
}

.em-cta__card {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(13, 38, 76, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.em-cta__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(13, 38, 76, 0.12);
}

.em-cta__card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--ts-label-bg);
    color: var(--ts-brand);
}

.em-cta__card-icon svg {
    width: 22px;
    height: 22px;
}

.em-cta__card-text h3 {
    font-family: var(--ts-font-h);
    font-size: 16px;
    font-weight: 700;
    color: #0B1A30;
    margin-bottom: 4px;
}

.em-cta__card-text p {
    font-family: var(--ts-font);
    font-size: 13px;
    line-height: 1.5;
    color: #4A5568;
}

.em-cta__card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

.em-cta__card-actions .ts-btn {
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 10px;
    min-height: 42px;
}

.em-cta__card-actions .ts-btn--primary {
    background: var(--ts-brand);
    color: #fff;
    border: 1.5px solid var(--ts-brand);
}

.em-cta__card-actions .ts-btn--primary:hover {
    background: #0654cc;
}

.em-cta__card-actions .ts-btn--secondary {
    background: transparent;
    color: #1A202C;
    border: 1.5px solid #CBD5E0;
}

.em-cta__card-actions .ts-btn--secondary:hover {
    border-color: var(--ts-brand);
    color: var(--ts-brand);
}

.em-cta__card-actions .ts-btn:focus-visible {
    outline: var(--ts-focus);
    outline-offset: 3px;
}

[data-theme="dark"] .em-cta__card {
    background: var(--ts-card-bg);
    border-color: var(--ts-card-border);
    box-shadow: var(--ts-card-shadow);
}

[data-theme="dark"] .em-cta__card-text h3 {
    color: var(--ts-text);
}

[data-theme="dark"] .em-cta__card-text p {
    color: var(--ts-text-3);
}

[data-theme="dark"] .em-cta__card-actions .ts-btn--secondary {
    color: var(--ts-text);
    border-color: var(--ts-border-strong);
}

@media (max-width: 1023px) {
    .em-cta__cards {
        flex-direction: column;
        max-width: 480px;
    }

    .em-cta__content {
        max-width: 100%;
    }

    .em-cta {
        padding: 48px 0;
    }

    .em-cta__bg {
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .em-cta__content h2 {
        font-size: clamp(22px, 7vw, 30px);
    }

    .em-cta__card-actions {
        flex-direction: column;
    }

    .em-cta__card-actions .ts-btn {
        width: 100%;
    }

    .em-cta {
        padding: 40px 0;
    }
}

/* ═══ 9 · FAQ ═══ */
.em-faq {
    padding: 56px 0;
    background: var(--ts-bg-alt);
}

.em-faq__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--ts-pad-inline);
}

.em-faq__head {
    text-align: center;
    margin-bottom: 24px;
}

.em-faq__head .ts-label {
    margin-bottom: 8px;
}

.em-faq__head h2 {
    font-family: var(--ts-font-h);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    color: var(--ts-text);
}

.em-faq__grid {
    display: flex;
    gap: 24px;
}

.em-faq__col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.em-faq__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--ts-font);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ts-text);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ts-divider);
    padding: 14px 0;
    transition: color 0.2s ease;
}

.em-faq__item:last-child {
    border-bottom: none;
}

.em-faq__item:hover {
    color: var(--ts-brand);
}

.em-faq__item:focus-visible {
    outline: var(--ts-focus);
    outline-offset: 3px;
    border-radius: 6px;
}

.em-faq__item .em-faq__plus {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ts-label-bg);
    color: var(--ts-brand);
}

.em-faq__plus svg {
    width: 14px;
    height: 14px;
}

.em-faq__answer,
.faq-a,
[itemprop="acceptedAnswer"] {
    display: none !important;
}

/* Modal de FAQ con Difuminado de Fondo (Backdrop Blur) */
.em-faq-modal,
.faq-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.em-faq-modal[hidden],
.faq-modal[hidden] {
    display: none !important;
}

.em-faq-modal__overlay,
.faq-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 9, 26, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.em-faq-modal__dialog,
.faq-modal__dialog {
    position: relative;
    width: min(620px, 92vw);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid rgba(8, 102, 245, 0.2);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(2, 9, 26, 0.35), 0 0 30px rgba(8, 102, 245, 0.15);
    padding: 36px 32px;
    overflow: hidden;
    transform: scale(1);
    animation: faqModalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.em-faq-modal__dialog::before,
.faq-modal__dialog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0866F5 0%, #00D2FF 100%);
}

[data-theme="dark"] .em-faq-modal__dialog,
[data-theme="dark"] .faq-modal__dialog {
    background: linear-gradient(145deg, rgba(13, 24, 48, 0.96) 0%, rgba(6, 13, 28, 0.98) 100%);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 210, 255, 0.06);
}

@keyframes faqModalPop {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(14px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.em-faq-modal__close,
.faq-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: rgba(8, 102, 245, 0.08);
    border: 1px solid rgba(8, 102, 245, 0.18);
    border-radius: 50%;
    color: #0866F5;
    cursor: pointer;
    transition: all 0.25s ease;
}

[data-theme="dark"] .em-faq-modal__close,
[data-theme="dark"] .faq-modal__close {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.25);
    color: #38BDF8;
}

.em-faq-modal__close:hover,
.faq-modal__close:hover {
    color: #FFFFFF !important;
    background: #0866F5;
    transform: rotate(90deg);
}

[data-theme="dark"] .em-faq-modal__close:hover,
[data-theme="dark"] .faq-modal__close:hover {
    background: #00D2FF;
    color: #02091A !important;
}

.em-faq-modal__tag,
.faq-modal__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(8, 102, 245, 0.08);
    border: 1px solid rgba(8, 102, 245, 0.2);
    color: #0866F5;
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

[data-theme="dark"] .em-faq-modal__tag,
[data-theme="dark"] .faq-modal__tag {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38BDF8;
}

.em-faq-modal__dialog h3,
.faq-modal__dialog h3 {
    font-family: var(--ts-font-h, system-ui, sans-serif);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    color: #0F172A;
    margin-bottom: 16px;
    padding-right: 36px;
}

[data-theme="dark"] .em-faq-modal__dialog h3,
[data-theme="dark"] .faq-modal__dialog h3 {
    color: #F8FAFC;
}

.em-faq-modal__dialog p,
.faq-modal__dialog p {
    font-family: var(--ts-font, system-ui, sans-serif);
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    padding-top: 16px;
    border-top: 1px dashed rgba(8, 102, 245, 0.15);
}

[data-theme="dark"] .em-faq-modal__dialog p,
[data-theme="dark"] .faq-modal__dialog p {
    color: #94A3B8;
    border-top-color: rgba(255, 255, 255, 0.12);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) and (min-width: 1024px) {
    .em-hero {
        padding: 132px 0 28px;
    }

    .em-hero__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 8px;
    }

    .em-hero h1 {
        font-size: 40px;
    }

    .em-hero__visual {
        max-width: 480px;
        margin-left: -10px;
    }

    .em-hero__image {
        width: 112%;
        height: 112%;
        left: 0;
    }
}

@media (max-width: 1023px) {
    .em-hero {
        padding: 128px 0 36px;
    }

    .em-hero__inner {
        grid-template-columns: 1fr;
    }

    .em-hero__visual {
        order: 3;
        width: 100%;
        max-width: 520px;
        aspect-ratio: 4 / 3;
        margin: 20px auto 0;
        position: relative;
    }

    .em-hero__image,
    .em-hero__slide {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        object-fit: contain !important;
    }

    .em-hero__image.is-active,
    .em-hero__slide.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .em-servicios__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        width: min(calc(100% - 32px), 720px);
    }

    .em-servicio--destacado,
    .em-servicio--software {
        grid-row: auto;
        grid-column: 1 / -1;
    }

    .em-servicio--reds,
    .em-servicio--servers,
    .em-servicio--seg,
    .em-servicio--cctv {
        grid-row: auto;
        grid-column: auto;
    }

    .em-proceso__steps {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }

    .em-proceso__number {
        left: 0;
        transform: none;
    }

    .em-proceso.is-pulse-active .em-proceso__step::after {
        animation: none !important;
    }

    .em-proceso__step::after,
    .em-proceso__line-progress,
    .em-proceso__check-final {
        display: none !important;
    }

    .em-proceso__tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .em-planes__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .em-plan__intro {
        min-height: 0;
    }

    .em-terus__inner {
        grid-template-columns: 1fr;
    }

    .em-terus__logo {
        max-width: 320px;
        margin-inline: auto;
    }

    .em-quiz__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .em-quiz--done .em-quiz__grid {
        grid-template-columns: 1fr;
    }

    .em-quiz__card--status {
        order: 2;
    }

    .em-quiz__card--wa {
        order: 3;
    }

    .em-quiz:not(.em-quiz--done) .em-quiz__card--status {
        display: none;
    }

    .em-quiz:not(.em-quiz--done) .em-quiz__card--wa {
        display: none;
    }
}

@media (max-width: 767px) {
    .em-hero {
        padding: 116px 0 20px;
    }

    .em-hero h1 {
        font-size: clamp(30px, 8.5vw, 38px);
    }

    .em-hero__micro {
        gap: 14px;
    }

    .em-terus,
    .em-quiz,
    .em-faq {
        padding: 52px 0;
    }

    .em-planes {
        padding: 44px 0;
    }

    .em-planes__head {
        width: calc(100% - 30px);
        margin-bottom: 24px;
    }

    .em-planes__grid {
        width: calc(100% - 30px);
        margin-inline: auto;
    }

    .em-plan {
        padding: 20px;
    }

    .em-plan__top {
        gap: 10px;
    }

    .em-plan__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .em-plan__icon svg {
        width: 36px;
        height: 36px;
    }

    .em-plan h3 {
        font-size: 18px;
    }

    .em-servicios {
        padding: 38px 0;
    }

    .em-servicios__head {
        width: calc(100% - 30px);
        margin-bottom: 20px;
    }

    .em-servicios__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        width: calc(100% - 30px);
    }

    .em-servicio {
        padding: 15px;
    }

    .em-servicio--destacado {
        padding: 20px;
        min-height: 0;
        height: auto;
        align-self: start;
        justify-content: flex-start;
    }

    .em-servicio--destacado .em-servicio__cta {
        margin-top: 16px;
    }

    .em-servicio--destacado,
    .em-servicio--reds,
    .em-servicio--servers,
    .em-servicio--seg,
    .em-servicio--cctv,
    .em-servicio--software {
        grid-row: auto;
        grid-column: auto;
    }

    .em-servicio--software {
        grid-column: 1;
    }

    .em-proceso {
        padding: 10px 0 32px;
    }

    .em-proceso__panel {
        width: calc(100% - 30px);
        padding: 20px 17px 16px;
    }

    .em-proceso__head {
        margin-bottom: 20px;
    }

    .em-proceso__steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .em-proceso__step {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 0 0 22px 42px;
        column-gap: 10px;
    }

    .em-proceso__step:last-child {
        padding-bottom: 0;
    }

    .em-proceso__number {
        width: 30px;
        height: 30px;
    }

    .em-proceso__step::before {
        display: block !important;
        top: 30px;
        bottom: -6px;
        left: 14px;
        right: auto;
        height: auto;
        border-top: 0;
        border-left: 2px dashed #10B981;
        color: #10B981;
    }

    .em-proceso__step:last-child::before {
        display: none !important;
    }

    .em-proceso__icon {
        width: 46px;
        height: 46px;
    }

    .em-proceso__icon svg {
        width: 40px;
        height: 40px;
    }

    .em-proceso__copy p {
        font-size: 12px;
    }

    .em-proceso__technologies {
        margin-top: 18px;
        padding-inline: 10px;
    }

    .em-proceso__tech-grid {
        gap: 9px;
    }

    .em-proceso__tech {
        min-height: 64px;
        gap: 8px;
        padding: 9px;
    }

    .em-proceso__tech img,
    .em-proceso__tech:first-child img,
    .em-proceso__tech:last-child img {
        width: 40px;
        flex-basis: 40px;
        height: 36px;
    }

    .em-proceso__tech strong {
        font-size: 11.5px;
    }

    .em-proceso__tech span {
        font-size: 10px;
    }

    .em-planes__grid {
        grid-template-columns: 1fr;
    }

    .em-quiz__card {
        padding: 18px 16px;
    }

    .em-quiz__head h2 {
        font-size: clamp(22px, 6.5vw, 30px);
    }

    .em-faq__grid {
        grid-template-columns: 1fr;
    }

    .em-faq__head h2 {
        font-size: clamp(20px, 6vw, 26px);
    }

    .em-hero__visual {
        min-height: 0;
        max-width: 100%;
        aspect-ratio: 4 / 3;
        margin-inline: auto;
    }

    .em-hero::after {
        width: 180px;
        right: -78px;
        opacity: 0.5;
    }
}

@media (max-width: 359px) {
    .em-proceso__tech-grid {
        grid-template-columns: 1fr;
    }

    .em-proceso__tech span {
        font-size: 10px;
    }
}

/* ── AKE POS SLIDES & CAROUSEL ── */
.em-akepos__media {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(8, 102, 245, 0.1) !important;
    background: linear-gradient(180deg, rgba(8, 102, 245, 0.02) 0%, rgba(240, 246, 255, 0.25) 100%) !important;
    box-shadow: 0 8px 20px rgba(8, 102, 245, 0.05) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
}

[data-theme="dark"] .em-akepos__media {
    background: rgba(7, 26, 66, 0.4) !important;
    border-color: rgba(8, 102, 245, 0.25) !important;
    box-shadow: 0 14px 34px rgba(8, 102, 245, 0.15) !important;
}

.em-akepos__slide {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    margin: auto !important;
    align-self: center !important;
    transition: opacity 0.4s ease !important;
}

.em-akepos__slide.is-active {
    display: block !important;
    margin: auto !important;
}


/* ── CENTRADO RESPONSIVO MÓVIL EN EMPRESAS (< 768px) ── */
@media (max-width: 767px) {
    .em-proceso__tech-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .em-proceso__tech-icon img {
        display: block !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    .em-akepos {
        padding: 32px 12px !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    .em-akepos__head {
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .em-akepos__inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 14px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .em-akepos__media-col {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 16px !important;
        box-sizing: border-box !important;
    }

    .em-akepos__media {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 10px !important;
    }

    .em-akepos__slide {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 260px !important;
        object-fit: contain !important;
        display: none !important;
        border-radius: 12px !important;
    }

    .em-akepos__slide.is-active {
        display: block !important;
    }

    .em-akepos__brand-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 16px auto !important;
    }

    .em-akepos__contenido {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .em-akepos__contenido h2 {
        text-align: center !important;
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        margin: 12px auto !important;
    }

    .em-akepos__contenido p {
        text-align: center !important;
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
        margin: 0 auto 18px auto !important;
    }

    .em-akepos__features {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }

    .em-akepos__actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .em-akepos__actions .ts-btn {
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center !important;
    }
}

