/**
 * Páginas Web — hero 40/60 tipo SEO + carrusel de demos (browser frames).
 */

/* Ghost CTA */
.cta-button--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
}

.cta-button--ghost:hover {
    border-color: rgba(0, 243, 255, 0.35);
    color: #fff;
}

/* ── Hero split 40 / 60 (croquis) — anula grid legacy intro/features/visual ── */
.hero-section.pw-hero--split {
    display: grid !important;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    grid-template-areas: none !important;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
    padding-bottom: 1.5rem;
}

.pw-hero__copy {
    padding-top: clamp(1.75rem, 4vw, 3.25rem);
    text-align: left;
}

.pw-hero__copy .badge {
    margin: 0 0 1.25rem;
}

.pw-hero__copy .hero-title,
.pw-hero__copy .hero-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.pw-hero__copy .hero-title {
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    margin-bottom: 0.85rem;
}

.pw-hero__copy .hero-subtitle {
    max-width: 34rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.pw-hero__include {
    max-width: 36rem;
    margin: 0 0 1.25rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 157, 0.28);
    background: rgba(0, 255, 157, 0.08);
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.84);
}

.pw-hero__include strong {
    color: #fff;
    font-weight: 700;
}

.pw-hero__bullets {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.pw-hero__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.pw-hero__bullets strong {
    color: #fff;
    font-weight: 700;
}

.pw-hero__bullet-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.25);
    color: var(--neon-blue, #00f3ff);
    font-size: 0.85rem;
}

.pw-hero__bullet-icon.is-wa {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.35);
    color: #25d366;
}

.pw-hero__copy .cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
}

.pw-hero__copy .cta-container .cta-button {
    width: auto;
}

.pw-hero__visual {
    position: relative;
    min-width: 0;
    padding-top: clamp(0.75rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
}

.pw-hero__visual::before {
    content: '';
    position: absolute;
    inset: -8% -4%;
    background: radial-gradient(ellipse at 50% 40%, rgba(0, 243, 255, 0.1) 0%, rgba(185, 103, 255, 0.05) 42%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

/* Tienda online: mismo split, acento shop */
.pw-hero--shop .pw-hero__bullet-icon {
    background: rgba(255, 159, 67, 0.12);
    border-color: rgba(255, 159, 67, 0.35);
    color: var(--accent-shop, #ff9f43);
}

.pw-hero--shop .pw-hero__visual::before {
    background: radial-gradient(ellipse at 50% 40%, rgba(255, 159, 67, 0.14) 0%, rgba(255, 107, 107, 0.06) 42%, transparent 72%);
}

.pw-hero--shop .cta-button--ghost:hover {
    border-color: rgba(255, 159, 67, 0.4);
}

/* Software a medida: mismo split, acento cyan/violeta */
.pw-hero--software .pw-hero__bullet-icon {
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.35);
    color: var(--neon-blue, #00f3ff);
}

.pw-hero--software .pw-hero__visual::before {
    background: radial-gradient(ellipse at 50% 40%, rgba(0, 243, 255, 0.12) 0%, rgba(185, 103, 255, 0.08) 42%, transparent 72%);
}

/* ── Software carousel: UI HTML nítida (sin PNG) ── */
.pw-demo-carousel--software {
    gap: 0.85rem;
}

.pw-demo-carousel--software .pw-demo-carousel__hint {
    letter-spacing: 0.01em;
    text-transform: none;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
}

.pw-demo-carousel--software .pw-demo-carousel__hint i {
    color: var(--neon-blue, #00f3ff);
}

.pw-demo-carousel--software .pw-demo-carousel__intro {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.15rem;
}

.pw-demo-carousel--software .pw-demo-carousel__kicker {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1.25;
}

.pw-demo-carousel--software .pw-demo-carousel__kicker i,
.pw-demo-carousel--software .pw-demo-carousel__kicker .sw-ico {
    color: var(--neon-blue, #00f3ff);
}

.pw-demo-carousel--software .sw-ico {
    width: 1em;
    height: 1em;
    stroke-width: 1.5;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: -0.125em;
}

.pw-demo-carousel--software .sw-ico--hero {
    width: 1.05rem;
    height: 1.05rem;
}

.pw-demo-carousel--software .sw-ico--tile {
    width: 0.92rem;
    height: 0.92rem;
}

.pw-demo-carousel--software .sw-ico--pill,
.pw-demo-carousel--software .sw-ico--type,
.pw-demo-carousel--software .sw-ico--kicker {
    width: 0.86rem;
    height: 0.86rem;
}

.pw-demo-carousel--software .sw-ico--nav {
    width: 0.95rem;
    height: 0.95rem;
}

.pw-demo-carousel--software .sw-ico--open,
.pw-demo-carousel--software .sw-ico--catalog,
.pw-demo-carousel--software .sw-ico--meta,
.pw-demo-carousel--software .sw-ico--lightbox {
    width: 0.84rem;
    height: 0.84rem;
}

.pw-demo-carousel--software .pw-demo-carousel__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.15rem 0 0.35rem;
}

.pw-demo-carousel--software .pw-demo-carousel__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pw-demo-carousel--software .pw-demo-carousel__pill:hover {
    border-color: color-mix(in srgb, var(--pw-demo-accent, #00f3ff) 55%, transparent);
    color: #fff;
}

.pw-demo-carousel--software .pw-demo-carousel__pill.is-active {
    color: #041018;
    background: var(--pw-demo-accent, #00f3ff);
    border-color: transparent;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--pw-demo-accent, #00f3ff) 18%, transparent);
}

.pw-demo-carousel--software .pw-demo-carousel__count {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
}

.pw-demo-carousel--software .pw-demo-carousel__dots--sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.pw-demo-carousel--software .to-live-card__for {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.4;
    color: color-mix(in srgb, var(--pw-demo-accent, #00f3ff) 62%, #fff);
}

.pw-demo-carousel--software .to-live-card__num {
    display: inline-grid;
    place-items: center;
    min-width: 1.2rem;
    height: 1.05rem;
    padding: 0 0.2rem;
    border-radius: 5px;
    background: rgba(4, 16, 24, 0.12);
    font-size: 0.58rem;
    font-weight: 650;
    letter-spacing: 0.04em;
}

.pw-demo-carousel--software .pw-demo-carousel__viewport {
    overflow: hidden;
    border-radius: 0;
    padding: 0.45rem 0.5rem 0.85rem;
}

.pw-demo-carousel--software.pw-demo-carousel--live .pw-demo-carousel__track {
    padding-right: max(0px, calc(100% - min(96%, 560px)));
}

.pw-demo-carousel--software .to-live-card__preview,
.pw-demo-carousel--software .to-live-card__preview--system {
    aspect-ratio: auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    border-radius: 18px;
    overflow: hidden;
    background: #071433;
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--pw-demo-accent, #3b82f6) 32%, rgba(255, 255, 255, 0.08)),
        0 18px 40px rgba(0, 0, 0, 0.34);
}

.pw-demo-carousel--software .to-live-slide.is-active .to-live-card__preview--system {
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--pw-demo-accent, #00f3ff) 55%, rgba(255, 255, 255, 0.12)),
        0 20px 42px rgba(0, 0, 0, 0.32);
}

.pw-demo-carousel--software .to-live-card__type {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    width: fit-content;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #041018;
    background: var(--pw-demo-accent, #3b82f6);
}

.pw-demo-carousel--software .to-live-card__caption--system {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.7rem;
}

.pw-demo-carousel--software .to-live-card__brand {
    font-size: 0.92rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #fff;
}

.pw-demo-carousel--software .to-live-card__overlay,
.pw-demo-carousel--software .to-live-card:hover .to-live-card__overlay,
.pw-demo-carousel--software .to-live-slide.is-active .to-live-card__overlay {
    display: none;
}

/* —— Demos software: lienzo de producto (titular + ventanas) —— */
@keyframes sw-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35); }
    50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.pw-demo-carousel--software .pw-demo-slide.is-active .sw-ad__live i {
    animation: sw-live-pulse 1.6s ease-out infinite;
}

/* Lienzo de producto */
.sw-ad {
    --sw-ad-bg: #071433;
    --sw-ad-ink: #0f172a;
    --sw-ad-muted: #94a3b8;
    position: relative;
    width: 100%;
    padding: 1.2rem 1.15rem 1.45rem;
    background:
        radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--pw-demo-accent, #3b82f6) 22%, transparent), transparent 58%),
        var(--sw-ad-bg);
    color: #fff;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.sw-ad[data-sw-app="revenue"] { --sw-ad-bg: #071433; }
.sw-ad[data-sw-app="pipeline"] { --sw-ad-bg: #062018; }
.sw-ad[data-sw-app="team"] { --sw-ad-bg: #141028; }
.sw-ad[data-sw-app="inventory"] { --sw-ad-bg: #1a1016; }
.sw-ad[data-sw-app="projects"] { --sw-ad-bg: #1a160c; }
.sw-ad[data-sw-app="support"] { --sw-ad-bg: #0b1c22; }

.sw-ad__headline {
    margin: 0 auto;
    max-width: 20rem;
    text-align: center;
    font-size: clamp(1.12rem, 2.6vw, 1.42rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.18;
    color: #fff;
}

.sw-ad__sub {
    margin: 0.4rem auto 0;
    max-width: 18.5rem;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.68);
}

.sw-ad__stage {
    position: relative;
    margin-top: 0.95rem;
    min-height: 248px;
    padding: 0 0.45rem 3.65rem;
}

.sw-ad__connector {
    position: absolute;
    left: 26%;
    top: 46%;
    width: 2px;
    height: 42%;
    background: linear-gradient(180deg, var(--pw-demo-accent, #3b82f6), color-mix(in srgb, var(--pw-demo-accent, #3b82f6) 20%, transparent));
    z-index: 1;
    pointer-events: none;
}

.sw-ad__win {
    background: #fff;
    color: var(--sw-ad-ink);
    border-radius: 11px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 10px 22px rgba(0, 0, 0, 0.2);
}

.sw-ad__win--main {
    position: relative;
    z-index: 2;
    width: 94%;
    margin: 0 auto;
}

.sw-ad__win--float {
    position: absolute;
    right: 6%;
    bottom: 0.2rem;
    z-index: 3;
    width: min(56%, 200px);
}

.sw-ad__chrome {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 1.55rem;
    padding: 0.28rem 0.5rem;
    background: linear-gradient(180deg, #f5f6f8 0%, #e6e8ec 100%);
    border-bottom: 1px solid #d4d7de;
}

.sw-ad__dots {
    display: flex;
    gap: 5px;
    z-index: 1;
    flex-shrink: 0;
}
.sw-ad__dots i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18);
}
.sw-ad__dots i:nth-child(1) { background: #ff5f57; }
.sw-ad__dots i:nth-child(2) { background: #febc2e; }
.sw-ad__dots i:nth-child(3) { background: #28c840; }

.sw-ad__safari {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    max-width: 58%;
    padding: 0.12rem 0.65rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    font-size: 0.52rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-ico--lock {
    width: 0.58rem;
    height: 0.58rem;
    color: #94a3b8;
}

.sw-ad__toolbar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.26rem 0.45rem;
    background: #fafbfc;
    border-bottom: 1px solid #eef1f4;
}

.sw-ad__search {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    padding: 0.16rem 0.42rem;
    border-radius: 6px;
    background: #eef1f4;
    font-size: 0.5rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
}

.sw-ad__toolbar em {
    font-style: normal;
    flex-shrink: 0;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.48rem;
    font-weight: 650;
    color: #64748b;
}

.sw-ad__live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #16a34a;
}
.sw-ad__live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
}

.sw-ad__kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-bottom: 1px solid #eef2f7;
}

.sw-ad__kpis article {
    padding: 0.45rem 0.4rem 0.42rem;
    min-width: 0;
    border-right: 1px solid #eef2f7;
}
.sw-ad__kpis article:last-child { border-right: 0; }

.sw-ad__kpis span {
    display: block;
    font-size: 0.48rem;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-ad__kpis b {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    white-space: nowrap;
}

.sw-ad__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sw-ad__table th,
.sw-ad__table td {
    padding: 0.32rem 0.42rem;
    text-align: left;
    font-size: 0.56rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-ad__table th {
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
}

.sw-ad__table td {
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 500;
}

.sw-ad__table td:first-child,
.sw-ad__table td:last-child {
    font-weight: 650;
    color: #0f172a;
}

.sw-ad__table em {
    font-style: normal;
    display: inline-block;
    padding: 0.08rem 0.32rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.5rem;
    font-weight: 650;
}

.sw-ad__table tr.is-ok em { background: #ecfdf5; color: #047857; }
.sw-ad__table tr.is-warn em { background: #fff7ed; color: #c2410c; }
.sw-ad__table tr.is-alert em { background: #fff1f2; color: #be123c; }
.sw-ad__table tr.is-win em { background: color-mix(in srgb, var(--pw-demo-accent, #10b981) 14%, #fff); color: #047857; }

.sw-ad__list {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0.5rem 0.15rem;
    display: grid;
    gap: 0.22rem;
}

.sw-ad__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.32rem;
    border-radius: 8px;
    background: #f8fafc;
}

.sw-ad__list span {
    font-size: 0.58rem;
    color: #64748b;
}

.sw-ad__list b {
    font-size: 0.62rem;
    font-weight: 700;
    color: #0f172a;
}

.sw-ad__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.22rem;
    padding: 0.28rem 0.5rem 0.15rem;
}

.sw-ad__chips span {
    padding: 0.12rem 0.38rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.48rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.sw-ad__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.28rem 0.5rem 0.5rem;
    padding: 0.42rem 0.6rem;
    border-radius: 999px;
    background: var(--pw-demo-accent, #3b82f6);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sw-ad__stage--solo {
    min-height: 0;
    padding-bottom: 0;
}

.sw-ad__stage--solo .sw-ad__win--main {
    width: 100%;
}

.sw-mod { color: #0f172a; }

.sw-mod--crm .sw-mod__hero,
.sw-mod--proj .sw-mod__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.55rem 0.65rem;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
}

.sw-mod__hero span,
.sw-mod__clock > span {
    display: block;
    font-size: 0.5rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.sw-mod__hero b,
.sw-mod__clock b {
    display: block;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1;
}

.sw-mod__hero small,
.sw-mod__clock small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.55rem;
    color: #64748b;
}

.sw-mod__funnel {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.18rem;
    justify-items: center;
    min-width: 5.5rem;
}

.sw-mod__funnel li {
    display: grid;
    place-items: center;
    height: 1.15rem;
    background: #10b981;
    color: #fff;
    font-size: 0.52rem;
    font-weight: 700;
}

.sw-mod__funnel li:nth-child(1) { width: 5.2rem; background: #6ee7b7; color: #065f46; }
.sw-mod__funnel li:nth-child(2) { width: 3.7rem; background: #34d399; color: #064e3b; }
.sw-mod__funnel li:nth-child(3) { width: 2.3rem; background: #059669; }

.sw-mod__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.45rem;
}

.sw-mod__cols section {
    min-height: 108px;
    padding: 0.38rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e6edf5;
}

.sw-mod__cols section.is-warn { background: #fff7ed; border-color: #fed7aa; }
.sw-mod__cols section.is-win { background: #ecfdf5; border-color: #a7f3d0; }

.sw-mod__cols span {
    display: block;
    margin-bottom: 0.28rem;
    font-size: 0.5rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.sw-mod__cols article {
    padding: 0.32rem 0.36rem;
    margin-bottom: 0.25rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.sw-mod__cols strong { display: block; font-size: 0.6rem; }
.sw-mod__cols em { display: block; margin-top: 0.1rem; font-style: normal; font-size: 0.52rem; color: #059669; font-weight: 700; }
.sw-mod__cols small { display: block; margin-top: 0.08rem; font-size: 0.46rem; color: #94a3b8; }

.sw-mod--team { padding: 0.5rem 0.55rem 0.6rem; }
.sw-mod__clock {
    text-align: center;
    padding: 0.35rem 0 0.5rem;
    border-bottom: 1px dashed #e2e8f0;
}
.sw-mod__clock b { font-variant-numeric: tabular-nums; color: #5b21b6; }

.sw-mod__week {
    list-style: none;
    margin: 0.45rem 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.22rem;
}

.sw-mod__week li {
    text-align: center;
    padding: 0.28rem 0;
    border-radius: 8px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 0.52rem;
    font-weight: 700;
}

.sw-mod__week li.is-on { background: #5b21b6; color: #fff; }

.sw-mod__faces {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.sw-mod__faces article {
    display: grid;
    justify-items: center;
    gap: 0.18rem;
    padding: 0.4rem 0.2rem 0.45rem;
    border-radius: 10px;
    background: #f8fafc;
    text-align: center;
}

.sw-mod__faces strong { font-size: 0.56rem; line-height: 1.2; }
.sw-mod__faces small { font-size: 0.5rem; color: #64748b; }
.sw-mod__faces em {
    font-style: normal;
    font-size: 0.48rem;
    font-weight: 650;
    padding: 0.08rem 0.3rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
}
.sw-mod__faces article.is-warn em { background: #fff7ed; color: #c2410c; }

.sw-mod--inv { padding: 0.45rem; }
.sw-mod__alert {
    margin: 0 0 0.4rem;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    background: #fff1f2;
    color: #be123c;
    font-size: 0.58rem;
    font-weight: 650;
}

.sw-mod__shelf {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.sw-mod__shelf article {
    padding: 0.4rem 0.35rem 0.45rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    text-align: center;
}

.sw-mod__shelf i {
    display: block;
    height: 2.1rem;
    margin-bottom: 0.3rem;
    border-radius: 8px;
    background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
}

.sw-mod__shelf article.is-warn i { background: linear-gradient(180deg, #fde68a, #f59e0b); }
.sw-mod__shelf article.is-alert {
    background: #fff1f2;
    border-color: #fecdd3;
}
.sw-mod__shelf article.is-alert i { background: linear-gradient(180deg, #fda4af, #e11d48); }
.sw-mod__shelf article.is-ok i { background: linear-gradient(180deg, #a7f3d0, #10b981); }

.sw-mod__shelf strong { display: block; font-size: 0.58rem; }
.sw-mod__shelf small { display: block; margin: 0.08rem 0; font-size: 0.48rem; color: #94a3b8; }
.sw-mod__shelf b { display: block; font-size: 0.78rem; letter-spacing: -0.03em; }
.sw-mod__shelf u { display: block; margin-top: 0.06rem; font-size: 0.5rem; color: #64748b; text-decoration: none; }
.sw-mod__shelf em {
    display: inline-block;
    margin-top: 0.18rem;
    font-style: normal;
    font-size: 0.48rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #047857;
}
.sw-mod__shelf article.is-warn em { color: #c2410c; }
.sw-mod__shelf article.is-alert em { color: #be123c; }

.sw-mod__gantt { padding: 0.4rem 0.5rem 0.55rem; }
.sw-mod__gantt-h,
.sw-mod__gantt-r {
    display: grid;
    grid-template-columns: 5.2rem repeat(5, minmax(0, 1fr));
    gap: 0.2rem;
    align-items: center;
    margin-bottom: 0.32rem;
}

.sw-mod__gantt-h i {
    text-align: center;
    font-size: 0.48rem;
    font-weight: 700;
    color: #94a3b8;
    font-style: normal;
}

.sw-mod__gantt-r span {
    font-size: 0.52rem;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-mod__gantt-r em {
    grid-column: 2 / -1;
    display: block;
    height: 10px;
    border-radius: 999px;
    background: #f1f5f9;
    position: relative;
    font-style: normal;
}

.sw-mod__gantt-r em::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--p, 50) * 1%);
    border-radius: inherit;
    background: #f59e0b;
}

.sw-mod__gantt-r em b {
    position: relative;
    z-index: 1;
    display: block;
    margin-left: 0.25rem;
    font-size: 0.44rem;
    font-weight: 700;
    line-height: 10px;
    color: #7c2d12;
}

.sw-mod--help {
    display: grid;
    grid-template-columns: 38% 1fr;
    min-height: 168px;
}

.sw-mod--help aside {
    border-right: 1px solid #eef2f7;
    background: #f8fafc;
}

.sw-mod--help aside > div {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.32rem;
    align-items: center;
    padding: 0.38rem 0.42rem;
    border-bottom: 1px solid #eef2f7;
}

.sw-mod--help aside > div.is-on { background: #fff; }
.sw-mod--help aside i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
}
.sw-mod--help aside .is-warn i { background: #f59e0b; }
.sw-mod--help aside .is-alert i { background: #f43f5e; }
.sw-mod--help aside .is-ok i { background: #22c55e; }
.sw-mod--help aside strong {
    font-size: 0.52rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sw-mod--help aside em { font-style: normal; font-size: 0.48rem; color: #64748b; font-weight: 700; }

.sw-mod__thread { padding: 0.4rem 0.5rem 0.5rem; }
.sw-mod__thread header { margin-bottom: 0.35rem; }
.sw-mod__thread header strong { display: block; font-size: 0.62rem; }
.sw-mod__thread header small { font-size: 0.5rem; color: #94a3b8; }
.sw-mod__thread p {
    margin: 0 0 0.28rem;
    padding: 0.32rem 0.4rem;
    border-radius: 10px;
    font-size: 0.52rem;
    line-height: 1.35;
    max-width: 92%;
}
.sw-mod__thread p.is-them { background: #f1f5f9; color: #334155; }
.sw-mod__thread p.is-us {
    margin-left: auto;
    background: #06b6d4;
    color: #fff;
}

.sw-mod__thread time {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.42rem;
    opacity: 0.7;
    font-weight: 600;
}
.sw-mod__thread > span {
    display: block;
    margin-top: 0.2rem;
    padding: 0.28rem 0.4rem;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 0.5rem;
    color: #94a3b8;
}

.sw-ad__av {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--c, #7c3aed);
    color: #fff;
    font-size: 0.52rem;
    font-weight: 700;
}

@media (min-width: 969px) {
    .sw-ad {
        padding: 1.35rem 1.15rem 1.2rem;
    }

    .sw-ad__headline {
        max-width: 22rem;
        font-size: 1.48rem;
    }

    .sw-ad__sub {
        font-size: 0.78rem;
        max-width: 20rem;
    }

    .sw-ad__stage {
        min-height: 278px;
        padding-bottom: 3.6rem;
        margin-top: 1.1rem;
    }

    .sw-ad__stage--solo {
        min-height: 0;
        padding-bottom: 0;
    }

    .sw-ad__kpis b { font-size: 0.82rem; }
    .sw-ad__table th,
    .sw-ad__table td { font-size: 0.6rem; padding: 0.38rem 0.5rem; }
    .sw-mod__hero b,
    .sw-mod__clock b { font-size: 1.55rem; }

    .hero-section.pw-hero--software .pw-hero__visual {
        min-height: 640px;
    }
}


/* Software: anula grid legacy del hero (intro/features/visual) */
.hero-section.pw-hero--software.pw-hero--split {
    display: grid !important;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr) !important;
    grid-template-areas: none !important;
    gap: clamp(1.25rem, 3vw, 2.5rem) !important;
    align-items: center !important;
}

.hero-section.pw-hero--software .pw-hero__visual {
    min-height: 500px;
    width: 100%;
}

.pw-modelo--software .pw-modelo__kicker {
    color: var(--neon-blue, #00f3ff);
}

.pw-modelo--software a.pw-modelo__item:hover {
    border-color: color-mix(in srgb, var(--neon-blue, #00f3ff) 45%, transparent);
}

/* ── Carrusel demos ── */
.pw-demo-carousel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.pw-demo-carousel__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pw-demo-carousel__hint {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.pw-demo-carousel__hint i {
    color: var(--neon-blue, #00f3ff);
}

.pw-demo-carousel__nav {
    display: flex;
    gap: 0.35rem;
}

.pw-demo-carousel__btn {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pw-demo-carousel__btn:hover {
    border-color: rgba(0, 243, 255, 0.45);
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-1px);
}

.pw-demo-carousel__viewport {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    padding-bottom: 0.45rem;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
    -webkit-user-select: none;
    user-select: none;
}

.pw-demo-carousel__viewport img,
.pw-demo-carousel__viewport .to-live-card {
    -webkit-user-drag: none;
}

.pw-demo-carousel__track {
    display: flex;
    gap: 1rem;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.pw-demo-slide {
    flex: 0 0 86%;
    min-width: 0;
    opacity: 0.55;
    transform: scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.pw-demo-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.pw-demo-browser {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0c1220;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pw-demo-browser__chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pw-demo-browser__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pw-demo-browser__dot--r { background: #ff5f57; }
.pw-demo-browser__dot--y { background: #febc2e; }
.pw-demo-browser__dot--g { background: #28c840; }

.pw-demo-browser__url {
    margin-left: 0.5rem;
    flex: 1;
    min-width: 0;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pw-demo-browser__page {
    padding: 1rem 0.95rem 1.15rem;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
        #0a101c;
}

.pw-demo-mini__nav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.pw-demo-mini__brand {
    font-size: 0.82rem;
    color: #fff;
    white-space: nowrap;
}

.pw-demo-mini__links {
    display: none;
    gap: 0.65rem;
    flex: 1;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
}

.pw-demo-mini__cta {
    margin-left: auto;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #042218;
    background: var(--matrix-green, #00ff9d);
    white-space: nowrap;
}

.pw-demo-mini__hero {
    padding: 1.45rem 1.15rem 1.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.12), rgba(185, 103, 255, 0.08));
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pw-demo-mini__type {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--neon-blue, #00f3ff);
}

.pw-demo-mini__tagline {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.pw-demo-mini__btn {
    display: inline-flex;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.92);
    color: #0a1020;
}

.pw-demo-mini__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.pw-demo-mini__cards span {
    padding: 0.7rem 0.4rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Temas por slide — corporativos (catálogo plantillas) */
.pw-demo-slide[data-theme="estate"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(201, 169, 98, 0.22), rgba(20, 16, 10, 0.55));
}
.pw-demo-slide[data-theme="verdant"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(107, 143, 113, 0.28), rgba(12, 22, 14, 0.55));
}
.pw-demo-slide[data-theme="aurelis"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(196, 163, 90, 0.2), rgba(15, 28, 46, 0.65));
}
.pw-demo-slide[data-theme="finex"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(91, 141, 239, 0.22), rgba(17, 24, 39, 0.6));
}
.pw-demo-slide[data-theme="routeon"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(232, 228, 220, 0.14), rgba(28, 28, 28, 0.7));
}
.pw-demo-slide[data-theme="nexcore"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(0, 243, 255, 0.18), rgba(11, 16, 38, 0.7));
}

/* Temas tienda premium */
.pw-demo-slide[data-theme="atrophy"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(255, 214, 0, 0.22), rgba(8, 8, 8, 0.75));
}
.pw-demo-slide[data-theme="aurelie"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(24, 18, 12, 0.7));
}
.pw-demo-slide[data-theme="botanica"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(139, 168, 136, 0.28), rgba(18, 28, 20, 0.65));
}
.pw-demo-slide[data-theme="maison"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(232, 224, 213, 0.22), rgba(30, 26, 22, 0.55));
}
.pw-demo-slide[data-theme="nord"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(196, 181, 160, 0.24), rgba(28, 26, 22, 0.6));
}
.pw-demo-slide[data-theme="volt"] .pw-demo-mini__hero {
    background: linear-gradient(145deg, rgba(124, 255, 1, 0.16), rgba(8, 8, 8, 0.8));
}

.pw-demo-slide .pw-demo-mini__cta,
.pw-demo-slide .pw-demo-mini__btn {
    border-color: color-mix(in srgb, var(--pw-demo-accent, #00ff9d) 55%, transparent);
    color: var(--pw-demo-accent, #00ff9d);
}

.pw-demo-slide .pw-demo-mini__type {
    color: var(--pw-demo-accent, #00f3ff);
}

/* Acento por vertical (misma UI, solo color de hint) */
.pw-demo-carousel--shop .pw-demo-carousel__hint i {
    color: var(--accent-shop, #ff9f43);
}

.pw-demo-carousel--shop .to-live-card__overlay,
.pw-demo-carousel--shop .to-live-card:hover .to-live-card__overlay,
.pw-demo-carousel--shop .to-live-slide.is-active .to-live-card__overlay {
    display: none;
}

.pw-demo-carousel--shop .to-live-card__preview {
    aspect-ratio: 3 / 2;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
}

.pw-demo-carousel--shop .to-live-card__preview img {
    object-fit: contain;
    object-position: center top;
    transform: none;
}

.pw-demo-carousel--shop .to-live-card:hover .to-live-card__preview img,
.pw-demo-carousel--shop .to-live-slide.is-active .to-live-card__preview img {
    transform: none;
}

.pw-demo-carousel--shop .to-live-card__caption--web {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.7rem;
    min-height: 1.7rem;
}

.pw-demo-carousel--shop .to-live-card__type {
    width: fit-content;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #041018;
    background: var(--pw-demo-accent, #ff9f43);
}

.pw-demo-carousel--shop .to-live-card__brand {
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #fff;
}

.pw-demo-carousel--web .pw-demo-carousel__hint i {
    color: var(--neon-blue, #00f3ff);
}

.pw-demo-carousel--web .to-live-card__overlay,
.pw-demo-carousel--web .to-live-card:hover .to-live-card__overlay,
.pw-demo-carousel--web .to-live-slide.is-active .to-live-card__overlay {
    display: none;
}

.pw-demo-carousel--web .to-live-card__preview {
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: 0;
    height: auto;
    background: #0a0a0f;
}

.pw-demo-carousel--web .to-live-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: none;
}

.pw-demo-carousel--web .to-live-card:hover .to-live-card__preview img,
.pw-demo-carousel--web .to-live-slide.is-active .to-live-card__preview img {
    transform: none;
}

.pw-demo-carousel--web .to-live-card__caption--web {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.7rem;
    min-height: 1.7rem;
}

.pw-demo-carousel--web .to-live-card__type {
    width: fit-content;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #041018;
    background: var(--pw-demo-accent, #00f3ff);
}

.pw-demo-carousel--web .to-live-card__brand {
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #fff;
}

@media (min-width: 969px) {
    .pw-demo-carousel--web .to-live-card__preview {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

/* ── Carrusel live unificado (tienda + corporativo) ── */
.pw-demo-carousel--live .pw-demo-carousel__track {
    padding-right: max(0px, calc(100% - min(96%, 560px)));
}

.pw-demo-carousel--live .pw-demo-slide {
    flex: 0 0 min(96%, 520px);
}

.to-live-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: default;
    touch-action: pan-y;
}
.to-live-card--visual {
    cursor: default;
}

.to-live-card__browser {
    overflow: hidden;
}

.to-live-card__live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #34d399;
}

.to-live-card__live i {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

.pw-demo-browser__chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.to-live-card__preview {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    background: #0a0a0f;
    overflow: hidden;
}

.to-live-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

.to-live-card:hover .to-live-card__preview img,
.to-live-slide.is-active .to-live-card__preview img {
    transform: scale(1.03);
}

.to-live-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.to-live-card:hover .to-live-card__overlay,
.to-live-slide.is-active .to-live-card__overlay {
    opacity: 1;
}

.to-live-card__open {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0a0a0f;
    background: var(--pw-demo-accent, #ff9f43);
}

.to-live-card__brand--only {
    display: block;
    margin-top: 0.55rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.pw-demo-slide__meta--compact {
    justify-content: flex-start;
    margin-top: 0.45rem;
    padding: 0.1rem 0.15rem 0.15rem;
}

.pw-demo-carousel--web .pw-demo-slide__meta--compact a {
    color: var(--neon-blue, #00f3ff);
}

@media (min-width: 969px) {
    .pw-demo-carousel--live .pw-demo-slide {
        flex: 0 0 min(94%, 560px);
    }

    .to-live-card__preview {
        min-height: 0;
        aspect-ratio: 16 / 11;
    }

    .pw-demo-carousel--web .to-live-card__preview {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .pw-demo-carousel--shop .to-live-card__preview {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 968px) {
    .pw-demo-carousel--live .pw-demo-carousel__track {
        padding-right: 0;
        gap: 0.75rem;
    }

    .pw-demo-carousel--live .pw-demo-slide {
        flex: 0 0 100%;
        transform: none;
    }

    .pw-demo-carousel--software .pw-demo-carousel__viewport {
        padding: 0.35rem 0.4rem 0.7rem;
    }

    .pw-demo-carousel--software .sw-ad {
        padding: 1rem 0.95rem 1.2rem;
    }

    .pw-demo-carousel--software .sw-ad__headline {
        font-size: 1.12rem;
        max-width: 18rem;
    }

    .pw-demo-carousel--software .sw-ad__stage {
        min-height: 232px;
        padding-bottom: 3.1rem;
    }

    .pw-demo-carousel--software .sw-ad__stage--solo {
        min-height: 0;
        padding-bottom: 0;
    }

    .pw-demo-carousel--software .sw-ad__win--float {
        width: min(62%, 196px);
    }

    .pw-demo-carousel--software .sw-ad__kpis article:nth-child(4),
    .pw-demo-carousel--software .sw-ad__table th:nth-child(2),
    .pw-demo-carousel--software .sw-ad__table td:nth-child(2),
    .pw-demo-carousel--software .sw-ad__table tbody tr:nth-child(n+4) {
        display: none;
    }

    .pw-demo-carousel--software .sw-ad__kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pw-demo-carousel--software .sw-mod--help {
        grid-template-columns: 42% 1fr;
    }

    .pw-demo-carousel--software .to-live-card__caption--system {
        min-width: 0;
    }
}

.to-demo-lightbox {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(1180px, 96vw);
    height: min(900px, 94vh);
    max-width: min(1180px, 96vw);
    max-height: min(900px, 94vh);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0;
    background: #080808;
    color: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.to-demo-lightbox[open] {
    display: flex;
    flex-direction: column;
}

.to-demo-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
}

.to-demo-lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.to-demo-lightbox__bar strong {
    font-size: 0.85rem;
}

.to-demo-lightbox__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.to-demo-lightbox__ext {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.to-demo-lightbox__ext:hover {
    color: #fff;
}

.to-demo-lightbox__close {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.to-demo-lightbox__frame {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border: 0;
    background: #000;
}

/* Legacy themes (por si quedan referencias) */
.pw-demo-slide[data-theme="landing"] .pw-demo-mini__hero {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.18), rgba(0, 243, 255, 0.08));
}

.pw-demo-slide[data-theme="pro"] .pw-demo-mini__hero {
    background: linear-gradient(135deg, rgba(0, 229, 199, 0.16), rgba(99, 102, 241, 0.1));
}

.pw-demo-slide[data-theme="legal"] .pw-demo-mini__hero {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(59, 130, 246, 0.1));
}

.pw-demo-slide__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.7rem;
    padding: 0 0.15rem;
}

.pw-demo-slide__meta strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
}

.pw-demo-slide__meta span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.pw-demo-slide__meta a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 0.15rem 0;
    color: var(--matrix-green, #00ff9d);
    text-decoration: none;
    white-space: nowrap;
}

.pw-demo-slide__meta a:hover {
    text-decoration: underline;
}

.pw-demo-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.pw-demo-carousel__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.pw-demo-carousel__dot.is-active {
    width: 1.35rem;
    background: var(--neon-blue, #00f3ff);
}

.pw-demo-carousel__full {
    margin: 0.55rem 0 0;
    text-align: right;
}

.pw-demo-carousel__catalog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    max-width: 100%;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 159, 67, 0.35);
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.16), rgba(255, 107, 107, 0.08));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pw-demo-carousel__catalog i:first-child {
    color: var(--accent-shop, #ff9f43);
}

.pw-demo-carousel__catalog i:last-child {
    font-size: 0.72rem;
    opacity: 0.7;
}

.pw-demo-carousel__catalog:hover {
    color: #fff;
    border-color: rgba(255, 159, 67, 0.65);
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.28), rgba(255, 107, 107, 0.14));
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(255, 159, 67, 0.18);
}

.pw-demo-carousel__catalog:focus-visible {
    outline: 2px solid rgba(255, 159, 67, 0.7);
    outline-offset: 3px;
}

.pw-demo-carousel__catalog--web {
    border-color: rgba(0, 243, 255, 0.35);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.14), rgba(185, 103, 255, 0.08));
}

.pw-demo-carousel__catalog--web i:first-child {
    color: var(--neon-blue, #00f3ff);
}

.pw-demo-carousel__catalog--web:hover {
    border-color: rgba(0, 243, 255, 0.65);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.24), rgba(185, 103, 255, 0.12));
    box-shadow: 0 12px 28px rgba(0, 243, 255, 0.14);
}

.pw-demo-carousel__catalog--web:focus-visible {
    outline-color: rgba(0, 243, 255, 0.7);
}

@media (max-width: 560px) {
    .pw-demo-carousel__catalog {
        width: auto;
        max-width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.78rem;
    }
}

@media (min-width: 720px) {
    .pw-demo-mini__links {
        display: flex;
    }
}

/* ── Modelo 3 bloques ── */
.pw-modelo {
    scroll-margin-top: 5.5rem;
}

.pw-modelo__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.pw-modelo__col {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.15rem 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.15));
    background: var(--glass-bg, rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    min-width: 0;
}

.pw-modelo__kicker {
    margin: 0 0 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neon-blue, #00f3ff);
}

.pw-modelo__col h3 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.pw-modelo__lead {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.pw-modelo__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.pw-modelo__item {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.55rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

a.pw-modelo__item:hover {
    border-color: rgba(0, 243, 255, 0.35);
    background: rgba(0, 243, 255, 0.06);
    transform: translateY(-2px);
}

.pw-modelo__item--static {
    cursor: default;
}

.pw-modelo__item--static:not(:has(.pw-modelo__step)) {
    grid-template-columns: auto minmax(0, 1fr);
}

.pw-modelo__step {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.4);
    min-width: 1.4rem;
}

.pw-modelo__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--neon-blue, #00f3ff);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pw-modelo__icon.is-wa {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.35);
    color: #25d366;
}

.pw-modelo__icon img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.pw-modelo__copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.pw-modelo__copy strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.pw-modelo__copy span {
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.58);
}

.pw-modelo__copy em {
    font-style: normal;
    color: var(--matrix-green, #00ff9d);
    font-weight: 600;
}

.pw-modelo__to-pkg {
    margin: 1.15rem 0 0;
}

.pw-modelo__compare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 243, 255, 0.32);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pw-modelo__compare i {
    color: var(--neon-blue, #00f3ff);
    font-size: 0.78rem;
}

.pw-modelo__compare:hover,
.pw-modelo__compare:focus-visible {
    border-color: rgba(0, 255, 157, 0.45);
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.14) 0%, rgba(0, 243, 255, 0.06) 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 243, 255, 0.1);
}

.pw-modelo--shop .pw-modelo__compare {
    border-color: rgba(255, 159, 67, 0.38);
}

.pw-modelo--shop .pw-modelo__compare i {
    color: var(--accent-shop, #ff9f43);
}

.pw-modelo--shop .pw-modelo__compare:hover,
.pw-modelo--shop .pw-modelo__compare:focus-visible {
    border-color: rgba(255, 159, 67, 0.55);
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.16) 0%, rgba(255, 255, 255, 0.03) 100%);
}

/* Tienda: mismo bloque modelo, acento shop */
.pw-modelo--shop .pw-modelo__kicker {
    color: var(--accent-shop, #ff9f43);
}

.pw-modelo--shop a.pw-modelo__item:hover {
    border-color: rgba(255, 159, 67, 0.35);
}

/* Qué incluye */
.corp-presence-grid,
.pw-include-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 1rem;
}

.pw-include-note {
    margin: 0 0 1.75rem;
    max-width: 52rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.58);
}

.pw-legal-line {
    margin: 1.5rem auto 0;
    max-width: 40rem;
    text-align: center;
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
}

.corp-presence-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.7rem;
    row-gap: 0.45rem;
    align-items: start;
    padding: 1.15rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.corp-presence-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    transform: translateY(-3px);
}

.corp-presence-card > i {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    margin: 0;
    border-radius: 10px;
    color: var(--neon-blue, #00f3ff);
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    font-size: 0.92rem;
    align-self: center;
}

.corp-presence-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: center;
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
}

.corp-presence-card p {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.corp-presence-card p strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.cw-pkg-cards .sw-use-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(0, 243, 255, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(10, 12, 16, 0.35));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.cw-pkg-card--featured {
    position: relative;
    border-color: rgba(0, 255, 157, 0.5);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(0, 255, 157, 0.16), transparent 50%),
        linear-gradient(180deg, rgba(0, 255, 157, 0.1), rgba(10, 12, 16, 0.28));
    box-shadow: 0 16px 40px rgba(0, 255, 157, 0.1);
}

.cw-pkg-cards .cw-host-card--featured {
    border-color: rgba(0, 255, 157, 0.5);
}

.cw-pkg-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 1;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #042218;
    background: var(--matrix-green, #00ff9d);
}

.pw-pkg-details {
    margin: 1.15rem 0 0;
    border-radius: 16px;
    border: 1px solid rgba(0, 243, 255, 0.22);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pw-pkg-details > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    user-select: none;
    transition: background 0.2s ease;
}

.pw-pkg-details > summary:hover {
    background: rgba(0, 243, 255, 0.06);
}

.pw-pkg-details > summary::-webkit-details-marker {
    display: none;
}

.pw-pkg-details__lead {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.pw-pkg-details__lead > i {
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.28);
    color: var(--neon-blue, #00f3ff);
    font-size: 0.85rem;
}

.pw-pkg-details__lead strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.pw-pkg-details__lead em {
    display: block;
    margin-top: 0.18rem;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 550;
    color: rgba(255, 255, 255, 0.52);
}

.pw-pkg-details__chev {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(0, 243, 255, 0.28);
    background: rgba(0, 243, 255, 0.08);
    color: var(--neon-blue, #00f3ff);
    font-size: 0.72rem;
    transition: transform 0.25s ease, background 0.2s ease;
}

.pw-pkg-details > summary i {
    color: var(--neon-blue, #00f3ff);
}

.pw-pkg-details[open] .pw-pkg-details__chev {
    transform: rotate(180deg);
    background: rgba(0, 255, 157, 0.12);
    border-color: rgba(0, 255, 157, 0.35);
}

.pw-pkg-details .cw-pkg-compare-hint {
    margin: 0.15rem 1rem 0.65rem;
}

.pw-pkg-details .cw-pkg-compare-wrap {
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

.pw-pkg-details[open] .cw-pkg-compare-hint {
    display: none;
}

@media (max-width: 768px) {
    .pw-pkg-details[open] .cw-pkg-compare-hint {
        display: flex;
    }
}

@media (max-width: 1100px) {
    .pw-modelo__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .hero-section.pw-hero--split {
        grid-template-columns: 1fr;
    }

    .hero-section.pw-hero--software.pw-hero--split {
        grid-template-columns: 1fr !important;
    }

    .pw-hero__copy .hero-title,
    .pw-hero__copy .hero-subtitle {
        text-align: center;
    }

    .pw-hero__copy .badge {
        margin-left: auto;
        margin-right: auto;
    }

    .pw-hero__bullets {
        max-width: 28rem;
        margin-left: auto;
        margin-right: auto;
    }

    .pw-hero__copy .cta-container {
        justify-content: center;
    }

    .pw-demo-slide {
        flex-basis: 92%;
    }

    .corp-presence-grid,
    .pw-include-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 641px) and (max-width: 968px) {
    .corp-presence-grid,
    .pw-include-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .pw-demo-carousel__track,
    .pw-demo-slide {
        transition: none;
    }
}
