/* Navegación: estado actual y transición breve. */
header nav a{transition:color .18s ease,background-color .18s ease,border-color .18s ease}
header nav a[aria-current="page"]{color:var(--orange)}
.mobile-nav a{transition-property:opacity,transform,color,background-color,border-color}
@media(max-width:800px){.mobile-nav a[aria-current="page"]{color:var(--paper);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}}
/* Mismo ancho de lectura en las tres cabeceras. */
.hero-bottom{padding-right:0;align-items:flex-start}
.hero-bottom p,.blog-hero p,.projects-hero p{width:100%;max-width:850px;white-space:normal}
.hero-bottom .down{flex-shrink:0}
/* La demo crece con sus contenidos, también después de responder. */
.service .game-visual{height:auto;min-height:490px;max-height:none;min-width:0;overflow:visible}
.game-visual>*{flex-shrink:0;min-width:0}
.game-visual .choices{width:100%}
.game-visual .game-result:not(:empty){display:block;align-self:stretch;width:100%;max-width:none;height:auto;min-height:0;max-height:none;margin:18px 0;border-radius:0;padding:18px 22px;overflow:visible;overflow-wrap:anywhere;white-space:normal;box-sizing:border-box}
@media(max-width:800px){.service .game-visual{min-height:0;padding:30px}.game-visual .game-result:not(:empty){padding:16px}}
@media(prefers-reduced-motion:reduce){header nav a{transition:none}}

/* Ajustes de cabecera y tamaño coherente en la demo. */
.hero-bottom{padding-top:10px}
.hero-bottom p{max-width:none;min-width:0;font-size:clamp(16px,1.25vw,28px)}
.hero-services{white-space:nowrap}
.game-visual p,.game-visual .choices button,.game-visual .game-result,.game-visual .reset{font-size:17px!important;line-height:1.6}
@media(max-width:800px){.hero-bottom p{font-size:18px}.hero-services{white-space:normal}}
