/* NOCODYA · Diseño web. Seis universos, uno por sección, cada uno fiel a una referencia del usuario.
   Cada sección es un cartel a pantalla completa: su color, su ente, su tipografía y sus esquinas de texto.
   Regla de dirección: el ente acompaña al servicio y nada le tapa la cara. */
@font-face { font-family: 'Bricolage'; src: url(../../fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(../../fonts/spacegrotesk.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url(../../fonts/spacemono.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --disp: 'Bricolage', 'Space Grotesk', system-ui, sans-serif;
  --cuerpo: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --pad: clamp(20px, 3.6vw, 60px);
  --curva: cubic-bezier(.22, 1, .36, 1);
  --cab: #0f0f0f;           /* color de la cabecera: lo pone el JS según el universo que hay debajo */
  --senal: #FF4B1F;         /* naranja señal: el único acento de la marca, en dosis pequeñas */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FAF8F7; color: #0f0f0f; font: 400 16px/1.5 var(--cuerpo); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
picture { display: contents; }   /* el AVIF va en <picture>: que no cambie la maqueta */
::selection { background: var(--senal); color: #0a0a0a; }

.grano { position: fixed; inset: -50%; z-index: 40; pointer-events: none; background: url(../img/grano.png); opacity: .06; mix-blend-mode: multiply; animation: grano .6s steps(4) infinite; }
@keyframes grano { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.velo { position: fixed; inset: 0; z-index: 60; pointer-events: none; background: #F7D98F; opacity: 0; }
.desde-luz .velo { animation: velo 1.6s .1s var(--curva) both; }
@keyframes velo { from { opacity: 1; } to { opacity: 0; } }

/* ---------- cabecera e índice ---------- */
.cab { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px var(--pad); padding-top: max(20px, env(safe-area-inset-top)); color: var(--cab); transition: color .5s ease; pointer-events: none; }
.cab > * { pointer-events: auto; }
/* velo del color del universo bajo la cabecera y los instrumentos de arriba, para que no se mezclen con lo que pasa por debajo */
.cab::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 118px; z-index: -1; background: linear-gradient(var(--fondo-cab, transparent) 45%, transparent); pointer-events: none; transition: background .5s ease; }
.cab .paginas { justify-self: start; }
.cab__nav { display: flex; gap: 26px; font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.cab__nav a { text-decoration: none; opacity: .72; transition: opacity .3s; }
.cab__nav a:hover { opacity: 1; }
.cab__cta { justify-self: end; font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 11px 16px; border-radius: 99px; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); transition: background-color .3s, border-color .3s; }
.cab__cta:hover { background: color-mix(in srgb, currentColor 12%, transparent); border-color: currentColor; }
.pildoras { position: fixed; right: var(--pad); bottom: 22px; z-index: 30; display: flex; align-items: center; gap: 6px; color: var(--cab); transition: color .5s ease; }
.pildoras__nombre { margin-right: 12px; font: 400 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.pildoras a { width: 9px; height: 9px; border-radius: 99px; background: currentColor; opacity: .3; transition: width .6s var(--curva), opacity .3s, background-color .3s; }
.pildoras a:hover { opacity: .8; }
.pildoras a.activo { width: 44px; opacity: 1; background: var(--senal); }

/* ---------- instrumentos (HUD) ---------- */
.hud { position: fixed; inset: 0; z-index: 29; pointer-events: none; color: var(--cab); font: 400 10px/1.55 var(--mono); letter-spacing: .14em; text-transform: uppercase; transition: color .5s ease; }
.hud p { position: absolute; margin: 0; opacity: .66; }
.hud__geo { left: var(--pad); top: 66px; }
.hud__cursor { right: var(--pad); top: 66px; text-align: right; }
.hud__regla { position: absolute; right: 12px; top: 24vh; height: 52vh; width: 9px; opacity: .55; background: repeating-linear-gradient(currentColor 0 1px, transparent 1px 10%) right / 9px 100% no-repeat, repeating-linear-gradient(currentColor 0 1px, transparent 1px 2%) right / 5px 100% no-repeat; }
.hud__marca { position: absolute; right: 14px; top: calc(var(--prof, 0) * 100%); transform: translateY(-50%); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.hud__marca::after { content: ''; width: 7px; height: 7px; background: var(--senal); }

/* ---------- destello de luz al cambiar de universo (película quemada, como el moodboard) ---------- */
.destello { position: fixed; inset: -20%; z-index: 35; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(38% 55% at 18% 52%, rgba(255, 96, 32, .95), transparent 70%), radial-gradient(28% 40% at 62% 38%, rgba(255, 176, 84, .75), transparent 72%), radial-gradient(60% 20% at 50% 60%, rgba(255, 75, 31, .5), transparent 70%); }
.destello.activo { animation: destello 1.5s cubic-bezier(.3, 0, .2, 1); }
@keyframes destello { 0% { opacity: 0; transform: translateX(-28%) scaleX(1.4); } 28% { opacity: .62; } 100% { opacity: 0; transform: translateX(26%) scaleX(1); } }
.filtros { position: absolute; width: 0; height: 0; }
/* desenfoque de movimiento: al bajar rápido las webs se estiran en vertical (el JS ajusta el filtro) */
.veloz .obra__ventana img { filter: url(#velocidad); }

/* ---------- piezas comunes ---------- */
.u { position: relative; min-height: 100vh; min-height: 100svh; overflow: clip; }
/* U·01 y U·02: la sección se queda fija mientras se lee y, al seguir bajando, el ente crece hasta cubrirla.
   --e (0 → 1) lo pone el JS: es la expansión. */
.u--crece { height: 230vh; height: 230svh; }
.escenario { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.u--crece .aura__texto, .u--crece .esq, .u--crece .cartel__cab, .u--crece .calor__que, .u--crece .calor__porque { opacity: calc(1 - var(--e, 0) * 1.8); filter: blur(calc(var(--e, 0) * 12px)); }
[data-foco] { will-change: transform; }
.eti, .esq { margin: 0; font: 400 11px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.eti span, .esq span { opacity: .45; padding: 0 .25em; }
.esq { position: absolute; z-index: 3; bottom: 24px; }
.esq--ii { left: var(--pad); }
.esq--id { right: calc(var(--pad) + 300px); }
.cartel__cab { display: flex; justify-content: space-between; padding: 96px var(--pad) 0; position: relative; z-index: 3; }
.viva { font-family: var(--disp); }
.viva .l { display: inline-block; font-variation-settings: 'wght' var(--w, 800), 'wdth' var(--a, 100); }
.boton { display: inline-flex; align-items: center; gap: 12px; padding: 17px 26px; border-radius: 99px; background: #0f0f0f; color: #fff; font: 500 15px/1 var(--cuerpo); text-decoration: none; transition: transform .4s var(--curva), background-color .3s; }
.boton:hover { transform: translateY(-2px); }
.boton--linea { background: transparent; color: #0f0f0f; box-shadow: inset 0 0 0 1px rgba(15, 15, 15, .35); }
.boton--claro { background: #f2f0ee; color: #050505; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* los entes: respiran, y entran desenfocados como si se acercaran */
.ente { margin: 0; position: relative; will-change: transform; }
.ente img { width: 100%; height: 100%; object-fit: cover; animation: respira 7s ease-in-out infinite; transform-origin: 50% 85%; }
@keyframes respira { 50% { transform: scale(1.016); } }
.js .ente { opacity: 0; filter: blur(14px); transition: opacity 1s var(--curva), filter 1.1s var(--curva); }
.js .ente.visto { opacity: 1; filter: blur(0); }
.ente--aura img, .ente--calor img, .ente--noche img { animation: respira 7s ease-in-out infinite, calor 9s ease-in-out infinite; }
@keyframes calor { 50% { filter: saturate(1.12) brightness(1.03); } }
.ente.atento img { filter: saturate(1.25) brightness(1.06); transition: filter .6s ease; }

/* ---------- U·01 AURA ---------- */
.u-aura { background: #FAF8F7; color: #0f0f0f; }
.u-aura .escenario { display: grid; grid-template-columns: 1fr minmax(0, 66.6svh); }
.aura__texto { align-self: center; padding: 120px var(--pad) 90px; position: relative; z-index: 2; }
.aura__t { margin: 22px 0 0; display: grid; font-size: clamp(76px, 11.6vw, 220px); line-height: .8; letter-spacing: -.025em; text-transform: uppercase; }
.aura__t .viva { display: block; white-space: nowrap; }
.aura__lema { margin: 34px 0 0; max-width: 24ch; font: 500 clamp(19px, 1.7vw, 26px)/1.2 var(--cuerpo); letter-spacing: -.01em; }
.aura__acc { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* el borde izquierdo se funde con el fondo y deja de fundirse al crecer */
.ente--aura { height: 100vh; height: 100svh; align-self: end; }
.ente--aura img { -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, var(--e, 0)), #000 14%); mask-image: linear-gradient(to right, rgba(0, 0, 0, var(--e, 0)), #000 14%); }
.js .aura__t .l { animation: nace .95s var(--curva) backwards; animation-delay: calc(.12s + var(--i) * 30ms); }
.js .aura__texto .eti, .js .aura__lema, .js .aura__acc { animation: aparece .8s var(--curva) .45s backwards; }
@keyframes nace { from { opacity: 0; transform: translateY(.35em) scaleY(1.35); filter: blur(12px); } }
@keyframes aparece { from { opacity: 0; filter: blur(8px); } }

/* ---------- U·02 CALOR ---------- */
.u-calor { background: #BCBEC3; color: #101010; }
.u-calor > .escenario { display: flex; flex-direction: column; }
.calor__fin { display: none; }
.calor__rejilla { flex: 1; display: grid; grid-template-columns: 1fr minmax(0, 61svh) 1fr; align-items: center; gap: 0 2vw; padding: 0 var(--pad) 40px; }
.calor__mini { margin: 0 0 18px; font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.calor__t { margin: 0; max-width: 17ch; font: 500 clamp(24px, 2.25vw, 38px)/1.08 var(--disp); letter-spacing: -.015em; }
.calor__t .pal { display: inline-block; font-variation-settings: 'wght' var(--w, 300), 'wdth' 100; opacity: var(--o, .35); }
.servicios { list-style: none; padding: 0; margin: 34px 0 0; max-width: 300px; }
.servicios li { display: flex; gap: 16px; align-items: baseline; padding: 11px 0; border-top: 1px solid rgba(16, 16, 16, .25); font: 600 18px/1 var(--disp); cursor: default; transition: padding-left .5s var(--curva); }
.servicios li span { font: 400 10px/1 var(--mono); letter-spacing: .14em; opacity: .6; }
.servicios li:hover { padding-left: 10px; }
.ente--calor { height: 82vh; height: 82svh; }
.ente--calor img { --b: rgba(0, 0, 0, var(--e, 0)); -webkit-mask-image: linear-gradient(to right, var(--b), #000 9%, #000 91%, var(--b)), linear-gradient(var(--b), #000 6%, #000 94%, var(--b)); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, var(--b), #000 9%, #000 91%, var(--b)), linear-gradient(var(--b), #000 6%, #000 94%, var(--b)); mask-composite: intersect; }
.ente__palabra { position: absolute; left: 50%; top: 31.5%; transform: translateX(-50%); color: #fff; font: 400 clamp(11px, 1.05vw, 15px)/1 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.01em; text-shadow: 0 0 6px rgba(0, 60, 0, .35); pointer-events: none; opacity: calc(1 - var(--e, 0) * 3); }
.calor__porque { justify-self: end; max-width: 330px; }
.calor__lema { margin: 0; display: grid; font-size: clamp(30px, 2.9vw, 50px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.calor__txt { margin: 18px 0 0; font-size: 15px; line-height: 1.5; }
.porque { list-style: none; padding: 0; margin: 26px 0 0; }
.porque li { padding: 12px 0; border-top: 1px solid rgba(16, 16, 16, .25); font-size: 14px; line-height: 1.45; }
.porque b { display: block; margin-bottom: 3px; font: 600 16px/1.2 var(--disp); }

/* ---------- U·03 TIPO ---------- */
.u-tipo { background: #EDEDEB; color: #161616; display: flex; flex-direction: column; padding: 92px var(--pad) 26px; }
.tipo__cab, .tipo__pie { display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 400 14px/1.2 var(--cuerpo); }
.tipo__cab p, .tipo__pie p { margin: 0; }
.tipo__cab b { font-weight: 700; }
.tipo__lista { flex: 1; min-height: 0; list-style: none; padding: 0; margin: 14px 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.tipo__lista li { line-height: .82; cursor: default; transition: opacity .45s var(--curva); }
.tipo__p { display: block; width: max-content; transform-origin: 0 50%; font-family: var(--disp); font-weight: 800; font-variation-settings: 'wght' 800, 'wdth' 100; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.tipo__p .l { display: inline-block; transition: transform .6s var(--curva); transition-delay: calc(var(--i) * 25ms); }
.tipo__lista:hover li { opacity: .18; }
.tipo__lista li:hover { opacity: 1; }
.tipo__lista li:hover .l { transform: translateY(-.04em); }
.tipo__lista li:hover .l:nth-child(odd) { transform: translateY(.04em); }
.tipo__pie { padding-right: 300px; }
.tipo__pie p:nth-of-type(1) { max-width: 46ch; font-size: 13px; opacity: .75; }
.carita { width: 30px; height: 30px; fill: currentColor; flex: none; }
.visor { position: fixed; left: 0; top: 0; z-index: 25; width: clamp(220px, 22vw, 360px); aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .35s ease; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); }
.visor img { width: 100%; height: 100%; object-fit: cover; }
.visor.activo { opacity: 1; }

/* ---------- carteles (escarcha, rojo, noche): la imagen manda y los textos van donde estaban en el original ---------- */
.cartel { position: relative; margin: 0 auto; height: 100vh; height: 100svh; max-width: 100vw; container-type: inline-size; }
.cartel .ente { position: absolute; inset: 0; }
.cartel .ente img { -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }

/* ---------- U·04 ESCARCHA ---------- */
.u-escarcha { background: #BFC0C5; color: #0e0e0e; padding-bottom: 16vh; }
.cartel--escarcha { aspect-ratio: 2 / 3; }
.escarcha__marca { position: absolute; left: 50%; top: 37.5%; z-index: 2; margin: 0; color: #fff; font: 300 7.2cqw/1 var(--disp); letter-spacing: -.02em; white-space: nowrap; }
.escarcha__marca .viva { font-size: 1em; }
.escarcha__marca em { font-style: normal; font-weight: 300; opacity: .85; }
.escarcha__rejilla { position: absolute; left: 9%; right: 8%; top: 52%; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw 2cqw; color: #fff; }
.escarcha__rejilla p { margin: 0; font: 400 2.05cqw/1.15 var(--cuerpo); text-transform: uppercase; letter-spacing: .02em; }
.escarcha__firma { position: absolute; left: 9%; top: 68%; z-index: 2; margin: 0; display: flex; align-items: center; gap: 4cqw; color: #fff; font: 400 2.05cqw/1 var(--cuerpo); text-transform: uppercase; letter-spacing: .02em; }
.escarcha__n { padding: 1.4cqw 4.6cqw; border-radius: 50%; background: #fff; color: #0e0e0e; font: 800 4.4cqw/1 var(--disp); letter-spacing: -.02em; }
.obras { list-style: none; margin: 12vh 0 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 12vh; }
.obra { will-change: transform; }
.obra:nth-child(1) { grid-column: 1 / 8; }
.obra:nth-child(2) { grid-column: 9 / 13; margin-top: 22vh; }
.obra:nth-child(3) { grid-column: 3 / 9; }
.obra:nth-child(4) { grid-column: 1 / 6; margin-top: 8vh; }
.obra:nth-child(5) { grid-column: 7 / 13; }
.obra:nth-child(6) { grid-column: 2 / 8; }
.obra:nth-child(7) { grid-column: 9 / 13; margin-top: 18vh; }
.obra:nth-child(8) { grid-column: 1 / 7; }
.obra:nth-child(9) { grid-column: 7 / 13; margin-top: 10vh; }
.obra a { display: block; text-decoration: none; }
.obra__ventana { display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 40px 70px -40px rgba(0, 0, 0, .6); }
.obra__ventana { position: relative; }
.obra__ventana::before { content: ''; position: absolute; top: 12px; left: 12px; z-index: 2; width: 10px; height: 10px; background: var(--senal); transform: scale(0); transition: transform .5s var(--curva); }
.obra a:hover .obra__ventana::before { transform: scale(1); }
.obra__ventana img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(1.1); transition: transform 1.2s var(--curva); }
.obra a:hover .obra__ventana img { transform: translateY(var(--py, 0px)) scale(1.16); }
.obra__pie { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.obra__n { font: 400 11px/1 var(--mono); letter-spacing: .16em; }
.obra__nombre { font: 600 clamp(24px, 2.2vw, 36px)/1 var(--disp); letter-spacing: -.02em; font-variation-settings: 'wght' 600, 'wdth' 100; transition: font-variation-settings .6s var(--curva); }
.obra a:hover .obra__nombre { font-variation-settings: 'wght' 800, 'wdth' 82; }
.obra__tipo { font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.obra__desc { display: block; margin-top: 10px; max-width: 46ch; font-size: 14.5px; line-height: 1.5; }
.obra__desc u { font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-underline-offset: 4px; white-space: nowrap; padding-left: 6px; }

/* ---------- SEÑAL: franja de manifiesto ---------- */
.u-senal { position: relative; min-height: 62vh; display: grid; place-items: center; padding: 14vh var(--pad); background: #060606; color: #f0efed; overflow: clip; }
.u-senal::before, .u-senal::after { content: ''; position: absolute; left: -30%; right: -30%; top: 30%; height: 42%; background: linear-gradient(90deg, transparent 10%, rgba(255, 75, 31, .0) 20%, #FF4B1F 42%, #FFB35C 50%, #FF4B1F 58%, rgba(255, 75, 31, 0) 80%); filter: blur(46px); opacity: .55; animation: estela 9s linear infinite; }
.u-senal::after { top: 48%; height: 18%; opacity: .45; filter: blur(22px); animation-duration: 6s; animation-direction: reverse; }
@keyframes estela { from { transform: translateX(-22%); } to { transform: translateX(22%); } }
.senal__t { position: relative; z-index: 1; display: flex; align-items: center; gap: 2.4vw; width: 100%; margin: 0; font: 500 clamp(20px, 2.6vw, 42px)/1.1 var(--cuerpo); letter-spacing: -.02em; }
.senal__t > span:not(.senal__linea) { white-space: nowrap; }
.senal__linea { flex: 1; height: 1.5px; background: currentColor; transform-origin: 0 50%; transform: scaleX(var(--linea, 0)); }
.senal__hud { position: absolute; z-index: 1; left: var(--pad); right: var(--pad); bottom: 22px; margin: 0; display: flex; justify-content: space-between; font: 400 10px/1 var(--mono); letter-spacing: .18em; opacity: .6; }

/* ---------- U·05 ROJO ---------- */
.u-rojo { background: #C01115; color: #0a0a0a; padding-bottom: 14vh; }
.cartel--rojo { aspect-ratio: 3 / 4; }
.rojo__marca { position: absolute; top: 8.5%; left: 0; right: 0; z-index: 2; margin: 0; display: grid; justify-items: center; font: 700 5.2cqw/1 var(--disp); letter-spacing: -.03em; font-variation-settings: 'wght' 700, 'wdth' 82; }
.rojo__marca span { margin-top: .2em; font: 500 1.9cqw/1 var(--cuerpo); letter-spacing: .02em; text-transform: uppercase; }
.rojo__titulo { position: absolute; top: 56.5%; left: 0; right: 0; z-index: 2; margin: 0; display: grid; justify-items: center; font: 500 5.4cqw/1 var(--cuerpo); letter-spacing: -.02em; text-transform: uppercase; color: #0a0a0a; text-shadow: 0 1px 0 rgba(255, 255, 255, .18), 0 -1px 0 rgba(0, 0, 0, .35); }
.rojo__titulo span { margin-top: .35em; font-size: .42em; font-weight: 600; letter-spacing: .06em; }
.rojo__pie { position: absolute; bottom: 1.6%; left: 0; right: 0; z-index: 2; margin: 0; text-align: center; font: 500 2.3cqw/1 var(--cuerpo); letter-spacing: .02em; text-transform: uppercase; }
.planes { margin: 10vh var(--pad) 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid currentColor; }
.plan { display: flex; flex-direction: column; padding: 30px 28px 34px; border-right: 1.5px solid currentColor; }
.plan:last-child { border-right: 0; }
.plan--rec { background: #0a0a0a; color: #e3241c; }
.plan__n { display: flex; justify-content: space-between; align-items: center; margin: 0; font: 400 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.plan__rec { padding: 6px 9px; border-radius: 99px; background: #e3241c; color: #0a0a0a; font-size: 10px; }
.plan__t { margin: 26px 0 8px; font: 600 26px/1.05 var(--disp); letter-spacing: -.01em; }
.plan__d { margin: 0; font-size: 15px; line-height: 1.5; min-height: 4.5em; }
.plan__precio { margin: 30px 0 22px; font-size: clamp(56px, 6vw, 110px); line-height: .9; letter-spacing: -.02em; }
.plan__precio .viva { color: #fff; }   /* solo las cifras en blanco */
.plan__precio small { display: block; margin-bottom: 10px; font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.plan__l { list-style: none; padding: 0; margin: 0 0 30px; }
.plan__l li { padding: 10px 0; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); font-size: 14.5px; }
.plan__cta { margin-top: auto; display: flex; justify-content: space-between; padding: 16px 20px; border-radius: 99px; background: #0a0a0a; color: #e3241c; font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: transform .4s var(--curva); }
.plan--rec .plan__cta { background: #e3241c; color: #0a0a0a; }
.plan__cta:hover { transform: translateY(-2px); }

/* ---------- U·06 NOCHE ---------- */
.u-noche { background: #000; color: #f0efed; padding-bottom: 30px; }
.cartel--noche { aspect-ratio: 2 / 3; height: 96vh; height: 96svh; }
.cartel--noche .ente img { -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(#000 80%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(#000 80%, transparent); mask-composite: intersect; }
.noche__pie { position: absolute; left: 0; right: 0; top: 74%; z-index: 2; margin: 0; display: grid; justify-items: center; gap: .15em; color: #fff; text-align: center; }
.noche__pie b { font-size: 9.4cqw; line-height: 1; letter-spacing: -.02em; }
.noche__pie > span { font: 300 5.4cqw/1 var(--cuerpo); letter-spacing: -.01em; opacity: .9; }
.noche__acc { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6vh var(--pad) 0; }
.noche__lema { margin: 0 0 28px; font: 500 clamp(19px, 1.8vw, 26px)/1.2 var(--cuerpo); }
.noche__datos { display: flex; gap: 14px; margin: 26px 0 0; font: 400 12px/1 var(--mono); letter-spacing: .14em; }
.noche__datos a { text-decoration: none; }
.noche__otras { display: flex; gap: 34px; margin-top: 12vh; font: 400 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.noche__otras a { text-decoration: underline; text-underline-offset: 5px; }
.pie { margin: 30px 0 0; font: 400 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; opacity: .5; }
.pie a { color: inherit; text-decoration: none; }
.pie a:hover { text-decoration: underline; }

/* ---------- tablet y móvil ---------- */
@media (max-width: 1100px) {
  .cab { grid-template-columns: 1fr auto; }
  .cab__nav { display: none; }
}
@media (max-width: 1000px) {
  .u-calor.u--crece { height: auto; }
  .u-calor > .escenario { position: static; height: auto; overflow: visible; }
  .u-calor .u--crece .calor__que, .u-calor .calor__que, .u-calor .calor__porque, .u-calor .cartel__cab { opacity: 1; filter: none; }
  .calor__rejilla { grid-template-columns: 1fr 1fr; gap: 30px 5vw; padding-top: 34px; padding-bottom: 20px; align-items: start; }
  .calor__rejilla > .ente--calor { display: none; }
  .calor__porque { justify-self: start; }
  .calor__fin { display: block; height: 220vh; height: 220svh; }
  .escenario--fin { display: grid; place-items: center; }
  .escenario--fin .ente--calor { height: 72svh; width: calc(72svh * .75); max-width: 96vw; }
}
@media (max-width: 760px) {
  .cab { grid-template-columns: 1fr auto; }
  .cab__nav, .hud, .pildoras__nombre { display: none; }
  .pildoras { right: 8px; top: 50%; bottom: auto; flex-direction: column; transform: translateY(-50%); gap: 5px; }
  .pildoras a { width: 6px; height: 6px; }
  .pildoras a.activo { width: 6px; height: 30px; }
  .cab::before { height: 86px; }
  .senal__t { flex-direction: column; align-items: flex-start; gap: 18px; }
  .senal__t > span:not(.senal__linea) { white-space: normal; }
  .senal__linea { width: 60%; flex: none; }
  .esq--id { right: var(--pad); }
  .u-aura .escenario { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; }
  .ente--aura { order: -1; height: 54svh; width: calc(54svh * .6667); max-width: 112vw; justify-self: center; margin-top: 54px; }
  /* los lados se funden con el fondo (y dejan de hacerlo al crecer); abajo se funde siempre, así no se ve el corte al crecer */
  .ente--aura img { --b: rgba(0, 0, 0, var(--e, 0)); -webkit-mask-image: linear-gradient(to right, var(--b), #000 12%, #000 88%, var(--b)), linear-gradient(#000 72%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, var(--b), #000 12%, #000 88%, var(--b)), linear-gradient(#000 72%, transparent); mask-composite: intersect; }
  .u-aura .esq { display: none; }
  .aura__texto { align-self: start; padding: 0 var(--pad) 60px; margin-top: -3svh; }
  .aura__t { font-size: 19vw; margin-top: 14px; }
  .aura__lema { margin-top: 20px; }
  .aura__acc { margin-top: 20px; }
  .calor__rejilla { grid-template-columns: 1fr; }
  .calor__porque { max-width: none; }
  .tipo__pie { padding-right: 0; flex-wrap: wrap; }
  .cartel { width: 100vw; height: auto; margin-top: 58px; }
  .obras { grid-template-columns: 1fr; row-gap: 70px; }
  .obra:nth-child(n) { grid-column: 1; margin-top: 0; }
  .planes { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1.5px solid currentColor; }
  .plan__d { min-height: 0; }
  .noche__otras { flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grano, .ente img { animation: none !important; }
  .js .aura__t .l, .js .aura__texto .eti, .js .aura__lema, .js .aura__acc { animation: none; }
  .js .ente { opacity: 1; filter: none; }
  .desde-luz .velo { animation-duration: .3s; }
}
