/* ============================================================
   Maimag — sitio web
   Lenguaje visual heredado del deck de IdleCowork
   (kms-idlework/pitches/deck-style.css): paleta, tipografías,
   kicker/lead, cards, mock-window y la red animada de fondo.
   ============================================================ */

:root {
    --color-primary: #6C7CFF;
    /* Secundario de Maimag. Reemplaza el celeste #4FE0C2 del deck de IdleCowork. */
    --color-accent: #FF4C68;
    /* Ámbar: el rosado de marca ya ocupa el lugar del acento, un «warn» rosado
       sería indistinguible. Toma el acento de las presentaciones de Maimag. */
    --color-warn: #FFC233;
    --color-background: #0A0B14;
    --color-surface: #141628;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-text-dim: #9BA0C0;
    --gradient-primary: linear-gradient(135deg, #6C7CFF 0%, #FF4C68 100%);
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --shell: 1140px;
    --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--color-background);
    color: #fff;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; font-weight: 700; }

h1 {
    font-size: clamp(33px, 5.1vw, 62px);
    letter-spacing: -0.02em;
}
h2 {
    font-size: clamp(26px, 3.6vw, 42px);
    letter-spacing: -0.015em;
}
h3 { font-size: clamp(16px, 1.7vw, 19px); }

.hl {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Estructura de título de todo el sitio (la de «El problema»): primera línea en
   blanco, segunda entera en el degradado.
   El quiebre se hace con display:block sobre el .hl, no con un <br> oculto: al
   ocultar un <br> las dos frases quedaban pegadas sin espacio en móvil
   («Claude Code» + «en tu empresa» → «Claude Codeen tu empresa»). */
@media (min-width: 721px) {
    h1 .hl, h2 .hl { display: block; }
}

.kicker {
    font-size: 12.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
}

.lead {
    font-size: clamp(15px, 1.6vw, 19px);
    color: var(--color-text-dim);
    line-height: 1.6;
    max-width: 62ch;
}
.lead strong { color: #fff; font-weight: 600; }

.section-head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .kicker { display: block; margin-bottom: 12px; }
.section-head h2 + .lead { margin-top: 16px; }

section { padding: clamp(64px, 8vw, 116px) 0; position: relative; }
section + section { border-top: 1px solid var(--color-border); }

.footnote { font-size: 12px; color: rgba(255, 255, 255, 0.35); margin-top: 14px; }

/* ---------- Navegación ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(10, 11, 20, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
}
.site-nav .shell { display: flex; align-items: center; gap: 28px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 34px; width: auto; }
.nav-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
    list-style: none;
    font-size: 14px;
}
.nav-links a {
    color: var(--color-text-dim);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-primary);
    color: #0A0B14;
    box-shadow: 0 6px 24px rgba(108, 124, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255, 76, 104, 0.34); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-border);
    color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { font-size: 13.5px; padding: 9px 18px; }

/* ---------- Red animada de fondo ---------- */
.hero { padding-top: clamp(56px, 7vw, 92px); overflow: hidden; }
.cover-net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}
.cover-net .net-line { fill: none; stroke-width: 1.6; opacity: 0.3; }
.cover-net .net-dot { filter: drop-shadow(0 0 6px currentColor); }
.cover-glow {
    position: absolute;
    left: 50%;
    top: 34%;
    width: 68vmin;
    height: 68vmin;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at 42% 38%, rgba(108, 124, 255, 0.18), transparent 55%),
        radial-gradient(circle at 60% 62%, rgba(255, 76, 104, 0.14), transparent 55%);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
.hero .shell { position: relative; z-index: 2; }

/* El h1 abre el hero (antes había una línea gancho encima, se quitó).
   El quiebre de línea lo da .hl{display:block}, no un tope en ch. */
.hero h1 { max-width: 30ch; margin-top: 16px; }
.hero .lead { margin-top: 22px; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 34px;
}
.chip {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 6px 15px;
}
.chip strong { color: var(--color-accent); font-weight: 600; }

/* Modo rotación: un chip a la vez, para no cargar el hero con los cuatro.
   La clase la pone el JS; la altura del slot la mide sobre el chip más alto. */
.hero-chips.rotating {
    position: relative;
    display: block;
}
.hero-chips.rotating .chip {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.hero-chips.rotating .chip.on {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px 22px;
}
.card .icon { font-size: 27px; margin-bottom: 10px; line-height: 1; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--color-text-dim); line-height: 1.55; }
.card p strong { color: #fff; font-weight: 600; }
.card.warn { border-top: 3px solid var(--color-warn); }
.card.accent { border-top: 3px solid var(--color-accent); }

.closing-line {
    margin-top: 32px;
    font-size: clamp(15px, 1.7vw, 20px);
    color: var(--color-text-dim);
}
.closing-line strong { color: #fff; font-weight: 600; }

/* ---------- La tesis: red de harnesses con control plane ----------
   Adaptado de la slide «tesis-harnesses» del deck de IdleCowork. En el deck es
   una composición absoluta sobre un lienzo 16:9; acá eso solo aplica desde
   981px. Bajo ese ancho las tarjetas caen a una grilla en flujo y las curvas
   animadas se esconden: apretadas no comunican nada y estorban. */
.net-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.net-svg { display: none; }
.net-shared {
    justify-self: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(255, 76, 104, 0.12);
    border: 1px solid rgba(255, 76, 104, 0.45);
    padding: 4px 14px;
    border-radius: 999px;
}
.net-card, .net-hub {
    background: rgba(20, 22, 40, 0.94);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 14px 16px;
}
.net-hub {
    border-color: rgba(255, 76, 104, 0.55);
    box-shadow: 0 0 32px rgba(255, 76, 104, 0.18);
    text-align: center;
}
.net-card h3, .net-hub h3 { font-size: clamp(14px, 1.5vw, 16.5px); margin-bottom: 8px; }
.net-card .llm {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    color: #fff;
    background: rgba(108, 124, 255, 0.22);
    border: 1px solid rgba(108, 124, 255, 0.5);
    padding: 2px 9px;
    border-radius: 999px;
    margin-bottom: 9px;
}
.net-card .chips, .net-hub .chips { display: flex; gap: 5px; flex-wrap: wrap; }
.net-hub .chips { justify-content: center; }
.net-card .chips span {
    font-size: 10px;
    color: var(--color-text-dim);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    padding: 2px 8px;
    border-radius: 6px;
}
.net-hub .chips span {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(255, 76, 104, 0.1);
    border: 1px solid rgba(255, 76, 104, 0.35);
    padding: 2px 8px;
    border-radius: 6px;
}

@media (min-width: 981px) {
    .net-wrap {
        display: block;
        position: relative;
        height: clamp(430px, 37vw, 490px);
    }
    .net-svg {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
    .net-svg .net-line { fill: none; stroke-width: 2.5; opacity: 0.5; }
    .net-svg .net-dot { filter: drop-shadow(0 0 6px currentColor); }
    .net-shared {
        position: absolute;
        left: 50%;
        top: 8%;
        transform: translateX(-50%);
        z-index: 2;
        justify-self: auto;
    }
    .net-card {
        position: absolute;
        width: 21%;
        min-width: 152px;
        z-index: 2;
        box-shadow: 0 0 24px rgba(108, 124, 255, 0.12);
    }
    /* Mismas posiciones que la slide, para que la lectura sea la del deck */
    .net-card.pos-cx     { left: 5%;    top: 0; }
    .net-card.pos-com    { right: 5%;   top: 0; }
    .net-card.pos-dev    { left: 2%;    bottom: 0; }
    .net-card.pos-fin    { left: 39.5%; bottom: 0; }
    .net-card.pos-people { right: 2%;   bottom: 0; }
    .net-hub {
        position: absolute;
        left: 50%;
        top: 47%;
        transform: translate(-50%, -50%);
        z-index: 3;
        padding: 14px 18px;
    }
    .net-hub h3 { white-space: nowrap; }
}

/* ---------- Método: rail de 5 pasos ---------- */
.steps {
    position: relative;
    max-width: 860px;
    list-style: none;
}
.steps::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 12px;
    bottom: 42px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    opacity: 0.5;
}
.step {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 22px;
    padding-bottom: 30px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #0A0B14;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px var(--color-background), 0 0 18px rgba(108, 124, 255, 0.4);
}
.step-body { padding-top: 3px; }
.step-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
}
.step-body h3 { margin: 6px 0 8px; font-size: clamp(18px, 2.1vw, 23px); }
.step-body p { color: var(--color-text-dim); font-size: 15px; max-width: 60ch; }
.step-body p strong { color: #fff; font-weight: 600; }

/* ---------- IdleCowork: mockup + features ---------- */
.product-split {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 30px;
    align-items: start;
}
/* El mockup acompaña la lectura de las 4 features en vez de dejar hueco arriba */
.mock-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}
.mock-window {
    position: relative;
    min-width: 520px;
    height: clamp(340px, 46vw, 430px);
    display: flex;
    flex-direction: column;
    background: #0D0F1E;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(108, 124, 255, 0.08);
}
.mock-titlebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #131529;
    border-bottom: 1px solid var(--color-border);
    font-size: 10.5px;
    color: var(--color-text-dim);
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots span { width: 9px; height: 9px; border-radius: 50%; }
.mock-title-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-titlebar-right { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
/* En azul, no en el rosado de marca: queda pegado al pill rojo de «Grabando
   reunión» y en el mismo color los dos se leerían como una sola cosa. */
.mock-gov {
    font-size: 9.5px;
    font-weight: 600;
    color: #A7B2FF;
    background: rgba(108, 124, 255, 0.14);
    border: 1px solid rgba(108, 124, 255, 0.5);
    border-radius: 999px;
    padding: 2px 9px;
    white-space: nowrap;
}
.mock-rec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 9.5px;
    font-weight: 600;
    color: #FF8FA6;
    background: rgba(255, 107, 138, 0.1);
    border: 1px solid rgba(255, 107, 138, 0.45);
    border-radius: 999px;
    padding: 2px 9px;
    white-space: nowrap;
}
.mock-rec .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FF5F57;
    box-shadow: 0 0 7px rgba(255, 95, 87, 0.9);
    animation: recPulse 1.2s ease-in-out infinite;
}
@keyframes recPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.72); }
}
.mock-body { flex: 1; display: flex; min-height: 0; }
.mock-side {
    width: 27%;
    min-width: 124px;
    background: #0A0C18;
    border-right: 1px solid var(--color-border);
    padding: 10px;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mock-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.mock-harness {
    font-weight: 600;
    font-size: 10.5px;
    color: #fff;
    background: rgba(108, 124, 255, 0.14);
    border-radius: 6px;
    padding: 4px 8px;
    margin-bottom: 2px;
}
.mock-conv {
    padding: 3px 8px 3px 16px;
    border-radius: 6px;
    color: var(--color-text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-conv.on { background: rgba(255, 76, 104, 0.13); color: #fff; }
.mock-conv.dim { opacity: 0.5; }
.mock-side-sec {
    margin-top: 9px;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-dim);
    padding: 0 4px;
}
.mock-meet {
    padding: 3px 8px;
    color: var(--color-text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-meet span { color: var(--color-accent); font-weight: 600; margin-right: 5px; font-size: 9.5px; }
.mock-user {
    margin-top: auto;
    font-size: 8.5px;
    color: var(--color-text-dim);
    border-top: 1px solid var(--color-border);
    padding-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mock-tabs {
    display: flex;
    gap: 11px;
    padding: 7px 12px;
    border-bottom: 1px solid var(--color-border);
    font-size: 8.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-dim);
    white-space: nowrap;
    overflow: hidden;
}
.mock-tabs .on { color: var(--color-accent); font-weight: 600; }
.mock-convtabs {
    display: flex;
    gap: 6px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--color-border);
    font-size: 9.5px;
}
.mock-convtab {
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 2px 10px;
    color: var(--color-text-dim);
    white-space: nowrap;
}
.mock-convtab.on { border-color: rgba(255, 76, 104, 0.5); color: #fff; background: rgba(255, 76, 104, 0.08); }
.mock-term {
    flex: 1;
    background: #05060C;
    font-family: 'SF Mono', ui-monospace, Menlo, monospace;
    font-size: 11px;
    line-height: 1.75;
    padding: 10px 14px;
    overflow: hidden;
}
.mock-term .u { color: #fff; }
.mock-term .s { color: var(--color-text-dim); }
.mock-term .k { color: var(--color-accent); }
.mock-cursor { color: var(--color-accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-status {
    display: flex;
    gap: 10px;
    padding: 5px 11px;
    border-top: 1px solid var(--color-border);
    font-family: 'SF Mono', ui-monospace, Menlo, monospace;
    font-size: 8px;
    color: var(--color-text-dim);
    white-space: nowrap;
    overflow: hidden;
}
.mock-status span:last-child { margin-left: auto; }
.mock-marker {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #0A0B14;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 0 12px rgba(255, 76, 104, 0.55);
}

.feat-list { display: flex; flex-direction: column; gap: 11px; }
.feat-list .card { padding: 15px 17px; }
.feat-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #0A0B14;
    font-size: 11.5px;
    font-weight: 700;
    margin-right: 9px;
    vertical-align: -3px;
    flex-shrink: 0;
}

/* ---------- Banda de descarga de IdleCowork ---------- */
.download-band {
    margin-top: 30px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    /* Franja de acento arriba. Sin border-image: anula el border-radius. */
    border-top: 3px solid var(--color-accent);
    border-radius: 18px;
    padding: 24px 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.download-band h3 { margin-bottom: 7px; }
.download-band p {
    color: var(--color-text-dim);
    font-size: 14.5px;
    max-width: 62ch;
    line-height: 1.55;
}
.download-band p strong { color: #fff; font-weight: 600; }
.download-band .btn { flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details {
    border-bottom: 1px solid var(--color-border);
    padding: 4px 0;
}
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 34px 18px 0;
    position: relative;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(15.5px, 1.7vw, 18px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
    color: var(--color-text-dim);
    font-size: 15px;
    padding: 0 20px 20px 0;
    max-width: 70ch;
}
.faq details p strong { color: #fff; font-weight: 600; }

/* ---------- CTA final ---------- */
.final-cta { text-align: center; overflow: hidden; }
.final-cta .shell { position: relative; z-index: 2; }
.final-cta h2 { max-width: 30ch; margin: 14px auto 0; }
.final-cta .lead { margin: 18px auto 0; text-align: center; }
.final-cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 44px 0 40px;
    font-size: 14px;
    color: var(--color-text-dim);
}
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    align-items: flex-start;
}
.site-footer img { height: 30px; width: auto; margin-bottom: 14px; }
.site-footer a { color: var(--color-text-dim); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
}

/* ---------- Reveal al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.in { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-group.in > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-group.in > *:nth-child(4) { transition-delay: 0.27s; }
.reveal-group.in > *:nth-child(5) { transition-delay: 0.36s; }

/* Si el JS no corre (o el visitante es un crawler sin JS), nada queda oculto */
.no-js .reveal, .no-js .reveal-group > * { opacity: 1; transform: none; }

/* ---------- Accesibilidad ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--color-surface);
    color: #fff;
    padding: 12px 18px;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal, .reveal-group > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .product-split { grid-template-columns: 1fr; gap: 24px; }
    .mock-scroll { position: static; }
    .mock-marker { display: none; }
}
@media (max-width: 860px) {
    .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
    .nav-links { display: none; }
    .site-nav .shell { gap: 16px; }
    .nav-logo img { height: 28px; }
    .nav-cta { margin-left: auto; }
    .hero h1 { max-width: none; }
    .step { grid-template-columns: 36px 1fr; gap: 16px; }
    .step-num { width: 36px; height: 36px; font-size: 16px; }
    .steps::before { left: 17px; }
    .hero-actions .btn { flex: 1 1 auto; }
}
