:root {
    --wg-bg: #0A0F1E;
    --wg-cyan: #00F6FF;
    --wg-purple: #C030FF;
    --wg-text: #E1E2E3;
    --wg-card: #1A2035;

    --wg-border: rgba(225, 226, 227, 0.14);
    --wg-border-strong: rgba(225, 226, 227, 0.28);
    --wg-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
    --wg-shadow-accent: 0 0 24px rgba(0, 246, 255, 0.16);

    --wg-radius-sm: 0.5rem;
    --wg-radius-md: 1rem;
    --wg-radius-lg: 1.5rem;
    --wg-radius-pill: 999px;

    --wg-space-1: 0.25rem;
    --wg-space-2: 0.5rem;
    --wg-space-3: 0.75rem;
    --wg-space-4: 1rem;
    --wg-space-6: 1.5rem;
    --wg-space-8: 2rem;
    --wg-space-12: 3rem;

    --wg-transition-fast: 160ms ease;
    --wg-transition-base: 220ms ease;
    --wg-content-width: 72rem;
}

.wg-site {
    color: var(--wg-text);
    background-color: var(--wg-bg);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.wg-site,
.wg-site *,
.wg-site *::before,
.wg-site *::after {
    box-sizing: border-box;
}


.wg-site:not(.wg-site--header):not(.wg-footer):not(.wg-hero) {
    min-height: 100vh;
}
.wg-site {
    overflow-x: clip;
    color: var(--wg-text);
    background:
        radial-gradient(ellipse at 76% 11%, rgba(192, 48, 255, 0.10), transparent 34rem),
        var(--wg-bg);
    font-family: "Exo 2", Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.wg-site a { color: inherit; }
.wg-site button,
.wg-site a { -webkit-tap-highlight-color: transparent; }
.wg-site :focus-visible {
    outline: 2px solid var(--wg-cyan);
    outline-offset: 4px;
}
.wg-site .wg-skip-link {
    position: fixed;
    z-index: 1000;
    top: .75rem;
    left: .75rem;
    padding: .7rem 1rem;
    transform: translateY(-160%);
    border-radius: var(--wg-radius-sm);
    color: var(--wg-bg);
    background: var(--wg-cyan);
    font-weight: 700;
}
.wg-site .wg-skip-link:focus { transform: translateY(0); }

.wg-site .wg-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--wg-border);
    background: rgba(10, 15, 30, .82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
.wg-site .wg-header__inner {
    width: min(calc(100% - 2rem), var(--wg-content-width));
    min-height: 5rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.wg-site .wg-header__brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.wg-site .wg-header__logo { display: block; width: clamp(9.5rem, 17vw, 12.5rem); height: auto; }
.wg-site .wg-header__nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.7rem); }
.wg-site .wg-header__nav a {
    color: rgba(225, 226, 227, .82);
    text-decoration: none;
    font-size: .94rem;
    transition: color var(--wg-transition-fast);
}
.wg-site .wg-header__nav a:hover { color: var(--wg-cyan); }
.wg-site .wg-header__actions { display: flex; align-items: center; gap: .75rem; }
.wg-site .wg-button {
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.25rem;
    border: 1px solid var(--wg-cyan);
    border-radius: var(--wg-radius-pill);
    color: var(--wg-bg);
    background: var(--wg-cyan);
    box-shadow: 0 0 1.5rem rgba(0, 246, 255, .15);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform var(--wg-transition-fast), box-shadow var(--wg-transition-fast), background var(--wg-transition-fast);
}
.wg-site .wg-button:hover { transform: translateY(-2px); box-shadow: var(--wg-shadow-accent); }
.wg-site .wg-button--secondary {
    color: var(--wg-text);
    background: rgba(225, 226, 227, .04);
    border-color: var(--wg-border-strong);
    box-shadow: none;
}
.wg-site .wg-header__toggle {
    width: 2.8rem;
    height: 2.8rem;
    display: none;
    padding: .65rem;
    border: 1px solid var(--wg-border-strong);
    border-radius: 50%;
    color: var(--wg-text);
    background: rgba(225, 226, 227, .05);
    cursor: pointer;
}
.wg-site .wg-header__toggle span {
    position: relative;
    width: 1.05rem;
    display: block;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background: currentColor;
    transition: background-color var(--wg-transition-fast);
}
.wg-site .wg-header__toggle span::before,
.wg-site .wg-header__toggle span::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
    border-radius: inherit;
    background: currentColor;
    transition: top var(--wg-transition-fast), transform var(--wg-transition-fast);
}
.wg-site .wg-header__toggle span::before { top: -.35rem; }
.wg-site .wg-header__toggle span::after { top: .35rem; }
.wg-site .wg-header__toggle[aria-expanded="true"] span { background: transparent; }
.wg-site .wg-header__toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
}
.wg-site .wg-header__toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
}
        .wg-site .wg-header__mobile { display: none; }

.wg-site.wg-hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - 5rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    align-content: center;
    gap: 0;
    overflow: hidden;
    padding: clamp(4rem, 8svh, 7rem) max(1rem, calc((100vw - var(--wg-content-width)) / 2));
    border-bottom: 1px solid var(--wg-border);
    color: #fff;
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
    text-align: center;
    background-color: #020611;
    background-image:
        radial-gradient(ellipse 7rem 5rem at 50% 47%, rgba(226,249,255,.38) 0%, rgba(82,220,255,.22) 24%, rgba(0,147,255,.08) 58%, transparent 100%),
        radial-gradient(ellipse 24rem 17rem at 50% 47%, rgba(0,135,255,.16), transparent 72%),
        radial-gradient(ellipse 45rem 30rem at 50% 48%, rgba(0,80,210,.12), transparent 72%),
        radial-gradient(ellipse 115% 110% at 50% 50%, transparent 40%, rgba(0,0,0,.5) 100%),
        linear-gradient(135deg, #01040a 0%, #030b19 54%, #010309 100%);
}
.wg-site.wg-hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    background: radial-gradient(ellipse 68% 58% at 50% 48%, rgba(1,5,14,.04), rgba(1,5,14,.24) 100%);
}
.wg-site .wg-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .6rem;
    max-width: 100%;
    margin: 0 0 1.15rem;
    color: #71efff;
    font-size: clamp(.62rem, .9vw, .76rem);
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.6;
    text-transform: uppercase;
}
.wg-site .wg-hero__eyebrow::before {
    width: 1.5rem;
    height: 1px;
    content: "";
    background: currentColor;
    box-shadow: 0 0 .75rem rgba(0,246,255,.6);
}
.wg-site.wg-hero h1 {
    max-width: 22ch;
    margin: 0 auto;
    color: #f8fcff;
    font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: clamp(2.45rem, 6.15vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -.052em;
    line-height: 1.02;
    text-wrap: balance;
    text-shadow: 0 .15rem 2rem rgba(0,0,0,.52);
}
.wg-site .wg-hero__title span {
    display: block;
    color: #56ddff;
    background: linear-gradient(100deg, #8af2ff 0%, #18c9ff 46%, #559dff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wg-site .wg-hero__text {
    max-width: 52rem;
    margin: 1.35rem auto 0;
    color: rgba(245,249,255,.9);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: clamp(1rem, 1.55vw, 1.2rem);
    line-height: 1.7;
    text-shadow: 0 2px 1.25rem rgba(0,0,0,.72);
}
.wg-site .wg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .85rem;
    margin: 1.9rem auto 0;
}
.wg-site .wg-hero__actions .wg-button { min-height: 3.15rem; }

@keyframes wg-hero-copy-arrive {
    from { opacity: 0; transform: translate3d(0, 1rem, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.wg-site.wg-hero.wg-hero--intro .wg-hero__eyebrow {
    opacity: 0;
    animation: wg-hero-copy-arrive 560ms cubic-bezier(.2,.7,.25,1) 980ms both;
}
.wg-site.wg-hero.wg-hero--intro .wg-hero__title {
    opacity: 0;
    animation: wg-hero-copy-arrive 680ms cubic-bezier(.2,.7,.25,1) 1380ms both;
}
.wg-site.wg-hero.wg-hero--intro .wg-hero__text {
    opacity: 0;
    animation: wg-hero-copy-arrive 560ms cubic-bezier(.2,.7,.25,1) 1880ms both;
}
.wg-site.wg-hero.wg-hero--intro .wg-hero__actions {
    opacity: 0;
    animation: wg-hero-copy-arrive 560ms cubic-bezier(.2,.7,.25,1) 2250ms both;
}
@media (max-width: 1024px) {
    .wg-site .wg-header__nav { gap: .85rem; }
    .wg-site .wg-header__nav a { font-size: .86rem; }
    .wg-site .wg-header__actions .wg-button { padding-inline: .9rem; font-size: .88rem; }
}
@media (max-width: 768px) {
    .wg-site .wg-header__inner { min-height: 4.5rem; }
    .wg-site .wg-header__nav--desktop,
    .wg-site .wg-header__actions { display: none; }
    .wg-site .wg-header__toggle[hidden] { display: none; }
    .wg-site .wg-header__toggle { display: block; margin-left: auto; }
    .wg-site .wg-header__mobile:not([hidden]) {
        width: min(calc(100% - 2rem), var(--wg-content-width));
        display: grid;
        gap: .15rem;
        margin: 0 auto 1rem;
        padding: .65rem;
        border: 1px solid var(--wg-border);
        border-radius: var(--wg-radius-md);
        background: rgba(26,32,53,.96);
        box-shadow: var(--wg-shadow);
    }
    .wg-site .wg-header__mobile a { padding: .8rem; text-decoration: none; }
}
@media (max-width: 480px) {
    .wg-site .wg-header__inner { width: calc(100% - 1.25rem); }
    .wg-site .wg-header__logo { width: 9.2rem; }
    .wg-site.wg-hero { padding-inline: 1rem; }
    .wg-site.wg-hero h1 { font-size: clamp(2.15rem, 9vw, 2.85rem); }
    .wg-site .wg-hero__actions { display: grid; width: min(100%, 28rem); }
    .wg-site .wg-hero__actions .wg-button { width: 100%; }
}
@media (max-width: 360px) {
    .wg-site .wg-header__logo { width: 8.4rem; }
    .wg-site.wg-hero h1 { font-size: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wg-site *,
    .wg-site *::before,
    .wg-site *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Ajustes vinculados al marcado real de los templates de Fase 6. */
.wg-site .wg-header__cta {
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.25rem;
    border: 1px solid var(--wg-cyan);
    border-radius: var(--wg-radius-pill);
    color: var(--wg-bg);
    background: var(--wg-cyan);
    font-weight: 700;
    text-decoration: none;
}
.wg-site .wg-header__mobile { display: none; }
.wg-site .wg-hero__backdrop { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.wg-site .wg-hero__backdrop > .wg-hero__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.wg-site .wg-hero__backdrop > .wg-hero__canvas[hidden] { display: none; }
.wg-site .wg-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 70rem);
    max-width: 70rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 768px) {
    .wg-site .wg-header__nav { display: none; }
    .wg-site .wg-header__cta { display: none; }
    .wg-site .wg-header__toggle:not([hidden]) { display: block; }
    .wg-site .wg-header__mobile:not([hidden]) { display: grid; }
    .wg-site .wg-header__mobile[hidden] { display: none; }
    .wg-site.wg-hero {
        min-height: calc(100svh - 4.5rem);
        grid-template-columns: minmax(0, 1fr);
        padding-block: clamp(4rem, 9svh, 6.5rem);
    }
}
@media (prefers-reduced-motion: reduce) {
    .wg-site.wg-hero.wg-hero--intro .wg-hero__eyebrow,
    .wg-site.wg-hero.wg-hero--intro .wg-hero__title,
    .wg-site.wg-hero.wg-hero--intro .wg-hero__text,
    .wg-site.wg-hero.wg-hero--intro .wg-hero__actions {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
/* Fase 7: secciones de contenido, aisladas bajo sus raíces wg-. */
.wg-services,
.wg-opportunity,
.wg-system,
.wg-solutions {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - var(--wg-content-width)) / 2));
    border-bottom: 1px solid var(--wg-border);
}
.wg-services__inner,
.wg-opportunity__inner,
.wg-system__inner,
.wg-solutions__inner {
    width: 100%;
    max-width: var(--wg-content-width);
    margin-inline: auto;
}
.wg-services__heading,
.wg-opportunity__heading,
.wg-system__heading,
.wg-solutions__heading {
    max-width: 48rem;
    margin: 0 auto clamp(2rem, 4vw, 3.5rem);
    text-align: center;
}
.wg-services__eyebrow,
.wg-opportunity__eyebrow,
.wg-system__eyebrow,
.wg-solutions__eyebrow {
    margin: 0 0 .75rem;
    color: var(--wg-cyan);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.wg-services__heading h2,
.wg-opportunity__heading h2,
.wg-system__heading h2,
.wg-solutions__heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.08;
}
.wg-services__heading > p:last-child,
.wg-opportunity__heading > p:last-child,
.wg-system__heading > p:last-child {
    max-width: 42rem;
    margin: 1rem auto 0;
    color: rgba(225,226,227,.76);
    font-family: Roboto, system-ui, sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
}
.wg-services__grid,
.wg-solutions__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.wg-services__item,
.wg-solutions__card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: clamp(1.25rem, 2.2vw, 1.8rem);
    border: 1px solid var(--wg-border);
    border-radius: var(--wg-radius-md);
    background: linear-gradient(145deg, rgba(26,32,53,.9), rgba(14,20,38,.78));
    box-shadow: 0 14px 34px rgba(0,0,0,.14);
    transition: transform var(--wg-transition-base), border-color var(--wg-transition-base), background var(--wg-transition-base);
}
.wg-services__item:hover,
.wg-services__item:focus-within,
.wg-solutions__card:hover,
.wg-solutions__card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(0,246,255,.38);
    background: linear-gradient(145deg, rgba(26,32,53,.98), rgba(17,25,45,.9));
}
.wg-services__item h3,
.wg-solutions__card h3 {
    margin: 1.35rem 0 .55rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
}
.wg-services__item p,
.wg-solutions__card p {
    margin: 0;
    color: rgba(225,226,227,.74);
    font-family: Roboto, system-ui, sans-serif;
    line-height: 1.65;
}
.wg-services__symbol {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0,246,255,.34);
    border-radius: .85rem;
    color: var(--wg-cyan);
    background: rgba(0,246,255,.06);
}
.wg-services__symbol > span {
    width: 1rem;
    height: 1rem;
    display: block;
    border: 2px solid currentColor;
    border-radius: .25rem;
    transform: rotate(45deg);
}
.wg-services__symbol--commerce > span { border-radius: .18rem .18rem .4rem .4rem; transform: rotate(0) scale(.82); }
.wg-services__symbol--automation > span { border-radius: 50%; box-shadow: .45rem -.35rem 0 -.25rem currentColor, -.4rem .4rem 0 -.25rem currentColor; }
.wg-services__symbol--ai > span { border-radius: 50% 50% .2rem 50%; transform: rotate(45deg) scale(.82); }
.wg-services__index,
.wg-solutions__number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(225,226,227,.38);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
}
.wg-services__index { top: auto; bottom: 1rem; }
.wg-opportunity {
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 100%, rgba(192,48,255,.08), transparent 55%), var(--wg-bg);
}
.wg-opportunity__flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4rem minmax(15rem, .72fr);
    align-items: center;
    gap: 1.5rem;
}
.wg-opportunity__problems {
    position: relative;
    display: grid;
    gap: .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.wg-opportunity__problems::before {
    position: absolute;
    top: 2.1rem;
    bottom: 2.1rem;
    left: 2.75rem;
    width: 1px;
    content: "";
    background: linear-gradient(var(--wg-purple), rgba(225,226,227,.12));
}
.wg-opportunity__problems li {
    position: relative;
    min-height: 6.2rem;
    display: grid;
    grid-template-columns: 2rem 1.5rem minmax(0,1fr);
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--wg-border);
    border-radius: var(--wg-radius-md);
    background: rgba(26,32,53,.56);
}
.wg-opportunity__number { color: rgba(225,226,227,.48); font-size: .68rem; font-weight: 700; }
.wg-opportunity__node {
    z-index: 1;
    width: .65rem;
    height: .65rem;
    border: 2px solid var(--wg-purple);
    border-radius: 50%;
    background: var(--wg-bg);
    box-shadow: 0 0 1rem rgba(192,48,255,.4);
}
.wg-opportunity__problems h3 { margin: 0; color: #fff; font-size: 1rem; font-weight: 600; }
.wg-opportunity__problems p { margin: .3rem 0 0; color: rgba(225,226,227,.68); font: .9rem/1.5 Roboto, system-ui, sans-serif; }
.wg-opportunity__bridge { position: relative; height: 1px; background: linear-gradient(90deg, var(--wg-purple), var(--wg-cyan)); }
.wg-opportunity__bridge::before,
.wg-opportunity__bridge::after {
    position: absolute;
    top: 50%;
    width: .5rem;
    height: .5rem;
    content: "";
    border: 1px solid var(--wg-cyan);
    border-radius: 50%;
    background: var(--wg-bg);
    transform: translateY(-50%);
}
.wg-opportunity__bridge::before { left: 0; }
.wg-opportunity__bridge::after { right: 0; }
.wg-opportunity__solution {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(0,246,255,.32);
    border-radius: var(--wg-radius-lg);
    background: radial-gradient(circle at 80% 10%, rgba(0,246,255,.12), transparent 60%), rgba(26,32,53,.66);
    box-shadow: var(--wg-shadow-accent);
}
.wg-opportunity__solution-label { margin: 0 0 1rem; color: var(--wg-cyan); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wg-opportunity__solution-line { margin: 0; color: #fff; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.45; }
.wg-opportunity__solution-line b { color: var(--wg-cyan); font-weight: 400; }
.wg-system__diagram {
    position: relative;
    min-height: 30rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-template-rows: repeat(3, minmax(7rem, auto));
    align-items: center;
    justify-items: center;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid var(--wg-border);
    border-radius: var(--wg-radius-lg);
    background: radial-gradient(ellipse at center, rgba(0,246,255,.075), transparent 55%), rgba(12,18,34,.45);
}
.wg-system__core {
    z-index: 1;
    grid-area: 2 / 2;
    width: min(100%, 13rem);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,246,255,.52);
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle, rgba(0,246,255,.17), rgba(26,32,53,.96) 70%);
    box-shadow: 0 0 2.5rem rgba(0,246,255,.16), inset 0 0 1.5rem rgba(0,246,255,.08);
    font-weight: 700;
    letter-spacing: .12em;
}
.wg-system__core small { margin-top: .35rem; color: rgba(225,226,227,.62); font-size: .55rem; letter-spacing: .16em; }
.wg-system__module {
    z-index: 1;
    width: min(100%, 14rem);
    min-height: 6.3rem;
    padding: .9rem 1rem;
    border: 1px solid var(--wg-border);
    border-radius: var(--wg-radius-md);
    background: rgba(26,32,53,.9);
    box-shadow: var(--wg-shadow);
}
.wg-system__module h3 { margin: 0; color: #fff; font-size: 1rem; font-weight: 600; }
.wg-system__module p { margin: .35rem 0 0; color: rgba(225,226,227,.65); font: .82rem/1.4 Roboto, system-ui, sans-serif; }
.wg-system__module-dot { width: .45rem; height: .45rem; float: right; border-radius: 50%; background: var(--wg-cyan); box-shadow: 0 0 .8rem rgba(0,246,255,.55); }
.wg-system__module--web { grid-area: 1 / 2; }
.wg-system__module--commerce { grid-area: 2 / 1; }
.wg-system__module--menu { grid-area: 2 / 3; }
.wg-system__module--automation { grid-area: 3 / 2; }
.wg-system__module--ai { grid-area: 3 / 3; }
.wg-system__connector { position: absolute; z-index: 0; height: 1px; background: linear-gradient(90deg, rgba(0,246,255,.08), rgba(0,246,255,.55), rgba(0,246,255,.08)); transform-origin: left center; }
.wg-system__connector--one { top: 36%; left: 39%; width: 23%; transform: rotate(0); }
.wg-system__connector--two { top: 37%; left: 36%; width: 22%; transform: rotate(-35deg); }
.wg-system__connector--three { top: 37%; left: 40%; width: 22%; transform: rotate(35deg); }
.wg-system__connector--four { top: 64%; left: 39%; width: 23%; }
.wg-system__connector--five { top: 64%; left: 52%; width: 22%; transform: rotate(35deg); }
.wg-solutions__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.wg-solutions__card { min-height: 12rem; padding-top: 2rem; }
.wg-solutions__card h3 { margin-top: .75rem; }

@media (max-width: 1024px) {
    .wg-services__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .wg-opportunity__flow { grid-template-columns: minmax(0,1fr) 2rem minmax(13rem,.72fr); gap: .9rem; }
    .wg-system__diagram { min-height: 27rem; }
}
@media (max-width: 768px) {
    .wg-services,
    .wg-opportunity,
    .wg-system,
    .wg-solutions { padding-block: 4rem; }
    .wg-opportunity__flow { grid-template-columns: 1fr; }
    .wg-opportunity__bridge { width: 1px; height: 2.4rem; justify-self: center; background: linear-gradient(var(--wg-purple), var(--wg-cyan)); }
    .wg-opportunity__bridge::before { top: 0; left: 50%; transform: translateX(-50%); }
    .wg-opportunity__bridge::after { top: auto; right: auto; bottom: 0; left: 50%; transform: translateX(-50%); }
    .wg-system__diagram { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto; gap: .8rem; padding: 1.25rem; }
    .wg-system__core,
    .wg-system__module--web,
    .wg-system__module--commerce,
    .wg-system__module--menu,
    .wg-system__module--automation,
    .wg-system__module--ai { grid-area: auto; }
    .wg-system__core { width: 9rem; margin-block: .5rem; order: 0; }
    .wg-system__module { width: 100%; min-height: 0; }
    .wg-system__connector { display: none; }
    .wg-solutions__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
    .wg-services,
    .wg-opportunity,
    .wg-system,
    .wg-solutions { padding-inline: 1.25rem; }
    .wg-services__grid,
    .wg-solutions__grid { grid-template-columns: 1fr; }
    .wg-services__item,
    .wg-solutions__card { min-height: 0; }
    .wg-opportunity__problems li { grid-template-columns: 1.4rem 1rem minmax(0,1fr); gap: .55rem; padding-inline: .8rem; }
    .wg-opportunity__problems::before { left: 2.15rem; }
    .wg-system__diagram { padding: 1rem; }
}
@media (max-width: 360px) {
    .wg-services__heading h2,
    .wg-opportunity__heading h2,
    .wg-system__heading h2,
    .wg-solutions__heading h2 { font-size: 1.75rem; }
}
@media (min-width: 1280px) {
    .wg-services__grid { gap: 1.25rem; }
    .wg-solutions__grid { gap: 1.25rem; }
}
@media (min-width: 1440px) {
    .wg-services,
    .wg-opportunity,
    .wg-system,
    .wg-solutions { padding-top: 7rem; padding-bottom: 7rem; }
}

.wg-services,
.wg-opportunity,
.wg-system,
.wg-solutions { min-height: 0; }


/* Fase 8 — Laboratorio / showroom de e-commerce y menú digital */
.wg-lab {
    min-height: 0;
    overflow: clip;
    padding: clamp(3.5rem, 7vw, 6.5rem) max(1rem, calc((100vw - var(--wg-content-width)) / 2));
    border-bottom: 1px solid var(--wg-border);
    background:
        radial-gradient(ellipse at 10% 4%, rgba(192,48,255,.09), transparent 33rem),
        radial-gradient(ellipse at 93% 55%, rgba(0,246,255,.075), transparent 30rem),
        linear-gradient(180deg, #0b1020, #080c18 75%);
}
.wg-lab__inner { width: 100%; max-width: var(--wg-content-width); margin-inline: auto; }
.wg-lab__intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.wg-lab__intro-copy { max-width: 52rem; }
.wg-lab__eyebrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0 0 .9rem;
    color: var(--wg-cyan);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.wg-lab__live-dot,
.wg-demo-menu__table i {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: var(--wg-cyan);
    box-shadow: 0 0 .8rem rgba(0,246,255,.55);
}
.wg-lab__intro h2 {
    max-width: 14ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.25rem, 5.3vw, 4.65rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .98;
}
.wg-lab__intro h2 em { color: var(--wg-cyan); font-style: normal; }
.wg-lab__intro-copy > p:last-child {
    max-width: 42rem;
    margin: 1.1rem 0 0;
    color: rgba(225,226,227,.73);
    font: 1rem/1.7 Roboto, system-ui, sans-serif;
}
.wg-lab__intro-meta {
    display: grid;
    gap: .6rem;
    flex: 0 0 auto;
    padding: .85rem 1rem;
    border-left: 1px solid rgba(0,246,255,.45);
    color: rgba(225,226,227,.58);
    font-size: .61rem;
    letter-spacing: .15em;
}
.wg-lab__workspace {
    position: relative;
    overflow: visible;
    padding: clamp(.7rem, 2vw, 1.3rem);
    border: 1px solid rgba(225,226,227,.12);
    border-radius: clamp(1.2rem, 2.8vw, 2rem);
    background:
        linear-gradient(135deg, rgba(26,32,53,.72), rgba(10,15,30,.88) 58%),
        var(--wg-bg);
    box-shadow: 0 2rem 6rem rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.035);
}
.wg-lab__mode-switch {
    width: min(100%, 31rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    margin: 0 auto clamp(1.2rem, 2vw, 1.8rem);
    padding: .4rem;
    border: 1px solid var(--wg-border);
    border-radius: 1.1rem;
    background: rgba(6,10,20,.55);
}
.wg-lab__mode {
    min-width: 0;
    min-height: 4.2rem;
    display: grid;
    grid-template-columns: 1.6rem minmax(0,1fr) 1.2rem;
    align-items: center;
    gap: .55rem;
    padding: .65rem .8rem;
    border: 1px solid rgba(0,168,255,.3);
    border-radius: .8rem;
    color: rgba(225,226,227,.66);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background var(--wg-transition-fast), border-color var(--wg-transition-fast), color var(--wg-transition-fast), transform var(--wg-transition-fast);
}
.wg-lab__mode:hover {
    border-color: rgba(0,246,255,.72);
    color: #fff;
    background: rgba(0,140,255,.12);
    box-shadow: 0 0 .9rem rgba(0,168,255,.24);
}
.wg-lab button:active:not(:disabled) {
    border-color: #55b7ff;
    color: #fff;
    background: #008cff;
    box-shadow: 0 0 .9rem rgba(0,140,255,.45);
}
.wg-lab__mode:focus-visible,
.wg-demo-store__product-choice:focus-visible,
.wg-demo-menu__categories button:focus-visible,
.wg-demo-menu__item-open:focus-visible,
.wg-lab__cart button:focus-visible,
.wg-lab__dialog button:focus-visible,
.wg-lab__dialog select:focus-visible {
    outline: 2px solid var(--wg-cyan);
    outline-offset: 3px;
}
.wg-lab__mode.is-active,
.wg-lab__mode[aria-pressed="true"] {
    border-color: #55b7ff;
    color: #fff;
    background: #008cff;
    box-shadow: 0 0 0 1px rgba(0,140,255,.28), 0 0 .9rem rgba(0,140,255,.5);
}
.wg-lab__mode-index { color: var(--wg-cyan); font-size: .65rem; letter-spacing: .08em; }
.wg-lab__mode-copy { display: grid; gap: .15rem; }
.wg-lab__mode-copy strong { font-size: .88rem; font-weight: 600; }
.wg-lab__mode-copy small { color: rgba(225,226,227,.54); font: .72rem/1.3 Roboto, system-ui, sans-serif; }
.wg-lab__mode-mark { color: rgba(225,226,227,.48); font-size: 1rem; text-align: right; }
.wg-demo-store,
.wg-demo-menu { min-width: 0; animation: wg-lab-enter 240ms ease both; }
.wg-demo-store[hidden],
.wg-demo-menu[hidden] { display: none; }
@keyframes wg-lab-enter {
    from { opacity: .45; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.wg-demo-store__layout {
    display: grid;
    grid-template-columns: minmax(13rem, .7fr) minmax(0, 2.3fr);
    gap: clamp(1rem, 2.4vw, 2rem);
}
.wg-demo-store__rail {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem 0 1rem .35rem;
}
.wg-demo-store__rail-label,
.wg-demo-menu__side-label {
    margin: 0 0 1.3rem;
    color: rgba(225,226,227,.47);
    font-size: .62rem;
    letter-spacing: .16em;
}
.wg-demo-store__category {
    margin: 0 0 1rem;
    color: rgba(225,226,227,.52);
    font: .78rem/1.5 Roboto, system-ui, sans-serif;
}
.wg-demo-store__category strong { color: #fff; font: 600 1rem/1.4 "Exo 2", system-ui, sans-serif; }
.wg-demo-store__product-list { display: grid; gap: .45rem; }
.wg-demo-store__product-choice {
    min-height: 4.1rem;
    display: grid;
    grid-template-columns: 1.4rem minmax(0,1fr) 1rem;
    align-items: center;
    gap: .65rem;
    padding: .6rem .7rem;
    border: 1px solid rgba(0,168,255,.3);
    border-radius: .75rem;
    color: rgba(225,226,227,.7);
    background: rgba(13,20,36,.72);
    text-align: left;
    cursor: pointer;
    transition: border-color var(--wg-transition-fast), background var(--wg-transition-fast), color var(--wg-transition-fast);
}
.wg-demo-store__product-choice:hover {
    border-color: rgba(0,246,255,.72);
    color: #fff;
    background: rgba(0,140,255,.12);
    box-shadow: 0 0 .9rem rgba(0,168,255,.2);
}
.wg-demo-store__product-choice.is-selected {
    border-color: #55b7ff;
    color: #fff;
    background: #008cff;
    box-shadow: 0 0 0 1px rgba(0,140,255,.28), 0 0 .9rem rgba(0,140,255,.48);
}
.wg-demo-store__choice-number { align-self: start; padding-top: .12rem; color: var(--wg-cyan); font-size: .58rem; letter-spacing: .08em; }
.wg-demo-store__product-choice strong,
.wg-demo-store__product-choice small { display: block; }
.wg-demo-store__product-choice strong,
.wg-demo-store__product-choice small {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.wg-demo-store__product-choice strong { font-size: .78rem; font-weight: 600; line-height: 1.35; }
.wg-demo-store__product-choice small { margin-top: .25rem; color: rgba(225,226,227,.46); font: .68rem/1.3 Roboto, system-ui, sans-serif; }
.wg-demo-store__rail-note {
    max-width: 16rem;
    margin: auto 1rem 0 0;
    padding-top: 1.5rem;
    color: rgba(225,226,227,.45);
    font: .74rem/1.6 Roboto, system-ui, sans-serif;
}
.wg-demo-store__stage {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(225,226,227,.09);
    border-radius: 1.35rem;
    background: radial-gradient(ellipse at 40% 35%, rgba(0,246,255,.065), transparent 55%), rgba(5,9,18,.38);
}
.wg-demo-store__stage-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(225,226,227,.08);
    color: rgba(225,226,227,.48);
    font-size: .59rem;
    letter-spacing: .14em;
}
.wg-demo-store__stage-top > span:first-child { display: flex; align-items: center; gap: .5rem; color: rgba(225,226,227,.82); }
.wg-demo-store__stage-top i { width: .38rem; height: .38rem; border-radius: 50%; background: var(--wg-cyan); }
.wg-demo-store__featured {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(15rem,.92fr);
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.3rem);
    padding: clamp(1rem, 2.7vw, 2.2rem);
}
.wg-demo-store__visual {
    position: relative;
    min-width: 0;
    min-height: clamp(16rem, 30vw, 26rem);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 1.1rem;
    background:
        radial-gradient(ellipse at 50% 52%, rgba(0,246,255,.16), transparent 48%),
        linear-gradient(145deg, rgba(24,31,51,.78), rgba(11,16,30,.32));
}
.wg-demo-store__visual::before,
.wg-demo-store__visual::after {
    position: absolute;
    width: 68%;
    aspect-ratio: 1;
    content: "";
    border: 1px solid rgba(225,226,227,.1);
    border-radius: 50%;
}
.wg-demo-store__visual::after { width: 88%; border-color: rgba(0,246,255,.13); transform: rotate(26deg) scaleY(.42); }
.wg-demo-store__visual img {
    position: relative;
    z-index: 1;
    width: 82%;
    height: clamp(14rem, 25vw, 22rem);
    object-fit: contain;
    filter: drop-shadow(0 1.5rem 1.3rem rgba(0,0,0,.42));
}
.wg-demo-store__halo { position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(0,246,255,.13); filter: blur(3rem); }
.wg-demo-store__visual-stamp { position: absolute; right: .85rem; bottom: .8rem; z-index: 2; color: rgba(225,226,227,.44); font-size: .59rem; letter-spacing: .16em; }
.wg-demo-store__details { min-width: 0; }
.wg-demo-store__product-label { margin: 0 0 .7rem; color: var(--wg-cyan); font-size: .62rem; letter-spacing: .16em; }
.wg-demo-store__details h3 { margin: 0; color: #fff; font-size: clamp(1.55rem, 2.6vw, 2.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.wg-demo-store__description { margin: .8rem 0 1.2rem; color: rgba(225,226,227,.65); font: .9rem/1.65 Roboto, system-ui, sans-serif; }
.wg-demo-store__price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; margin-bottom: 1.2rem; }
.wg-demo-store__price-row strong { color: #fff; font-size: 1.4rem; font-weight: 600; }
.wg-demo-store__price-row span { color: rgba(225,226,227,.43); font-size: .58rem; letter-spacing: .12em; }
.wg-demo-store__variant-label,
.wg-lab__dialog-variant-label { display: block; margin-bottom: .45rem; color: rgba(225,226,227,.63); font: .74rem Roboto, system-ui, sans-serif; }
.wg-demo-store__variant,
.wg-lab__dialog-variant {
    width: 100%;
    min-height: 2.75rem;
    padding: .6rem .8rem;
    border: 1px solid rgba(0,168,255,.38);
    border-radius: .65rem;
    color: #fff;
    background: #151b2d;
    font: .84rem Roboto, system-ui, sans-serif;
}
.wg-demo-store__variant[hidden],
.wg-demo-store__variant-label[hidden] { display: none; }
.wg-demo-store__variant:hover,
.wg-lab__dialog-variant:hover { border-color: rgba(0,246,255,.76); box-shadow: 0 0 .75rem rgba(0,168,255,.2); }
.wg-demo-store__actions { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .65rem; margin-top: .9rem; }
.wg-demo-store__quantity,
.wg-lab__cart-quantity {
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    padding: .3rem;
    border: 1px solid rgba(0,168,255,.34);
    border-radius: .7rem;
    background: rgba(225,226,227,.035);
}
.wg-demo-store__quantity button,
.wg-lab__cart-quantity button {
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(0,168,255,.32);
    border-radius: .5rem;
    color: #fff;
    background: rgba(0,140,255,.06);
    font-size: 1.1rem;
    cursor: pointer;
}
.wg-demo-store__quantity button:hover,
.wg-lab__cart-quantity button:hover {
    border-color: rgba(0,246,255,.78);
    background: rgba(0,140,255,.2);
    box-shadow: 0 0 .8rem rgba(0,168,255,.24);
}
.wg-demo-store__quantity output,
.wg-lab__cart-quantity output { min-width: 1.3rem; color: #fff; font: .85rem Roboto, sans-serif; text-align: center; }
.wg-demo-store__add {
    min-width: 0;
    max-width: 100%;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    padding: .75rem 1rem;
    border: 1px solid rgba(0,246,255,.48);
    border-radius: .75rem;
    color: #06111a;
    background: linear-gradient(100deg, var(--wg-cyan), #71faff);
    font: 700 .78rem Roboto, system-ui, sans-serif;
    cursor: pointer;
    transition: transform var(--wg-transition-fast), box-shadow var(--wg-transition-fast);
}
.wg-demo-store__add:hover { transform: translateY(-2px); border-color: #00f6ff; box-shadow: 0 .6rem 1.8rem rgba(0,168,255,.3); }
.wg-demo-store__add > span:first-child { min-width: 0; flex: 1 1 auto; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
.wg-demo-store__add > span:last-child { flex: 0 0 auto; white-space: nowrap; }
.wg-demo-store__shelf {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.4rem;
    border-top: 1px solid rgba(225,226,227,.08);
}
.wg-demo-store__shelf p,
.wg-demo-store__shelf span { margin: 0; }
.wg-demo-store__shelf p { color: rgba(225,226,227,.76); font-size: .63rem; letter-spacing: .13em; }
.wg-demo-store__shelf > div > span { display: block; margin-top: .3rem; color: rgba(225,226,227,.44); font: .72rem Roboto, sans-serif; }
.wg-demo-store__shelf-count { color: rgba(225,226,227,.42); font-size: .58rem; letter-spacing: .12em; white-space: nowrap; }

.wg-demo-menu {
    overflow: hidden;
    border: 1px solid rgba(225,226,227,.1);
    border-radius: 1.35rem;
    color: var(--wg-text);
    background: #f0eee8;
    color-scheme: light;
}
.wg-demo-menu__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.15rem;
    border-bottom: 1px solid rgba(25,28,36,.12);
    color: #20232a;
}
.wg-demo-menu__brand { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: .76rem; font-weight: 700; letter-spacing: .11em; }
.wg-demo-menu__brand-mark {
    width: 1.8rem;
    height: 1.8rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(32,35,42,.32);
    border-radius: 50%;
    font: 600 .9rem "Exo 2", system-ui, sans-serif;
}
.wg-demo-menu__descriptor { margin: .28rem 0 0 2.35rem; color: rgba(32,35,42,.56); font-size: .52rem; letter-spacing: .13em; }
.wg-demo-menu__descriptor span { color: #7b573b; }
.wg-demo-menu__table { display: flex; align-items: center; gap: .5rem; color: rgba(32,35,42,.64); font-size: .58rem; letter-spacing: .12em; }
.wg-demo-menu__table i { width: .38rem; height: .38rem; background: #64a57f; box-shadow: none; }
.wg-demo-menu__layout { display: grid; grid-template-columns: 12.5rem minmax(0,1fr); min-height: 35rem; }
.wg-demo-menu__sidebar { padding: 1.5rem 1rem; border-right: 1px solid rgba(25,28,36,.11); background: rgba(255,255,255,.2); }
.wg-demo-menu__side-label { margin: 0 0 1rem; color: rgba(32,35,42,.46); font-size: .55rem; letter-spacing: .13em; }
.wg-demo-menu__categories { display: grid; gap: .25rem; }
.wg-demo-menu__categories button {
    min-width: 0;
    max-width: 100%;
    min-height: 2.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    padding: .6rem .7rem;
    border: 1px solid rgba(0,168,255,.36);
    border-radius: .45rem;
    color: #e1e2e3;
    background: rgba(13,20,36,.94);
    font: 600 .76rem "Exo 2", system-ui, sans-serif;
    text-align: left;
    cursor: pointer;
}
.wg-demo-menu__categories button span:first-child {
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}
.wg-demo-menu__categories button span:last-child { flex: 0 0 auto; opacity: 0; }
.wg-demo-menu__categories button:hover {
    border-color: rgba(0,246,255,.78);
    color: #fff;
    background: rgba(0,140,255,.2);
    box-shadow: 0 0 .85rem rgba(0,168,255,.28);
}
.wg-demo-menu__categories button.is-active {
    border: 1px solid #55b7ff;
    color: #fff;
    background: #008cff;
    box-shadow: 0 0 0 1px rgba(0,140,255,.3), 0 0 .9rem rgba(0,140,255,.58);
}
.wg-demo-menu__categories button.is-active span:last-child { opacity: 1; color: #fff; }
.wg-demo-menu__sidebar-note { margin: 2rem .65rem 0; color: rgba(32,35,42,.5); font: .72rem/1.55 Roboto, system-ui, sans-serif; }
.wg-demo-menu__content { min-width: 0; padding: clamp(1rem, 2.5vw, 2rem); color: #20232a; }
.wg-demo-menu__welcome {
    min-height: 10rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 1.5rem 1.8rem;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 82% 40%, rgba(243,224,181,.24), transparent 24%),
        linear-gradient(110deg, #1c2e2b, #37473f);
    color: #f7f3e9;
}
.wg-demo-menu__eyebrow { margin: 0 0 .55rem; color: #d5b886; font-size: .55rem; letter-spacing: .16em; }
.wg-demo-menu__welcome h3 { margin: 0; font: 600 clamp(1.5rem, 2.7vw, 2.25rem)/1.05 "Exo 2", system-ui, sans-serif; letter-spacing: -.04em; }
.wg-demo-menu__welcome h3 em { color: #d9c6a3; font-style: normal; }
.wg-demo-menu__welcome-mark { color: rgba(245,239,225,.25); font: 300 clamp(3.5rem, 7vw, 6rem)/1 "Exo 2", system-ui, sans-serif; letter-spacing: -.08em; }
.wg-demo-menu__welcome-mark span { color: #d2b785; }
.wg-demo-menu__featured {
    position: relative;
    display: grid;
    grid-template-columns: minmax(7rem,.7fr) minmax(0,1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: .8rem;
    border: 1px solid rgba(32,35,42,.11);
    border-radius: .9rem;
    background: rgba(255,255,255,.44);
}
.wg-demo-menu__featured > img { width: 100%; height: 6.6rem; border-radius: .6rem; object-fit: cover; }
.wg-demo-menu__featured > div { min-width: 0; }
.wg-demo-menu__featured > div > p { margin: 0 0 .35rem; color: #64816f; font-size: .52rem; letter-spacing: .13em; }
.wg-demo-menu__featured h4 { margin: 0; font-size: 1rem; font-weight: 600; }
.wg-demo-menu__featured > div > span { display: block; margin-top: .28rem; color: rgba(32,35,42,.64); font: .72rem/1.4 Roboto, system-ui, sans-serif; }
.wg-demo-menu__featured > div > strong { display: block; margin-top: .5rem; color: #45634f; font-size: .86rem; }
.wg-demo-menu__featured > button {
    min-width: 0;
    max-width: 100%;
    min-height: 2.8rem;
    padding: .6rem .8rem;
    border: 1px solid rgba(0,168,255,.48);
    border-radius: .5rem;
    color: #e1e2e3;
    background: #0d1424;
    font: 600 .69rem "Exo 2", system-ui, sans-serif;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
    cursor: pointer;
}
.wg-demo-menu__featured > button:hover { border-color: #00f6ff; background: rgba(0,140,255,.22); box-shadow: 0 0 .9rem rgba(0,168,255,.3); }
.wg-demo-menu__list-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 1.6rem 0 .6rem; }
.wg-demo-menu__list-heading p { margin: 0 0 .25rem; color: rgba(32,35,42,.47); font-size: .53rem; letter-spacing: .15em; }
.wg-demo-menu__list-heading h4 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.wg-demo-menu__list-heading > span { color: rgba(32,35,42,.5); font: .7rem Roboto, sans-serif; }
.wg-demo-menu__items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
.wg-demo-menu__item { min-width: 0; border: 1px solid rgba(0,168,255,.3); border-radius: .75rem; background: rgba(13,20,36,.96); }
.wg-demo-menu__item[hidden] { display: none; }
.wg-demo-menu__item-open {
    width: 100%;
    min-height: 6.4rem;
    display: grid;
    grid-template-columns: 5.2rem minmax(0,1fr) 1.1rem;
    align-items: center;
    gap: .75rem;
    padding: .55rem;
    border: 0;
    border-radius: inherit;
    color: #e1e2e3;
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(0,168,255,.2);
    text-align: left;
    cursor: pointer;
}
.wg-demo-menu__item-open:hover { background: rgba(0,140,255,.08); box-shadow: inset 0 0 0 1px rgba(0,246,255,.78), 0 0 .85rem rgba(0,168,255,.22); }
.wg-demo-menu .wg-demo-menu__item-open:hover {
    border-color: rgba(0,246,255,.78);
    color: #e1e2e3;
    background-color: rgba(0,140,255,.08);
    box-shadow: inset 0 0 0 1px rgba(0,246,255,.78), 0 0 .85rem rgba(0,168,255,.22);
}
.wg-demo-menu__item-image { position: relative; height: 5.2rem; }
.wg-demo-menu__item-image img { width: 100%; height: 100%; border-radius: .5rem; object-fit: cover; }
.wg-demo-menu__item-image small { position: absolute; right: .25rem; bottom: .25rem; left: .25rem; padding: .2rem .25rem; border-radius: .25rem; color: #fff; background: rgba(21,35,30,.77); font: .52rem Roboto, sans-serif; text-align: center; }
.wg-demo-menu__item-copy { min-width: 0; display: grid; gap: .25rem; }
.wg-demo-menu__item-copy strong { font-size: .78rem; font-weight: 600; line-height: 1.25; }
.wg-demo-menu__item-copy small { display: block; min-width: 0; overflow: visible; color: rgba(225,226,227,.62); font: .67rem/1.35 Roboto, system-ui, sans-serif; white-space: normal; overflow-wrap: anywhere; }
.wg-demo-menu__item-copy b { margin-top: .1rem; color: #55b7ff; font-size: .76rem; }
.wg-demo-menu__item-copy i { color: rgba(225,226,227,.54); font: normal .48rem Roboto, sans-serif; }
.wg-demo-menu__item-arrow { color: #008cff; font-size: .9rem; text-align: center; }

.wg-lab__cart-dock { position: sticky; z-index: 8; bottom: .75rem; display: flex; justify-content: flex-end; margin-top: .9rem; pointer-events: none; }
.wg-lab__cart-toggle {
    min-height: 3.2rem;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem 1rem;
    border: 1px solid rgba(0,246,255,.36);
    border-radius: 999px;
    color: #fff;
    background: rgba(13,20,36,.96);
    box-shadow: 0 .6rem 1.8rem rgba(0,0,0,.34);
    font: 600 .76rem "Exo 2", system-ui, sans-serif;
    cursor: pointer;
    pointer-events: auto;
    transition: border-color var(--wg-transition-fast), background var(--wg-transition-fast), box-shadow var(--wg-transition-fast);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.wg-lab__cart-toggle:hover { border-color: #00f6ff; background: rgba(0,140,255,.2); box-shadow: 0 0 1.1rem rgba(0,168,255,.3); }
.wg-lab__cart-toggle[aria-expanded="true"] { border-color: #55b7ff; color: #fff; background: #008cff; box-shadow: 0 0 0 1px rgba(0,140,255,.25), 0 0 1rem rgba(0,140,255,.45); }
.wg-lab__cart-toggle[aria-expanded="true"] .wg-lab__cart-icon { color: #fff; }
.wg-lab__cart-icon { color: var(--wg-cyan); font-size: 1.2rem; line-height: 1; }
.wg-lab__cart-count { min-width: 1.45rem; height: 1.45rem; display: grid; place-items: center; border-radius: 50%; color: #071118; background: var(--wg-cyan); font: 700 .65rem Roboto, sans-serif; }
.wg-lab__cart {
    position: fixed;
    z-index: 120;
    inset: auto;
    margin: 0;
    right: max(1rem, calc((100vw - 70rem) / 2));
    bottom: 5.1rem;
    width: min(28rem, calc(100vw - 2rem));
    max-height: min(72vh, 38rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0,246,255,.22);
    border-radius: 1.1rem;
    color: var(--wg-text);
    background: rgba(13,19,34,.98);
    box-shadow: 0 1.5rem 5rem rgba(0,0,0,.48);
}
.wg-lab__cart[hidden] { display: none; }
.wg-lab__cart-head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 1rem 1.15rem; border-bottom: 1px solid var(--wg-border); }
.wg-lab__cart-head .wg-lab__eyebrow { margin-bottom: .3rem; font-size: .57rem; }
.wg-lab__cart-head h3 { margin: 0; color: #fff; font-size: 1.2rem; }
.wg-lab__icon-button,
.wg-lab__dialog-close {
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(0,168,255,.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(0,140,255,.07);
    font-size: 1.25rem;
    cursor: pointer;
}
.wg-lab__icon-button:hover,
.wg-lab__dialog-close:hover { border-color: #00f6ff; background: rgba(0,140,255,.22); box-shadow: 0 0 .9rem rgba(0,168,255,.28); }
.wg-lab__cart-items { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .5rem 1rem; }
.wg-lab__empty { color: rgba(225,226,227,.62); font: .85rem/1.6 Roboto, sans-serif; }
.wg-lab__cart-item { display: grid; grid-template-columns: 3.3rem minmax(0,1fr) auto; align-items: center; gap: .65rem; padding: .7rem 0; border-bottom: 1px solid var(--wg-border); }
.wg-lab__cart-item > img { width: 3.3rem; height: 3.3rem; border-radius: .5rem; object-fit: cover; background: var(--wg-card); }
.wg-lab__cart-item-copy { min-width: 0; display: grid; gap: .2rem; }
.wg-lab__cart-item-copy strong { overflow-wrap: anywhere; color: #fff; font-size: .73rem; }
.wg-lab__cart-item-copy small { color: rgba(225,226,227,.54); font: .65rem Roboto, sans-serif; }
.wg-lab__cart-item-copy b { color: var(--wg-cyan); font-size: .72rem; }
.wg-lab__cart-quantity { grid-column: 2; min-height: 2rem; width: max-content; gap: .15rem; padding: .12rem; }
.wg-lab__cart-quantity button { width: 1.8rem; min-width: 1.8rem; height: 1.8rem; font-size: .92rem; }
.wg-lab__cart-quantity output { font-size: .72rem; }
.wg-lab__cart-remove { grid-column: 3; grid-row: 1 / span 2; align-self: end; padding: .35rem; border: 1px solid rgba(0,168,255,.35); border-radius: .45rem; color: #b7dcff; background: transparent; font: .65rem Roboto, sans-serif; text-decoration: underline; cursor: pointer; }
.wg-lab__cart-remove:hover { border-color: #00f6ff; color: #fff; background: rgba(0,140,255,.18); box-shadow: 0 0 .75rem rgba(0,168,255,.24); }
.wg-lab__cart-foot { flex: 0 0 auto; padding: .75rem 1rem .4rem; border-top: 1px solid var(--wg-border); }
.wg-lab__cart-foot > p { display: flex; justify-content: space-between; margin: 0; color: rgba(225,226,227,.66); font: .78rem Roboto, sans-serif; }
.wg-lab__cart-foot strong { color: #fff; font-size: 1rem; }
.wg-lab__checkout-button,
.wg-lab__checkout-confirm {
    width: 100%;
    min-height: 3.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-top: .75rem;
    padding: .75rem .9rem;
    border: 1px solid rgba(0,246,255,.4);
    border-radius: .7rem;
    color: #06111a;
    background: linear-gradient(100deg, var(--wg-cyan), #71faff);
    font: 700 .76rem Roboto, system-ui, sans-serif;
    cursor: pointer;
}
.wg-lab__checkout-button:disabled { opacity: .45; cursor: not-allowed; }
.wg-lab__checkout-button:hover:not(:disabled),
.wg-lab__checkout-confirm:hover { border-color: #00f6ff; box-shadow: 0 0 1rem rgba(0,168,255,.34); }
.wg-lab__checkout-confirm { justify-content: center; }
.wg-lab__checkout-button span,
.wg-lab__checkout-confirm span { margin-left: auto; }
.wg-lab__text-button { margin-top: .65rem; padding: .35rem .55rem; border: 1px solid rgba(0,168,255,.34); border-radius: .45rem; color: #b7dcff; background: transparent; font: .68rem Roboto, sans-serif; text-decoration: underline; cursor: pointer; }
.wg-lab__text-button:hover { border-color: #00f6ff; color: #fff; background: rgba(0,140,255,.16); box-shadow: 0 0 .75rem rgba(0,168,255,.22); }
.wg-lab__cart-note { flex: 0 0 auto; margin: 0; padding: .45rem 1rem .8rem; color: rgba(225,226,227,.4); font: .64rem Roboto, sans-serif; }
.wg-lab__toast {
    position: fixed;
    z-index: 150;
    bottom: 1.1rem;
    left: 50%;
    max-width: calc(100vw - 2rem);
    padding: .75rem 1rem;
    border: 1px solid rgba(0,246,255,.32);
    border-radius: 999px;
    color: #fff;
    background: #111a2c;
    box-shadow: var(--wg-shadow);
    font: .78rem Roboto, sans-serif;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, .6rem);
    transition: opacity var(--wg-transition-fast), transform var(--wg-transition-fast);
}
.wg-lab__toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.wg-lab__dialog {
    width: min(49rem, calc(100vw - 2rem));
    max-width: none;
    max-height: min(88vh, 48rem);
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(0,246,255,.24);
    border-radius: 1.2rem;
    color: var(--wg-text);
    background: #0d1424;
    box-shadow: 0 2rem 8rem rgba(0,0,0,.6);
}
.wg-lab__dialog::backdrop { background: rgba(3,6,12,.76); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wg-lab__dialog-inner { position: relative; min-height: 20rem; display: grid; align-items: center; }
.wg-lab__dialog-close { position: absolute; z-index: 2; top: .75rem; right: .75rem; }
.wg-lab__dialog-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 1.5rem; padding: 1.4rem; }
.wg-lab__dialog-media { min-width: 0; height: 22rem; display: grid; place-items: center; overflow: hidden; margin: 0; border-radius: .9rem; background: radial-gradient(circle, rgba(0,246,255,.11), rgba(26,32,53,.8)); }
.wg-lab__dialog-media img { width: 88%; height: 88%; object-fit: contain; }
.wg-lab__dialog-copy { min-width: 0; padding: 1.25rem .6rem 1.25rem 0; }
.wg-lab__dialog-copy .wg-lab__eyebrow { font-size: .6rem; }
.wg-lab__dialog-copy h3 { margin: 0; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.12; }
.wg-lab__dialog-description { color: rgba(225,226,227,.68); font: .9rem/1.6 Roboto, sans-serif; }
.wg-lab__dialog-price { margin: 1rem 0; color: #fff; font-size: 1.25rem; }
.wg-lab__dialog-price small { color: rgba(225,226,227,.48); font: .58rem Roboto, sans-serif; letter-spacing: .1em; }
.wg-lab__dialog-quantity { margin: .8rem 0; }
.wg-lab__dialog-add { width: 100%; }
.wg-lab__dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .6rem; }
.wg-lab__checkout-back { min-height: 2.7rem; padding: .6rem .75rem; border: 1px solid rgba(0,168,255,.34); border-radius: .65rem; color: var(--wg-text); background: rgba(0,140,255,.05); font: 600 .72rem Roboto, sans-serif; cursor: pointer; }
.wg-lab__checkout-back:hover { border-color: #00f6ff; color: #fff; background: rgba(0,140,255,.18); box-shadow: 0 0 .8rem rgba(0,168,255,.24); }
.wg-lab__checkout {
    width: min(72rem, calc(100vw - 2rem));
    max-width: none;
    max-height: min(92vh, 58rem);
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(0,246,255,.24);
    border-radius: 1.2rem;
    color: var(--wg-text);
    background: #0d1424;
    box-shadow: 0 2rem 8rem rgba(0,0,0,.6);
}
.wg-lab__checkout::backdrop { background: rgba(3,6,12,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wg-lab__checkout-inner { position: relative; padding: clamp(1.1rem, 3vw, 2rem); }
.wg-lab__checkout-inner > [data-lab-checkout-close] { position: absolute; z-index: 3; top: 1rem; right: 1rem; }
.wg-lab__checkout-heading { max-width: 46rem; margin-bottom: 1.5rem; }
.wg-lab__checkout-heading h2,
.wg-lab__confirmation h2 { margin: 0; color: #fff; font: 600 clamp(1.7rem, 4vw, 2.65rem)/1.1 "Exo 2", system-ui, sans-serif; letter-spacing: -.04em; }
.wg-lab__checkout-heading > p:last-child { margin: .65rem 0 0; color: rgba(225,226,227,.62); font: .82rem/1.55 Roboto, sans-serif; }
.wg-lab__checkout-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(17rem,.75fr); align-items: start; gap: 1.2rem; }
.wg-lab__checkout-fields { display: grid; gap: .85rem; }
.wg-lab__checkout-fields fieldset { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--wg-border); border-radius: .85rem; background: rgba(225,226,227,.025); }
.wg-lab__checkout-fields legend { padding: 0 .35rem; color: #fff; font: 600 .9rem "Exo 2", system-ui, sans-serif; }
.wg-lab__checkout-fields legend span { margin-right: .5rem; color: var(--wg-cyan); font-size: .65rem; letter-spacing: .1em; }
.wg-lab__checkout-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.wg-lab__checkout-grid label { min-width: 0; display: grid; gap: .35rem; color: rgba(225,226,227,.68); font: .69rem Roboto, sans-serif; }
.wg-lab__checkout-grid label.is-wide { grid-column: 1 / -1; }
.wg-lab__checkout-grid input { width: 100%; min-height: 2.8rem; padding: .65rem .75rem; border: 1px solid rgba(0,168,255,.38); border-radius: .55rem; color: #fff; background: #151b2d; font: .82rem Roboto, sans-serif; }
.wg-lab__checkout-grid input:hover { border-color: rgba(0,246,255,.76); }
.wg-lab__checkout-grid input:focus { border-color: #00f6ff; outline: 2px solid rgba(0,246,255,.55); outline-offset: 1px; box-shadow: 0 0 .75rem rgba(0,168,255,.2); }
.wg-lab__demo-payment { display: flex; align-items: center; gap: .7rem; padding: .85rem; border: 1px solid rgba(192,48,255,.24); border-radius: .65rem; background: linear-gradient(110deg,rgba(192,48,255,.08),rgba(0,246,255,.04)); }
.wg-lab__demo-payment > span { color: var(--wg-purple); font-size: 1.2rem; }
.wg-lab__demo-payment > div { display: grid; gap: .25rem; }
.wg-lab__demo-payment strong { color: #fff; font-size: .75rem; }
.wg-lab__demo-payment small { color: rgba(225,226,227,.55); font: .65rem/1.4 Roboto, sans-serif; }
.wg-lab__demo-payment > b { margin-left: auto; padding: .28rem .4rem; border: 1px solid rgba(0,246,255,.28); border-radius: .35rem; color: var(--wg-cyan); font: 700 .52rem Roboto, sans-serif; letter-spacing: .1em; }
.wg-lab__checkout-summary { position: sticky; top: .5rem; padding: 1rem; border: 1px solid rgba(0,246,255,.2); border-radius: .85rem; background: linear-gradient(145deg,rgba(26,32,53,.8),rgba(13,19,34,.9)); }
.wg-lab__checkout-summary > .wg-lab__eyebrow { margin: 0 0 .8rem; }
.wg-lab__checkout-lines { display: grid; gap: .65rem; max-height: 15rem; overflow-y: auto; }
.wg-lab__checkout-line { display: flex; justify-content: space-between; gap: .8rem; padding-bottom: .65rem; border-bottom: 1px solid var(--wg-border); }
.wg-lab__checkout-line > div { min-width: 0; display: grid; gap: .2rem; }
.wg-lab__checkout-line strong { color: #fff; font-size: .72rem; overflow-wrap: anywhere; }
.wg-lab__checkout-line small { color: rgba(225,226,227,.55); font: .63rem Roboto, sans-serif; }
.wg-lab__checkout-line b { color: var(--wg-cyan); font-size: .68rem; white-space: nowrap; }
.wg-lab__checkout-summary dl,
.wg-lab__confirmation dl { display: grid; gap: .55rem; margin: 1rem 0; }
.wg-lab__checkout-summary dl > div,
.wg-lab__confirmation dl > div { display: flex; justify-content: space-between; gap: .8rem; color: rgba(225,226,227,.65); font: .75rem Roboto, sans-serif; }
.wg-lab__checkout-summary dd,
.wg-lab__confirmation dd { margin: 0; color: #fff; }
.wg-lab__checkout-summary .is-total { padding-top: .7rem; border-top: 1px solid var(--wg-border-strong); color: #fff; font-weight: 700; }
.wg-lab__checkout-summary .is-total dd { color: var(--wg-cyan); font-size: 1rem; }
.wg-lab__checkout-disclaimer { color: rgba(225,226,227,.45); font: .63rem/1.5 Roboto, sans-serif; }
.wg-lab__checkout-error { padding: .6rem; border: 1px solid rgba(255,110,130,.36); border-radius: .5rem; color: #ffb5c0; background: rgba(255,70,95,.08); font: .7rem/1.45 Roboto, sans-serif; }
.wg-lab__checkout-error[hidden],
.wg-lab__confirmation[hidden],
.wg-lab__checkout [data-checkout-form-view][hidden] { display: none; }
.wg-lab__confirmation { max-width: 34rem; margin: 1rem auto; text-align: center; }
.wg-lab__confirmation-mark { width: 3.6rem; height: 3.6rem; display: grid; place-items: center; margin: 1.2rem auto; border: 1px solid rgba(0,246,255,.45); border-radius: 50%; color: var(--wg-cyan); background: rgba(0,246,255,.08); font-size: 1.5rem; }
.wg-lab__confirmation > p:not(.wg-lab__eyebrow):not(.wg-lab__checkout-disclaimer) { color: rgba(225,226,227,.68); }
.wg-lab__confirmation dl { padding: .9rem; border: 1px solid var(--wg-border); border-radius: .7rem; }
.wg-lab__confirmation .wg-lab__checkout-confirm { max-width: 21rem; margin-inline: auto; }
.wg-lab__footnote { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: rgba(225,226,227,.38); font-size: .55rem; letter-spacing: .13em; }

@media (max-width: 1024px) {
    .wg-demo-store__layout { grid-template-columns: 1fr; }
    .wg-demo-store__rail { padding: .35rem 0 0; }
    .wg-demo-store__rail-label,
    .wg-demo-store__category,
    .wg-demo-store__rail-note { display: none; }
    .wg-demo-store__product-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; }
    .wg-demo-store__product-choice { min-height: 3.6rem; grid-template-columns: 1.1rem minmax(0,1fr); padding: .55rem; }
    .wg-demo-store__product-choice > span:last-child { display: none; }
}
@media (max-width: 860px) {
    .wg-lab__checkout-layout { grid-template-columns: minmax(0,1fr); }
    .wg-lab__checkout-summary { position: static; }
}
@media (max-width: 768px) {
    .wg-lab { padding-block: 3.5rem; }
    .wg-lab__intro { display: block; }
    .wg-lab__intro-meta { display: flex; margin-top: 1.3rem; border-left: 0; border-top: 1px solid var(--wg-border); padding: .65rem 0 0; }
    .wg-demo-store__featured { grid-template-columns: minmax(0,1fr); gap: 1rem; }
    .wg-demo-store__visual { min-height: clamp(15rem, 52vw, 23rem); }
    .wg-demo-store__visual img { height: clamp(14rem, 48vw, 21rem); }
    .wg-demo-store__details h3 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .wg-demo-menu__layout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .wg-demo-menu__sidebar { padding: .7rem .8rem; border-right: 0; border-bottom: 1px solid rgba(25,28,36,.11); }
    .wg-demo-menu__side-label,
    .wg-demo-menu__sidebar-note { display: none; }
    .wg-demo-menu__categories { display: flex; gap: .35rem; overflow-x: auto; overscroll-behavior-x: contain; padding: .1rem .05rem .35rem; scrollbar-width: thin; }
    .wg-demo-menu__categories button { min-width: max-content; min-height: 2.75rem; padding-inline: .8rem; border: 1px solid rgba(0,168,255,.36); border-radius: 999px; }
    .wg-demo-menu__categories button span:first-child { max-width: calc(100vw - 9rem); }
    .wg-demo-menu__categories button span:last-child { display: none; }
    .wg-demo-menu__categories button.is-active { border-color: #55b7ff; }
    .wg-demo-menu__content { padding: .9rem; }
    .wg-demo-menu__welcome { min-height: 8.5rem; padding: 1.2rem; }
    .wg-demo-menu__featured { grid-template-columns: 5.7rem minmax(0,1fr); }
    .wg-demo-menu__featured > img { height: 5.7rem; }
    .wg-demo-menu__featured > img,
    .wg-demo-menu__item-image img { object-fit: contain; }
    .wg-demo-menu__featured > button { grid-column: 1 / -1; width: 100%; min-height: 2.9rem; display: flex; align-items: center; justify-content: space-between; padding-inline: .85rem; }
    .wg-lab__dialog { width: min(100vw, 38rem); max-height: 90dvh; margin: auto auto 0; border-radius: 1.25rem 1.25rem 0 0; }
    .wg-lab__dialog-content { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
    .wg-lab__dialog-media { height: min(42vh, 17rem); }
    .wg-lab__dialog-copy { padding: 0 .25rem 1rem; }
    .wg-lab__checkout { width: min(100vw, 44rem); max-height: 94dvh; margin: auto auto 0; border-radius: 1.1rem 1.1rem 0 0; }
    .wg-lab__checkout-layout { grid-template-columns: minmax(0,1fr); }
    .wg-lab__checkout-summary { position: static; }
}
@media (max-width: 480px) {
    .wg-lab { padding-inline: 1rem; }
    .wg-lab__intro h2 { max-width: 12ch; font-size: clamp(2.1rem, 10vw, 3.1rem); }
    .wg-lab__workspace { padding: .55rem; border-radius: 1.1rem; }
    .wg-lab__mode-switch { gap: .3rem; margin-bottom: 1rem; padding: .3rem; }
    .wg-lab__mode { min-height: 3.75rem; grid-template-columns: 1.2rem minmax(0,1fr); gap: .4rem; padding: .45rem .5rem; }
    .wg-lab__mode-mark { display: none; }
    .wg-lab__mode-index { font-size: .55rem; }
    .wg-lab__mode-copy strong { font-size: .76rem; }
    .wg-lab__mode-copy small { font-size: .62rem; }
    .wg-demo-store__product-list { gap: .3rem; }
    .wg-demo-store__product-choice { min-height: 3.55rem; grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .wg-demo-store__choice-number { display: none; }
    .wg-demo-store__product-choice strong { font-size: .67rem; }
    .wg-demo-store__product-choice small { font-size: .58rem; }
    .wg-demo-store__stage-top { padding: .75rem; font-size: .51rem; }
    .wg-demo-store__featured { padding: .7rem; }
    .wg-demo-store__visual { min-height: 14.5rem; }
    .wg-demo-store__visual img { width: 86%; height: 13rem; }
    .wg-demo-store__actions { grid-template-columns: 1fr; }
    .wg-demo-store__quantity { justify-content: center; }
    .wg-demo-store__shelf { align-items: start; padding: .8rem; }
    .wg-demo-store__shelf > div > span { max-width: 15rem; font-size: .65rem; }
    .wg-demo-store__shelf-count { font-size: .5rem; }
    .wg-demo-menu__topbar { padding: .75rem; }
    .wg-demo-menu__content { padding: .7rem; }
    .wg-demo-menu__welcome { min-height: 7.4rem; padding: .9rem; }
    .wg-demo-menu__welcome-mark { font-size: 3.4rem; }
    .wg-demo-menu__featured { grid-template-columns: 4.8rem minmax(0,1fr); gap: .6rem; padding: .55rem; }
    .wg-demo-menu__featured > img { height: 4.8rem; }
    .wg-demo-menu__featured > div > span { font-size: .65rem; }
    .wg-demo-menu__items { grid-template-columns: 1fr; }
    .wg-demo-menu__item-open { min-height: 6.1rem; grid-template-columns: 4.7rem minmax(0,1fr) 1rem; }
    .wg-demo-menu__item-image { height: 4.7rem; }
    .wg-lab__cart-dock { bottom: .45rem; }
    .wg-lab__cart-toggle { min-height: 3rem; padding: .55rem .8rem; }
    .wg-lab__cart { right: .5rem; bottom: calc(.5rem + env(safe-area-inset-bottom, 0px)); width: min(28rem, calc(100vw - 2rem)); max-height: min(96vh, 38rem, calc(100vh - .75rem - env(safe-area-inset-bottom, 0px))); max-height: min(96dvh, 38rem, calc(100dvh - .75rem - env(safe-area-inset-bottom, 0px))); }
    .wg-lab .wg-lab__cart-head { padding: .5rem .75rem; }
    .wg-lab .wg-lab__cart-head h3 { font-size: 1rem; }
    .wg-lab .wg-lab__cart-items { padding: .3rem .75rem; }
    .wg-lab .wg-lab__cart-foot { padding: .45rem .75rem .25rem; }
    .wg-lab .wg-lab__cart-foot > p { font: .74rem/1.25 Roboto, sans-serif; }
    .wg-lab .wg-lab__cart-foot strong { font-size: .9rem; }
    .wg-lab .wg-lab__checkout-button { width: 100%; min-height: 2.8rem; margin-top: .45rem; padding: .6rem .75rem; font-size: .72rem; }
    .wg-lab .wg-lab__text-button { margin-top: .25rem; }
    .wg-lab .wg-lab__cart-note { padding: .25rem .75rem .45rem; font-size: .61rem; }
    .wg-lab__cart-item { grid-template-columns: 2.8rem minmax(0,1fr) auto; gap: .5rem; }
    .wg-lab__cart-item > img { width: 2.8rem; height: 2.8rem; }
    .wg-lab__cart-remove { font-size: .61rem; }
    .wg-lab__dialog { width: 100%; max-height: 92dvh; }
    .wg-lab__dialog-content { padding: 4.25rem .75rem .75rem; }
    .wg-lab__dialog-media { height: min(42vh, 17rem); }
    .wg-lab .wg-lab__dialog-media img { display: block; width: min(42vh, 17rem); height: min(42vh, 17rem); max-width: 100%; object-fit: contain; }
    .wg-lab__dialog-actions { grid-template-columns: 1fr; }
    .wg-lab__checkout-inner { padding: .9rem; }
    .wg-lab__checkout-heading { padding-right: 2.4rem; }
    .wg-lab__checkout-grid { grid-template-columns: minmax(0,1fr); }
    .wg-lab__checkout-grid label.is-wide { grid-column: auto; }
    .wg-lab__checkout-fields fieldset,
    .wg-lab__checkout-summary { padding: .75rem; }
    .wg-lab__footnote { display: grid; gap: .4rem; font-size: .49rem; }
}
@media (max-width: 375px) {
    .wg-demo-store__product-choice { padding-inline: .3rem; }
    .wg-demo-store__product-choice strong { font-size: .62rem; }
    .wg-demo-menu__item-open { grid-template-columns: 4.2rem minmax(0,1fr) .8rem; gap: .55rem; padding: .45rem; }
    .wg-demo-menu__item-image { height: 4.4rem; }
}
@media (max-width: 360px) {
    .wg-lab { padding-inline: .75rem; }
    .wg-lab__intro h2 { font-size: 2rem; }
    .wg-lab__mode-copy strong { font-size: .7rem; }
    .wg-demo-store__stage-top > span:last-child { display: none; }
    .wg-demo-menu__item-copy strong { font-size: .73rem; }
    .wg-lab__cart-toggle { font-size: .7rem; }
}
@media (min-width: 1280px) {
    .wg-demo-store__layout { grid-template-columns: minmax(14rem,.68fr) minmax(0,2.32fr); }
    .wg-demo-store__visual { min-height: 28rem; }
}
@media (min-width: 1440px) {
    .wg-lab__workspace { padding: 1.5rem; }
    .wg-demo-store__featured { gap: 2.5rem; }
    .wg-demo-menu__content { padding: 2rem 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wg-lab *,
    .wg-lab *::before,
    .wg-lab *::after {
        animation-duration: .01ms;
        animation-iteration-count: 1;
        scroll-behavior: auto;
        transition-duration: .01ms;
    }
}

@media (min-width: 390px) and (max-width: 413px) {
    .wg-demo-store__visual { min-height: 15.5rem; }
    .wg-demo-menu__item-open { grid-template-columns: 4.5rem minmax(0,1fr) .9rem; }
}
@media (min-width: 414px) and (max-width: 479px) {
    .wg-demo-store__visual { min-height: 16rem; }
    .wg-demo-menu__item-open { grid-template-columns: 4.9rem minmax(0,1fr) 1rem; }
}

.wg-lab__noscript { margin: 0 0 1rem; padding: .75rem; border: 1px solid var(--wg-border); border-radius: .65rem; color: rgba(225,226,227,.76); font: .78rem/1.5 Roboto, system-ui, sans-serif; }

/* Área táctil mínima para controles compactos del laboratorio. */
.wg-demo-store__quantity button,
.wg-lab__cart-quantity button { width: 2.75rem; min-width: 2.75rem; height: 2.75rem; }
.wg-lab__cart-remove,
.wg-lab__text-button { min-width: 2.75rem; min-height: 2.75rem; }
.wg-lab__cart-remove { display: inline-flex; align-items: center; justify-content: center; }

/* Evita que el reset global imponga su borde rosa a controles del Laboratorio. */
.wg-lab button { border-color: rgba(0,168,255,.3); }
.wg-lab .wg-demo-store__add { border-color: rgba(0,246,255,.48); }
.wg-lab .wg-demo-store__add:hover { border-color: #00f6ff; }

/* Demostración interactiva de automatización e IA. */
.wg-automation-flow {
    padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse at 50% 38%, rgba(0,168,255,.07), transparent 42rem),
        var(--wg-bg);
}
.wg-automation-flow__inner { width: min(100%, var(--wg-content-width)); margin-inline: auto; }
.wg-automation-flow__intro { max-width: 47rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.wg-automation-flow__eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: var(--wg-cyan); font: 600 .66rem/1.4 Inter, system-ui, sans-serif; letter-spacing: .15em; }
.wg-automation-flow__eyebrow span { color: #55b7ff; }
.wg-automation-flow__intro h2 { max-width: 17ch; margin: 0 auto .85rem; color: var(--wg-text); font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.05; }
.wg-automation-flow__intro > p:last-child { max-width: 39rem; margin: 0 auto; color: rgba(225,226,227,.68); font-size: clamp(.9rem, 1.3vw, 1.05rem); line-height: 1.65; }
.wg-automation-flow__stages { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.wg-automation-flow__stage-item { position: relative; min-width: 0; }
.wg-automation-flow .wg-automation-flow__stage {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    min-height: 8.5rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-items: start;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid rgba(0,168,255,.25);
    border-radius: .85rem;
    color: rgba(225,226,227,.72);
    background: linear-gradient(155deg, rgba(26,32,53,.96), rgba(13,20,36,.96));
    text-align: left;
    cursor: pointer;
    transition: border-color var(--wg-transition-fast), background var(--wg-transition-fast), color var(--wg-transition-fast), box-shadow var(--wg-transition-fast), transform var(--wg-transition-fast);
}
.wg-automation-flow .wg-automation-flow__stage:hover { border-color: rgba(0,246,255,.68); color: #fff; background: linear-gradient(155deg, rgba(0,140,255,.17), rgba(13,20,36,.98)); box-shadow: 0 0 1rem rgba(0,168,255,.15); }
.wg-automation-flow__stage:focus-visible,
.wg-automation-flow__next:focus-visible,
.wg-automation-flow__reset:focus-visible { outline: 2px solid var(--wg-cyan); outline-offset: 4px; }
.wg-automation-flow .wg-automation-flow__stage.is-active { border-color: #55b7ff; color: #fff; background: linear-gradient(145deg, #0878d1, #07509b); box-shadow: 0 0 0 1px rgba(0,140,255,.22), 0 .65rem 1.6rem rgba(0,80,160,.2); }
.wg-automation-flow__stage-number { color: #55b7ff; font: 600 .67rem/1 Inter, system-ui, sans-serif; letter-spacing: .13em; }
.wg-automation-flow__stage.is-active .wg-automation-flow__stage-number { color: #fff; }
.wg-automation-flow__stage-label { align-self: center; font: 600 clamp(.72rem, .85vw, .9rem)/1.25 "Exo 2", system-ui, sans-serif; letter-spacing: .035em; overflow-wrap: anywhere; }
.wg-automation-flow__stage-connector { justify-self: end; color: var(--wg-cyan); font-size: 1rem; line-height: 1; }
.wg-automation-flow__stage-connector--final { color: #fff; }
.wg-automation-flow__panel { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 1.5rem; margin-top: 1rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid rgba(0,168,255,.22); border-radius: 1rem; background: linear-gradient(120deg, rgba(26,32,53,.86), rgba(13,20,36,.92)); box-shadow: 0 1rem 3rem rgba(0,0,0,.16); }
.wg-automation-flow__panel-copy { min-width: 0; }
.wg-automation-flow__panel-kicker { margin: 0 0 .55rem; color: rgba(0,246,255,.78); font: 600 .58rem/1.4 Inter, system-ui, sans-serif; letter-spacing: .12em; }
.wg-automation-flow__panel-copy h3 { max-width: 38rem; margin: 0 0 .55rem; color: #fff; font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; overflow-wrap: anywhere; }
.wg-automation-flow__description { max-width: 48rem; margin: 0; color: rgba(225,226,227,.7); font: .88rem/1.65 Roboto, system-ui, sans-serif; }
.wg-automation-flow__result { margin-top: 1rem; padding-left: .75rem; border-left: 2px solid var(--wg-cyan); }
.wg-automation-flow__result > span { color: rgba(0,246,255,.75); font: 600 .55rem/1.4 Inter, system-ui, sans-serif; letter-spacing: .13em; }
.wg-automation-flow__result p { margin: .25rem 0 0; color: #fff; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.wg-automation-flow__actions { display: grid; justify-items: stretch; gap: .55rem; min-width: 10.5rem; }
.wg-automation-flow .wg-automation-flow__next { min-height: 2.9rem; display: inline-flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .7rem .85rem; border: 1px solid rgba(0,246,255,.48); border-radius: .6rem; color: #06111a; background: linear-gradient(100deg, var(--wg-cyan), #71faff); font: 700 .72rem/1.3 Roboto, system-ui, sans-serif; cursor: pointer; transition: border-color var(--wg-transition-fast), box-shadow var(--wg-transition-fast), transform var(--wg-transition-fast); }
.wg-automation-flow .wg-automation-flow__next:hover { border-color: #00f6ff; box-shadow: 0 0 1rem rgba(0,168,255,.28); transform: translateY(-1px); }
.wg-automation-flow__next span { flex: 0 0 auto; }
.wg-automation-flow .wg-automation-flow__reset { justify-self: end; min-height: 2.75rem; padding: .45rem .6rem; border: 1px solid transparent; border-radius: .45rem; color: rgba(225,226,227,.68); background: transparent; font: 600 .68rem/1.3 Roboto, system-ui, sans-serif; cursor: pointer; }
.wg-automation-flow .wg-automation-flow__reset:hover { border-color: rgba(0,246,255,.35); color: #fff; background: rgba(0,140,255,.1); }
@media (max-width: 1024px) {
    .wg-automation-flow__stages { grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; }
    .wg-automation-flow__stage { min-height: 7.2rem; }
    .wg-automation-flow__stage-label { font-size: .86rem; }
}
@media (max-width: 600px) {
    .wg-automation-flow { padding: 4.5rem 1rem; }
    .wg-automation-flow__stages { grid-template-columns: minmax(0,1fr); gap: .55rem; }
    .wg-automation-flow__stage { min-height: 4.25rem; grid-template-columns: 2rem minmax(0,1fr) 1.25rem; grid-template-rows: auto; align-items: center; gap: .65rem; padding: .65rem .8rem; }
    .wg-automation-flow__stage-label { font-size: .82rem; }
    .wg-automation-flow__stage-connector { justify-self: center; transform: rotate(90deg); }
    .wg-automation-flow__stage-connector--final { transform: none; }
    .wg-automation-flow__panel { grid-template-columns: minmax(0,1fr); gap: 1rem; }
    .wg-automation-flow__actions { grid-template-columns: minmax(0,1fr) auto; align-items: center; min-width: 0; }
    .wg-automation-flow__reset { justify-self: end; }
}
@media (max-width: 375px) {
    .wg-automation-flow { padding-inline: .8rem; }
    .wg-automation-flow__eyebrow { font-size: .58rem; letter-spacing: .1em; }
    .wg-automation-flow__stage-label { font-size: .77rem; }
    .wg-automation-flow__panel { padding: 1rem; }
    .wg-automation-flow__actions { grid-template-columns: minmax(0,1fr); }
    .wg-automation-flow__reset { justify-self: center; }
}
@media (max-width: 600px) {
    .wg-automation-flow.is-mobile-dialog-enabled [data-flow-panel] { display: none; }
    .wg-automation-flow__dialog:not([open]) { display: none; }
    .wg-automation-flow__dialog[open] {
        position: fixed;
        inset: 0;
        width: min(34rem, calc(100vw - 2rem));
        max-width: calc(100vw - 2rem);
        max-height: calc(100vh - 2rem);
        max-height: calc(100dvh - 2rem);
        margin: auto;
        padding: clamp(1rem, 4vw, 1.5rem);
        box-sizing: border-box;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 1px solid rgba(0,246,255,.48);
        border-radius: 1rem;
        color: var(--wg-text);
        background: radial-gradient(ellipse at 88% 0%, rgba(0,168,255,.16), transparent 24rem), linear-gradient(145deg, #101a2d, #080d19 78%);
        box-shadow: 0 1.5rem 5rem rgba(0,0,0,.58), 0 0 2.25rem rgba(0,168,255,.12);
    }
    .wg-automation-flow__dialog::backdrop { background: rgba(2,7,17,.8); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
    .wg-automation-flow__dialog-shell,
    .wg-automation-flow__dialog-mount { min-width: 0; }
    .wg-automation-flow .wg-automation-flow__dialog-close {
        position: sticky;
        top: 0;
        z-index: 1;
        display: grid;
        place-items: center;
        width: 2.75rem;
        height: 2.75rem;
        margin: -.25rem -.25rem .25rem auto;
        padding: 0;
        border: 1px solid rgba(0,246,255,.55);
        border-radius: 50%;
        color: #fff;
        background: #0b182b;
        font: 400 1.55rem/1 system-ui, sans-serif;
        cursor: pointer;
    }
    .wg-automation-flow .wg-automation-flow__dialog-close:hover { border-color: var(--wg-cyan); background: #10233c; }
    .wg-automation-flow .wg-automation-flow__dialog-close:focus-visible { outline: 2px solid var(--wg-cyan); outline-offset: 3px; }
    .wg-automation-flow__dialog .wg-automation-flow__actions { margin-top: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wg-automation-flow .wg-automation-flow__stage { transition: none; }
    .wg-automation-flow .wg-automation-flow__stage:hover { transform: none; }
    .wg-automation-flow__dialog { scroll-behavior: auto; }
}

/* Fase 9: recorrido de transformación, independiente de la inicialización JS. */
.wg-methodology {
    min-height: 0;
    padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 42%, rgba(0,246,255,.055), transparent 43%), var(--wg-bg);
}
.wg-methodology__inner { width: min(100%, var(--wg-content-width)); margin-inline: auto; }
.wg-methodology__intro { max-width: 48rem; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); text-align: center; }
.wg-methodology__eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; color: var(--wg-cyan); font: 600 .68rem/1.3 Inter, system-ui, sans-serif; letter-spacing: .16em; }
.wg-methodology__eyebrow > span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--wg-cyan); box-shadow: 0 0 12px rgba(0,246,255,.55); }
.wg-methodology__intro h2 { max-width: 14ch; margin: 0 auto 1rem; color: var(--wg-text); font-size: clamp(2.2rem, 5.5vw, 4.5rem); font-weight: 600; letter-spacing: -.065em; line-height: .98; }
.wg-methodology__intro h2 em { color: var(--wg-cyan); font-style: normal; }
.wg-methodology__lead { max-width: 41rem; margin: 0 auto; color: rgba(225,226,227,.72); font-size: clamp(.95rem, 1.4vw, 1.1rem); line-height: 1.75; }
.wg-process { position: relative; }
.wg-process__core { position: relative; z-index: 1; display: flex; align-items: center; gap: .85rem; width: fit-content; max-width: 100%; margin: 0 auto 2.6rem; padding: .75rem 1.1rem .75rem .75rem; border: 1px solid rgba(0,246,255,.27); border-radius: var(--wg-radius-pill); background: linear-gradient(110deg, rgba(0,246,255,.1), rgba(26,32,53,.94) 42%, rgba(192,48,255,.08)); box-shadow: 0 10px 38px rgba(0,0,0,.23), inset 0 0 24px rgba(0,246,255,.035); }
.wg-process__core-mark { display: grid; flex: 0 0 2.65rem; width: 2.65rem; height: 2.65rem; place-items: center; border: 1px solid rgba(0,246,255,.4); border-radius: 50%; color: var(--wg-cyan); font-size: 1rem; font-weight: 700; }
.wg-process__core-copy { display: grid; gap: .1rem; min-width: 0; }
.wg-process__core-copy strong { color: var(--wg-text); font-size: .78rem; letter-spacing: .13em; }
.wg-process__core-copy small { color: rgba(225,226,227,.58); font-size: .53rem; letter-spacing: .09em; }
.wg-process__core-state { display: inline-flex; align-items: center; gap: .4rem; margin-left: .5rem; color: rgba(225,226,227,.72); font-size: .53rem; letter-spacing: .08em; }
.wg-process__core-state i { width: .36rem; height: .36rem; border-radius: 50%; background: var(--wg-cyan); }
.wg-process__stages { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: .8rem; margin: 0; padding: 1.2rem 0 0; list-style: none; }
.wg-process__stages::before { position: absolute; top: 0; right: 8.33%; left: 8.33%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(0,246,255,.55) 12%, rgba(0,246,255,.2) 50%, rgba(192,48,255,.5) 88%, transparent); }
.wg-process__stage { position: relative; min-width: 0; padding-top: 1.05rem; }
.wg-process__stage::before { position: absolute; z-index: 1; top: -.22rem; left: 50%; width: .44rem; height: .44rem; border: 1px solid var(--wg-cyan); border-radius: 50%; content: ""; background: var(--wg-bg); box-shadow: 0 0 12px rgba(0,246,255,.35); transform: translateX(-50%); }
.wg-process__card { display: flex; min-height: 20.5rem; flex-direction: column; padding: 1.05rem .9rem .9rem; border: 1px solid var(--wg-border); border-radius: var(--wg-radius-md); background: linear-gradient(155deg, rgba(26,32,53,.92), rgba(10,15,30,.96)); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.wg-process__card-top { display: flex; align-items: center; justify-content: space-between; gap: .3rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(225,226,227,.09); }
.wg-process__number { color: var(--wg-cyan); font: 500 1.35rem/1 Inter, system-ui, sans-serif; letter-spacing: -.06em; }
.wg-process__signal { color: rgba(225,226,227,.4); font: 500 .48rem/1.3 Inter, system-ui, sans-serif; letter-spacing: .1em; }
.wg-process__card h3 { margin: 1rem 0 .55rem; color: var(--wg-text); font-size: clamp(.85rem, 1.2vw, 1rem); font-weight: 600; letter-spacing: .025em; }
.wg-process__card > p:not(.wg-process__caption) { margin: 0; color: rgba(225,226,227,.68); font-size: .76rem; line-height: 1.62; }
.wg-process__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0; padding: 0; list-style: none; }
.wg-process__tags li { max-width: 100%; padding: .27rem .42rem; border: 1px solid rgba(225,226,227,.1); border-radius: var(--wg-radius-pill); color: rgba(225,226,227,.7); font-size: .49rem; line-height: 1.35; overflow-wrap: anywhere; }
.wg-process__caption { margin: auto 0 0; padding-top: .75rem; border-top: 1px solid rgba(225,226,227,.09); color: rgba(0,246,255,.78); font-size: .51rem; font-weight: 600; letter-spacing: .075em; line-height: 1.5; }
.wg-process__outcome { display: flex; align-items: center; justify-content: center; gap: .6rem; max-width: 42rem; margin: 1.6rem auto 0; color: rgba(225,226,227,.62); font-size: .78rem; line-height: 1.5; text-align: center; }
.wg-process__outcome span { color: var(--wg-cyan); font-size: 1.1rem; }
@media (hover: hover) and (pointer: fine) {
    .wg-process__card { transition: transform var(--wg-transition-base), border-color var(--wg-transition-base), box-shadow var(--wg-transition-base); }
    .wg-process__card:hover { transform: translateY(-.22rem); border-color: rgba(0,246,255,.35); box-shadow: 0 16px 34px rgba(0,0,0,.22), 0 0 20px rgba(0,246,255,.06); }
}
@media (max-width: 1100px) {
    .wg-process__stages { grid-template-columns: repeat(3, minmax(0,1fr)); column-gap: 1rem; row-gap: 1.1rem; padding-top: 0; }
    .wg-process__stages::before { display: none; }
    .wg-process__stage { padding-top: .9rem; }
    .wg-process__stage::before { top: .2rem; left: 1.15rem; }
    .wg-process__card { min-height: 19rem; }
}
@media (max-width: 680px) {
    .wg-methodology { padding: 4.5rem 1rem; }
    .wg-methodology__intro { margin-bottom: 2rem; text-align: left; }
    .wg-methodology__intro h2 { margin-inline: auto; font-size: clamp(2.2rem, 11vw, 3.6rem); }
    .wg-methodology__lead { margin-inline: 0; }
    .wg-process__core { width: 100%; justify-content: flex-start; margin-bottom: 1.5rem; border-radius: .9rem; }
    .wg-process__core-state { margin-left: auto; font-size: .47rem; }
    .wg-process__stages { grid-template-columns: minmax(0,1fr); gap: .7rem; padding: 0 0 0 1.15rem; }
    .wg-process__stages::before { display: block; top: .3rem; right: auto; bottom: .3rem; left: .22rem; width: 1px; height: auto; background: linear-gradient(180deg, rgba(0,246,255,.2), rgba(0,246,255,.62) 34%, rgba(192,48,255,.62) 76%, transparent); }
    .wg-process__stage { padding: 0 0 0 .85rem; }
    .wg-process__stage::before { top: 1.3rem; left: -.92rem; }
    .wg-process__card { min-height: 0; padding: 1rem; }
    .wg-process__card-top { padding-bottom: .7rem; }
    .wg-process__card h3 { margin-top: .8rem; font-size: 1rem; }
    .wg-process__card > p:not(.wg-process__caption) { font-size: .84rem; }
    .wg-process__tags { margin: .8rem 0; }
    .wg-process__tags li { font-size: .57rem; }
    .wg-process__caption { margin-top: .2rem; }
    .wg-process__outcome { justify-content: flex-start; text-align: left; }
}
@media (max-width: 390px) {
    .wg-process__core { gap: .55rem; padding: .65rem; }
    .wg-process__core-mark { flex-basis: 2.35rem; width: 2.35rem; height: 2.35rem; }
    .wg-process__core-copy small { font-size: .45rem; letter-spacing: .04em; }
    .wg-process__core-state { font-size: .42rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wg-methodology *, .wg-methodology *::before, .wg-methodology *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}

/* Fase 10: prueba social estática, con una pieza editorial principal. */
.wg-testimonials { min-height: 0; padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); overflow: hidden; background: radial-gradient(ellipse at 18% 48%, rgba(192,48,255,.055), transparent 36%), var(--wg-bg); }
.wg-testimonials__inner { width: min(100%, var(--wg-content-width)); margin-inline: auto; }
.wg-testimonials__intro { max-width: 53rem; margin: 0 0 clamp(2rem, 4vw, 3.5rem); margin-inline: auto; }
.wg-testimonials__eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; color: var(--wg-cyan); font: 600 .68rem/1.3 Inter, system-ui, sans-serif; letter-spacing: .16em; }
.wg-testimonials__eyebrow > span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--wg-cyan); box-shadow: 0 0 12px rgba(0,246,255,.5); }
.wg-testimonials__intro h2 { max-width: 16ch; margin: 0 0 1rem; margin-inline: auto; color: var(--wg-text); font-size: clamp(2.2rem, 5vw, 4.15rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.wg-testimonials__intro > p:last-child { max-width: 42rem; margin: 0; margin-inline: auto; color: rgba(225,226,227,.72); font-size: clamp(.95rem, 1.4vw, 1.08rem); line-height: 1.7; }
.wg-testimonials__grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); grid-auto-rows: minmax(15rem, auto); gap: .9rem; }
.wg-testimonial { position: relative; display: flex; min-width: 0; flex-direction: column; grid-column: span 3; padding: 1.15rem; overflow: hidden; border: 1px solid var(--wg-border); border-radius: var(--wg-radius-md); background: linear-gradient(150deg, rgba(26,32,53,.94), rgba(10,15,30,.97)); box-shadow: 0 12px 30px rgba(0,0,0,.17); }
.wg-testimonial--featured { grid-column: span 6; grid-row: span 2; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(8rem,.85fr); align-items: center; gap: 1rem; padding: clamp(1.25rem, 2.5vw, 2.1rem); border-color: rgba(0,246,255,.24); background: radial-gradient(ellipse at 84% 50%, rgba(0,246,255,.1), transparent 47%), linear-gradient(145deg, rgba(26,32,53,.98), rgba(10,15,30,.98)); }
.wg-testimonial__feature-copy { position: relative; z-index: 1; min-width: 0; }
.wg-testimonial__feature-copy > .wg-testimonial__eyebrow { font-size: .57rem; letter-spacing: .12em; }
.wg-testimonial__feature-copy > .wg-testimonial__eyebrow span { width: auto; height: auto; color: rgba(225,226,227,.45); background: transparent; box-shadow: none; }
.wg-testimonial__quote-mark { display: block; height: 2.7rem; color: var(--wg-cyan); font: 500 4.5rem/.9 Georgia, serif; opacity: .7; }
.wg-testimonial blockquote { margin: 0 0 1.2rem; color: var(--wg-text); font-size: clamp(.92rem, 1.2vw, 1.08rem); font-weight: 450; line-height: 1.6; }
.wg-testimonial--featured blockquote { max-width: 28rem; margin-bottom: 1.8rem; font-size: clamp(1.25rem, 2.1vw, 2rem); letter-spacing: -.025em; line-height: 1.4; }
.wg-testimonial__identity { margin-top: auto; }
.wg-testimonial__identity h3 { margin: 0 0 .27rem; color: var(--wg-text); font-size: .91rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.wg-testimonial__identity p { margin: 0; color: rgba(225,226,227,.6); font-size: .72rem; line-height: 1.5; }
.wg-testimonial__identity p span { padding-inline: .15rem; color: var(--wg-cyan); }
.wg-testimonial__feature-media { align-self: stretch; display: flex; min-width: 0; min-height: 0; flex-direction: column; justify-content: flex-end; margin: 0; overflow: hidden; border: 1px solid rgba(225,226,227,.12); border-radius: calc(var(--wg-radius-md) * .75); background: linear-gradient(180deg, rgba(0,246,255,.08), rgba(192,48,255,.12)); }
.wg-testimonial__feature-media img { width: 100%; height: 100%; min-height: 17rem; flex: 1 1 auto; object-fit: cover; object-position: center 35%; }
.wg-testimonial__feature-media figcaption { display: grid; gap: .24rem; padding: .75rem; color: var(--wg-text); background: rgba(10,15,30,.85); font-size: .58rem; font-weight: 600; letter-spacing: .1em; }
.wg-testimonial__feature-media figcaption span { color: rgba(225,226,227,.58); font-size: .5rem; font-weight: 500; }
.wg-testimonial__client-mark { position: absolute; top: 1rem; right: 1rem; padding: .38rem .55rem; border: 1px solid rgba(0,246,255,.24); border-radius: var(--wg-radius-pill); color: rgba(0,246,255,.82); font-size: .48rem; letter-spacing: .1em; }
.wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__media { display: grid; min-height: 4.3rem; margin: -.15rem 0 .9rem; place-items: center start; }
.wg-testimonial__media img { display: block; width: auto; max-width: min(100%, 10rem); height: 3.6rem; object-fit: contain; object-position: left center; }
.wg-testimonial:nth-child(3) .wg-testimonial__media img, .wg-testimonial:nth-child(4) .wg-testimonial__media img, .wg-testimonial:nth-child(5) .wg-testimonial__media img { max-width: 9rem; }
.wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__eyebrow { margin-bottom: .2rem; font-size: .49rem; letter-spacing: .105em; }
.wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__eyebrow > span { width: auto; height: auto; color: rgba(225,226,227,.45); background: transparent; box-shadow: none; }
.wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__quote-mark { height: 2rem; font-size: 3.3rem; }
.wg-testimonial:not(.wg-testimonial--featured) blockquote { margin-bottom: 1rem; font-size: .8rem; line-height: 1.55; }
.wg-testimonial__link { display: inline-flex; align-items: center; justify-content: space-between; gap: .65rem; align-self: flex-start; min-height: 2.75rem; margin-top: 1rem; padding: .45rem 0; color: rgba(0,246,255,.85); font-size: .68rem; font-weight: 600; text-decoration: none; }
.wg-testimonial__link span { font-size: .9rem; transition: transform var(--wg-transition-fast); }
.wg-testimonial__link:focus-visible { outline: 2px solid var(--wg-cyan); outline-offset: 4px; border-radius: .2rem; }
.wg-testimonial__link:hover span { transform: translate(2px,-2px); }
@media (hover: hover) and (pointer: fine) {
    .wg-testimonial { transition: transform var(--wg-transition-base), border-color var(--wg-transition-base), box-shadow var(--wg-transition-base); }
    .wg-testimonial:hover { transform: translateY(-.18rem); border-color: rgba(0,246,255,.3); box-shadow: 0 16px 34px rgba(0,0,0,.22), 0 0 18px rgba(0,246,255,.055); }
    .wg-testimonial--featured:hover { border-color: rgba(0,246,255,.4); }
}
@media (max-width: 980px) {
    .wg-testimonials__grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: minmax(15rem, auto); }
    .wg-testimonial--featured { grid-column: 1 / -1; grid-row: auto; min-height: 24rem; }
    .wg-testimonial:not(.wg-testimonial--featured) { grid-column: span 1; }
}
@media (max-width: 600px) {
    .wg-testimonials { padding: 4.5rem 1rem; }
    .wg-testimonials__intro { margin-bottom: 1.75rem; }
    .wg-testimonials__intro h2 { max-width: 13ch; font-size: clamp(2.1rem, 10.5vw, 3.2rem); }
    .wg-testimonials__grid { grid-template-columns: minmax(0,1fr); grid-auto-rows: auto; gap: .75rem; }
    .wg-testimonial, .wg-testimonial:not(.wg-testimonial--featured) { grid-column: 1 / -1; min-height: 0; padding: 1rem; }
    .wg-testimonial--featured { grid-template-columns: minmax(0,1fr) minmax(6rem,.65fr); min-height: 0; gap: .7rem; padding: 1rem; }
    .wg-testimonial--featured blockquote { margin-bottom: 1.2rem; font-size: clamp(1.08rem, 5.5vw, 1.5rem); }
    .wg-testimonial__feature-media img { min-height: 13rem; }
    .wg-testimonial__client-mark { top: .65rem; right: .65rem; font-size: .42rem; }
    .wg-testimonial:not(.wg-testimonial--featured) { display: grid; grid-template-columns: 4.7rem minmax(0,1fr); column-gap: .9rem; align-items: start; }
    .wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__media { grid-column: 1; grid-row: 1 / span 3; min-height: 3.5rem; margin: .15rem 0 0; }
    .wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__media img { max-width: 4.7rem; max-height: 3.5rem; height: auto; }
    .wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__eyebrow, .wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__quote-mark, .wg-testimonial:not(.wg-testimonial--featured) blockquote, .wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__identity, .wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__link { grid-column: 2; }
    .wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__quote-mark { height: 1.5rem; }
    .wg-testimonial:not(.wg-testimonial--featured) blockquote { margin-bottom: .7rem; font-size: .84rem; }
    .wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__identity { margin-top: 0; }
    .wg-testimonial__link { min-height: 2.75rem; }
}
@media (max-width: 390px) {
    .wg-testimonial--featured { grid-template-columns: minmax(0,1fr) minmax(5rem,.55fr); }
    .wg-testimonial__feature-media img { min-height: 11.5rem; }
    .wg-testimonial__client-mark { position: static; justify-self: start; width: fit-content; margin-top: .8rem; }
    .wg-testimonial:not(.wg-testimonial--featured) { grid-template-columns: 4rem minmax(0,1fr); gap: .65rem; }
    .wg-testimonial:not(.wg-testimonial--featured) .wg-testimonial__media img { max-width: 4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wg-testimonials *, .wg-testimonials *::before, .wg-testimonials *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}

/* Fase 11: cierre de conversión y pie comercial WebGenAI. */
.wg-cta { position: relative; min-height: 0; padding: clamp(4.5rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem); overflow: hidden; background: radial-gradient(ellipse at 78% 50%, rgba(0,246,255,.09), transparent 31%), radial-gradient(ellipse at 15% 82%, rgba(192,48,255,.1), transparent 38%), linear-gradient(180deg, var(--wg-bg), #0c1224 55%, #0a0f1e); }
.wg-cta__ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wg-cta__ambient span { position: absolute; width: clamp(16rem, 35vw, 34rem); aspect-ratio: 1; border: 1px solid rgba(0,246,255,.06); border-radius: 50%; }
.wg-cta__ambient span:nth-child(1) { top: 15%; right: -12rem; }
.wg-cta__ambient span:nth-child(2) { top: 26%; right: -8rem; border-color: rgba(192,48,255,.08); }
.wg-cta__ambient span:nth-child(3) { top: 37%; right: -4rem; }
.wg-cta__inner { position: relative; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(15rem,.8fr); grid-template-areas: "copy visual" "actions visual"; align-items: center; gap: 1rem clamp(1rem,4vw,4rem); width: min(100%, var(--wg-content-width)); min-height: 28rem; margin-inline: auto; padding: clamp(1.5rem,5vw,4rem); overflow: hidden; border: 1px solid rgba(225,226,227,.15); border-radius: var(--wg-radius-lg); background: linear-gradient(115deg, rgba(26,32,53,.88), rgba(12,18,36,.75) 55%, rgba(13,22,42,.84)); box-shadow: 0 28px 80px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.035); }
.wg-cta__inner::before { position: absolute; inset: 0 0 auto; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(0,246,255,.48), rgba(192,48,255,.4), transparent); }
.wg-cta__copy { position: relative; z-index: 1; grid-area: copy; max-width: 43rem; }
.wg-cta__eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; color: var(--wg-cyan); font: 600 .66rem/1.4 Inter, system-ui, sans-serif; letter-spacing: .16em; }
.wg-cta__eyebrow > span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--wg-cyan); box-shadow: 0 0 12px rgba(0,246,255,.54); }
.wg-cta__copy h2 { max-width: 17ch; margin: 0 0 1rem; color: var(--wg-text); font-size: clamp(2.25rem, 5.2vw, 4.2rem); font-weight: 600; letter-spacing: -.065em; line-height: .99; }
.wg-cta__copy > p:last-child { max-width: 39rem; margin: 0; color: rgba(225,226,227,.72); font-size: clamp(.95rem, 1.35vw, 1.08rem); line-height: 1.72; }
.wg-cta__portal { position: relative; display: grid; grid-area: visual; width: min(100%, 21rem); aspect-ratio: 1; place-items: center; justify-self: center; isolation: isolate; }
.wg-cta__portal-ring { position: absolute; inset: 12%; border: 1px solid rgba(0,246,255,.22); border-radius: 50%; background: radial-gradient(circle, rgba(0,246,255,.055), transparent 63%); box-shadow: inset 0 0 40px rgba(0,246,255,.04), 0 0 34px rgba(0,246,255,.035); }
.wg-cta__portal-ring--inner { inset: 23%; border-color: rgba(192,48,255,.3); transform: rotate(-22deg) scaleX(.84); }
.wg-cta__portal-core { position: relative; display: grid; width: 7.5rem; aspect-ratio: 1; align-content: center; justify-items: center; gap: .35rem; border: 1px solid rgba(0,246,255,.45); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(0,246,255,.2), rgba(26,32,53,.94) 72%); box-shadow: 0 0 42px rgba(0,246,255,.12), inset 0 0 25px rgba(0,246,255,.09); }
.wg-cta__portal-core > span { color: var(--wg-cyan); font-size: 1.8rem; font-weight: 600; letter-spacing: -.09em; }
.wg-cta__portal-core small { color: rgba(225,226,227,.7); font-size: .43rem; letter-spacing: .1em; }
.wg-cta__orbit { position: absolute; display: inline-flex; align-items: center; min-height: 2rem; padding: .35rem .55rem; border: 1px solid rgba(225,226,227,.14); border-radius: var(--wg-radius-pill); color: rgba(225,226,227,.8); background: rgba(10,15,30,.78); font-size: .48rem; letter-spacing: .08em; box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.wg-cta__orbit--web { top: 12%; left: 18%; }
.wg-cta__orbit--commerce { top: 22%; right: 4%; border-color: rgba(192,48,255,.3); }
.wg-cta__orbit--automation { right: 1%; bottom: 22%; }
.wg-cta__orbit--ai { bottom: 12%; left: 13%; border-color: rgba(0,246,255,.3); }
.wg-cta__actions { position: relative; z-index: 1; display: flex; grid-area: actions; flex-wrap: wrap; align-items: center; gap: .75rem; }
.wg-cta__button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: .75rem; padding: .8rem 1.05rem; border: 1px solid transparent; border-radius: var(--wg-radius-pill); font-size: .67rem; font-weight: 650; letter-spacing: .075em; line-height: 1.3; text-align: center; text-decoration: none; transition: transform var(--wg-transition-fast), border-color var(--wg-transition-fast), box-shadow var(--wg-transition-fast), background-color var(--wg-transition-fast); }
.wg-cta__button:focus-visible { outline: 2px solid var(--wg-cyan); outline-offset: 4px; }
.wg-cta__button--primary { color: #07101c; background: linear-gradient(105deg, var(--wg-cyan), #81faff); box-shadow: 0 8px 26px rgba(0,246,255,.17); }
.wg-cta__button--secondary { border-color: rgba(225,226,227,.2); color: var(--wg-text); background: rgba(10,15,30,.24); }
.wg-cta__button span { font-size: .95rem; }
.wg-cta__note { flex-basis: 100%; margin: .1rem 0 0; color: rgba(225,226,227,.48); font-size: .68rem; }
.wg-footer { padding: 3rem clamp(1rem, 4vw, 3rem) 1rem; border-top: 1px solid rgba(225,226,227,.1); background: #090d19; }
.wg-footer__inner { display: grid; grid-template-columns: minmax(13rem,1.55fr) repeat(2,minmax(8rem,.7fr)) minmax(12rem,1fr); gap: clamp(1.5rem,4vw,3.5rem); width: min(100%, var(--wg-content-width)); margin: 0 auto; padding-bottom: 2.5rem; }
.wg-footer__brand { max-width: 22rem; }
.wg-footer__logo { display: inline-flex; min-height: 2.75rem; align-items: center; text-decoration: none; }
.wg-footer__logo img { display: block; width: auto; max-width: min(100%, 12rem); height: auto; max-height: 3.2rem; object-fit: contain; object-position: left center; }
.wg-footer__logo > span { color: var(--wg-text); font-size: 1.15rem; font-weight: 700; letter-spacing: .08em; }
.wg-footer__descriptor { margin: .75rem 0 .8rem; color: rgba(0,246,255,.72); font-size: .53rem; font-weight: 600; letter-spacing: .06em; line-height: 1.8; }
.wg-footer__descriptor span { color: rgba(225,226,227,.35); }
.wg-footer__description { max-width: 21rem; margin: 0; color: rgba(225,226,227,.59); font-size: .78rem; line-height: 1.65; }
.wg-footer__nav h2, .wg-footer__contact h2 { margin: .25rem 0 1rem; color: var(--wg-text); font-size: .78rem; font-weight: 600; letter-spacing: .025em; }
.wg-footer__nav ul { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.wg-footer__nav a { display: inline-flex; min-height: 2.75rem; align-items: center; color: rgba(225,226,227,.62); font-size: .73rem; line-height: 1.4; text-decoration: none; transition: color var(--wg-transition-fast); }
.wg-footer__contact > p:not(.wg-footer__contact-label) { margin: 0 0 .9rem; color: rgba(225,226,227,.58); font-size: .72rem; line-height: 1.55; }
.wg-footer__contact > a { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .5rem; padding: .55rem .8rem; border: 1px solid rgba(0,246,255,.28); border-radius: var(--wg-radius-pill); color: var(--wg-cyan); font-size: .58rem; font-weight: 600; letter-spacing: .065em; text-decoration: none; }
.wg-footer__contact-label { margin: .75rem 0 0; color: rgba(225,226,227,.38); font-size: .49rem; letter-spacing: .13em; }
.wg-footer__nav a:focus-visible, .wg-footer__contact a:focus-visible, .wg-footer__logo:focus-visible { outline: 2px solid var(--wg-cyan); outline-offset: 4px; border-radius: .25rem; }
.wg-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; width: min(100%, var(--wg-content-width)); margin: 0 auto; padding-top: 1rem; border-top: 1px solid rgba(225,226,227,.09); }
.wg-footer__bottom > p { margin: 0; color: rgba(225,226,227,.43); font-size: .63rem; line-height: 1.5; }
.wg-footer__status { display: inline-flex; align-items: center; gap: .42rem; color: rgba(225,226,227,.38); font-size: .49rem; letter-spacing: .09em; }
.wg-footer__status i { width: .35rem; height: .35rem; border-radius: 50%; background: var(--wg-cyan); }
@media (hover: hover) and (pointer: fine) {
    .wg-cta__button:hover { transform: translateY(-2px); }
    .wg-cta__button--primary:hover { box-shadow: 0 10px 30px rgba(0,246,255,.25); }
    .wg-cta__button--secondary:hover { border-color: rgba(0,246,255,.42); }
    .wg-footer__nav a:hover { color: var(--wg-cyan); }
    .wg-footer__contact > a:hover { border-color: rgba(0,246,255,.58); background: rgba(0,246,255,.06); }
}
@media (max-width: 900px) {
    .wg-cta__inner { grid-template-columns: minmax(0,1.15fr) minmax(12rem,.85fr); gap: 1rem 1.25rem; min-height: 25rem; padding: clamp(1.4rem,4vw,2.5rem); }
    .wg-cta__portal { width: min(100%, 17rem); }
    .wg-footer__inner { grid-template-columns: minmax(12rem,1.4fr) repeat(2,minmax(8rem,.7fr)); }
    .wg-footer__contact { grid-column: 2 / -1; }
}
@media (max-width: 600px) {
    .wg-cta { padding: 4.5rem 1rem; }
    .wg-cta__inner { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "visual" "actions"; gap: .5rem; min-height: 0; padding: 1.35rem; border-radius: 1.2rem; }
    .wg-cta__copy h2 { max-width: 13ch; font-size: clamp(2.2rem, 10.8vw, 3.5rem); }
    .wg-cta__portal { width: min(78vw, 17rem); margin: -.3rem auto; }
    .wg-cta__actions { display: grid; grid-template-columns: minmax(0,1fr); gap: .65rem; }
    .wg-cta__button { width: 100%; min-height: 3.25rem; }
    .wg-cta__note { margin-top: .15rem; text-align: center; }
    .wg-footer { padding: 2.5rem 1rem 1rem; }
    .wg-footer__inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.6rem 1rem; padding-bottom: 1.8rem; }
    .wg-footer__brand { grid-column: 1 / -1; max-width: 30rem; }
    .wg-footer__contact { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgba(225,226,227,.09); }
    .wg-footer__bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 390px) {
    .wg-cta__inner { padding: 1.05rem; }
    .wg-cta__eyebrow { font-size: .59rem; letter-spacing: .12em; }
    .wg-cta__portal { width: min(76vw, 14rem); }
    .wg-cta__portal-core { width: 6.3rem; }
    .wg-cta__orbit { min-height: 1.8rem; padding: .3rem .42rem; font-size: .42rem; }
    .wg-footer__descriptor { font-size: .48rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wg-cta *, .wg-cta *::before, .wg-cta *::after, .wg-footer *, .wg-footer *::before, .wg-footer *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}
/* Hero cosmic: explicit, responsive copy alignment and readable controls. */
.wg-site.wg-hero .wg-hero__content {
    width: min(100%, 70rem);
    margin-inline: auto;
    align-items: center;
    text-align: center;
}
.wg-site.wg-hero .wg-hero__eyebrow,
.wg-site.wg-hero .wg-hero__title,
.wg-site.wg-hero .wg-hero__text {
    width: 100%;
    margin-inline: auto;
    text-align: center;
}
.wg-site.wg-hero .wg-hero__title { max-width: 22ch; }
.wg-site.wg-hero .wg-hero__text { max-width: 52rem; }
.wg-site.wg-hero .wg-hero__actions {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    align-self: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .wg-site.wg-hero .wg-hero__content { width: min(100%, 42rem); }
    .wg-site.wg-hero .wg-hero__title { max-width: 18ch; }
    .wg-site.wg-hero .wg-hero__actions {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: .75rem;
    }
}
@media (max-width: 480px) {
    .wg-site.wg-hero .wg-hero__content { width: 100%; }
    .wg-site.wg-hero .wg-hero__title { max-width: 16ch; }
    .wg-site.wg-hero .wg-hero__actions {
        display: grid;
        width: min(100%, 28rem);
        justify-items: stretch;
    }
    .wg-site.wg-hero .wg-hero__actions .wg-button { width: 100%; }
}
/* Shared cosmic layer and institutional responsive alignment. */
body.wg-cosmic-page {
    min-height: 100%;
    background-color: #020611;
    background-image:
        radial-gradient(ellipse at 50% 8%, rgba(0,94,220,.2), transparent 52rem),
        radial-gradient(ellipse at 12% 68%, rgba(0,167,255,.075), transparent 42rem),
        linear-gradient(180deg, #020611 0%, #050a17 52%, #020611 100%);
}

body.wg-cosmic-page .wg-cosmic-canvas {
    position: fixed;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
}
body.wg-cosmic-page .wg-cosmic-canvas[hidden] { display: none; }
body.wg-cosmic-page .wg-site.wg-hero,
body.wg-cosmic-page .wg-site.wg-services,
body.wg-cosmic-page .wg-site.wg-opportunity,
body.wg-cosmic-page .wg-site.wg-system,
body.wg-cosmic-page .wg-site.wg-solutions,
body.wg-cosmic-page .wg-site.wg-lab,
body.wg-cosmic-page .wg-site.wg-automation-flow,
body.wg-cosmic-page .wg-site.wg-methodology,
body.wg-cosmic-page .wg-site.wg-testimonials,
body.wg-cosmic-page .wg-site.wg-cta {
    position: relative;
    z-index: 1;
}
body.wg-cosmic-page .wg-site.wg-hero {
    background-color: transparent;
    background-image:
        radial-gradient(ellipse 24rem 16rem at 50% 47%, rgba(0,156,255,.13), transparent 76%),
        radial-gradient(ellipse 56rem 35rem at 50% 48%, rgba(0,74,190,.12), transparent 75%),
        linear-gradient(135deg, rgba(1,4,10,.22), rgba(3,11,25,.12) 54%, rgba(1,3,9,.28));
}
body.wg-cosmic-page .wg-site.wg-services,
body.wg-cosmic-page .wg-site.wg-system,
body.wg-cosmic-page .wg-site.wg-solutions {
    background: linear-gradient(180deg, rgba(6,11,24,.12), rgba(6,11,24,.22));
}
body.wg-cosmic-page .wg-site.wg-opportunity {
    background: radial-gradient(ellipse at 50% 100%, rgba(192,48,255,.08), transparent 55%), rgba(7,12,27,.2);
}
body.wg-cosmic-page .wg-site.wg-lab {
    background:
        radial-gradient(ellipse at 10% 4%, rgba(192,48,255,.07), transparent 33rem),
        radial-gradient(ellipse at 93% 55%, rgba(0,246,255,.065), transparent 30rem),
        linear-gradient(180deg, rgba(11,16,32,.24), rgba(8,12,24,.3) 75%);
}
body.wg-cosmic-page .wg-site.wg-automation-flow {
    background: radial-gradient(ellipse at 50% 38%, rgba(0,168,255,.075), transparent 42rem), rgba(5,10,23,.14);
}
body.wg-cosmic-page .wg-site.wg-methodology {
    background: radial-gradient(ellipse at 50% 42%, rgba(0,246,255,.06), transparent 43rem), rgba(5,10,23,.16);
}
body.wg-cosmic-page .wg-site.wg-testimonials {
    background: radial-gradient(ellipse at 18% 48%, rgba(192,48,255,.055), transparent 36rem), rgba(5,10,23,.18);
}
body.wg-cosmic-page .wg-site.wg-cta {
    background:
        radial-gradient(ellipse at 78% 50%, rgba(0,246,255,.09), transparent 31rem),
        radial-gradient(ellipse at 15% 82%, rgba(192,48,255,.08), transparent 38rem),
        linear-gradient(180deg, rgba(10,15,30,.2), rgba(12,18,36,.3) 55%, rgba(10,15,30,.24));
}

/* Section introductions are centered; card, diagram, list, and form copy keep their reading layout. */
.wg-services__heading,
.wg-opportunity__heading,
.wg-system__heading,
.wg-solutions__heading,
.wg-lab__intro,
.wg-methodology__intro,
.wg-testimonials__intro,
.wg-automation-flow__intro {
    text-align: center;
}
.wg-lab__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-items: center;
    gap: 1rem;
}
.wg-lab__intro-copy { width: min(100%, 52rem); }
.wg-lab__intro h2,
.wg-lab__intro-copy > p:last-child { margin-inline: auto; }
.wg-lab__eyebrow { justify-content: center; flex-wrap: wrap; }
.wg-lab__intro-meta {
    justify-items: center;
    padding: .65rem .9rem 0;
    border-top: 1px solid rgba(0,246,255,.34);
    border-left: 0;
    text-align: center;
}
.wg-opportunity__solution-label,
.wg-opportunity__solution-line { text-align: center; }
.wg-cta__copy { margin-inline: auto; text-align: center; }
.wg-cta__eyebrow { display: flex; justify-content: center; flex-wrap: wrap; }
.wg-cta__copy h2,
.wg-cta__copy > p:last-child { margin-inline: auto; }
.wg-cta__actions { justify-content: center; }
.wg-hero__category { flex: 0 0 auto; white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.wg-system__module--commerce h3,
.wg-solutions__card:nth-child(3) h3,
.wg-lab__mode-copy strong,
.wg-process__tags li { white-space: nowrap; word-break: normal; overflow-wrap: normal; }

@media (max-width: 1024px) {
    .wg-lab__intro { gap: .85rem; }
    .wg-cta__copy h2 { margin-inline: auto; }
    .wg-cta__actions { justify-content: center; }
}
@media (max-width: 768px) {
    .wg-lab__intro-meta { width: min(100%, 30rem); }
    .wg-cta__copy,
    .wg-cta__actions { width: 100%; }
    .wg-cta__actions { justify-items: center; }
}
@media (max-width: 480px) {
    .wg-lab__intro h2 { max-width: 16ch; font-size: clamp(2rem, 9vw, 2.85rem); }
    .wg-lab__intro-copy > p:last-child { max-width: 38rem; }
    .wg-cta__copy h2 { max-width: 13ch; font-size: clamp(2rem, 9vw, 3rem); }
    .wg-cta__actions { justify-items: stretch; }
}
/* Keep complete labels and balanced headings at narrow widths. */
.wg-services__heading h2,
.wg-opportunity__heading h2,
.wg-system__heading h2,
.wg-solutions__heading h2,
.wg-lab__intro h2,
.wg-methodology__intro h2,
.wg-testimonials__intro h2,
.wg-automation-flow__intro h2,
.wg-cta__copy h2 {
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: normal;
}
.wg-cta__orbit { white-space: nowrap; }
/* Paleta coherente y estados explícitos para los controles del e-commerce. */
.wg-demo-store,
.wg-demo-store__stage,
.wg-lab__cart,
.wg-lab__dialog,
.wg-lab__checkout {
    color: #E8EEF8;
    background-color: #071426;
}
.wg-demo-store__stage {
    background:
        radial-gradient(ellipse at 40% 35%, rgba(34,211,238,.08), transparent 55%),
        #071426;
}
.wg-demo-store__product-choice {
    border-color: rgba(34,211,238,.58);
    color: #E8EEF8;
    background: #071426;
}
.wg-lab .wg-demo-store__product-choice:hover,
.wg-lab .wg-demo-store__product-choice:focus-visible {
    border-color: #22D3EE;
    color: #071426;
    background: #22D3EE;
    box-shadow: 0 0 .9rem rgba(34,211,238,.3);
}
.wg-lab .wg-demo-store__product-choice.is-selected,
.wg-lab .wg-demo-store__product-choice[aria-pressed="true"] {
    border-color: #00E5F0;
    color: #071426;
    background: #00E5F0;
    box-shadow: 0 0 0 1px rgba(0,229,240,.24), 0 0 .9rem rgba(0,229,240,.3);
}
.wg-lab .wg-demo-store__product-choice.is-selected strong,
.wg-lab .wg-demo-store__product-choice.is-selected small,
.wg-lab .wg-demo-store__product-choice[aria-pressed="true"] strong,
.wg-lab .wg-demo-store__product-choice[aria-pressed="true"] small {
    color: #071426;
}
.wg-demo-store__variant,
.wg-lab__dialog-variant {
    border-color: #22D3EE;
    color: #E8EEF8;
    background: #071426;
    color-scheme: dark;
}
.wg-demo-store__variant option,
.wg-lab__dialog-variant option {
    color: #E8EEF8;
    background: #071426;
}
.wg-lab .wg-demo-store__variant:hover,
.wg-lab .wg-lab__dialog-variant:hover {
    border-color: #00E5F0;
}
.wg-lab .wg-demo-store__variant:focus-visible,
.wg-lab .wg-lab__dialog-variant:focus-visible {
    border-color: #22D3EE;
    outline: 2px solid #22D3EE;
    outline-offset: 2px;
}
.wg-demo-store__quantity,
.wg-lab__cart-quantity {
    border-color: rgba(34,211,238,.55);
    background: rgba(7,20,38,.92);
}
.wg-lab .wg-demo-store__quantity button,
.wg-lab .wg-lab__cart-quantity button,
.wg-lab .wg-lab__cart-remove,
.wg-lab .wg-lab__text-button {
    border: 1px solid #22D3EE;
    color: #22D3EE;
    background: #071426;
}
.wg-lab .wg-demo-store__quantity button:hover,
.wg-lab .wg-lab__cart-quantity button:hover,
.wg-lab .wg-lab__cart-remove:hover,
.wg-lab .wg-lab__text-button:hover {
    border-color: #00E5F0;
    color: #071426;
    background: #00E5F0;
    box-shadow: 0 0 .8rem rgba(0,229,240,.25);
}
.wg-lab .wg-demo-store__quantity button:active,
.wg-lab .wg-lab__cart-quantity button:active,
.wg-lab .wg-lab__cart-remove:active,
.wg-lab .wg-lab__text-button:active {
    border-color: #00E5F0;
    color: #071426;
    background: #00E5F0;
}
.wg-lab .wg-demo-store__add,
.wg-lab .wg-lab__checkout-button,
.wg-lab .wg-lab__checkout-confirm {
    border: 1px solid #00E5F0;
    color: #071426;
    background: #00E5F0;
}
.wg-lab .wg-demo-store__add:hover,
.wg-lab .wg-lab__checkout-button:hover:not(:disabled),
.wg-lab .wg-lab__checkout-confirm:hover {
    border-color: #22D3EE;
    color: #071426;
    background: #22D3EE;
    box-shadow: 0 0 .95rem rgba(34,211,238,.34);
}
.wg-lab .wg-demo-store__add:active,
.wg-lab .wg-lab__checkout-button:active:not(:disabled),
.wg-lab .wg-lab__checkout-confirm:active {
    border-color: #22D3EE;
    color: #071426;
    background: #22D3EE;
}
.wg-lab .wg-lab__cart-toggle,
.wg-lab .wg-lab__icon-button,
.wg-lab .wg-lab__dialog-close,
.wg-lab .wg-lab__checkout-back,
.wg-lab .wg-lab__checkout-inner > [data-lab-checkout-close] {
    border: 1px solid #FFFFFF;
    color: #071426;
    background: #FFFFFF;
}
.wg-lab .wg-lab__cart-toggle:hover,
.wg-lab .wg-lab__icon-button:hover,
.wg-lab .wg-lab__dialog-close:hover,
.wg-lab .wg-lab__checkout-back:hover,
.wg-lab .wg-lab__checkout-inner > [data-lab-checkout-close]:hover {
    border-color: #22D3EE;
    color: #071426;
    background: #FFFFFF;
    box-shadow: 0 0 .75rem rgba(34,211,238,.25);
}
.wg-lab .wg-lab__cart-toggle:active,
.wg-lab .wg-lab__icon-button:active,
.wg-lab .wg-lab__dialog-close:active,
.wg-lab .wg-lab__checkout-back:active,
.wg-lab .wg-lab__checkout-inner > [data-lab-checkout-close]:active {
    border-color: #22D3EE;
    color: #071426;
    background: #FFFFFF;
}
.wg-lab .wg-lab__cart-toggle[aria-expanded="true"] {
    border-color: #22D3EE;
    color: #071426;
    background: #FFFFFF;
    box-shadow: 0 0 .75rem rgba(34,211,238,.2);
}
.wg-lab .wg-lab__cart-toggle[aria-expanded="true"] .wg-lab__cart-icon {
    color: #071426;
}
.wg-lab .wg-lab__cart-count {
    min-width: 1.45rem;
    height: 1.45rem;
    border: 1px solid #22D3EE;
    border-radius: .35rem;
    color: #22D3EE;
    background: transparent;
}
.wg-lab .wg-lab__cart {
    border-color: #22D3EE;
    color: #E8EEF8;
    background: #071426;
}
.wg-lab .wg-lab__cart-head,
.wg-lab .wg-lab__cart-item {
    border-color: rgba(34,211,238,.24);
}
.wg-lab .wg-lab__cart-item-copy strong,
.wg-lab .wg-lab__cart-foot strong {
    color: #E8EEF8;
}
.wg-lab .wg-lab__cart-item-copy b,
.wg-lab .wg-lab__checkout-line b,
.wg-lab .wg-lab__checkout-summary .is-total dd {
    color: #22D3EE;
}
.wg-lab .wg-lab__dialog,
.wg-lab .wg-lab__checkout {
    border-color: rgba(34,211,238,.55);
    color: #E8EEF8;
    background: #071426;
}
.wg-lab .wg-lab__dialog-media {
    background: radial-gradient(circle, rgba(34,211,238,.12), #071426 76%);
}
.wg-lab .wg-lab__dialog-copy h3,
.wg-lab .wg-lab__dialog-price,
.wg-lab .wg-lab__checkout-heading h2,
.wg-lab .wg-lab__confirmation h2 {
    color: #E8EEF8;
}
.wg-lab .wg-lab__checkout-grid input {
    border-color: #22D3EE;
    color: #E8EEF8;
    background: #071426;
    color-scheme: dark;
}
.wg-lab .wg-lab__checkout-grid input::placeholder {
    color: rgba(232,238,248,.55);
}
.wg-lab .wg-lab__checkout-grid input:hover {
    border-color: #22D3EE;
}
.wg-lab .wg-lab__checkout-grid input:focus,
.wg-lab .wg-lab__checkout-grid input:focus-visible {
    border-color: #22D3EE;
    outline: 2px solid rgba(34,211,238,.55);
    outline-offset: 1px;
}
.wg-lab .wg-lab__demo-payment {
    border-color: rgba(34,211,238,.38);
    background: rgba(34,211,238,.06);
}
.wg-lab .wg-lab__demo-payment > span {
    color: #22D3EE;
}
.wg-lab .wg-lab__demo-payment > b {
    border-color: rgba(34,211,238,.5);
    color: #22D3EE;
}
.wg-lab .wg-lab__checkout-error {
    border-color: rgba(255,130,130,.48);
    color: #FFE2E2;
    background: rgba(255,92,92,.08);
}
.wg-lab .wg-lab__confirmation-mark {
    border-color: #22D3EE;
    color: #22D3EE;
    background: rgba(34,211,238,.08);
}
.wg-lab .wg-demo-store button:focus-visible,
.wg-lab .wg-lab__cart button:focus-visible,
.wg-lab .wg-lab__dialog button:focus-visible,
.wg-lab .wg-lab__dialog select:focus-visible,
.wg-lab .wg-lab__checkout button:focus-visible,
.wg-lab .wg-lab__checkout input:focus-visible {
    outline: 2px solid #22D3EE;
    outline-offset: 2px;
}
.wg-lab .wg-demo-store button:disabled,
.wg-lab .wg-lab__cart button:disabled,
.wg-lab .wg-lab__dialog button:disabled,
.wg-lab .wg-lab__checkout button:disabled,
.wg-lab .wg-demo-store select:disabled,
.wg-lab .wg-lab__dialog select:disabled,
.wg-lab .wg-lab__checkout input:disabled {
    border-color: #40536C;
    color: #AAB7C9;
    background: #1A2A40;
    box-shadow: none;
    opacity: 1;
    cursor: not-allowed;
}
/* El estado activo gana al reset general de botones del Laboratorio. */
.wg-lab .wg-demo-store__product-choice:active:not(:disabled) {
    border-color: #00E5F0;
    color: #071426;
    background: #00E5F0;
    box-shadow: 0 0 .8rem rgba(0,229,240,.28);
}
.wg-lab .wg-demo-store__add:active:not(:disabled),
.wg-lab .wg-lab__checkout-button:active:not(:disabled),
.wg-lab .wg-lab__checkout-confirm:active:not(:disabled),
.wg-lab .wg-demo-store__quantity button:active:not(:disabled),
.wg-lab .wg-lab__cart-quantity button:active:not(:disabled),
.wg-lab .wg-lab__cart-remove:active:not(:disabled),
.wg-lab .wg-lab__text-button:active:not(:disabled) {
    border-color: #22D3EE;
    color: #071426;
    background: #22D3EE;
    box-shadow: 0 0 .8rem rgba(34,211,238,.25);
}
.wg-lab .wg-lab__cart-toggle:active:not(:disabled),
.wg-lab .wg-lab__icon-button:active:not(:disabled),
.wg-lab .wg-lab__dialog-close:active:not(:disabled),
.wg-lab .wg-lab__checkout-back:active:not(:disabled),
.wg-lab .wg-lab__checkout-inner > [data-lab-checkout-close]:active:not(:disabled) {
    border-color: #22D3EE;
    color: #071426;
    background: #FFFFFF;
}
.wg-demo-store__rail-label,
.wg-demo-store__category,
.wg-demo-store__product-choice,
.wg-demo-store__details h3,
.wg-demo-store__description,
.wg-demo-store__price-row span,
.wg-demo-store__variant-label,
.wg-demo-store__quantity output,
.wg-demo-store__stage-top,
.wg-demo-store__shelf p,
.wg-demo-store__shelf > div > span,
.wg-demo-store__shelf-count {
    color: #E8EEF8;
}
/* Especificidad del showroom para prevalecer sobre resets de botones y formularios. */
.wg-lab .wg-demo-store__product-choice {
    border-color: rgba(34,211,238,.58);
    color: #E8EEF8;
    background: #071426;
}
.wg-lab .wg-demo-store__product-choice small {
    color: #E8EEF8;
}
.wg-lab .wg-demo-store__variant,
.wg-lab .wg-lab__dialog-variant {
    border: 1px solid #22D3EE;
    color: #E8EEF8;
    background-color: #071426;
}
.wg-lab .wg-demo-store__quantity,
.wg-lab .wg-lab__cart-quantity {
    border-color: rgba(34,211,238,.55);
    color: #E8EEF8;
    background: rgba(7,20,38,.92);
}

/* Estados específicos que conservan la paleta del Laboratorio frente al reset del tema. */
.wg-lab .wg-lab__mode {
    border-color: rgba(0,168,255,.3);
    color: #E8EEF8;
    background: transparent;
}
.wg-lab .wg-lab__mode:hover,
.wg-lab .wg-lab__mode:focus:not([aria-pressed="true"]) {
    border-color: rgba(0,246,255,.72);
    color: #FFFFFF;
    background: rgba(0,140,255,.12);
    box-shadow: 0 0 .9rem rgba(0,168,255,.24);
}
.wg-lab .wg-lab__mode[aria-pressed="true"],
.wg-lab .wg-lab__mode[aria-pressed="true"]:focus {
    border-color: #55B7FF;
    color: #071426;
    background: #00E5F0;
    box-shadow: 0 0 0 1px rgba(0,140,255,.28), 0 0 .9rem rgba(0,140,255,.5);
}
.wg-lab .wg-lab__mode[aria-pressed="true"] .wg-lab__mode-index,
.wg-lab .wg-lab__mode[aria-pressed="true"] .wg-lab__mode-copy small,
.wg-lab .wg-lab__mode[aria-pressed="true"] .wg-lab__mode-mark {
    color: #071426;
}
.wg-lab .wg-lab__cart-toggle:focus,
.wg-lab .wg-lab__icon-button:focus,
.wg-lab .wg-lab__dialog-close:focus,
.wg-lab .wg-lab__checkout-back:focus,
.wg-lab .wg-lab__checkout-inner > [data-lab-checkout-close]:focus {
    border-color: #22D3EE;
    color: #071426;
    background: #FFFFFF;
    box-shadow: 0 0 .75rem rgba(34,211,238,.25);
}
.wg-lab .wg-lab__cart-toggle[aria-expanded="true"]:focus {
    border-color: #22D3EE;
    color: #071426;
    background: #FFFFFF;
}
.wg-lab .wg-demo-store .wg-demo-store__product-choice:focus:not(.is-selected):not([aria-pressed="true"]) {
    border-color: rgba(34,211,238,.58);
    color: #E8EEF8;
    background: #071426;
    box-shadow: none;
}
.wg-lab .wg-demo-store .wg-demo-store__product-choice:focus-visible,
.wg-lab .wg-demo-store .wg-demo-store__product-choice.is-selected:focus,
.wg-lab .wg-demo-store .wg-demo-store__product-choice[aria-pressed="true"]:focus {
    border-color: #00E5F0;
    color: #071426;
    background: #00E5F0;
    box-shadow: 0 0 .9rem rgba(0,229,240,.3);
}
.wg-lab .wg-demo-store .wg-demo-store__product-choice.is-selected:focus strong,
.wg-lab .wg-demo-store .wg-demo-store__product-choice.is-selected:focus small,
.wg-lab .wg-demo-store .wg-demo-store__product-choice[aria-pressed="true"]:focus strong,
.wg-lab .wg-demo-store .wg-demo-store__product-choice[aria-pressed="true"]:focus small {
    color: #071426;
}
.wg-lab .wg-demo-store .wg-demo-store__add:focus,
.wg-lab .wg-demo-store .wg-demo-store__quantity button:focus,
.wg-lab .wg-lab__dialog .wg-demo-store__quantity button:focus,
.wg-lab .wg-lab__cart .wg-lab__cart-quantity button:focus,
.wg-lab .wg-lab__cart .wg-lab__cart-remove:focus,
.wg-lab .wg-lab__cart .wg-lab__text-button:focus,
.wg-lab .wg-lab__dialog .wg-lab__dialog-add:focus,
.wg-lab .wg-lab__checkout .wg-lab__checkout-button:focus,
.wg-lab .wg-lab__checkout .wg-lab__checkout-confirm:focus {
    border-color: #22D3EE;
    color: #071426;
    background: #22D3EE;
    box-shadow: 0 0 .8rem rgba(34,211,238,.25);
}
.wg-lab .wg-lab__dialog .wg-lab__dialog-variant:focus {
    border-color: #22D3EE;
    color: #E8EEF8;
    background: #071426;
}
.wg-lab .wg-lab__checkout-button { width: 100%; }

/* Personalizador temporal del showroom de e-commerce. */
.wg-demo-store__layout[hidden],
.wg-store-customizer[hidden],
.wg-store-customizer [hidden] { display: none !important; }
.wg-demo-store__experience-switch {
    width: min(100%, 30rem);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
    margin: 0 auto 1rem;
    padding: .4rem;
    border: 1px solid rgba(34,211,238,.2);
    border-radius: 1rem;
    background: rgba(7,20,38,.72);
}
.wg-lab .wg-demo-store__experience-button {
    min-width: 0;
    min-height: 3.5rem;
    display: grid;
    align-content: center;
    gap: .15rem;
    padding: .55rem .75rem;
    border: 1px solid transparent;
    border-radius: .75rem;
    color: #E8EEF8;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wg-lab .wg-demo-store__experience-button strong { color: inherit; font: 600 .88rem/1.2 "Exo 2", system-ui, sans-serif; }
.wg-lab .wg-demo-store__experience-button small { color: rgba(232,238,248,.58); font: .68rem/1.3 Roboto, system-ui, sans-serif; }
.wg-lab .wg-demo-store__experience-button:hover,
.wg-lab .wg-demo-store__experience-button:focus-visible {
    border-color: rgba(34,211,238,.6);
    color: #FFFFFF;
    background: rgba(34,211,238,.1);
    box-shadow: 0 0 .8rem rgba(34,211,238,.13);
}
.wg-lab .wg-demo-store__experience-button.is-active,
.wg-lab .wg-demo-store__experience-button[aria-pressed="true"] {
    border-color: #22D3EE;
    color: #071426;
    background: #00E5F0;
    box-shadow: 0 0 .9rem rgba(0,229,240,.2);
}
.wg-lab .wg-demo-store__experience-button.is-active small,
.wg-lab .wg-demo-store__experience-button[aria-pressed="true"] small { color: rgba(7,20,38,.72); }
.wg-store-customizer {
    display: grid;
    grid-template-columns: minmax(17rem, .88fr) minmax(0, 1.12fr);
    align-items: start;
    gap: 1rem;
    margin-top: .5rem;
}
.wg-store-customizer__editor,
.wg-store-customizer__preview-panel {
    min-width: 0;
    border: 1px solid rgba(34,211,238,.23);
    border-radius: 1.1rem;
    background: linear-gradient(145deg, rgba(15,32,55,.96), rgba(7,20,38,.97));
    box-shadow: 0 1.1rem 3rem rgba(0,0,0,.22);
}
.wg-store-customizer__editor { padding: clamp(.85rem, 2vw, 1.25rem); }
.wg-store-customizer__heading { margin-bottom: 1rem; }
.wg-store-customizer__eyebrow { margin: 0 0 .35rem; color: #22D3EE; font: 700 .58rem/1.4 Roboto, system-ui, sans-serif; letter-spacing: .16em; }
.wg-store-customizer__heading h3 { margin: 0; color: #E8EEF8; font: 600 clamp(1.35rem, 2.2vw, 1.8rem)/1.15 "Exo 2", system-ui, sans-serif; }
.wg-store-customizer__heading > p:last-child { margin: .5rem 0 0; color: rgba(232,238,248,.62); font: .76rem/1.5 Roboto, system-ui, sans-serif; }
.wg-store-customizer__identity,
.wg-store-customizer__product-editor {
    min-width: 0;
    margin: 0;
    padding: .8rem;
    border: 1px solid rgba(34,211,238,.18);
    border-radius: .8rem;
}
.wg-store-customizer__identity legend,
.wg-store-customizer__product-editor legend { padding: 0 .35rem; color: #E8EEF8; font: 600 .75rem "Exo 2", system-ui, sans-serif; }
.wg-store-customizer__field { min-width: 0; display: grid; gap: .35rem; margin-top: .6rem; color: rgba(232,238,248,.72); font: 600 .65rem/1.3 Roboto, system-ui, sans-serif; }
.wg-lab .wg-store-customizer__field input:not([type="file"]),
.wg-lab .wg-store-customizer__field textarea,
.wg-lab .wg-store-customizer__field select {
    width: 100%;
    min-width: 0;
    min-height: 2.55rem;
    padding: .6rem .7rem;
    border: 1px solid rgba(34,211,238,.34);
    border-radius: .55rem;
    color: #E8EEF8;
    background: #071426;
    font: .76rem/1.4 Roboto, system-ui, sans-serif;
}
.wg-lab .wg-store-customizer__field textarea { min-height: 4.5rem; resize: vertical; }
.wg-lab .wg-store-customizer__field select { appearance: auto; }
.wg-lab .wg-store-customizer__field input::placeholder,
.wg-lab .wg-store-customizer__field textarea::placeholder { color: rgba(232,238,248,.4); }
.wg-lab .wg-store-customizer__field input[aria-invalid="true"],
.wg-lab .wg-store-customizer__field textarea[aria-invalid="true"] { border-color: #F59E0B; box-shadow: 0 0 0 1px rgba(245,158,11,.18); }
.wg-lab .wg-store-customizer__field input:focus-visible,
.wg-lab .wg-store-customizer__field textarea:focus-visible,
.wg-lab .wg-store-customizer__field input[type="file"]:focus-visible { outline: 2px solid #22D3EE; outline-offset: 2px; }
.wg-store-customizer__field input[type="file"] { width: 100%; min-width: 0; color: rgba(232,238,248,.72); font: .65rem Roboto, system-ui, sans-serif; }
.wg-store-customizer__colors { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem,1fr)); gap: .65rem; margin-top: .75rem; }
.wg-store-customizer__colors label { display: grid; gap: .35rem; color: rgba(232,238,248,.72); font: 600 .63rem Roboto, system-ui, sans-serif; }
.wg-lab .wg-store-customizer__colors input[type="color"] { width: 100%; height: 2.55rem; padding: .2rem; border: 1px solid rgba(34,211,238,.34); border-radius: .55rem; background: #071426; cursor: pointer; }
.wg-store-customizer__color-control { min-width: 0; display: grid; grid-template-columns: minmax(3rem,4rem) minmax(0,1fr); align-items: center; gap: .4rem; }
.wg-store-customizer__color-control output { min-width: 0; overflow-wrap: anywhere; color: #E8EEF8; font: 600 .62rem/1.2 ui-monospace, monospace; }
.wg-store-customizer__text-action,
.wg-store-customizer__add-product,
.wg-store-customizer__remove-product,
.wg-store-customizer__select-product,
.wg-store-customizer__reset,
.wg-store-customizer__preview-modes button {
    min-height: 2.5rem;
    border: 1px solid rgba(34,211,238,.42);
    border-radius: .55rem;
    color: #22D3EE;
    background: rgba(7,20,38,.9);
    font: 600 .66rem Roboto, system-ui, sans-serif;
    cursor: pointer;
}
.wg-store-customizer__text-action { margin-top: .5rem; padding: .4rem .65rem; }
.wg-store-customizer__catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin: 1rem 0 .55rem; }
.wg-store-customizer__catalog-heading h4 { margin: 0; color: #E8EEF8; font: 600 1rem "Exo 2", system-ui, sans-serif; }
.wg-store-customizer__add-product { flex: 0 0 auto; padding: .45rem .65rem; }
.wg-store-customizer__products { display: grid; gap: .55rem; }
.wg-store-customizer__product-editor { padding: .65rem .75rem .75rem; }
.wg-store-customizer__product-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.wg-store-customizer__product-head legend { float: left; }
.wg-store-customizer__remove-product { min-height: 2.25rem; padding: .35rem .6rem; }
.wg-store-customizer__select-product { min-height: 2.25rem; padding: .35rem .6rem; }
.wg-store-customizer__image-row { min-width: 0; display: grid; grid-template-columns: 3.25rem minmax(0,1fr); align-items: center; gap: .6rem; }
.wg-store-customizer__editor-thumb { width: 3.25rem; height: 3.25rem; border: 1px solid rgba(34,211,238,.24); border-radius: .5rem; background: #071426; object-fit: contain; }
.wg-store-customizer__product-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.wg-store-customizer__variants-note { margin: .55rem 0 0; color: rgba(232,238,248,.52); font: .61rem/1.45 Roboto, system-ui, sans-serif; }
.wg-store-customizer__editor-footer { display: grid; gap: .5rem; margin-top: .75rem; }
.wg-store-customizer__editor-footer p { min-height: 1.2rem; margin: 0; color: rgba(232,238,248,.58); font: .65rem/1.45 Roboto, system-ui, sans-serif; }
.wg-store-customizer__reset { justify-self: start; padding: .45rem .7rem; }
.wg-store-customizer__text-action:hover,
.wg-store-customizer__add-product:hover,
.wg-store-customizer__remove-product:hover,
.wg-store-customizer__reset:hover,
.wg-store-customizer__preview-modes button:hover,
.wg-store-customizer__select-product:hover,
.wg-store-customizer__text-action:focus-visible,
.wg-store-customizer__add-product:focus-visible,
.wg-store-customizer__remove-product:focus-visible,
.wg-store-customizer__reset:focus-visible,
.wg-store-customizer__preview-modes button:focus-visible,
.wg-store-customizer__select-product:focus-visible {
    border-color: #22D3EE;
    color: #071426;
    background: #22D3EE;
    box-shadow: 0 0 .8rem rgba(34,211,238,.22);
}
.wg-store-customizer__preview-panel { padding: .9rem; overflow: hidden; }
.wg-store-customizer__preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.wg-store-customizer__preview-toolbar strong { color: #E8EEF8; font: 600 .88rem "Exo 2", system-ui, sans-serif; }
.wg-store-customizer__preview-modes { display: flex; gap: .35rem; }
.wg-store-customizer__preview-modes button { min-height: 2.25rem; padding: .35rem .55rem; }
.wg-lab .wg-store-customizer__preview-modes button[aria-pressed="true"] { border-color: #22D3EE; color: #071426; background: #00E5F0; }
.wg-store-customizer__preview-wrap { display: flex; justify-content: center; min-width: 0; padding: .65rem; border: 1px solid rgba(34,211,238,.15); border-radius: .8rem; background: radial-gradient(ellipse at 50% 0%, rgba(34,211,238,.08), transparent 65%), #050d18; }
.wg-store-customizer__preview {
    --store-custom-background: #071426;
    --store-custom-surface: #10243a;
    --store-custom-primary: #00e5f0;
    --store-custom-secondary: #22d3ee;
    --store-custom-text: #e8eef8;
    --store-custom-font: "Exo 2", system-ui, sans-serif;
    width: 100%;
    min-width: 0;
    color: var(--store-custom-text);
    border: 1px solid rgba(34,211,238,.27);
    border-radius: .7rem;
    overflow: hidden;
    background: var(--store-custom-background);
    box-shadow: 0 .8rem 2.2rem rgba(0,0,0,.3);
    font-family: var(--store-custom-font);
    transition: max-width .25s ease;
}
.wg-store-customizer__preview.is-mobile { width: 100%; max-width: 23.4375rem; }
.wg-store-customizer__preview-brand { min-width: 0; min-height: 3.6rem; display: flex; align-items: center; gap: .55rem; padding: .65rem .85rem; border-bottom: 1px solid rgba(34,211,238,.15); }
.wg-store-customizer__preview-brand > img,
.wg-store-customizer__preview-logo-mark { width: 2rem; height: 2rem; flex: 0 0 2rem; display: grid; place-items: center; border-radius: .55rem; color: #071426; background: var(--store-custom-primary); object-fit: contain; }
.wg-store-customizer__preview-brand > img[hidden] { display: none; }
.wg-store-customizer__preview-brand > strong { min-width: 0; overflow-wrap: anywhere; color: var(--store-custom-text); font: 600 .82rem var(--store-custom-font); }
.wg-store-customizer__preview-bag { margin-left: auto; color: rgba(232,238,248,.55); font: 600 .51rem var(--store-custom-font); letter-spacing: .08em; white-space: nowrap; }
.wg-store-customizer__preview-content { padding: clamp(.65rem, 1.2vw, 1.1rem); }
.wg-store-customizer__preview-intro p { margin: 0 0 .3rem; color: var(--store-custom-secondary); font: 700 .5rem var(--store-custom-font); letter-spacing: .13em; }
.wg-store-customizer__preview-intro h4 { margin: 0 0 .75rem; color: var(--store-custom-text); font: 600 clamp(1rem, 1.8vw, 1.35rem)/1.15 var(--store-custom-font); }
.wg-store-customizer__preview-featured { min-width: 0; display: grid; grid-template-columns: minmax(5rem, .9fr) minmax(0, 1.1fr); align-items: center; gap: .85rem; padding: .7rem; border: 1px solid rgba(34,211,238,.16); border-radius: .7rem; background: var(--store-custom-surface); }
.wg-store-customizer__featured-image { width: 100%; height: clamp(7rem, 13vw, 11rem); border-radius: .5rem; background: var(--store-custom-background); object-fit: contain; }
.wg-store-customizer__featured-copy { min-width: 0; }
.wg-store-customizer__featured-copy > p:nth-of-type(2) { margin: .35rem 0 .55rem; color: var(--store-custom-text); opacity: .72; font: .65rem/1.45 var(--store-custom-font); }
.wg-store-customizer__featured-copy h5 { margin: 0; overflow-wrap: anywhere; color: var(--store-custom-text); font: 600 clamp(.9rem, 1.4vw, 1.15rem)/1.2 var(--store-custom-font); }
.wg-store-customizer__featured-copy > strong { color: var(--store-custom-primary); font: 700 .9rem var(--store-custom-font); }
.wg-store-customizer__variant-chips { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .55rem; }
.wg-store-customizer__variant-chips span { padding: .2rem .4rem; border: 1px solid var(--store-custom-secondary); border-radius: 999px; color: var(--store-custom-text); font: .53rem var(--store-custom-font); }
.wg-store-customizer__preview-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5rem; margin-top: .65rem; }
.wg-lab .wg-store-customizer__preview-card { min-width: 0; display: grid; gap: .35rem; padding: .45rem; border: 1px solid rgba(34,211,238,.18); border-radius: .55rem; color: var(--store-custom-text); background: var(--store-custom-surface); text-align: left; cursor: pointer; }
.wg-lab .wg-store-customizer__preview-card:hover,
.wg-lab .wg-store-customizer__preview-card:focus-visible,
.wg-lab .wg-store-customizer__preview-card[aria-pressed="true"] { border-color: var(--store-custom-primary); box-shadow: 0 0 .65rem color-mix(in srgb, var(--store-custom-primary) 28%, transparent); }
.wg-lab .wg-store-customizer__preview-card:focus-visible { outline: 2px solid var(--store-custom-secondary); outline-offset: 2px; }
.wg-store-customizer__preview-card img { width: 100%; height: clamp(3.4rem, 7vw, 5.5rem); border-radius: .35rem; background: var(--store-custom-background); object-fit: contain; }
.wg-store-customizer__preview-card-copy { min-width: 0; display: grid; gap: .2rem; }
.wg-store-customizer__preview-card-copy strong { overflow-wrap: anywhere; color: var(--store-custom-text); font: 600 .58rem/1.25 var(--store-custom-font); }
.wg-store-customizer__preview-card-copy small { color: var(--store-custom-secondary); font: 600 .58rem var(--store-custom-font); }
.wg-store-customizer__empty { grid-column: 1 / -1; margin: 1.5rem .5rem; color: var(--store-custom-text); opacity: .65; font: .75rem/1.5 var(--store-custom-font); }
.wg-store-customizer__preview-footer { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem .85rem; border-top: 1px solid rgba(34,211,238,.14); color: var(--store-custom-text); opacity: .65; font: 600 .48rem var(--store-custom-font); letter-spacing: .08em; }
.wg-store-customizer__preview-footer > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.wg-store-customizer__preview-note { margin: .5rem 0 0; color: rgba(232,238,248,.45); font: .61rem/1.4 Roboto, system-ui, sans-serif; }
.wg-lab .wg-store-customizer :disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 1024px) {
    .wg-store-customizer { grid-template-columns: minmax(0,1fr); }
    .wg-store-customizer__preview-list { grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); }
}
@media (max-width: 600px) {
    .wg-demo-store__experience-switch { margin-bottom: .7rem; }
    .wg-lab .wg-demo-store__experience-button { min-height: 3.15rem; padding: .45rem .55rem; }
    .wg-lab .wg-demo-store__experience-button strong { font-size: .78rem; }
    .wg-demo-store__experience-button small { font-size: .61rem; }
    .wg-store-customizer__editor,
    .wg-store-customizer__preview-panel { border-radius: .85rem; }
    .wg-store-customizer__preview-toolbar { align-items: flex-start; flex-direction: column; }
    .wg-store-customizer__preview-featured { grid-template-columns: 5.5rem minmax(0,1fr); gap: .6rem; }
    .wg-store-customizer__featured-image { height: 6rem; }
    .wg-store-customizer__preview-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .wg-store-customizer__preview.is-mobile .wg-store-customizer__preview-content { padding: .65rem; }
    .wg-store-customizer__preview.is-mobile .wg-store-customizer__preview-featured { grid-template-columns: 1fr; }
    .wg-store-customizer__preview.is-mobile .wg-store-customizer__featured-image { height: 9rem; }
    .wg-store-customizer__preview.is-mobile .wg-store-customizer__preview-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 375px) {
    .wg-store-customizer__catalog-heading { align-items: flex-start; flex-direction: column; }
    .wg-store-customizer__add-product { width: 100%; }
    .wg-store-customizer__preview-brand { padding-inline: .55rem; }
    .wg-store-customizer__preview-bag { font-size: .44rem; }
    .wg-store-customizer__preview-footer { font-size: .4rem; }
}

/* Evita que el reset del tema aplique rosa a los controles del personalizador. */
.wg-lab .wg-store-customizer button {
    border-color: rgba(34,211,238,.42);
    color: #22D3EE;
    background-color: #071426;
}
.wg-lab .wg-store-customizer button:hover,
.wg-lab .wg-store-customizer button:focus,
.wg-lab .wg-store-customizer button:focus-visible,
.wg-lab .wg-store-customizer button:active {
    border-color: #22D3EE;
    color: #071426;
    background-color: #22D3EE;
    box-shadow: 0 0 .8rem rgba(34,211,238,.22);
}
.wg-lab .wg-store-customizer button[aria-pressed="true"] {
    border-color: #22D3EE;
    color: #071426;
    background-color: #00E5F0;
}
.wg-lab .wg-store-customizer .wg-store-customizer__select-product[aria-pressed="true"] {
    border-color: #22D3EE;
    color: #071426;
    background-color: #00E5F0;
}
.wg-lab .wg-store-customizer button:disabled {
    border-color: #40536C;
    color: #AAB7C9;
    background-color: #13243A;
    box-shadow: none;
    cursor: not-allowed;
}
.wg-lab .wg-store-customizer .wg-store-customizer__preview-card:hover,
.wg-lab .wg-store-customizer .wg-store-customizer__preview-card:focus-visible,
.wg-lab .wg-store-customizer .wg-store-customizer__preview-card[aria-pressed="true"] {
    border-color: var(--store-custom-primary);
    color: var(--store-custom-text);
    background-color: var(--store-custom-surface);
    box-shadow: 0 0 .75rem rgba(34,211,238,.18);
}
.wg-lab .wg-store-customizer .wg-store-customizer__preview-card {
    color: var(--store-custom-text);
    background-color: var(--store-custom-surface);
}
.wg-lab.is-store-customize .wg-lab__cart-dock { display: none; }

@media (max-width: 360px) {
    .wg-store-customizer__preview-featured {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Fase 2.11: overrides localizados frente al reset de botones de Hello Elementor. */
.wg-site .wg-header__toggle:hover,
.wg-site .wg-header__toggle:focus,
.wg-site .wg-header__toggle:active {
    border-color: var(--wg-border-strong);
    color: var(--wg-text);
    background-color: rgba(225,226,227,.05);
    box-shadow: none;
}
.wg-site .wg-header__toggle:focus-visible {
    outline: 2px solid var(--wg-cyan);
    outline-offset: 3px;
}
.wg-demo-menu .wg-demo-menu__item-open {
    color: #e1e2e3;
}
.wg-automation-flow .wg-automation-flow__dialog-close:focus {
    border-color: rgba(0,246,255,.55);
    color: #fff;
    background-color: #0b182b;
}
/* Evita el foco rosa del reset tras cerrar el detalle; el hover conserva su regla propia. */
.wg-demo-menu .wg-demo-menu__item-open:focus:not(:hover) {
    border-color: rgba(0,246,255,.55);
    color: #e1e2e3;
    background-color: rgba(13,20,36,.96);
}

/* Mobile: native swipe carousels for institutional card collections. */
@media (max-width: 600px) {
    .wg-services__grid,
    .wg-solutions__grid,
    .wg-automation-flow__stages,
    .wg-process__stages,
    .wg-testimonials__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scroll-padding-inline: .1rem;
        padding-bottom: .65rem;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .wg-services__item,
    .wg-solutions__card,
    .wg-automation-flow__stage-item,
    .wg-process__stage,
    .wg-testimonials__grid > .wg-testimonial {
        min-width: 0;
        scroll-snap-align: start;
    }

    .wg-process__stages { padding: 0 0 .65rem; }
    .wg-process__stages::before,
    .wg-process__stage::before { display: none; }
    .wg-process__stage { padding: 0; }
    .wg-process__card { height: 100%; min-height: 0; }

    .wg-testimonials__grid { grid-auto-rows: auto; }
    .wg-testimonials__grid > .wg-testimonial { grid-column: auto; grid-row: auto; }
    .wg-testimonial--featured { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .wg-services__grid,
    .wg-solutions__grid,
    .wg-automation-flow__stages,
    .wg-process__stages,
    .wg-testimonials__grid { scroll-snap-type: none; }
}
.wg-solutions__card:focus-visible,
.wg-process__card:focus-visible {
    outline: 2px solid var(--wg-cyan);
    outline-offset: 4px;
}