/* ==========================================================================
   MXWin Casino — hoja de estilos principal
   Orden de reglas: cascada (tokens -> base -> componentes -> utilidades)
   ========================================================================== */

/* --- Tipografias autoalojadas ------------------------------------------ */
@font-face {
    font-family: "Archivo";
    src: url("/letterset/archivo-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Archivo";
    src: url("/letterset/archivo-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("/letterset/barlow-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("/letterset/barlow-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("/letterset/barlow-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --- Tokens de diseno --------------------------------------------------- */
:root {
    /* color */
    --ink-core: #41a3f5;
    --ink-accent: #126cff;
    --ink-key-active: #025be3;
    --ink-ground: #050c35;
    --ink-layer: #0c1546;
    --ink-letters: #ffffff;
    --ink-quiet: #bfbdbd;
    --ink-line: #1d2a63;
    --ink-stroke-heavy: #35427f;
    --ink-grad-1: #9ac3fe;
    --ink-grad-2: #4c92ff;
    --ink-rg-banner: #b02a37;

    /* espaciado */
    --gut-1: 5px;
    --gut-2: 10px;
    --gut-3: 15px;
    --gut-4: 25px;
    --gut-5: 40px;
    --gut-6: 60px;
    --gut-7: 90px;
    --gut-8: 140px;
    --sec-y: 44px;

    /* geometria: arriba suave, abajo recto */
    --crn-1: 2px 2px 0 0;
    --crn-2: 4px 4px 0 0;
    --crn-3: 6px 6px 0 0;
    --crn-4: 12px 12px 0 0;
    --crn-5: 20px 20px 0 0;
    --crn-6: 26px 26px 0 0;
    --crn-7: 32px 32px 0 0;
    --crn-8: 40px 40px 0 0;
    --crn-capsule: 9999px 9999px 0 0;
    --crn-round-full: 50%;
    --str-hair: 1px;
    --str-regular: 2px;
    --str-heavy: 3px;
    --dep-1: 0 -1px 0 rgba(0, 0, 0, 0.08) inset;
    --dep-2: 0 1px 2px rgba(0, 0, 0, 0.10);
    --dep-3: 0 2px 4px rgba(0, 0, 0, 0.16);
    --dep-4: 0 4px 12px rgba(0, 0, 0, 0.22);
    --dep-5: 0 10px 28px rgba(0, 0, 0, 0.30);
    --dep-6: 0 16px 40px rgba(0, 0, 0, 0.36);
    --dep-7: 0 22px 54px rgba(0, 0, 0, 0.42);
    --dep-8: 0 30px 70px rgba(0, 0, 0, 0.48);

    /* tipografia (movil primero) */
    --fnt-heading: "Archivo", "Trebuchet MS", sans-serif;
    --fnt-copy: "Barlow", "Segoe UI", sans-serif;
    --sz-title: 28px;
    --sz-xl-2: 24px;
    --sz-lg-2: 20px;
    --sz-h4: 18px;
    --sz-minor: 16px;
    --sz-micro-head: 14px;
    --sz-copy: 16px;
    --sz-petite: 14px;
    --sz-tiny: 12px;
    --ln-close: 1.25;
    --ln-base: 1.6;
    --ln-open: 1.8;
    --wt-regular: 400;
    --wt-half: 500;
    --wt-thick: 600;
    --tr-snug: 0;
    --tr-base: 0;
    --tr-airy: 0.01em;

    /* movimiento */
    --spd-swift: 82ms;
    --spd-steady: 170ms;
    --spd-slow: 330ms;
    --crv-settle: cubic-bezier(0.23, 0.63, 0.46, 0.95);
    --crv-enter: cubic-bezier(0.56, 0.11, 0.31, 0.9);
    --crv-both: cubic-bezier(0.56, 0.11, 0.31, 0.9);
    --crv-bounce: cubic-bezier(0.28, 1.2, 0.61, 1.15);

    /* contenedores */
    --cont-outer: 1360px;
    --cont-column: 1360px;
    --cont-slim: 500px;
    --cont-inset-desktop: 48px;
    --cont-pad-md: 32px;
    --cont-inset-mobile: 16px;
    --cont-edge: var(--cont-inset-mobile);

    /* cabecera */
    --top-height-desktop: 48px;
    --top-h-sm: 62px;
    --top-pad: 118px;
}

/* --- Escala tipografica de escritorio ---------------------------------- */
@media (min-width: 900px) {
    :root {
        --sz-title: 38px;
        --sz-xl-2: 30px;
        --sz-lg-2: 24px;
        --sz-h4: 20px;
        --sz-minor: 17px;
        --sz-micro-head: 15px;
        --sz-copy: 17px;
        --sz-petite: 15px;
        --sz-tiny: 13px;
        --sec-y: 52px;
        --cont-edge: var(--cont-inset-desktop);
    }
}
@media (min-width: 600px) and (max-width: 899px) {
    :root {
        --cont-edge: var(--cont-pad-md);
    }
}

/* --- Reset y base ------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: clip;
}

html {
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink-ground);
    color: var(--ink-letters);
    font-family: var(--fnt-copy);
    font-size: var(--sz-copy);
    font-weight: var(--wt-regular);
    line-height: var(--ln-open);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    counter-reset: section;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: anywhere;
    margin: 0;
    font-family: var(--fnt-heading);
    color: var(--ink-letters);
}

h1 {
    font-size: var(--sz-title);
    font-weight: var(--wt-thick);
    line-height: var(--ln-close);
    letter-spacing: var(--tr-base);
}

h2 {
    font-size: var(--sz-xl-2);
    font-weight: var(--wt-thick);
    line-height: var(--ln-close);
}

h3 {
    font-size: var(--sz-lg-2);
    font-weight: var(--wt-thick);
    line-height: var(--ln-close);
}

h4 {
    font-family: var(--fnt-copy);
    font-size: var(--sz-h4);
    font-weight: var(--wt-half);
}

p {
    margin: 0 0 var(--gut-3);
}

a {
    color: var(--ink-core);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--spd-swift) var(--crv-settle),
        text-decoration-thickness var(--spd-swift) var(--crv-settle);
}

a:hover {
    color: var(--ink-grad-1);
    text-decoration-thickness: 3px;
}

img {
    max-width: 100%;
}

ul,
ol {
    margin: 0 0 var(--gut-3);
    padding-left: var(--gut-4);
}

li {
    margin-bottom: var(--gut-1);
}

table {
    border-collapse: collapse;
}

button {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--ink-grad-1);
    outline-offset: 2px;
}

.mainflow {
    flex: 1 0 auto;
    display: block;
}

section {
    scroll-margin-top: calc(var(--top-pad) + 12px);
}

/* --- Contenedor comun de secciones ------------------------------------- */
.parapet-shell,
.trellis-shell,
.quatrefoil-shell,
.brazier-shell,
.transom-shell,
.gallery-shell,
.portal-shell,
.cartouche-shell,
.hallway-shell,
.pulpit-shell,
.banner-shell,
.lobby-shell,
.loft-shell,
.mast-shell,
.tribune-shell,
.rotunda-shell,
.sconce-shell,
.frieze-shell {
    width: 100%;
    max-width: calc(var(--cont-outer) + 2 * var(--cont-inset-desktop));
    margin-inline: auto;
    padding-inline: var(--cont-edge);
}

/* --- Enlace de salto y utilidades a11y --------------------------------- */
.skip-path {
    position: absolute;
    left: var(--gut-3);
    z-index: 200;
    padding: var(--gut-2) var(--gut-3);
    background: var(--ink-accent);
    color: var(--ink-letters);
    font-size: var(--sz-petite);
    text-decoration: none;
}

.skip-path:not(:focus) {
    top: -200px !important;
}

.skip-path:focus {
    top: var(--gut-2);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Aparicion de bloques al desplazar --------------------------------- */
[data-visible] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity var(--spd-slow) var(--crv-settle),
        transform var(--spd-slow) var(--crv-settle);
}

[data-visible="on-screen"] {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    [data-visible] {
        opacity: 1;
        transform: none;
    }
}

/* --- Franja 18+ (RG-01) ------------------------------------------------- */
.rg-strip {
    margin: 0;
    padding: var(--gut-1) var(--cont-edge);
    background: var(--ink-rg-banner);
    color: var(--ink-letters);
    font-size: var(--sz-tiny);
    line-height: 1.5;
    letter-spacing: var(--tr-airy);
    text-align: center;
    display: block;
}

.rg-strip-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    margin-right: 6px;
    padding: 0 5px;
    background: var(--ink-letters);
    color: var(--ink-rg-banner);
    font-weight: var(--wt-thick);
    border-radius: var(--crn-1);
}

.rg-strip-path {
    color: var(--ink-letters);
    background: var(--ink-rg-banner);
    text-decoration: underline;
}

.rg-strip-path:hover {
    color: var(--ink-letters);
    background: var(--ink-rg-banner);
    text-decoration-thickness: 3px;
}

/* --- Cabecera HEAD-CENTER ---------------------------------------------- */
.parapet {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--ink-ground);
    border-bottom: var(--str-hair) solid var(--ink-line);
    box-shadow: var(--dep-3);
    transition: box-shadow var(--spd-steady) var(--crv-settle),
        padding var(--spd-steady) var(--crv-settle);
    padding-block: var(--gut-2);
}

.parapet.is-shrunk {
    padding-block: 3px;
    box-shadow: var(--dep-5);
}

.parapet-crown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--gut-2);
    width: 100%;
    max-width: calc(var(--cont-outer) + 2 * var(--cont-inset-desktop));
    margin-inline: auto;
    padding-inline: var(--cont-edge);
    min-height: 52px;
}

.parapet-flank {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.parapet-badge {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.parapet-shot {
    display: block;
    height: 34px;
    width: auto;
    transition: height var(--spd-steady) var(--crv-settle);
}

.parapet.is-shrunk .parapet-shot {
    height: 26px;
}

.parapet-deck {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--gut-2);
    flex-wrap: nowrap;
    min-width: 0;
}

.parapet-menu-lever {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 46px;
    min-height: 44px;
    padding: 0 var(--gut-2);
    background: var(--ink-layer);
    color: var(--ink-letters);
    border: var(--str-hair) solid var(--ink-stroke-heavy);
    border-radius: var(--crn-3);
    cursor: pointer;
}

.parapet-dots {
    display: inline-flex;
    gap: 4px;
}

.parapet-dots::before,
.parapet-dots::after {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--ink-letters);
    border-radius: var(--crn-round-full);
}

.parapet-dots-mid {
    width: 5px;
    height: 5px;
    background: var(--ink-letters);
    border-radius: var(--crn-round-full);
}

.parapet-tap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: var(--gut-4);
    background: var(--ink-accent);
    color: var(--ink-letters);
    font-family: var(--fnt-copy);
    font-size: var(--sz-petite);
    font-weight: var(--wt-half);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border: var(--str-regular) solid var(--ink-grad-2);
    border-radius: var(--crn-capsule);
}

.parapet-tap:hover {
    background: var(--ink-key-active);
    color: var(--ink-letters);
}

.parapet-goto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: var(--gut-4);
    background: var(--ink-ground);
    color: var(--ink-letters);
    font-size: var(--sz-petite);
    font-weight: var(--wt-half);
    text-decoration: none;
    white-space: nowrap;
    border: var(--str-regular) solid var(--ink-stroke-heavy);
    border-radius: var(--crn-capsule);
}

.parapet-goto:hover {
    background: var(--ink-letters);
    color: var(--ink-ground);
}

/* fila de menu: aqui vive la altura declarada de la cabecera */
.parapet-bar {
    display: none;
}

@media (min-width: 900px) {
    .parapet-bar {
        display: block;
        border-top: var(--str-hair) solid var(--ink-line);
        margin-top: var(--gut-2);
    }

    .parapet-menu-lever {
        display: none;
    }
}

.parapet-index {
    width: 100%;
    max-width: calc(var(--cont-outer) + 2 * var(--cont-inset-desktop));
    margin-inline: auto;
    padding-inline: var(--cont-edge);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parapet-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: var(--gut-2);
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 48px;
}

.parapet-node {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    position: relative;
}

.parapet-node[hidden] {
    display: none;
}

.parapet-node + .parapet-node::before {
    content: "\00b7";
    margin-right: var(--gut-2);
    color: var(--ink-stroke-heavy);
    font-size: var(--sz-tiny);
}

.parapet-path {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 var(--gut-2);
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-family: var(--fnt-copy);
    font-size: 13px;
    font-weight: 500;
    font-variant: small-caps;
    letter-spacing: var(--tr-airy);
    text-decoration: none;
    white-space: nowrap;
    border-radius: var(--crn-capsule);
    border-bottom: var(--str-regular) solid transparent;
}

.parapet-path:hover {
    color: var(--ink-letters);
    background: var(--ink-ground);
    border-bottom-color: var(--ink-core);
}

.parapet-path[aria-current="page"] {
    background: var(--ink-accent);
    color: var(--ink-letters);
    font-weight: var(--wt-thick);
}

.parapet-more-lever {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 var(--gut-2);
    background: var(--ink-layer);
    color: var(--ink-letters);
    font-size: 13px;
    font-weight: 500;
    font-variant: small-caps;
    border: var(--str-hair) solid var(--ink-stroke-heavy);
    border-radius: var(--crn-capsule);
    cursor: pointer;
    white-space: nowrap;
}

.parapet-more-pane {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 95;
    min-width: 220px;
    max-height: 60vh;
    overflow-y: auto;
    margin: 0;
    padding: var(--gut-2);
    list-style: none;
    background: var(--ink-layer);
    border: var(--str-hair) solid var(--ink-stroke-heavy);
    border-radius: var(--crn-3);
    box-shadow: var(--dep-5);
}

.parapet-more-pane.is-open {
    display: block;
}

.parapet-more-pane .parapet-node {
    display: flex;
    width: 100%;
}

.parapet-more-pane .parapet-node::before {
    content: none;
}

.parapet-more-pane .parapet-path {
    width: 100%;
    background: var(--ink-layer);
    color: var(--ink-letters);
}

.parapet-more-pane .parapet-path:hover {
    background: var(--ink-accent);
    color: var(--ink-letters);
}

/* --- Panel movil -------------------------------------------------------- */
.parapet-dock {
    display: none;
    background: var(--ink-layer);
    border-top: var(--str-hair) solid var(--ink-line);
    max-height: 70vh;
    overflow-y: auto;
}

.parapet-dock.is-open {
    display: block;
}

.parapet-dock-chain {
    margin: 0;
    padding: var(--gut-2) var(--cont-edge) var(--gut-3);
    list-style: none;
}

.parapet-dock-node {
    margin: 0;
}

.parapet-dock-path {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 var(--gut-2);
    color: var(--ink-letters);
    background: var(--ink-layer);
    font-size: var(--sz-minor);
    font-weight: var(--wt-half);
    text-decoration: none;
}

.parapet-dock-path:hover {
    background: var(--ink-ground);
    color: var(--ink-letters);
}

.parapet-dock-path[aria-current="page"] {
    background: var(--ink-accent);
    color: var(--ink-letters);
}

@media (min-width: 900px) {
    .parapet-dock,
    .parapet-dock.is-open {
        display: none !important;
    }
}

/* --- Hero HERO-02 (foto a la derecha) ---------------------------------- */
.quatrefoil {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.quatrefoil-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gut-5);
    align-items: center;
}

.quatrefoil-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quatrefoil-eyebrow {
    display: inline-block;
    margin-bottom: var(--gut-3);
    color: var(--ink-core);
    background: var(--ink-ground);
    font-family: var(--fnt-copy);
    font-size: var(--sz-petite);
    font-weight: var(--wt-half);
    letter-spacing: var(--tr-airy);
    text-transform: uppercase;
}

.quatrefoil-head {
    margin-bottom: var(--gut-3);
}

.quatrefoil-kicker {
    margin: 0 0 var(--gut-4);
    color: var(--ink-quiet);
    font-size: var(--sz-minor);
    line-height: var(--ln-base);
}

.quatrefoil-deck {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gut-3);
    margin-bottom: var(--gut-3);
}

.quatrefoil-quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding-inline: var(--gut-5);
    background: var(--ink-ground);
    color: var(--ink-letters);
    font-size: var(--sz-minor);
    font-weight: var(--wt-half);
    text-decoration: none;
    border: var(--str-hair) solid var(--ink-stroke-heavy);
    border-radius: var(--crn-4);
}

.quatrefoil-quiet:hover {
    background: var(--ink-letters);
    color: var(--ink-ground);
}

.quatrefoil-aside {
    display: block;
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-size: var(--sz-tiny);
    line-height: 1.5;
}

.quatrefoil-frame {
    margin: 0;
    overflow: hidden;
    border-radius: var(--crn-5);
    box-shadow: var(--dep-5);
    background: var(--ink-layer);
}

.quatrefoil-shot {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--spd-slow) var(--crv-settle);
}

.quatrefoil-frame:hover .quatrefoil-shot {
    transform: scale(1.04);
}

@media (min-width: 900px) {
    .quatrefoil-shell {
        grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
        gap: var(--gut-6);
    }

    .quatrefoil-shot {
        height: 430px;
    }
}

/* --- Cabecera de pagina PHEAD-01 --------------------------------------- */
.brazier {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
    border-bottom: var(--str-hair) solid var(--ink-line);
}

.brazier-shell {
    display: flex;
    flex-direction: column;
    gap: var(--gut-4);
    align-items: flex-start;
}

.brazier-eyebrow {
    color: var(--ink-core);
    background: var(--ink-ground);
    font-family: var(--fnt-copy);
    font-size: var(--sz-petite);
    font-weight: var(--wt-half);
    letter-spacing: var(--tr-airy);
    text-transform: uppercase;
}

.brazier-head {
    max-width: 920px;
}

.brazier-line {
    width: 60px;
    height: 2px;
    background: var(--ink-accent);
}

.brazier-para {
    margin: 0;
    color: var(--ink-quiet);
    font-size: var(--sz-minor);
    line-height: var(--ln-base);
}

/* --- Migas BREAD-05 ----------------------------------------------------- */
.rotunda {
    background: var(--ink-ground);
    padding-block: var(--gut-3);
}

.rotunda-chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rotunda-node {
    display: flex;
    align-items: center;
    margin: 0;
}

.rotunda-node + .rotunda-node::before {
    content: "/";
    margin-inline: var(--gut-2);
    color: var(--ink-accent);
    font-family: var(--fnt-heading);
    font-size: var(--sz-micro-head);
    font-weight: var(--wt-thick);
}

.rotunda-path {
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-family: var(--fnt-heading);
    font-size: var(--sz-micro-head);
    font-weight: var(--wt-thick);
    letter-spacing: var(--tr-snug);
    text-transform: uppercase;
    text-decoration: none;
}

.rotunda-path:hover {
    color: var(--ink-letters);
    background: var(--ink-ground);
}

.rotunda-current {
    color: var(--ink-letters);
    background: var(--ink-ground);
    font-family: var(--fnt-heading);
    font-size: var(--sz-micro-head);
    font-weight: var(--wt-thick);
    text-transform: uppercase;
}

/* --- Texto PROSE-07 (titulos numerados) -------------------------------- */
.hallway {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.hallway-head {
    display: flex;
    align-items: baseline;
    gap: var(--gut-2);
    margin-block: 0 var(--gut-3);
    counter-increment: section;
}

.hallway-head::before {
    content: counter(section) ".";
    color: var(--ink-accent);
    font-family: var(--fnt-heading);
    font-weight: var(--wt-thick);
    flex-shrink: 0;
}

.hallway-para {
    margin: 0 0 var(--gut-3);
    color: var(--ink-quiet);
    font-size: var(--sz-copy);
    line-height: var(--ln-open);
}

.hallway-para strong {
    color: var(--ink-letters);
    font-weight: var(--wt-thick);
}

.hallway-para em {
    color: var(--ink-grad-1);
    font-style: italic;
}

.hallway-para a,
.hallway-chain a {
    color: var(--ink-core);
    background: var(--ink-ground);
}

.hallway-chain {
    margin: 0 0 var(--gut-3);
    padding-left: var(--gut-4);
    color: var(--ink-quiet);
}

.hallway-slot {
    margin-bottom: var(--gut-2);
    color: var(--ink-quiet);
    font-size: var(--sz-copy);
    line-height: var(--ln-open);
}

.hallway-slot strong {
    color: var(--ink-letters);
}

.hallway-figure {
    margin: 0 0 var(--gut-4);
    display: block;
    overflow: hidden;
    border-radius: var(--crn-4);
    background: var(--ink-layer);
}

.hallway-shot {
    display: block;
    width: 100%;
    height: auto;
    max-height: 42vh;
    object-fit: cover;
}

.hallway-caption {
    display: block;
    padding: var(--gut-2) var(--gut-3);
    background: var(--ink-layer);
    color: var(--ink-quiet);
    font-size: var(--sz-tiny);
}

/* --- Llamada intercalada INLINE-CTA-04 --------------------------------- */
.sconce {
    display: block;
    margin-block: var(--gut-5);
    background: var(--ink-layer);
    border-left: var(--str-heavy) solid var(--ink-accent);
    border-radius: var(--crn-4);
}

.sconce-shell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gut-3);
    padding-block: var(--gut-4);
}

.sconce-content {
    flex: 1;
}

.sconce-head {
    margin-bottom: var(--gut-1);
    font-size: var(--sz-h4);
    color: var(--ink-letters);
}

.sconce-para {
    margin: 0;
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
    line-height: var(--ln-base);
}

@media (min-width: 760px) {
    .sconce-shell {
        flex-direction: row;
        align-items: center;
        gap: var(--gut-6);
    }
}

/* --- Tarjetas GRID-09 (banda con desplazamiento) ----------------------- */
.transom {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.transom-head {
    margin-bottom: var(--gut-4);
}

.transom-rail {
    display: flex;
    gap: var(--gut-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--gut-3);
    margin: 0;
    list-style: none;
    padding-left: 0;
    scrollbar-width: thin;
}

.transom-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    min-height: 200px;
    margin: 0;
    padding: var(--gut-4);
    background: var(--ink-layer);
    border: var(--str-hair) solid var(--ink-line);
    border-radius: var(--crn-4);
    transition: box-shadow var(--spd-steady) var(--crv-settle),
        border-color var(--spd-steady) var(--crv-settle);
}

.transom-card:hover {
    box-shadow: var(--dep-5);
    border-color: var(--ink-stroke-heavy);
}

.transom-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: var(--gut-3);
    background: var(--ink-ground);
    color: var(--ink-core);
    border: var(--str-hair) solid var(--ink-stroke-heavy);
    border-radius: var(--crn-round-full);
}

.transom-glyph svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.transom-cardhead {
    margin-bottom: var(--gut-2);
    font-size: var(--sz-h4);
}

.transom-para {
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
    line-height: var(--ln-base);
}

.transom-dots {
    display: flex;
    justify-content: center;
    gap: var(--gut-1);
    margin-top: var(--gut-3);
}

.transom-pip {
    width: 7px;
    height: 7px;
    background: var(--ink-stroke-heavy);
    border-radius: var(--crn-round-full);
}

.transom-pip.is-active {
    background: var(--ink-core);
}

@media (min-width: 900px) {
    .transom-card {
        flex: 0 0 330px;
    }
}

/* --- Opiniones REV-02 (cita editorial) --------------------------------- */
.portal {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.portal-head {
    margin-bottom: var(--gut-5);
}

.portal-slot {
    position: relative;
    max-width: var(--cont-slim);
    margin-block: var(--gut-5);
    padding-block: var(--gut-4);
    padding-left: var(--gut-5);
    border-bottom: var(--str-hair) solid var(--ink-line);
}

.portal-slot:last-of-type {
    border-bottom: 0;
}

.portal-slot::before {
    content: "\201C";
    position: absolute;
    top: -6px;
    left: 0;
    color: var(--ink-accent);
    font-family: var(--fnt-heading);
    font-size: var(--sz-title);
    line-height: 1;
}

.portal-quote {
    margin: 0 0 var(--gut-3);
}

.portal-para {
    color: var(--ink-letters);
    background: var(--ink-ground);
    font-family: var(--fnt-heading);
    font-size: var(--sz-h4);
    font-style: italic;
    line-height: var(--ln-close);
}

.portal-aside {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gut-2);
    color: var(--ink-quiet);
    font-size: var(--sz-petite);
}

.portal-byname {
    color: var(--ink-letters);
    background: var(--ink-ground);
    font-style: normal;
    font-weight: var(--wt-half);
}

.portal-score {
    color: var(--ink-core);
    background: var(--ink-ground);
    letter-spacing: 1px;
}

.portal-stamp {
    color: var(--ink-quiet);
    background: var(--ink-ground);
}

@media (min-width: 900px) {
    .portal-chain {
        display: flex;
        flex-wrap: wrap;
        gap: var(--gut-6);
        justify-content: space-between;
    }

    .portal-slot {
        flex: 1 1 420px;
    }
}

/* --- Llamada CTA-10 (cita de revista) ---------------------------------- */
.cartouche {
    background: var(--ink-layer);
    padding-block: var(--sec-y);
    text-align: center;
}

.cartouche-statement {
    margin: 0 auto var(--gut-4);
    max-width: 900px;
}

.cartouche-para {
    color: var(--ink-letters);
    background: var(--ink-layer);
    font-family: var(--fnt-heading);
    font-size: var(--sz-title);
    font-style: italic;
    font-weight: var(--wt-thick);
    line-height: var(--ln-close);
}

.cartouche-sub {
    margin: 0 auto var(--gut-4);
    max-width: var(--cont-slim);
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-copy);
    line-height: var(--ln-open);
}

.cartouche-terms {
    display: block;
    margin-top: var(--gut-3);
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-tiny);
}

/* --- Preguntas FAQ-10 (dos columnas) ----------------------------------- */
.gallery {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.gallery-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gut-5);
}

.gallery-side {
    align-self: start;
    padding: var(--gut-4);
    background: var(--ink-layer);
    border-radius: var(--crn-4);
}

.gallery-head {
    margin-bottom: var(--gut-2);
}

.gallery-para {
    margin: 0;
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
    line-height: var(--ln-base);
}

.gallery-chain {
    display: flex;
    flex-direction: column;
    gap: var(--gut-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery-slot {
    margin: 0;
    border-bottom: var(--str-hair) solid var(--ink-line);
    padding-bottom: var(--gut-4);
}

.gallery-drop {
    display: block;
}

.gallery-ask {
    display: flex;
    align-items: baseline;
    gap: var(--gut-2);
    cursor: pointer;
    list-style: none;
}

.gallery-ask::-webkit-details-marker {
    display: none;
}

.gallery-ask::after {
    content: "+";
    margin-left: auto;
    color: var(--ink-accent);
    font-family: var(--fnt-heading);
    font-size: var(--sz-lg-2);
    line-height: 1;
}

.gallery-drop[open] .gallery-ask::after {
    content: "\2013";
}

.gallery-question {
    font-size: var(--sz-h4);
}

.gallery-answer {
    padding-top: var(--gut-2);
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-size: var(--sz-copy);
    line-height: var(--ln-open);
    animation: fadeDrop var(--spd-slow) var(--crv-settle);
}

@keyframes fadeDrop {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (min-width: 900px) {
    .gallery-shell {
        grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
        gap: var(--gut-6);
    }

    .gallery-side {
        position: sticky;
        top: 140px;
    }
}

/* --- Tabla TABLE-01 ----------------------------------------------------- */
.pulpit {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.pulpit-head {
    margin-bottom: var(--gut-4);
}

.pulpit-scroll {
    overflow-x: auto;
    border-radius: var(--crn-4);
    background: var(--ink-layer);
}

.pulpit-grid {
    width: 100%;
    min-width: 520px;
    background: var(--ink-layer);
    color: var(--ink-quiet);
    font-size: var(--sz-petite);
}

.pulpit-crest {
    padding: var(--gut-3);
    background: var(--ink-core);
    color: var(--ink-ground);
    font-family: var(--fnt-copy);
    font-size: var(--sz-micro-head);
    font-weight: var(--wt-half);
    letter-spacing: var(--tr-airy);
    text-align: left;
    text-transform: uppercase;
}

.pulpit-cell {
    padding: var(--gut-3);
    background: var(--ink-layer);
    color: var(--ink-quiet);
    text-align: left;
    vertical-align: top;
}

.pulpit-tier:nth-child(even) .pulpit-cell {
    background: #101a52;
}

.pulpit-tier:hover .pulpit-cell {
    background: #16205e;
}

.pulpit-tier .pulpit-cell:first-child {
    color: var(--ink-letters);
    font-weight: var(--wt-half);
}

.pulpit-note {
    margin-top: var(--gut-2);
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-size: var(--sz-tiny);
}

/* --- Paginas legales LEGAL-05 ------------------------------------------ */
.banner {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.banner-chain {
    margin: 0;
}

.banner-term {
    position: relative;
    margin-block: var(--gut-5) var(--gut-2);
    padding-top: var(--gut-3);
    font-family: var(--fnt-heading);
    font-size: var(--sz-h4);
    font-weight: var(--wt-thick);
    color: var(--ink-letters);
}

.banner-term::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--ink-accent);
}

.banner-definition {
    margin-inline-start: 0;
    margin-block-end: var(--gut-4);
    color: var(--ink-quiet);
    font-size: var(--sz-copy);
    line-height: var(--ln-open);
}

.banner-para {
    margin: 0 0 var(--gut-3);
    color: var(--ink-quiet);
    background: var(--ink-ground);
}

.banner-aside {
    margin-top: var(--gut-5);
    padding: var(--gut-4);
    background: var(--ink-layer);
    border-radius: var(--crn-4);
    color: var(--ink-quiet);
    font-size: var(--sz-petite);
}

.banner-aside-head {
    margin-bottom: var(--gut-2);
    font-size: var(--sz-h4);
}

.banner-aside .banner-chain-help {
    margin: 0;
    padding-left: var(--gut-4);
    color: var(--ink-quiet);
}

.banner-stamp {
    display: block;
    margin-top: var(--gut-3);
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-size: var(--sz-tiny);
}

/* --- Formulario FORM-07 ------------------------------------------------- */
.lobby {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.lobby-card {
    max-width: 720px;
    overflow: hidden;
    border-radius: var(--crn-5);
    background: var(--ink-layer);
}

.lobby-crest {
    height: 8px;
    background: var(--ink-accent);
}

.lobby-body {
    padding: var(--gut-5);
    background: var(--ink-layer);
}

.lobby-head {
    margin-bottom: var(--gut-3);
}

.lobby-para {
    margin: 0 0 var(--gut-4);
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
    line-height: var(--ln-base);
}

.lobby-cell {
    display: flex;
    flex-direction: column;
    gap: var(--gut-1);
    margin-bottom: var(--gut-4);
    flex: 0 0 auto;
}

.lobby-tag {
    color: var(--ink-letters);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
    font-weight: var(--wt-half);
}

.lobby-input,
.lobby-area {
    width: 100%;
    padding: var(--gut-2) var(--gut-3);
    background: var(--ink-ground);
    color: var(--ink-letters);
    font-family: var(--fnt-copy);
    font-size: var(--sz-copy);
    border: var(--str-hair) solid var(--ink-stroke-heavy);
    border-radius: var(--crn-3);
}

.lobby-area {
    min-height: 140px;
    resize: vertical;
}

.lobby-input:focus,
.lobby-area:focus {
    border-color: var(--ink-core);
    outline: none;
}

.lobby-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-inline: auto;
    padding-inline: var(--gut-5);
    background: var(--ink-accent);
    color: var(--ink-letters);
    font-family: var(--fnt-copy);
    font-size: var(--sz-copy);
    font-weight: var(--wt-half);
    border: 0;
    border-radius: var(--crn-4);
    cursor: pointer;
}

.lobby-send:hover {
    background: var(--ink-key-active);
    color: var(--ink-letters);
}

.lobby-deck {
    display: flex;
    justify-content: center;
}

.lobby-done {
    display: none;
    margin-top: var(--gut-4);
    padding: var(--gut-3);
    background: var(--ink-ground);
    color: var(--ink-letters);
    border-left: var(--str-heavy) solid var(--ink-core);
    font-size: var(--sz-petite);
}

.lobby-done.is-open {
    display: block;
}

/* --- Ficha de autor AUTH-05 -------------------------------------------- */
.loft {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.loft-card {
    display: flex;
    gap: var(--gut-3);
    max-width: 620px;
    padding: var(--gut-4);
    background: var(--ink-layer);
    border-radius: var(--crn-4);
}

.loft-face {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--crn-round-full);
}

.loft-content {
    display: flex;
    flex-direction: column;
    gap: var(--gut-1);
    min-width: 0;
}

.loft-credit {
    color: var(--ink-core);
    background: var(--ink-layer);
    font-size: var(--sz-tiny);
    letter-spacing: var(--tr-airy);
    text-transform: uppercase;
}

.loft-byname {
    color: var(--ink-letters);
    background: var(--ink-layer);
    font-family: var(--fnt-heading);
    font-size: var(--sz-lg-2);
    font-weight: var(--wt-thick);
}

.loft-bio {
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
    line-height: var(--ln-base);
}

.loft-chain {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gut-1);
    margin: var(--gut-2) 0 0;
    padding: 0;
    list-style: none;
}

.loft-slot {
    margin: 0;
    padding: 3px var(--gut-2);
    background: var(--ink-accent);
    color: var(--ink-letters);
    font-size: var(--sz-tiny);
    border-radius: var(--crn-capsule);
}

/* --- Firma del autor BYLINE-07 ----------------------------------------- */
.mast {
    background: var(--ink-ground);
    padding-block: var(--sec-y);
}

.mast-card {
    padding: var(--gut-4);
    background: var(--ink-layer);
    border-radius: var(--crn-4);
    box-shadow: var(--dep-3);
}

.mast-crest {
    display: flex;
    align-items: center;
    gap: var(--gut-3);
    margin-bottom: var(--gut-3);
}

.mast-face {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--crn-round-full);
}

.mast-byname {
    margin: 0;
    font-family: var(--fnt-heading);
    font-size: var(--sz-h4);
    font-weight: var(--wt-thick);
    color: var(--ink-letters);
    background: var(--ink-layer);
}

.mast-byname a {
    color: var(--ink-letters);
    background: var(--ink-layer);
    text-decoration: none;
}

.mast-byname a:hover {
    color: var(--ink-core);
    background: var(--ink-layer);
}

.mast-credit {
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
}

.mast-stamp {
    display: block;
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-tiny);
}

.mast-bio {
    margin-bottom: var(--gut-3);
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-copy);
    line-height: var(--ln-open);
}

.mast-chain {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gut-2);
    margin: 0 0 var(--gut-3);
    padding: 0;
    list-style: none;
}

.mast-tag {
    margin: 0;
    padding: var(--gut-1) var(--gut-3);
    background: var(--ink-core);
    color: var(--ink-ground);
    font-size: var(--sz-tiny);
    letter-spacing: var(--tr-airy);
    text-transform: uppercase;
    border-radius: var(--crn-capsule);
}

.mast-path {
    color: var(--ink-core);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
    text-decoration: underline;
}

.mast-path:hover {
    color: var(--ink-grad-1);
    background: var(--ink-layer);
}

/* --- Bloque 404 ERR-07 -------------------------------------------------- */
.tribune {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    padding-block: var(--gut-6);
    background-color: var(--ink-ground);
    background-image:
        linear-gradient(rgba(65, 163, 245, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 163, 245, 0.09) 1px, transparent 1px);
    background-size: 40px 40px;
}

.tribune-shell {
    text-align: center;
}

.tribune-code {
    display: block;
    margin-bottom: var(--gut-3);
    color: var(--ink-accent);
    background: transparent;
    font-family: var(--fnt-heading);
    font-size: 16vw;
    font-weight: var(--wt-thick);
    line-height: 1;
}

.tribune-head {
    max-width: var(--cont-slim);
    margin-inline: auto;
    margin-bottom: var(--gut-3);
}

.tribune-para {
    max-width: var(--cont-slim);
    margin-inline: auto;
    margin-bottom: var(--gut-4);
    color: var(--ink-quiet);
    font-size: var(--sz-copy);
}

.tribune-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding-inline: var(--gut-5);
    background: var(--ink-accent);
    color: var(--ink-letters);
    font-size: var(--sz-copy);
    font-weight: var(--wt-half);
    text-decoration: none;
    border-radius: var(--crn-4);
}

.tribune-back:hover {
    background: var(--ink-key-active);
    color: var(--ink-letters);
}

@media (min-width: 900px) {
    .tribune-code {
        font-size: 120px;
    }
}

/* --- Aviso de cookies COOK-14 ------------------------------------------ */
.frieze {
    display: none;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 95;
    background: var(--ink-layer);
    border-top: var(--str-regular) solid var(--ink-accent);
    box-shadow: var(--dep-6);
}

.frieze.is-open {
    display: block;
    animation: slideBanner var(--spd-slow) var(--crv-settle);
}

@keyframes slideBanner {
    from {
        clip-path: inset(0 0 0 100%);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

.frieze-shell {
    padding-block: var(--gut-3);
}

.frieze-copy {
    margin: 0 0 var(--gut-2);
    color: var(--ink-quiet);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
    line-height: var(--ln-base);
}

.frieze-tier {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gut-2);
}

.frieze-agree,
.frieze-decline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding-inline: var(--gut-4);
    font-family: var(--fnt-copy);
    font-size: var(--sz-petite);
    font-weight: var(--wt-half);
    border-radius: var(--crn-3);
    cursor: pointer;
}

.frieze-agree {
    background: var(--ink-accent);
    color: var(--ink-letters);
    border: 0;
}

.frieze-agree:hover {
    background: var(--ink-key-active);
    color: var(--ink-letters);
}

.frieze-decline {
    background: var(--ink-layer);
    color: var(--ink-letters);
    border: var(--str-hair) solid var(--ink-stroke-heavy);
}

.frieze-decline:hover {
    background: var(--ink-ground);
    color: var(--ink-letters);
}

.frieze-more {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding-inline: var(--gut-2);
    color: var(--ink-core);
    background: var(--ink-layer);
    font-size: var(--sz-petite);
    text-decoration: underline;
}

.frieze-more:hover {
    color: var(--ink-grad-1);
    background: var(--ink-layer);
}

@media (max-width: 720px) {
    .frieze-shell {
        padding-block: 12px;
    }

    .frieze-copy {
        font-size: 13px;
        line-height: 1.35;
    }

    .frieze-tier {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .frieze-agree,
    .frieze-decline,
    .frieze-more {
        width: 100%;
        justify-content: center;
        min-height: 40px;
        font-size: 13px;
    }
}

/* --- Pie FOOT-03 (centrado amplio) ------------------------------------- */
.trellis {
    background: var(--ink-ground);
    border-top: var(--str-hair) solid var(--ink-line);
    padding-block: var(--gut-5);
}

.trellis-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gut-5);
    text-align: center;
}

.trellis-badge {
    display: inline-flex;
    text-decoration: none;
}

.trellis-shot {
    display: block;
    height: 56px;
    width: auto;
}

.trellis-caption {
    display: block;
    margin-bottom: var(--gut-2);
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-size: var(--sz-tiny);
    letter-spacing: var(--tr-airy);
    text-transform: uppercase;
}

.trellis-bar {
    width: 100%;
}

.trellis-chain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gut-3) var(--gut-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.trellis-node {
    margin: 0;
}

.trellis-path {
    color: var(--ink-letters);
    background: var(--ink-ground);
    font-family: var(--fnt-heading);
    font-size: var(--sz-copy);
    font-weight: var(--wt-half);
    text-decoration: none;
}

.trellis-path:hover {
    color: var(--ink-core);
    background: var(--ink-ground);
    text-decoration: underline;
}

.trellis-para {
    max-width: var(--cont-slim);
    margin: 0;
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-size: var(--sz-petite);
    line-height: var(--ln-open);
}

.trellis-tier {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--gut-3);
}

.trellis-legal-path {
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-size: var(--sz-tiny);
    letter-spacing: var(--tr-airy);
    text-transform: uppercase;
    text-decoration: none;
}

.trellis-legal-path:hover {
    color: var(--ink-letters);
    background: var(--ink-ground);
    text-decoration: underline;
}

.trellis-tier .trellis-legal-path + .trellis-legal-path::before {
    content: "\00b7";
    margin-right: var(--gut-3);
    color: var(--ink-stroke-heavy);
}

.trellis-stamp {
    color: var(--ink-quiet);
    background: var(--ink-ground);
    font-size: var(--sz-tiny);
}

.trellis-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    margin-right: 6px;
    padding: 0 5px;
    background: var(--ink-rg-banner);
    color: var(--ink-letters);
    font-size: var(--sz-tiny);
    font-weight: var(--wt-thick);
    border-radius: var(--crn-1);
}

/* --- Detalles de escritorio compartidos -------------------------------- */
@media (min-width: 900px) {
    .parapet-crown {
        min-height: 58px;
    }

    .parapet-shot {
        height: 44px;
    }

    .parapet.is-shrunk .parapet-shot {
        height: 34px;
    }

    .trellis-shot {
        height: 62px;
    }
}

@media (min-width: 1240px) {
    .parapet-shot {
        height: 50px;
    }
}

/* --- Boton de oferta: color, animacion y geometria propia -------------- */
.loft-dive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 var(--gut-2);
    min-height: 34px;
    border-radius: var(--crn-capsule);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: var(--tr-airy);
    background-color: #C026D3;
    background-image: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .42) 50%, transparent 100%);
    background-size: 220% 100%;
    background-repeat: no-repeat;
    background-position: -120% 0;
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color 0.18s ease-in-out, color 0.18s ease-in-out, transform 0.18s ease-in-out;
    animation: loft-drift-2 1.7s ease-in-out infinite, loft-drift 1.7s linear infinite;
}

.loft-dive.loft-dive {
    color: #FFFFFF;
    text-decoration: none;
}

.loft-dive:hover {
    background-color: #A21CAF;
    color: #FFFFFF;
    animation: none;
}

.loft-dive.loft-dive:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.loft-dive:active {
    background-color: #86198F;
    color: #FFFFFF;
}

.loft-dive:focus-visible {
    outline: 3px solid #050C35;
    outline-offset: 3px;
}

@keyframes loft-drift {
    0% {
        transform: scale(1);
        animation-timing-function: cubic-bezier(.25, .8, .35, 1);
    }

    24.706% {
        transform: scale(1.08);
        animation-timing-function: cubic-bezier(.45, .05, .55, .95);
    }

    67.647%,
    100% {
        transform: scale(1);
    }
}

@keyframes loft-drift-2 {
    0%,
    5.294% {
        background-position: -120% 0;
    }

    58.824%,
    100% {
        background-position: 220% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loft-dive {
        animation: none !important;
        transition: none !important;
    }
}

/* geometria propia del sitio: la del script se queda corta para un boton */
.parapet-offer.loft-dive {
    min-height: 44px;
    padding-inline: var(--gut-4);
    font-size: var(--sz-petite);
    font-weight: var(--wt-half);
    white-space: nowrap;
    flex-shrink: 0;
}

.quatrefoil-tap.loft-dive {
    min-height: 52px;
    padding-inline: var(--gut-5);
    font-size: var(--sz-minor);
    font-weight: var(--wt-thick);
    border-radius: var(--crn-4);
    text-align: center;
}

.sconce .quatrefoil-tap.loft-dive,
.cartouche .quatrefoil-tap.loft-dive {
    flex-shrink: 0;
}

.cartouche .quatrefoil-tap.loft-dive {
    margin-inline: auto;
}

@media (max-width: 1100px) {
    .parapet-offer.loft-dive {
        padding-inline: var(--gut-3);
    }
}

@media (max-width: 420px) {
    .parapet-offer.loft-dive {
        padding-inline: var(--gut-2);
        font-size: var(--sz-tiny);
    }
}

/* --- Reglas de apoyo ---------------------------------------------------- */
.parapet-node-more {
    position: relative;
}

.lobby-form {
    display: block;
}

/* --- Cabecera en pantallas estrechas: el boton baja a su propia fila ---- */
@media (max-width: 619px) {
    .parapet-crown {
        grid-template-columns: auto minmax(0, 1fr);
        row-gap: 8px;
    }

    .parapet-badge {
        grid-column: 2;
        justify-content: flex-start;
    }

    .parapet-deck {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .parapet-offer.loft-dive,
    .parapet-goto {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .parapet-shot {
        height: 28px;
    }
}

/* La llamada intercalada tambien vive dentro de la lista de opiniones */
.portal-chain .sconce {
    flex: 1 1 100%;
    margin-block: var(--gut-4);
}

/* La rotulacion del bloque legal ocupa su propia linea */
.trellis-tier .trellis-caption {
    flex: 1 1 100%;
    margin-bottom: 0;
}

@media (max-width: 930px) {
  .parapet-bar,
  .parapet-index,
  .parapet-chain,
  .parapet-path { display: none !important; }
  .parapet-menu-lever { display: flex !important; }
}
