/* ===================================================================
   Mapa del Sitio — Arletex Design System v3.3
   ATREVIDO · TEXTIL · EDITORIAL · VARIADO
   Registros: Manifiesto · Fanzine · Dossier · Periódico
   Tokens --ax-* scoped en .sm-page para no filtrar al resto del sitio.
   =================================================================== */

.sm-page {
    --ax-ink:          #1F2530;
    --ax-ink-deep:     #141821;
    --ax-paper:        #FAF6EE;
    --ax-cream:        #F2EDE4;
    --ax-white:        #FFFFFF;
    --ax-orange:       #F15A29;
    --ax-orange-deep:  #B0401A;
    --ax-purple:       #6A52A2;
    --ax-purple-deep:  #382E59;
    --ax-yellow:       #FFEB3B;
    --ax-yellow-deep:  #C9B400;
    --ax-muted:        #6E6A60;
    --ax-muted-dark:   #A8A39A;
    --ax-rule:         rgba(14, 14, 14, 0.18);
    --ax-rule-on-dark: rgba(250, 246, 238, 0.18);
    --ax-whatsapp:     #25D366;

    --ax-font-display: 'Anton', 'Arial Narrow', sans-serif;
    --ax-font-accent:  'Fraunces', Georgia, serif;
    --ax-font-body:    'Lato', system-ui, sans-serif;
    --ax-font-mono:    'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

    --ax-motion-fast: 120ms;
    --ax-motion-base: 200ms;
    --ax-ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

    font-family: var(--ax-font-body);
    color: var(--ax-ink);
    background: var(--ax-white);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
.sm-page *, .sm-page *::before, .sm-page *::after { box-sizing: border-box; }

/* ── Layout ──────────────────────────────────────────────────────── */
.sm-section {
    position: relative;
    background: var(--ax-white);
    color: var(--ax-ink);
    padding: clamp(60px, 9vw, 120px) 0;
    overflow: hidden;
}
.sm-section--paper { background: var(--ax-paper); }
.sm-section--cream { background: var(--ax-cream); }
.sm-section--ink   { background: var(--ax-ink); color: var(--ax-paper); }
.sm-section--top-rule { border-top: 4px solid var(--ax-orange); }

/* grilla técnica sobre fondos oscuros (§9.3) */
.sm-section--texture-dark {
    background-image:
        linear-gradient(var(--ax-rule-on-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--ax-rule-on-dark) 1px, transparent 1px);
    background-size: 48px 48px;
    background-color: var(--ax-ink);
    color: var(--ax-paper);
}

.sm-container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px);
    z-index: 2;
}

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.sm-breadcrumb ol {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin: 0 0 clamp(20px, 3vw, 32px); padding: 0; list-style: none;
}
.sm-breadcrumb li {
    font-family: var(--ax-font-mono);
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ax-muted-dark);
}
.sm-breadcrumb li::after { content: '/'; margin-left: 10px; color: var(--ax-orange); }
.sm-breadcrumb li:last-child::after { content: ''; }
.sm-breadcrumb a { color: var(--ax-muted-dark); text-decoration: none; }
.sm-breadcrumb a:hover { color: var(--ax-orange); }
.sm-breadcrumb li[aria-current="page"] { color: var(--ax-orange); }

/* ── MegaText de fondo (§9.2) ────────────────────────────────────── */
.sm-mega {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--ax-font-display);
    text-transform: uppercase;
    font-size: clamp(7rem, 30vw, 26rem);
    line-height: .8; letter-spacing: -0.02em;
    color: var(--ax-rule-on-dark);
    z-index: 1; pointer-events: none; user-select: none;
    white-space: nowrap;
}

/* ── HERO (Manifiesto + MegaTextBg) ──────────────────────────────── */
.sm-hero { padding: clamp(80px, 13vw, 170px) 0; }
.sm-hero__eyebrow {
    display: inline-block;
    font-family: var(--ax-font-display); text-transform: uppercase;
    background: var(--ax-orange); color: var(--ax-paper);
    font-size: clamp(.8rem, 1.1vw, 1rem); letter-spacing: 0.14em;
    padding: 8px 16px 6px; margin-bottom: clamp(16px, 2.5vw, 28px);
}
.sm-hero__title {
    font-family: var(--ax-font-display); text-transform: uppercase;
    font-size: clamp(3.5rem, 16vw, 12rem) !important;
    line-height: .82; letter-spacing: -0.02em;
    margin: 0; color: var(--ax-paper);
}
.sm-hero__title em {
    font-family: var(--ax-font-accent); font-style: italic; font-weight: 400;
    text-transform: lowercase; letter-spacing: -0.03em; color: var(--ax-orange);
}
.sm-hero__lede {
    font-family: var(--ax-font-accent); font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: var(--ax-muted-dark);
    margin: clamp(1.2rem, 2.5vw, 2rem) 0 0; max-width: 44ch;
}
/* burst sticker */
.sm-burst {
    position: absolute; z-index: 3;
    right: clamp(16px, 5vw, 90px); top: clamp(60px, 12vw, 130px);
    width: clamp(110px, 16vw, 168px); height: clamp(110px, 16vw, 168px);
    background: var(--ax-yellow); color: var(--ax-ink);
    display: grid; place-items: center; text-align: center;
    font-family: var(--ax-font-display); text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 1.6rem); line-height: .95;
    border-radius: 9999px; transform: rotate(-9deg);
    box-shadow: 0 8px 0 var(--ax-yellow-deep);
}
@media (max-width: 640px) { .sm-burst { display: none; } }
/* counts mono */
.sm-counts {
    display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
    margin: clamp(2rem, 5vw, 4rem) 0 0;
    border-top: 1px solid var(--ax-rule-on-dark); padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.sm-counts__num {
    font-family: var(--ax-font-display);
    font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: .85;
    color: var(--ax-orange); font-variant-numeric: tabular-nums;
}
.sm-counts__lbl {
    font-family: var(--ax-font-mono);
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ax-muted-dark); margin-top: 8px;
}

/* ── MARQUEE ─────────────────────────────────────────────────────── */
.sm-marquee {
    background: var(--ax-ink); overflow: hidden; position: relative;
    border-top: 3px solid var(--ax-orange); border-bottom: 3px solid var(--ax-orange);
    padding: 16px 0;
}
.sm-marquee__track {
    display: inline-flex; gap: clamp(1.5rem, 3vw, 3rem); white-space: nowrap;
    font-family: var(--ax-font-display); text-transform: uppercase;
    font-size: clamp(1.4rem, 2.6vw, 2.3rem); line-height: 1;
    animation: sm-scroll 32s linear infinite; will-change: transform;
}
.sm-marquee__track > span:nth-of-type(odd)  { color: var(--ax-paper); }
.sm-marquee__track > span:nth-of-type(even) { color: var(--ax-orange); }
.sm-marquee:hover .sm-marquee__track { animation-play-state: paused; }
@keyframes sm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sm-marquee__track { animation: none; } }

/* ── MENÚ DE SALTO ───────────────────────────────────────────────── */
.sm-page { scroll-behavior: smooth; }
/* el header + la barra de salto son sticky: deja aire para que el título
   no quede tapado al saltar a una sección (barra llega a ~189px desktop). */
.sm-section { scroll-margin-top: 110px; }

.sm-nav {
    position: sticky; top: 113px; z-index: 50;
    background: var(--ax-white);
    border-bottom: 1px solid var(--ax-rule);
}
@media (max-width: 720px) {
    .sm-nav { top: 105px; }
    .sm-section { scroll-margin-top: 140px; }   /* barra llega a ~171px en móvil */
}
.sm-nav__inner {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    max-width: 1440px; margin: 0 auto;
    padding: 16px clamp(20px, 4vw, 56px);
}
.sm-nav__lbl {
    font-family: var(--ax-font-mono);
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ax-muted); margin-right: 6px;
}
.sm-nav__link {
    display: inline-flex; align-items: baseline; gap: 8px;
    font-family: var(--ax-font-body); font-weight: 700;
    font-size: .82rem; letter-spacing: 0.03em; text-transform: uppercase;
    color: var(--ax-ink); text-decoration: none;
    padding: 9px 16px;
    border: 2px solid var(--ax-ink);
    transition: background var(--ax-motion-base) var(--ax-ease-out),
                color var(--ax-motion-base) var(--ax-ease-out),
                transform var(--ax-motion-base) var(--ax-ease-out),
                box-shadow var(--ax-motion-base) var(--ax-ease-out);
}
.sm-nav__link b {
    font-family: var(--ax-font-mono); font-weight: 700;
    color: var(--ax-orange); font-size: .9em;
}
.sm-nav__link:hover,
.sm-nav__link:focus {
    background: var(--ax-ink); color: var(--ax-paper);
    text-decoration: none;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--ax-orange);
}
.sm-nav__link:hover b, .sm-nav__link:focus b { color: var(--ax-orange); }
/* activo (scrollspy): mismo fill, sin desplazamiento — indicador estable */
.sm-nav__link.is-active {
    background: var(--ax-ink); color: var(--ax-paper);
    box-shadow: 4px 4px 0 var(--ax-orange);
}
.sm-nav__link.is-active b { color: var(--ax-orange); }

/* Móvil: una sola fila deslizable con snap — evita que los enlaces apilen
   y la barra sticky ocupe media pantalla. (Después de las reglas base.) */
@media (max-width: 720px) {
    .sm-nav__inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-top: 12px; padding-bottom: 12px;
        scrollbar-width: none;                       /* Firefox */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;               /* snap físico al deslizar */
        scroll-padding-left: clamp(20px, 4vw, 56px);
    }
    .sm-nav__inner::-webkit-scrollbar { display: none; }   /* WebKit */
    .sm-nav__lbl { flex-shrink: 0; }
    .sm-nav__link {
        flex-shrink: 0; white-space: nowrap; padding: 8px 12px;
        scroll-snap-align: start;
    }
    .sm-nav__link:last-child { margin-right: clamp(20px, 4vw, 56px); }
}

@media (prefers-reduced-motion: reduce) {
    .sm-page { scroll-behavior: auto; }
    .sm-nav__link:hover, .sm-nav__link:focus { transform: none; }
}

/* ── Apertura: NumberProtagonist ─────────────────────────────────── */
.sm-head {
    display: grid; grid-template-columns: 1fr; gap: clamp(.8rem, 2vw, 1.4rem);
    align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
    border-bottom: 2px solid currentColor;
}
@media (min-width: 760px) {
    .sm-head { grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
}
.sm-head__num {
    font-family: var(--ax-font-display);
    font-size: clamp(5rem, 15vw, 12rem); line-height: .76;
    letter-spacing: -0.04em; color: var(--ax-orange);
    font-variant-numeric: tabular-nums;
}
.sm-head__eyebrow {
    font-family: var(--ax-font-mono);
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ax-muted); display: block; margin-bottom: .6rem;
}
.sm-section--ink .sm-head__eyebrow,
.sm-section--texture-dark .sm-head__eyebrow { color: var(--ax-muted-dark); }
.sm-head__title {
    font-family: var(--ax-font-display); text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3.6rem) !important; line-height: .92; letter-spacing: -0.01em;
    margin: 0;
    color: var(--ax-ink);   /* explícito: gana sobre el color de h2 del CSS global */
}
.sm-section--ink .sm-head__title,
.sm-section--texture-dark .sm-head__title { color: var(--ax-paper); }
.sm-head__title em {
    font-family: var(--ax-font-accent); font-style: italic; font-weight: 400;
    text-transform: lowercase; letter-spacing: -0.025em; color: var(--ax-orange);
}

/* ── CATÁLOGO POR CATEGORÍAS (tarjetas alineadas) ────────────────── */
.sm-catgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(18px, 2vw, 26px);
    align-items: start;
}
.sm-cat {
    display: flex; flex-direction: column;
    background: var(--ax-white);
    border: 2px solid var(--ax-ink);
    border-top: 4px solid var(--ax-orange);
    box-shadow: 5px 5px 0 var(--ax-ink);
    padding: clamp(20px, 2vw, 26px);
    transition: transform var(--ax-motion-base) var(--ax-ease-out),
                box-shadow var(--ax-motion-base) var(--ax-ease-out);
}
.sm-cat:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ax-orange); }
.sm-cat__title {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    font-family: var(--ax-font-display); text-transform: uppercase;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1; letter-spacing: 0.02em;
    color: var(--ax-ink);
    margin: 0 0 16px; padding-bottom: 12px;
    border-bottom: 2px solid var(--ax-ink);
}
.sm-cat__count {
    font-family: var(--ax-font-mono);
    font-size: 12px; letter-spacing: 0.1em; color: var(--ax-orange);
    flex-shrink: 0; align-self: center;
}

/* lista de enlaces de tela (side-shift hover) */
.sm-cat__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sm-cat__list > li { border-bottom: 1px solid var(--ax-rule); }
.sm-cat__list > li:last-child { border-bottom: none; }
.sm-cat__list a {
    display: block; padding: 9px 0;
    font-family: var(--ax-font-body); font-weight: 700;
    font-size: .95rem; letter-spacing: 0.01em;
    color: var(--ax-ink); text-decoration: none;
    transition: color var(--ax-motion-base) var(--ax-ease-out),
                padding-left var(--ax-motion-base) var(--ax-ease-out);
}
.sm-cat__list a:hover { color: var(--ax-orange); padding-left: 8px; }

/* nombre de familia sin enlace (p.ej. Franela, Tul) */
.sm-cat__list .sm-cat__family {
    display: block; padding: 9px 0 4px;
    font-family: var(--ax-font-body); font-weight: 700; font-size: .95rem;
    color: var(--ax-ink);
}

/* sub-variantes indentadas con hairline lateral */
.sm-cat__subs {
    list-style: none; margin: 2px 0 8px; padding: 0 0 0 14px;
    border-left: 2px solid var(--ax-rule);
    display: flex; flex-direction: column; gap: 2px;
}
.sm-cat__subs a {
    display: block; padding: 4px 0;
    font-family: var(--ax-font-body); font-weight: 400; font-size: .85rem;
    color: var(--ax-muted); text-decoration: none;
    transition: color var(--ax-motion-fast) var(--ax-ease-out),
                padding-left var(--ax-motion-fast) var(--ax-ease-out);
}
.sm-cat__subs a:hover { color: var(--ax-orange); padding-left: 6px; }

/* ── RUTAS TEMÁTICAS (Fanzine, cards on dark) ────────────────────── */
.sm-deck {
    display: grid; gap: clamp(20px, 2.5vw, 30px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    align-items: start;        /* cada panel toma su altura natural, sin huecos */
}
.sm-panel {
    position: relative;
    background: var(--ax-ink-deep);
    border: 1px solid var(--ax-rule-on-dark);
    border-top: 4px solid var(--ax-orange);
    padding: clamp(22px, 2.6vw, 30px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.45);
    transition: transform var(--ax-motion-base) var(--ax-ease-out),
                box-shadow var(--ax-motion-base) var(--ax-ease-out);
}
.sm-panel:hover {
    transform: translate(-3px, -3px);
    box-shadow: 11px 11px 0 var(--ax-orange);
}
.sm-panel__idx {
    display: inline-grid; place-items: center;
    width: clamp(44px, 4vw, 56px); height: clamp(44px, 4vw, 56px);
    background: var(--ax-orange); color: var(--ax-ink);
    font-family: var(--ax-font-display);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1;
    margin-bottom: 16px;
}
.sm-panel__title {
    font-family: var(--ax-font-display); text-transform: uppercase;
    font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.02; letter-spacing: 0.02em;
    color: var(--ax-paper); margin: 0 0 16px;
    padding-bottom: 14px; border-bottom: 2px solid var(--ax-rule-on-dark);
}
.sm-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sm-panel li { border-bottom: 1px solid var(--ax-rule-on-dark); }
.sm-panel li:last-child { border-bottom: none; }
.sm-panel a {
    display: flex; align-items: baseline; gap: 10px; padding: 9px 0;
    font-family: var(--ax-font-body); font-weight: 700; font-size: .92rem;
    color: var(--ax-paper); text-decoration: none;
    transition: color var(--ax-motion-base) var(--ax-ease-out),
                padding-left var(--ax-motion-base) var(--ax-ease-out);
}
.sm-panel a::before {
    content: '→'; color: var(--ax-orange); flex-shrink: 0;
    opacity: 0; margin-left: -18px;
    transition: opacity var(--ax-motion-base) var(--ax-ease-out),
                margin-left var(--ax-motion-base) var(--ax-ease-out);
}
.sm-panel a:hover { color: var(--ax-orange); padding-left: 4px; }
.sm-panel a:hover::before { opacity: 1; margin-left: 0; }

/* panel ancho (lista larga a doble columna) */
.sm-panel--wide { grid-column: span 2; }
.sm-panel--wide ul {
    display: block; columns: 2 150px; column-gap: clamp(20px, 3vw, 40px);
}
.sm-panel--wide li { break-inside: avoid; }
@media (max-width: 640px) { .sm-panel--wide { grid-column: span 1; } }

/* ── BLOG (Periódico + DropCap) ──────────────────────────────────── */
.sm-dropcap-p {
    font-family: var(--ax-font-body);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55;
    max-width: 62ch; margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.sm-dropcap {
    float: left; font-family: var(--ax-font-accent); font-style: italic;
    font-size: clamp(4rem, 8vw, 6rem); line-height: .82; color: var(--ax-orange);
    padding: .1em .15em 0 0; margin-top: .05em;
}
.sm-dropcap-p em {
    font-family: var(--ax-font-accent); font-style: italic; color: var(--ax-ink);
    background: rgba(241, 90, 41, .12); padding: 0 .15em;
}
.sm-posts {
    list-style: none; margin: 0; padding: 0;
    columns: 3 290px; column-gap: clamp(28px, 3.5vw, 56px);
    column-rule: 1px solid var(--ax-rule);
    counter-reset: sm-post;
}
.sm-posts li {
    break-inside: avoid;
    counter-increment: sm-post;
    border-bottom: 1px solid var(--ax-rule);
}
.sm-posts a {
    display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline;
    padding: 13px 12px 13px 0;
    font-family: var(--ax-font-body); font-weight: 700; font-size: .95rem; line-height: 1.3;
    color: var(--ax-ink); text-decoration: none;
    transition: color var(--ax-motion-base) var(--ax-ease-out),
                background var(--ax-motion-base) var(--ax-ease-out),
                padding-left var(--ax-motion-base) var(--ax-ease-out);
}
.sm-posts a::before {
    content: counter(sm-post, decimal-leading-zero);
    font-family: var(--ax-font-mono);
    font-size: .8rem; letter-spacing: .04em; line-height: 1.4;
    color: var(--ax-orange); align-self: start;
}
.sm-posts a:hover {
    color: var(--ax-orange);
    background: rgba(241, 90, 41, 0.07);
    padding-left: 10px;
}

/* ── EMPRESA (botones-marco chunky con icono) ────────────────────── */
.sm-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: clamp(14px, 1.6vw, 20px);
}
.sm-tile {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--ax-font-display); text-transform: uppercase;
    font-size: clamp(.95rem, 1.3vw, 1.2rem); letter-spacing: 0.03em; line-height: 1.05;
    color: var(--ax-ink); text-decoration: none;
    padding: 18px 22px; background: var(--ax-white);
    border: 2px solid var(--ax-ink); box-shadow: 5px 5px 0 var(--ax-ink);
    transition: transform var(--ax-motion-base) var(--ax-ease-out),
                box-shadow var(--ax-motion-base) var(--ax-ease-out),
                background var(--ax-motion-base) var(--ax-ease-out),
                color var(--ax-motion-base) var(--ax-ease-out);
}
.sm-tile i {
    flex-shrink: 0; width: 1.4em; text-align: center;
    color: var(--ax-orange); font-size: 1.15em;
    transition: color var(--ax-motion-base) var(--ax-ease-out);
}
.sm-tile:hover,
.sm-tile:focus {
    transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ax-orange);
    background: var(--ax-ink); color: var(--ax-paper); text-decoration: none;
}
.sm-tile:hover i, .sm-tile:focus i { color: var(--ax-orange); }

/* ── CTA FINAL ───────────────────────────────────────────────────── */
.sm-cta { text-align: center; }
.sm-cta__eyebrow {
    display: inline-block;
    font-family: var(--ax-font-mono);
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ax-muted-dark); margin-bottom: clamp(1rem, 2vw, 1.4rem);
}
.sm-cta__title {
    font-family: var(--ax-font-display); text-transform: uppercase;
    font-size: clamp(2.4rem, 8vw, 5.5rem); line-height: .98; letter-spacing: -0.01em;
    color: var(--ax-paper); margin: 0 auto; max-width: 18ch;
}
.sm-cta__title em {
    font-family: var(--ax-font-accent); font-style: italic; font-weight: 400;
    text-transform: lowercase; color: var(--ax-orange); line-height: 1;
}
.sm-cta__lede {
    font-family: var(--ax-font-accent); font-style: italic;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ax-muted-dark);
    margin: clamp(1rem, 2vw, 1.4rem) auto 0; max-width: 46ch;
}
.sm-cta__actions {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: clamp(16px, 2.5vw, 28px);
    margin-top: clamp(2rem, 4vw, 3rem);
}
.sm-cta__ghost {
    font-family: var(--ax-font-body); font-weight: 700;
    font-size: .9rem; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--ax-paper);
    text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
    text-decoration-color: var(--ax-rule-on-dark);
    transition: color var(--ax-motion-base) var(--ax-ease-out),
                text-decoration-color var(--ax-motion-base) var(--ax-ease-out);
}
.sm-cta__ghost:hover, .sm-cta__ghost:focus {
    color: var(--ax-orange); text-decoration-color: var(--ax-orange);
}
.sm-cta__btn {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--ax-font-display); text-transform: uppercase;
    font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: 0.04em;
    color: var(--ax-white); text-decoration: none;
    padding: 18px 34px; background: var(--ax-whatsapp);
    border: 2px solid var(--ax-paper); box-shadow: 8px 8px 0 var(--ax-orange);
    transition: transform var(--ax-motion-fast) var(--ax-ease-out),
                box-shadow var(--ax-motion-fast) var(--ax-ease-out);
}
/* el CSS global pinta los <a> de azul y subrayado en hover — lo anulamos */
.sm-cta__btn:hover,
.sm-cta__btn:focus,
.sm-cta__btn:active {
    color: var(--ax-white);
    text-decoration: none;
}
.sm-cta__btn:hover  { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ax-orange); }
.sm-cta__btn:active { transform: translate(2px, 2px);   box-shadow: 4px 4px 0 var(--ax-orange); }

/* ── PARALLAX (scroll-driven, off-thread) ────────────────────────── */
/* El mega-texto de fondo se desplaza más lento que el contenido al
   hacer scroll, creando profundidad. Fallback: estático si el navegador
   no soporta animation-timeline; se desactiva con reduce-motion. */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: scroll()) {
        /* HERO: ligado al scroll del documento desde el tope */
        .sm-hero .sm-mega {
            animation: sm-parallax-hero linear both;
            animation-timeline: scroll(root block);
            animation-range: 0 100vh;
        }
        @keyframes sm-parallax-hero {
            from { transform: translate(-50%, -50%); }
            to   { transform: translate(-50%, calc(-50% + 150px)); }
        }
        /* Burst amarillo: ritmo distinto (capa más cercana) */
        .sm-hero .sm-burst {
            animation: sm-parallax-burst linear both;
            animation-timeline: scroll(root block);
            animation-range: 0 100vh;
        }
        @keyframes sm-parallax-burst {
            from { transform: rotate(-9deg) translateY(0); }
            to   { transform: rotate(-9deg) translateY(-70px); }
        }
        /* CTA final: ligado a la visibilidad de su propia sección */
        .sm-cta .sm-mega {
            animation: sm-parallax-cta linear both;
            animation-timeline: view();
            animation-range: entry 0% exit 100%;
        }
        @keyframes sm-parallax-cta {
            from { transform: translate(-50%, calc(-50% - 90px)); }
            to   { transform: translate(-50%, calc(-50% + 90px)); }
        }
    }
}

/* ── Focus + motion safe ─────────────────────────────────────────── */
.sm-page a:focus-visible { outline: 3px solid var(--ax-orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .sm-chip, .sm-group, .sm-panel, .sm-posts a, .sm-tile, .sm-cta__btn { transition: none; }
    .sm-chip:hover, .sm-group:hover, .sm-panel:hover, .sm-posts a:hover,
    .sm-tile:hover, .sm-cta__btn:hover { transform: none; }
}
