/* RVE WEB / V1.3: six editorial markers, Flor reflection, Biblioteca and Hablemos dwell. */
html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros) :is(.eyebrow,.mex-kicker){
 font-family:Onest,system-ui,sans-serif!important;font-size:12px!important;font-weight:650!important;font-style:normal!important;line-height:1.64!important;letter-spacing:.18em!important;text-transform:uppercase!important;max-width:none!important;
}
html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros) :is(.eyebrow,.mex-kicker)::before{
 content:"";display:inline-block;width:30px;height:1px;vertical-align:middle;margin-right:13px;background:currentColor;
}
/* Same image position: retain the original four-line slot; only widen and center text. */
html body main#contenido #flor .flor-right .super-flor .author-super-text{
 width:100%;max-width:55.9ch!important;margin-inline:auto!important;text-align:center;
}
@media(min-width:761px){
 html body main#contenido #flor .flor-right .super-flor{width:100%;max-width:100%;min-height:calc(var(--rve-reflection)*1.52*4);}
}
/* Reserve exactly the same clear screen + dwell as the other chapters. Use real content
   height, never a clipped fixed height, when text or zoom needs extra space. */
html body main#contenido :is(.chapter-shell-library,.chapter-shell-contacto){display:block;min-height:0!important;height:auto!important;overflow:visible!important;}
html body main#contenido #libros .rve-library-layout,
html body main#contenido #contacto .conversation-layout{box-sizing:border-box;margin-inline:auto;min-height:var(--rve-scene-h)!important;height:auto!important;align-content:center;}
@media(min-width:950px){
 html body main#contenido #libros .rve-library-layout{padding:clamp(14px,2svh,28px) 0;gap:clamp(10px,1.5svh,18px) clamp(22px,4vw,55px);grid-template-rows:auto auto auto;}
 html body main#contenido #libros .rve-library-desk{width:min(100%,calc(var(--rve-scene-h)*1.10));justify-self:center;}
 html body main#contenido #contacto .conversation-layout{padding:clamp(14px,2svh,28px) 0;}
 html body main#contenido #contacto .conversation-art{width:min(100%,calc(var(--rve-scene-h)*.76*1122/1402));max-width:700px;max-height:none;flex:none;}
}


/* V1.4: Flor fog luminance reduced 30%; scene, image and reading layout untouched. */
html body main#contenido #flor .flor-stage>.flor-fog{filter:brightness(.70)}


/* RVE | Navegacion editorial, 2026-11-28. Correccion de contraste y uniformidad. */
:root{--rve-control-font:600 14px/1.35 Onest,system-ui,sans-serif;--rve-control-height:50px;--rve-control-icon:50px;--rve-control-gap:16px;--rve-control-pad:16px}
/* Scene colors are explicit: Espejo is LIGHT despite its legacy contrast-band class. */
html body main#contenido :is(#mexico,#espejo,#pintura,#libros,#contacto) .cta{--rve-button-ink:var(--obsidian);--rve-button-surface:var(--sand)}
html body main#contenido :is(#flor,#voz,#inicio) .cta{--rve-button-ink:var(--sand);--rve-button-surface:var(--obsidian)}
/* All six CTAs share the same cascade and geometry. No per-scene type or size. */
html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros,#contacto,#inicio) .cta{
 position:relative;display:inline-flex;align-items:center;justify-content:space-between;
 box-sizing:border-box;gap:var(--rve-control-gap);min-height:var(--rve-control-height);max-width:100%;padding:0 0 0 var(--rve-control-pad);
 border:1px solid var(--rve-button-ink);border-radius:0;
 background:var(--rve-button-surface);color:var(--rve-button-ink);
 font:var(--rve-control-font);letter-spacing:.01em;white-space:normal;text-align:left;
 cursor:pointer;transform:none;box-shadow:none;transition:background-color .2s,color .2s,border-color .2s;
}
html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros,#contacto,#inicio) .cta::before{
 content:"";position:absolute;bottom:-1px;left:-1px;width:40px;height:25px;border-left:3px solid var(--copper);border-bottom:3px solid var(--copper);pointer-events:none;
}
html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros,#contacto,#inicio) .cta::after{
 content:"\2192" / "";display:grid;place-items:center;flex:0 0 var(--rve-control-icon);align-self:stretch;
 min-height:calc(var(--rve-control-height) - 2px);border-left:1px solid color-mix(in srgb,currentColor 35%,transparent);
 font:400 21px/1 Onest,system-ui,sans-serif;color:inherit;position:relative;z-index:1;transition:padding .2s;
}
html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros,#contacto,#inicio) .cta:is([target="_blank"],[href^="https://"],[href^="http://"])::after{content:"\2197" / ""}
html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros,#contacto,#inicio) .cta:focus-visible,
html body main#contenido .ghost:focus-visible,html body .header :is(a,button):focus-visible{outline:3px solid currentColor;outline-offset:4px}
@media(hover:hover){
 html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros,#contacto,#inicio) .cta:hover{background:var(--rve-button-ink);color:var(--rve-button-surface);border-color:var(--rve-button-ink);transform:none}
 html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros,#contacto,#inicio) .cta:hover::after{padding-left:5px}
}
html body main#contenido :is(#mexico,#flor,#espejo,#pintura,#voz,#libros,#contacto,#inicio) .cta:active{background:var(--rve-button-ink);color:var(--rve-button-surface);border-color:var(--rve-button-ink);transform:none}
/* Preserve original paint animation; shorten the decorative runs to keep labels clear at 50px. */
html body main#contenido #pintura .paint-action .paint-button-drip{--run:8px}
/* Secondary navigation uses the same exact type; its lighter shape remains intentional. */
html body main#contenido :is(#inicio,#contacto) .ghost{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:7px 0;border:0;border-bottom:1px solid var(--copper);font:var(--rve-control-font);letter-spacing:.01em;text-decoration:none}
html body main#contenido :is(#inicio,#contacto) .ghost::after{content:"\2192" / "";font:400 21px/1 Onest,system-ui,sans-serif;color:inherit;transition:transform .2s}
html body main#contenido :is(#inicio,#contacto) .ghost:is([target="_blank"],[href^="https://"],[href^="http://"])::after{content:"\2197" / ""}
html body main#contenido :is(#inicio,#contacto) .ghost:hover::after{transform:translateX(3px)}
html body .header .nav a{display:flex;align-items:center;min-height:44px;position:relative;color:var(--sand);font:var(--rve-control-font);letter-spacing:.01em}
html body .header .nav a::before{content:"";position:absolute;left:0;bottom:5px;width:100%;height:2px;background:var(--copper);transform:scaleX(0);transform-origin:left;transition:transform .2s}
html body .header .nav a:is(:hover,[aria-current="page"],[aria-current="location"])::before{transform:scaleX(1)}
html body .header .nav a:is([href$="contacto/index.html"],[href$="contacto/"]){border:1px solid var(--sand);padding:0 14px;min-height:var(--rve-control-height)}
html body .header .nav a:is([href$="contacto/index.html"],[href$="contacto/"])::before{left:-1px;bottom:-1px;height:16px;width:23px;border-left:2px solid var(--copper);border-bottom:2px solid var(--copper);background:none;transform:none}
html body .header .nav-toggle{min-height:var(--rve-control-height);border-radius:0;border-color:var(--sand);position:relative;font:var(--rve-control-font);letter-spacing:.01em}
html body .header .nav-toggle::before{content:"";position:absolute;left:-1px;bottom:-1px;width:20px;height:14px;border-left:2px solid var(--copper);border-bottom:2px solid var(--copper);pointer-events:none}
html body main#contenido .discovery-nav a{min-height:44px;display:flex;align-items:center;font:var(--rve-control-font);padding-block:10px}
html body main#contenido .discovery-nav{justify-content:flex-start}
@media(min-width:761px){html body main#contenido .discovery-nav{justify-content:safe flex-end}}
@media(max-width:760px){
 :root{--rve-control-gap:10px;--rve-control-pad:12px;--rve-control-icon:44px}
 html body .header .nav a{padding:10px 13px}
 html body .header .nav a::before{left:13px;bottom:3px;width:40px}
 html body .header .nav a:is([href$="contacto/index.html"],[href$="contacto/"]){margin-top:8px;align-self:flex-start}
 html:not(.js) body .header .nav a{padding:7px 6px}
}
@media(prefers-reduced-motion:reduce){html body main#contenido :is(.cta,.ghost),html body main#contenido :is(.cta,.ghost)::after,html body .header .nav a::before{transition:none!important;transform:none!important}html body .header .nav a::before{opacity:0}html body .header .nav a:is(:hover,[aria-current="page"],[aria-current="location"],[href$="contacto/index.html"],[href$="contacto/"])::before{opacity:1}}
@media(forced-colors:active){html body main#contenido .cta::before,html body .header .nav a::before,html body .header .nav-toggle::before{border-color:Highlight;background:Highlight}html body main#contenido .cta::before,html body .header .nav-toggle::before{background:none}}

/* RVE home: one geometry and one stop policy for all seven chapters. */
html body main#contenido .chapter-shell::after{content:none;display:none;height:0;pointer-events:none}
html body main#contenido .chapter-shell>section{position:relative!important;top:auto!important}
@media(min-width:950px) and (min-height:620px) and (prefers-reduced-motion:no-preference){
 html.js.rve-stops body main#contenido .chapter-shell:not(.rve-tall)::after{content:"";display:block;height:var(--rve-hold);pointer-events:none}
 html.js.rve-stops body main#contenido .chapter-shell:not(.rve-tall)>section:is(#mexico,#flor,#espejo,#pintura,#voz,#libros,#contacto){position:sticky!important;top:var(--rve-chrome)!important}
}
/* Compact reading frames: reduce only non-text assets and empty space. */
@media(min-width:950px) and (max-height:759px){
 html body main#contenido .chapter-shell>section{padding-block:16px!important}
 html body main#contenido #flor,html body main#contenido #libros.rve-library,html body main#contenido #contacto.conversation-scene{padding-block:0!important}
 html body main#contenido #pintura .maqueta-paint-gallery img{height:clamp(100px,calc(var(--rve-scene-h)*.30),230px)}
 html body main#contenido #pintura .paint-scene-grid{gap:10px}
 html body main#contenido #voz .maqueta-microfono{max-height:clamp(105px,calc(var(--rve-scene-h)*.26),200px)}
 html body main#contenido #voz>.wrap{row-gap:10px}
}
