/* ===========================================================
   MoE runner — Sitio web del producto (6 dic 2026)
   Copia del sistema visual de aisoftventures.com (tema claro, fondo blanco) con el violeta
   de la app (#7B4FD0, el mismo acento que MoE runner en Windows). Inglés en la raíz y
   castellano en es/. Inter autoalojada, sin servicios de terceros ni cookies.
   =========================================================== */

/* ----------- Inter autoalojada (variable 100-900, SIL OFL 1.1) ----------- */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-surface-alt: #1a1a1a;
    --color-ink: #f5f5f2;
    --color-ink-soft: #e2e2dd;
    --color-muted: #a8a8a4;
    --color-line: #2a2a2a;
    --color-accent: #9c7be6;
    --color-accent-soft: rgba(123, 79, 208, 0.15);
    --color-dark: #0a0a0a;
    --color-dark-2: #141414;
    --color-on-dark: #f5f5f2;
    --color-on-dark-muted: #a8a8a4;

    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 1px 1px rgba(10, 10, 10, 0.03);
    --shadow-md: 0 12px 30px rgba(10, 10, 10, 0.08);

    --font-sans: "Inter", "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Inter", "Helvetica Neue", Arial, sans-serif;

    --maxw: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --section-y: clamp(64px, 9vw, 130px);
}

/* ----------- Reset ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-ink);
    background:
      radial-gradient(ellipse at 85% -10%, rgba(123, 79, 208, 0.40), transparent 60%),
      radial-gradient(ellipse at -10% 110%, rgba(123, 79, 208, 0.25), transparent 65%),
      var(--color-bg);
    background-attachment: fixed;
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

/* ----------- Layout helpers ----------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--dark { background: var(--color-dark); color: var(--color-on-dark); }
.section--dark p { color: var(--color-on-dark-muted); }
.section--alt { background: var(--color-surface); }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 18px;
    font-weight: 500;
}
.section--dark .eyebrow { color: var(--color-on-dark-muted); }

.title-xl { font-size: clamp(40px, 6.4vw, 88px); }
.title-lg { font-size: clamp(32px, 4.6vw, 60px); }
.title-md { font-size: clamp(24px, 2.8vw, 36px); }
.title-sm { font-size: clamp(20px, 2vw, 26px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--color-muted); max-width: 62ch; }
.section--dark .lead { color: var(--color-on-dark-muted); }

.accent { color: var(--color-accent); }

/* Price badge / hero pill */
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 14px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 22px;
    box-shadow: 0 10px 28px rgba(123, 79, 208, 0.30);
}
.price-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 auto;
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}
.price-headline {
    font-family: var(--font-display);
    font-size: clamp(56px, 8vw, 96px);
    color: var(--color-accent);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 4px 0 6px;
}
.price-headline small {
    display: inline-block;
    font-size: 0.32em;
    color: var(--color-muted);
    font-weight: 500;
    letter-spacing: 0;
    margin-left: 8px;
    vertical-align: middle;
}

.italic-accent { font-style: italic; font-weight: 500; }

/* ----------- Buttons ----------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform .18s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-ink); color: var(--color-bg); }
.btn--primary:hover { background: var(--color-accent); }
.btn--ghost { border-color: var(--color-line); color: var(--color-ink); background: transparent; }
.btn--ghost:hover { border-color: var(--color-ink); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-ink); color: var(--color-bg); }
.btn--on-dark { border-color: rgba(255,255,255,0.25); color: #fff; }
.btn--on-dark:hover { background: #fff; color: #0a0a0a; }
.btn .arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ----------- Header ----------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,10,10,0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-line);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.brand .brand-mark {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--color-accent); color: #fff;
    display: grid; place-items: center;
    font-size: 14px; font-weight: 700;
}

.nav-list {
    display: flex; align-items: center; gap: 4px;
}
.nav-list a {
    font-size: 15px; color: var(--color-ink-soft); font-weight: 500;
}
.nav-list > li > a {
    padding: 8px 14px;
    border-radius: 8px;
    transition: background .15s ease, color .15s ease;
}
.nav-list > li > a:hover,
.nav-list .has-dropdown:hover > a,
.nav-list .has-dropdown.is-open > a {
    background: var(--color-accent);
    color: #fff;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Dropdown menu */
.nav-list .has-dropdown { position: relative; }
.nav-list .has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-list .has-dropdown > a::before {
    content: "";
    width: 7px; height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 4px;
    order: 2;
    transition: transform .2s ease;
}
.nav-list .has-dropdown.is-open > a::before { transform: rotate(-135deg) translateY(2px); }

.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: -8px;
    min-width: 280px;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px;
    display: grid; gap: 4px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.dropdown a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--color-ink) !important;
    transition: background .15s ease;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--color-surface); }
.dropdown a strong { display: block; font-size: 15px; font-weight: 600; }
.dropdown a span { display: block; font-size: 13px; color: var(--color-muted); margin-top: 2px; }

.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: 10px;
    align-items: center; justify-content: center;
}
.menu-toggle span {
    display: block; position: relative;
    width: 22px; height: 2px; background: var(--color-ink);
    transition: transform .25s ease, background .25s ease;
}
.menu-toggle span::before, .menu-toggle span::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--color-ink);
    transition: transform .25s ease, top .25s ease;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after  { top:  7px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ----------- Hero ----------- */
.hero {
    padding-top: clamp(56px, 8vw, 120px);
    padding-bottom: clamp(56px, 8vw, 120px);
    position: relative;
    overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: end; }
.hero__title {
    font-size: clamp(44px, 8vw, 110px);
    line-height: 0.96;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin: 0;
}
.hero__title em { font-style: normal; }
.hero__subtitle {
    max-width: 60ch;
    font-size: clamp(18px, 1.6vw, 22px);
    color: var(--color-muted);
    line-height: 1.45;
    margin-top: 8px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

.hero__meta {
    border-top: 1px solid var(--color-line);
    margin-top: clamp(48px, 7vw, 96px);
    padding-top: 22px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    color: var(--color-muted);
    font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.16em;
}

/* ----------- Stats ----------- */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}
.stat {
    padding: 38px 22px;
    border-right: 1px solid var(--color-line);
}
.stat:last-child { border-right: 0; }
.stat__num {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}
.stat__num .accent { color: var(--color-accent); }
.stat__label { color: var(--color-muted); margin-top: 8px; font-size: 14px; }

/* ----------- Product cards ----------- */
.products { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.product-card {
    grid-column: span 6;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 40px);
    background: var(--color-bg);
    display: flex; flex-direction: column; gap: 18px;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    position: relative;
    overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-ink); }
.product-card__tag {
    align-self: flex-start;
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--color-muted);
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 4px 12px;
}
.product-card h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.product-card p { color: var(--color-muted); margin: 0; }
.product-card__list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; }
.product-card__list li {
    position: relative; padding-left: 22px;
    color: var(--color-ink-soft);
    font-size: 15px;
}
.product-card__list li::before {
    content: ""; position: absolute; left: 0; top: 0.55em;
    width: 10px; height: 2px; background: var(--color-accent);
}
.product-card__cta { margin-top: auto; }

/* ----------- Tres productos en la portada y capturas (CRM One360, 10 oct 2026) ----------- */
.products--three .product-card { grid-column: span 4; }
.shot { margin: 0; }
.shot img {
    display: block; width: 100%; height: auto;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.shot figcaption { color: var(--color-muted); font-size: 14px; margin-top: 12px; }

/* ----------- Feature grid (page sections) ----------- */
.feature-grid {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px;
}
.feature-grid > article {
    grid-column: span 4;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex; flex-direction: column; gap: 12px;
    transition: border-color .25s ease, transform .25s ease;
}
.feature-grid > article:hover { border-color: var(--color-ink); transform: translateY(-3px); }
.feature-grid--half > article { grid-column: span 6; }

.plugin-price {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--color-line);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    line-height: 1;
}
.plugin-price small {
    display: inline-block;
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 500;
    letter-spacing: 0;
    margin-left: 8px;
    vertical-align: middle;
}
.feature-grid h3 { font-size: 20px; margin: 0; }
.feature-grid p { margin: 0; color: var(--color-muted); font-size: 15px; }
.feature-grid .icon-chip {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 18px;
}

/* ----------- Two column ----------- */
.two-col {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px);
    align-items: start;
}
.two-col__media {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    border: 1px solid var(--color-line);
    overflow: hidden;
    position: relative;
}
.two-col__media .bullets {
    position: absolute; inset: auto 0 0 0;
    padding: 22px;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.two-col__media .chip {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--color-line);
    color: var(--color-ink-soft);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

/* Decorative SVG/gradient panels (replacing photographs) */
.deco-panel {
    background:
      radial-gradient(circle at 18% 22%, rgba(123, 79, 208, 0.18), transparent 40%),
      radial-gradient(circle at 82% 78%, rgba(10, 10, 10, 0.10), transparent 45%),
      linear-gradient(160deg, #f6f6f4 0%, #ecebe7 100%);
    position: relative;
}
.deco-panel--dark {
    background:
      radial-gradient(circle at 78% 22%, rgba(123, 79, 208, 0.30), transparent 45%),
      radial-gradient(circle at 14% 80%, rgba(255,255,255,0.08), transparent 45%),
      linear-gradient(160deg, #0a0a0a 0%, #1d1d1d 100%);
    color: var(--color-on-dark);
}
.deco-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(10,10,10,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,10,10,0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, #000 50%, transparent 100%);
}
.deco-panel--dark .deco-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
}

/* ----------- Phases / steps list ----------- */
.steps { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; counter-reset: step; }
.steps--quad > article { grid-column: span 3; }
.steps article {
    grid-column: span 4;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 22px;
    background: var(--color-bg);
    color: var(--color-ink);
    counter-increment: step;
    position: relative;
}
.steps article::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
    color: var(--color-accent); margin-bottom: 8px;
}
.steps h3 { font-size: 17px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--color-muted); font-size: 14px; }

/* ----------- Logos carousel ----------- */
.logo-row {
    display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px;
    align-items: center;
}
.logo-row .logo {
    display: grid; place-items: center; height: 60px;
    color: var(--color-muted);
    font-weight: 600; font-size: 15px; letter-spacing: 0.06em;
    border: 1px dashed var(--color-line);
    border-radius: var(--radius-md);
    transition: color .25s ease, border-color .25s ease;
}
.logo-row .logo:hover { color: var(--color-ink); border-color: var(--color-ink); }

/* ----------- Contact ----------- */
.contact-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 60px);
}
.contact-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    padding: 32px;
    background: var(--color-bg);
}
.contact-card h3 { margin-bottom: 6px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 4px; font-weight: 600; }

.form { display: grid; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-ink-soft); }
.form input, .form textarea, .form select {
    width: 100%;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: var(--color-bg);
    padding: 12px 14px;
    font: inherit;
    color: var(--color-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
    outline: 0;
    border-color: var(--color-ink);
    box-shadow: 0 0 0 3px rgba(123, 79, 208, 0.18);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .privacy { font-size: 13px; color: var(--color-muted); }

/* ----------- Footer ----------- */
.site-footer {
    background: var(--color-dark);
    color: var(--color-on-dark);
    padding: clamp(60px, 8vw, 110px) 0 30px;
}
.site-footer a { color: var(--color-on-dark-muted); }
.site-footer a:hover { color: #fff; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid p { color: var(--color-on-dark-muted); max-width: 36ch; }
.footer-bottom {
    padding-top: 22px;
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    color: var(--color-on-dark-muted);
    font-size: 13px;
}

/* ----------- Language tabs (legal page) ----------- */
.lang-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    background: var(--color-surface);
    border-radius: 22px;
    border: 1px solid var(--color-line);
    margin-bottom: 36px;
}
.lang-tabs button {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    color: var(--color-muted);
    transition: background .2s ease, color .2s ease;
}
.lang-tabs button:hover { color: var(--color-ink); }
.lang-tabs button.is-active { background: var(--color-accent); color: #fff; }

.lang-panel { display: none; }
.lang-panel.is-active { display: block; }

/* ----------- Page generic prose ----------- */
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; list-style: disc; color: var(--color-ink-soft); }
.prose ul li { margin-bottom: 6px; }
.prose p { color: var(--color-ink-soft); }

/* ----------- Banners / CTAs ----------- */
.cta-banner {
    border-radius: var(--radius-lg);
    padding: clamp(36px, 5vw, 64px);
    color: #fff;
    background:
      radial-gradient(circle at 80% 20%, rgba(123, 79, 208, 0.45), transparent 50%),
      linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%);
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.cta-banner h2 { color: #fff; margin: 0; }
.cta-banner p { color: rgba(255,255,255,0.8); margin: 10px 0 0; }
.cta-banner .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ----------- Tabla comparativa ----------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--radius-md); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-wrap th, .table-wrap td {
    padding: 14px 18px; text-align: left;
    border-bottom: 1px solid var(--color-line);
    font-size: 15px; vertical-align: top;
}
.table-wrap th { background: var(--color-surface); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ----------- Reveal animations ----------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
    .product-card, .products--three .product-card { grid-column: span 12; }
    .feature-grid > article { grid-column: span 6; }
    .steps article { grid-column: span 6; }
    .two-col { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--color-line); }
    .cta-banner { grid-template-columns: 1fr; }
    .cta-banner .actions { justify-content: flex-start; }
    .logo-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
    .nav-list, .nav-cta .btn--ghost { display: none; }
    .menu-toggle { display: inline-flex; }
    body.menu-open .nav-list {
        display: flex; flex-direction: column; gap: 0;
        position: fixed; inset: 72px 0 0 0; padding: 24px var(--gutter);
        background: var(--color-bg);
        border-top: 1px solid var(--color-line);
        z-index: 40;
        animation: slideDown .25s ease both;
    }
    body.menu-open .nav-list > li > a {
        padding: 16px 0; border-bottom: 1px solid var(--color-line);
        font-size: 18px;
        display: flex; justify-content: space-between; align-items: center;
    }
    body.menu-open .nav-list > li:last-child > a { border-bottom: 0; }
    body.menu-open { overflow: hidden; }

    /* Mobile dropdown: inline expansion */
    body.menu-open .has-dropdown { display: block; }
    body.menu-open .has-dropdown > a::before { margin-left: auto; order: unset; }
    body.menu-open .dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        background: transparent; border: 0; box-shadow: none;
        padding: 4px 0 14px 0;
        max-height: 0; overflow: hidden;
        transition: max-height .25s ease;
    }
    body.menu-open .has-dropdown.is-open .dropdown {
        max-height: 480px;
    }
    body.menu-open .dropdown a { font-size: 16px; }
    body.menu-open .has-dropdown:hover .dropdown {
        opacity: 1; visibility: visible;
    }

    .feature-grid > article { grid-column: span 12; }
    .steps article { grid-column: span 12; }
    .form .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--color-line); }
    .stat:last-child { border-bottom: 0; }
    .logo-row { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Selection */
::selection { background: var(--color-accent); color: #fff; }

/* Distintivo oficial de la Microsoft Store (22 sep 2026) */
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 52px; width: auto; }

/* ----------- Selector de idioma (10 oct 2026) ----------- */
.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8a8a4' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: var(--color-ink);
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 8px 34px 8px 14px;
    font: 500 14px var(--font-sans);
    cursor: pointer;
}
.lang-select:hover, .lang-select:focus { border-color: var(--color-accent); outline: none; }
.lang-select option { background: #141414; color: #f5f5f2; }


/* ===========================================================
   Tema claro: fondo blanco, tinta casi negra con un punto violeta y el violeta de MoE runner
   (#7B4FD0, 5,6:1 sobre blanco) como acento.
   Va al final para sustituir los colores oscuros de arriba.
   =========================================================== */
:root {
    --color-bg: #ffffff;
    --color-surface: #f7f4fd;
    --color-surface-alt: #f2ecfd;
    --color-ink: #1b1625;
    --color-ink-soft: #352e42;
    --color-muted: #5f586c;
    --color-line: #e4dcf3;
    --color-accent: #7b4fd0;
    --color-accent-bright: #9c7be6;
    --color-accent-soft: rgba(123, 79, 208, 0.12);
    --color-dark: #f7f4fd;
    --color-dark-2: #f2ecfd;
    --color-on-dark: #1b1625;
    --color-on-dark-muted: #5f586c;
    --shadow-md: 0 14px 34px rgba(16, 24, 32, 0.10);
}
body { background: var(--color-bg); }
.site-header { background: rgba(255, 255, 255, 0.92); }
.site-footer { border-top: 1px solid var(--color-line); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid { border-bottom-color: var(--color-line); }
.footer-grid h4 { color: var(--color-ink); }
.price-badge { box-shadow: 0 10px 28px rgba(123, 79, 208, 0.22); }
.btn--primary:hover { color: #fff; }
.btn--on-dark { border-color: var(--color-line); color: var(--color-ink); }
.btn--on-dark:hover { background: var(--color-ink); color: #fff; }
.btn--accent:hover { color: #fff; }
.cta-banner {
    color: var(--color-ink);
    background: var(--color-surface-alt);
    border: 1px solid #d2c0f3;
}
.cta-banner h2 { color: var(--color-ink); }
.cta-banner p { color: var(--color-ink-soft); }
.italic-accent { color: var(--color-accent); }
.product-card__list li::before { background: var(--color-accent-bright); }
.lang-select option { background: #ffffff; color: #1b1625; }
.shot img { box-shadow: 0 18px 40px rgba(16, 24, 32, 0.14); }

/* Tarjeta ancha, botón «Próximamente» y el diagrama de flujo, copiados de aisoftventures.com. */
.product-card--wide { grid-column: 1 / -1; }
.btn--soon { opacity: .75; cursor: default; }
.btn--soon:hover { transform: none; }
.btn--accent.btn--soon:hover { background: var(--color-accent); }
.btn--ghost.btn--soon:hover { border-color: var(--color-line); }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.flow__box {
    background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius-md);
    padding: 22px 22px 24px;
}
.flow__box--cloud { background: var(--color-surface-alt); border: 2px solid var(--color-accent); }
.flow__box h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.flow__box h3 .icon-chip { width: 34px; height: 34px; border-radius: 10px; background: var(--color-ink); color: var(--color-accent-bright); display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: 0 0 auto; }
.flow__box p { font-style: italic; margin: 0; color: var(--color-ink-soft); }
.flow__box--cloud p { color: #4a2a8c; }
.flow__box .flow__swap { display: block; margin: 6px 0; font-style: normal; color: var(--color-accent); font-weight: 700; }
.flow__arrow { align-self: center; font-size: 34px; font-weight: 800; color: var(--color-accent); }
@media (max-width: 900px) {
    .flow { grid-template-columns: 1fr; }
    .flow__arrow { justify-self: center; transform: rotate(90deg); }
}


/* ===========================================================
   MoE runner (6 dic 2026)
   =========================================================== */
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.hero { background: radial-gradient(ellipse at 88% 0%, rgba(123, 79, 208, 0.16), transparent 55%); }
.hero__title { font-size: clamp(42px, 7vw, 96px); }
.hero__shot { margin-top: clamp(40px, 6vw, 72px); }
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: 999px;
    background: var(--color-surface-alt); color: var(--color-accent);
    border: 1px solid #d2c0f3; font-size: 14px; font-weight: 600; margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.stats .stat__num { color: var(--color-ink); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
.memory-bar { display: flex; height: 22px; border-radius: 999px; overflow: hidden; border: 1px solid var(--color-line); margin: 18px 0 10px; }
.memory-bar span { display: block; }
.memory-bar .vram { background: #7b4fd0; width: 38%; }
.memory-bar .ram { background: #9c7be6; width: 34%; }
.memory-bar .disk { background: #e1d4f8; width: 28%; }
.memory-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--color-muted); }
.memory-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.table-wrap td.num, .table-wrap th.num { text-align: right; white-space: nowrap; }
.table-wrap tbody tr:hover td { background: var(--color-surface); }
.price-card { border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); background: var(--color-bg); display: flex; flex-direction: column; gap: 14px; }
.price-card--accent { border: 2px solid var(--color-accent); background: var(--color-surface-alt); }
.price-card .amount { font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--color-accent); }
.price-card .amount small { font-size: 16px; font-weight: 500; color: var(--color-muted); letter-spacing: 0; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.note { font-size: 14px; color: var(--color-muted); }
.faq details { border-bottom: 1px solid var(--color-line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--color-accent); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--color-ink-soft); }
.prose a, .faq a, .lead a, .hero__subtitle a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
    .split, .prices { grid-template-columns: 1fr; }
    .split--rev > :first-child { order: 0; }
}
