/* ÁLZARA · sistema «Papel lunar / Eclipse» (portada y páginas de servicio)
   ─────────────────────────────────────────────────────────────────────────
   1. Letra: Inter y solo Inter. 300 titulares, 400 texto, 500 rótulos y botones, 600 solo el logotipo. Una palabra en cursiva fina, como mucho, por titular.
   2. Escala: display clamp(46px,13vw,128px) · h2 clamp(34px,9vw,84px) · h3 21-23px · entrada 18-22px · texto 16-17px · rótulo 11px en mayúsculas a .22em.
   3. Retícula: 12 columnas, ancho máximo 1320, margen clamp(20px,5.5vw,72px). En móvil, una columna.
   4. Espaciado en base 8. Cada sección respira clamp(72px,12vw,168px) arriba y abajo.
   5. Ambientes: las secciones alternan PAPEL (grano, tinta) y NOCHE (.noche: tinta profunda, luz dorada tenue).
      El paso de una a otra es el limbo del eclipse (.limbo): un arco con su corona de oro.
   6. El eclipse es el recurso de la marca: disco, corona y perla (.astro). Sale en la portada, en el GEO, en el menú y en las cabeceras de servicio.
   7. Materia: grano de papel (assets/grano.png), sombras largas y suaves (--sombra), filetes de 1 px. Radios: 999 en botones, 12 en marcos.
   8. Movimiento: una curva (--sale) y dos duraciones (.4s gesto, 1s entrada). Solo opacity y transform, al entrar en pantalla (IntersectionObserver).
      Nada va ligado al scroll en el hilo principal; la barra de la galería usa animation-timeline donde existe.
   9. Las piezas (web que se alza, capas, móvil) son WebGL2: js/alza-3d.js (fuente en alza-3d.src.js; se compila con alza-3d.build.py). Una geometría, un programa,
      un atlas y una llamada de dibujo por escena. Sin WebGL2 o si va lento: póster en la portada y la versión CSS en capas y móvil. Con reduced-motion, la pose final.
   10. Móvil primero: todo se dibuja a 360-390 px y se ensancha desde ahí. Objetivos táctiles de 44 px o más. */

:root {
  --bg: #0A0A0B; --bg2: #141416; --tinta: #F5F5F3; --texto: #BFBFB9; --gris: #8C8C94;
  --linea: rgba(245, 245, 243, .16); --linea2: rgba(245, 245, 243, .08);
  --oro: #C9A96A; --oro-txt: #C9A96A; --plano: #55555C; --papel: #FBFAF7; --tinta-fija: #111112;
  --sombra: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 12px 24px -16px rgba(0, 0, 0, .6);
  --m: clamp(20px, 5.5vw, 72px); --sec: clamp(56px, 12vw, 168px); --arco: clamp(26px, 5vw, 72px);
  --sale: cubic-bezier(.16, 1, .3, 1);
}
body.theme-light {
  --bg: #F3F2EE; --bg2: #FBFAF7; --tinta: #111112; --texto: #45453F; --gris: #6E6E68;
  --linea: rgba(17, 17, 18, .16); --linea2: rgba(17, 17, 18, .07);
  --oro-txt: #8A6B22; --plano: #A9A8A2;
  --sombra: 0 34px 60px -30px rgba(40, 32, 12, .38), 0 10px 22px -14px rgba(40, 32, 12, .2);
}
/* ambiente de noche: vale en los dos temas (de día es el contrapunto del papel; de noche, un negro más hondo) */
.noche, body.theme-light .noche {
  --bg: #070708; --bg2: #131315; --tinta: #F5F5F3; --texto: #BFBFB9; --gris: #8C8C94;
  --linea: rgba(245, 245, 243, .16); --linea2: rgba(245, 245, 243, .08); --oro-txt: #C9A96A; --plano: #55555C;
  --sombra: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 12px 24px -16px rgba(0, 0, 0, .6);
  background-color: var(--bg); color: var(--texto);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--bg); color: var(--texto); font: 400 16px/1.65 "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html, body { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
b, strong { font-weight: 500; color: var(--tinta); }
::selection { background: rgba(201, 169, 106, .4); }
:focus-visible { outline: 1px solid var(--tinta); outline-offset: 4px; border-radius: 4px; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.salta { position: fixed; left: 12px; top: -80px; z-index: 99; background: var(--tinta); color: var(--bg); padding: 12px 18px; border-radius: 999px; }
.salta:focus { top: 12px; }

/* ── letra ── */
h1, h2, h3 { color: var(--tinta); font-weight: 300; }
.display { font-size: clamp(46px, 13vw, 128px); line-height: .98; letter-spacing: -.05em; }
h2, .h2 { font-size: clamp(40px, 11.4vw, 84px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.015em; font-weight: 400; }
h1 b, h2 b { font-weight: 300; color: var(--oro-txt); }
h1 em, h2 em { font-style: italic; font-weight: 300; letter-spacing: -.055em; padding-right: .04em; }
.entrada { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; font-weight: 300; color: var(--texto); max-width: 32em; text-wrap: pretty; }
p { text-wrap: pretty; }
.rot { font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); }
.rot i { font-style: normal; color: var(--oro-txt); margin-right: 1.1em; }
/* titulares por palabras: cada una sube desde su renglón (las corta js/alza.js) */
.pal { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; padding-right: .06em; margin-right: -.06em; }
.pal > span { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--sale); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 55ms); }
.visto .pal > span, .pal.visto > span { transform: none; }

/* ── retícula y ambientes ── */
.caja { width: min(100% - 2 * var(--m), 1320px); margin-inline: auto; }
.sec { position: relative; padding-block: var(--sec); background-color: var(--bg); background-image: url(../assets/grano.png); background-size: 128px; }
.cab-sec { display: grid; gap: 18px; margin-bottom: clamp(28px, 5vw, 72px); }
.cab-sec .entrada { margin-top: 6px; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
/* limbo: el borde de arriba de la sección es el arco del disco, con su corona */
.limbo { margin-top: calc(var(--arco) * -1); padding-top: calc(var(--sec) + var(--arco) * .4); background: none; }
.limbo::before { content: ""; position: absolute; z-index: 0; left: -22%; right: -22%; top: 0; bottom: 0; background: var(--bg) url(../assets/grano.png) 0 0 / 128px; border-radius: 50% 50% 0 0 / calc(var(--arco) * 2) calc(var(--arco) * 2) 0 0; border-top: 1px solid var(--oro); box-shadow: 0 -22px 70px -18px rgba(201, 169, 106, .5), inset 0 60px 90px -70px rgba(201, 169, 106, .32); }
.limbo > * { position: relative; z-index: 1; }
.antes-limbo, .sec:has(+ .limbo) { padding-bottom: calc(var(--sec) + var(--arco)); }
.hero:has(+ .limbo) { padding-bottom: var(--arco); }
/* luz: un resplandor dorado tenue dentro de las secciones de noche */
.noche .luz { position: absolute; z-index: 0; pointer-events: none; width: min(120vw, 900px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 169, 106, .17), rgba(201, 169, 106, .05) 55%, transparent); }

/* ── botón píldora y enlace ── */
.boton { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 30px; border: 1px solid var(--gris); border-radius: 999px; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--tinta); white-space: nowrap; transition: background .4s var(--sale), color .4s var(--sale), border-color .4s var(--sale), transform .4s var(--sale), box-shadow .4s var(--sale); -webkit-tap-highlight-color: transparent; }
.boton::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform .4s var(--sale), background .4s; }
.boton--lleno { background: var(--tinta); border-color: var(--tinta); color: var(--bg); box-shadow: var(--sombra); }
.boton--lleno::after { background: var(--oro); }
.boton--chico { min-height: 44px; padding: 0 20px; font-size: 10.5px; box-shadow: none; }
.boton:active { transform: scale(.965); }
.enlace { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--tinta); }
.enlace > span, .enlace:not(:has(> span)) { background: linear-gradient(var(--gris), var(--gris)) 0 calc(100% - 9px) / 100% 1px no-repeat, linear-gradient(var(--tinta), var(--tinta)) 0 calc(100% - 9px) / 0 1px no-repeat; transition: background-size .5s var(--sale); }
.enlace::after { content: "→"; font-weight: 300; transition: transform .4s var(--sale); }
.enlace:active::after { transform: translateX(5px); }
@media (hover: hover) {
  .boton:hover { background: var(--tinta); border-color: var(--tinta); color: var(--bg); }
  .boton:hover::after { transform: scale(1.8); background: var(--oro); }
  .boton--lleno:hover { transform: translateY(-2px); }
  .enlace:hover::after { transform: translateX(6px); }
  .enlace:hover > span, .enlace:not(:has(> span)):hover { background-size: 100% 1px, 100% 1px; }
}

/* ── marca ── */
.marca { display: inline-flex; align-items: center; gap: .62em; font-size: 15px; min-height: 44px; }
.marca__orbe { position: relative; flex: none; width: 1.04em; height: 1.04em; border-radius: 50%; border: 1px solid var(--gris); transition: border-color .4s; }
.marca__orbe::after { content: ""; position: absolute; inset: 0; margin: auto; width: .46em; height: .46em; border-radius: 50%; background: var(--tinta); transition: transform .6s var(--sale); }
.marca__txt { font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--tinta); line-height: 1; }
@media (hover: hover) { a.marca:hover .marca__orbe { border-color: var(--oro); } a.marca:hover .marca__orbe::after { transform: scale(1.5); } }

/* ── el eclipse: disco, corona, perla y órbitas ── */
.astro { position: absolute; border-radius: 50%; aspect-ratio: 1; pointer-events: none; }
.astro i { position: absolute; border-radius: 50%; }
.astro__halo { inset: -48%; background: radial-gradient(closest-side, rgba(201, 169, 106, .42) 52%, rgba(201, 169, 106, .16) 68%, rgba(201, 169, 106, .04) 86%, transparent); }
.astro__orbita { inset: -17%; border: 1px solid var(--linea); }
.astro__orbita + .astro__orbita { inset: -38%; border-color: var(--linea2); }
.astro__disco { inset: 0; background: radial-gradient(circle at 32% 28%, #1d1d21, #08080A 62%); box-shadow: 0 0 0 1px var(--oro), 0 0 2.2em .1em rgba(201, 169, 106, .55), inset 0 0 3em rgba(201, 169, 106, .1); }
.astro__perla { width: 7px; height: 7px; left: 85.4%; top: 14.6%; margin: -3.5px; background: #FFF6DD; box-shadow: 0 0 14px 5px rgba(255, 233, 180, .9), 0 0 44px 14px rgba(201, 169, 106, .6); }

/* ── cabecera ── */
.cab { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding-inline: var(--m); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .4s, background-color .4s; }
.cab.fija { border-bottom-color: var(--linea2); }
.cab__nav { display: none; gap: clamp(20px, 2.6vw, 40px); }
.cab__nav a { position: relative; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); padding-block: 16px; transition: color .4s; }
.cab__nav a::after { content: ""; position: absolute; left: 0; right: .22em; bottom: 9px; height: 1px; background: var(--oro); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--sale); }
.cab__nav a:hover, .cab__nav a[aria-current] { color: var(--tinta); }
.cab__nav a:hover::after, .cab__nav a[aria-current]::after { transform: none; }
.cab__util { display: flex; align-items: center; gap: 4px; }
.cab__cta { display: none; margin-left: 12px; }
.tema { width: 44px; height: 44px; display: grid; place-items: center; }
.tema i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--tinta); background: var(--tinta); box-shadow: inset -6px 0 0 0 var(--bg); transition: box-shadow .8s var(--sale), transform .8s var(--sale); }
body.theme-light .tema i { box-shadow: inset 0 0 0 0 var(--bg); }
.tema:active i { transform: scale(.8); }
.menu-btn { width: 44px; height: 44px; margin-right: -10px; display: grid; place-content: center; gap: 7px; }
.menu-btn i { width: 22px; height: 1px; background: var(--tinta); transition: transform .5s var(--sale); }
.mopen .menu-btn i:first-child { transform: translateY(4px) rotate(45deg); }
.mopen .menu-btn i:last-child { transform: translateY(-4px) rotate(-45deg); }
/* con el menú abierto la cabecera se viste de noche, como el menú */
.mopen .cab { --bg: #070708; --tinta: #F5F5F3; --gris: #8C8C94; --linea: rgba(245, 245, 243, .16); border-bottom-color: transparent; }

.idioma { position: relative; }
.idioma > button { width: 44px; height: 44px; display: grid; place-items: center; }
.bandera { width: 18px; height: 12px; border-radius: 2px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--linea); }
.bandera svg { width: 100%; height: 100%; }
.idioma > div { position: absolute; right: 0; top: 48px; min-width: 164px; padding: 6px; background: var(--bg2); border: 1px solid var(--linea); border-radius: 12px; display: none; box-shadow: var(--sombra); }
.idioma.abierto > div { display: block; }
.idioma > div button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; font-size: 14px; color: var(--texto); border-radius: 6px; }
.idioma > div button.on { color: var(--tinta); font-weight: 500; }

/* ── menú a pantalla completa (móvil): de noche, con el eclipse arriba ── */
.menu { position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; justify-content: flex-end; padding: 88px var(--m) calc(28px + env(safe-area-inset-bottom)); overflow: hidden auto; }
.menu[hidden] { display: none; }
.menu .astro { width: 78vw; right: -24vw; top: 10svh; font-size: 14px; }
.menu nav { position: relative; display: grid; border-top: 1px solid var(--linea); counter-reset: m; }
.menu nav a { counter-increment: m; display: flex; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--linea); font-size: clamp(34px, 10.4vw, 46px); font-weight: 300; letter-spacing: -.045em; line-height: 1.12; color: var(--tinta); }
.menu nav a::before { content: "0" counter(m); font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--oro); }
.menu nav a::after { content: "→"; margin-left: auto; font-size: 20px; color: var(--gris); transition: transform .4s var(--sale), color .4s; }
.menu nav a:active::after { transform: translateX(6px); color: var(--oro); }
.menu__pie { position: relative; display: grid; gap: 14px; margin-top: 24px; }
.menu__pie .boton { width: 100%; box-shadow: none; }
.menu__pie p { display: flex; justify-content: space-between; font-size: 15px; color: var(--tinta); }
.menu__pie p a { min-height: 44px; display: inline-flex; align-items: center; }
html.js .menu:not([hidden]) { animation: abre .5s var(--sale) both; }
html.js .menu:not([hidden]) nav a, html.js .menu:not([hidden]) .menu__pie { animation: sube .8s var(--sale) both; }
html.js .menu:not([hidden]) .astro { animation: asoma 1.4s var(--sale) both; }
html.js .menu nav a:nth-child(1) { animation-delay: .06s; } html.js .menu nav a:nth-child(2) { animation-delay: .11s; } html.js .menu nav a:nth-child(3) { animation-delay: .16s; }
html.js .menu nav a:nth-child(4) { animation-delay: .21s; } html.js .menu nav a:nth-child(5) { animation-delay: .26s; }
html.js .menu .menu__pie { animation-delay: .34s; }
@keyframes sube { from { opacity: 0; transform: translateY(22px); } }
@keyframes abre { from { opacity: 0; } }
@keyframes asoma { from { opacity: 0; transform: translateY(12%) scale(.9); } }

/* ── aparecer al entrar ── */
html.js [data-ver] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--sale), transform 1s var(--sale); transition-delay: var(--d, 0s); }
html.js [data-ver].visto { opacity: 1; transform: none; }
html.js [data-ver="titulo"] { opacity: 1; transform: none; }
html.js [data-ver="titulo"] > :not(h1, h2) { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--sale) .25s, transform 1s var(--sale) .25s; }
html.js [data-ver="titulo"].visto > * { opacity: 1; transform: none; }

/* ══════════ PORTADA ══════════ */
main { padding-top: 64px; }
.hero { position: relative; background: var(--bg) url(../assets/grano.png) 0 0 / 128px; }
.hero__caja { position: relative; z-index: 2; padding-top: clamp(22px, 5vw, 56px); }
.hero__txt { display: grid; justify-items: start; gap: 18px; }
.hero h1 > span, .hero h1 .plana > span { display: block; }
.hero h1 .plana { color: var(--gris); }
.hero .entrada { max-width: 21.5em; }
.hero .acciones { margin-top: 8px; }
.hero__indice { display: none; }

/* la pieza: una plantilla plana y gris se alza en una web con cuerpo, y al alzarse eclipsa el disco: la corona la ilumina por detrás
   y su sombra cae larga hacia delante, sobre la huella de lo que era. CSS 3D; js/alza.js solo le da la salida. */
.alza { --p: #FBFAF7; --t: #111112; position: relative; z-index: 1; height: 37em; margin-top: -2em; font-size: clamp(9.4px, 3.05vw, 13.5px); perspective: 150em; perspective-origin: 46% 34%; -webkit-tap-highlight-color: transparent; cursor: pointer; overflow: hidden; }
.alza .astro { left: 33%; top: .8em; width: 24em; transition: transform 2.4s var(--sale), opacity 1.6s ease; }
.alza__giro { position: absolute; left: 43%; top: 30.5em; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 1.2s var(--sale); }
.alza__mundo { position: absolute; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-15deg) rotateY(-27deg); }
.alza.vive .alza__mundo { animation: respira 12s ease-in-out infinite alternate; }
@keyframes respira { to { transform: rotateX(-13deg) rotateY(-20deg); } }
.alza__penumbra, .alza__huella, .alza__web { position: absolute; left: -11em; width: 22em; height: 28em; }
/* suelo: la sombra larga y la huella plana */
.alza__penumbra, .alza__huella { top: 0; transform-origin: 50% 0; transform: rotateX(-90deg); }
.alza__penumbra { left: -12em; width: 24em; height: 34em; background: linear-gradient(rgba(10, 8, 2, .5), rgba(10, 8, 2, .16) 55%, transparent); filter: blur(1.1em); transition: opacity 1.8s ease .3s; }
.alza__huella { color: var(--plano); transition: opacity 1.2s ease .5s; }
.alza__huella svg, .w-plano svg { width: 100%; height: 100%; overflow: visible; }
/* la web */
.alza__web { bottom: 0; transform-origin: 50% 100%; transform-style: preserve-3d; transition: transform 1.9s cubic-bezier(.6, 0, .1, 1); }
.alza__web > * { position: absolute; transition: transform 1.5s var(--sale) .75s, opacity .8s ease .7s; }
.w-canto { inset: 0; border-radius: .55em; background: #CFCBBF; transform: translateZ(-.45em); }
.w-base { inset: 0; overflow: hidden; border-radius: .55em; background: var(--p) url(../assets/grano.png) 0 0 / 96px; box-shadow: 0 0 0 1px rgba(17, 17, 18, .1); }
.w-base::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 40%, rgba(232, 204, 148, .55) 50%, transparent 60%); transform: translateX(-70%); }
.alza:not(.plana) .w-base::after { animation: barrido 2.2s var(--sale) 1.1s both; }
@keyframes barrido { to { transform: translateX(70%); } }
.w-plano { inset: 0; border-radius: .55em; background: #D9D7D0; color: #8D8C86; opacity: 0; transition-delay: .2s !important; }
.w-nav { left: 1.7em; right: 1.7em; top: 1.6em; display: flex; align-items: center; gap: 1em; color: var(--t); transform: translateZ(1em); }
.w-nav .marca__orbe { font-size: 1.2em; border-color: #8C8C94; }
.w-nav .marca__orbe::after { background: var(--t); }
.w-nav i { width: 2.1em; height: 1px; background: #8C8C94; }
.w-nav i:first-of-type { margin-left: auto; }
.w-titulo { left: .54em; top: 1.5em; font-size: 3.15em; line-height: 1.02; letter-spacing: -.05em; font-weight: 300; color: var(--t); white-space: nowrap; transform: translateZ(.5em); }
.w-linea { left: 1.7em; top: 12.9em; width: 8.6em; height: 1px; background: #A9A8A2; transform: translateZ(1.6em); }
.w-linea::before, .w-linea::after { content: ""; position: absolute; left: 0; top: 1em; width: 100%; height: 1px; background: #A9A8A2; }
.w-linea::after { top: 2em; width: 62%; }
.w-boton { left: 2.15em; top: 21.6em; height: 3em; padding: 0 1.5em; display: flex; align-items: center; gap: .9em; border-radius: 99em; background: var(--t); color: var(--p); font-size: .78em; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transform: translateZ(4em); box-shadow: -.8em 1.4em 1.8em -.8em rgba(17, 17, 18, .5); }
.w-boton::after { content: ""; width: .45em; height: .45em; border-radius: 50%; background: var(--oro); }
.w-foto { right: -5.2em; top: 9.4em; width: 11.6em; height: 13.4em; border-radius: .55em; background: var(--p) url(../assets/grano.png) 0 0 / 96px; box-shadow: 0 0 0 1px rgba(17, 17, 18, .08), -1.6em 2.4em 2.6em -1.2em rgba(17, 17, 18, .5); transform: translateZ(5.4em); }
.w-foto::before { content: ""; position: absolute; left: .7em; right: .7em; top: .7em; height: 8.6em; border-radius: .3em; background: radial-gradient(circle at 50% 54%, var(--oro) 0 2.5em, transparent 2.55em), radial-gradient(circle at 50% 54%, rgba(201, 169, 106, .5), transparent 5.6em), #0C0C0E; }
.w-foto::after { content: ""; position: absolute; left: .9em; bottom: 2.3em; width: 5.2em; height: 1px; background: var(--t); box-shadow: 0 1em 0 0 #A9A8A2; }
.w-ficha { bottom: 1.7em; width: 5.5em; height: 5.2em; border-radius: .4em; background: var(--p); box-shadow: 0 0 0 1px rgba(17, 17, 18, .1), -.7em 1.2em 1.5em -.8em rgba(17, 17, 18, .4); }
.w-ficha::before { content: ""; position: absolute; left: .7em; top: .7em; width: 1.5em; height: 1.5em; border-radius: 50%; border: 1px solid var(--t); }
.w-ficha::after { content: ""; position: absolute; left: .8em; right: 1.6em; bottom: 1.7em; height: 1px; background: var(--t); box-shadow: 0 .8em 0 0 #A9A8A2; }
.w-ficha--1 { left: 1.7em; transform: translateZ(1.4em); }
.w-ficha--2 { left: 8.25em; transform: translateZ(2.6em); }
.w-ficha--2::before { background: var(--oro); border-color: var(--oro); }
.w-ficha--3 { left: 14.8em; transform: translateZ(3.8em); }
/* estado inicial: tumbada hacia delante, plana y gris; aún no hay luz */
.alza.plana .alza__web { transform: rotateX(-90deg); transition-duration: 1.3s; }
.alza.plana .alza__web > * { transform: none; opacity: 0; transition-delay: 0s; transition-duration: .5s; }
.alza.plana .alza__web > .w-plano, .alza.plana .alza__web > .w-canto { opacity: 1; }
.alza.plana .alza__penumbra, .alza.plana .alza__huella { opacity: 0; transition-delay: 0s; transition-duration: .6s; }
.alza.plana .astro { opacity: .0; transform: translateY(9em) scale(.86); transition-duration: 1.2s; }
body.theme-light .alza .astro__halo { background: radial-gradient(closest-side, rgba(201, 169, 106, .5) 52%, rgba(201, 169, 106, .2) 68%, rgba(201, 169, 106, .05) 86%, transparent); }
body:not(.theme-light) .alza__penumbra { background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .4) 55%, transparent); }

/* la pieza en WebGL2 (js/alza-3d.js): un lienzo por pieza. La versión CSS se queda debajo, sin pintar, y da las medidas:
   el tamaño de letra es la escala, .alza__giro es donde apoya la hoja y .astro es el disco. */
.lienzo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; animation: asoma3d .7s ease both; }
@keyframes asoma3d { from { opacity: 0; } }
.alza .lienzo.vive, .capas .lienzo.vive { animation: asoma3d .7s ease both, flota3d 7s ease-in-out .7s infinite alternate; }
@keyframes flota3d { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -.32em, 0); } }
.alza.espera .astro, .alza.espera .alza__giro { opacity: 0; }
.alza.gl { touch-action: pan-y; }
.alza.poster .astro, .alza.poster .alza__giro { display: none; }
.alza.poster::before { content: ""; position: absolute; inset: 0; background: url(../assets/alza-noche-m.webp) 50% 100% / 100% auto no-repeat; animation: asoma3d .9s ease both; }
body.theme-light .alza.poster::before { background-image: url(../assets/alza-dia-m.webp); }
.alza.gl .alza__mundo, .alza.gl .astro > i { display: none; }
@media (min-width: 980px) { .alza.gl, .alza.poster { overflow: visible; } .alza .lienzo { left: -45%; width: 145%; } .alza.poster::before { left: -45%; background-image: url(../assets/alza-noche.webp); background-position: 100% 50%; background-size: auto 100%; } body.theme-light .alza.poster::before { background-image: url(../assets/alza-dia.webp); } }
.capas.gl .capa { display: none; }
.capas .lienzo { left: -14%; top: -24%; width: 122%; height: 140%; }
/* el móvil: el cuerpo lo pinta el lienzo; la pantalla sigue siendo HTML y el motor la proyecta encima (matrix3d) */
.movil.gl { background: none; box-shadow: none; animation: none; }
.movil.gl::before { display: none; }
.movil .lienzo { left: -130%; top: -12%; width: 290%; height: 140%; }
.movil.gl .movil__pant { z-index: 1; transform-origin: 0 0; will-change: transform; backface-visibility: hidden; }
.movil.gl .movil__pant::before { content: ""; position: absolute; z-index: 3; left: 50%; top: 6px; width: 28%; height: 15px; margin-left: -14%; border-radius: 9px; background: #0A0A0B; }
.movil.gl .movil__pant::after { content: ""; position: absolute; z-index: 4; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0) 30%); }
@media (max-width: 699px) {
  /* en el móvil la pieza cabe entera en la primera pantalla, al lado del botón: el alto sale de lo que deja libre el texto */
  .alza { --alto: clamp(290px, calc(100svh - 440px), 480px); height: var(--alto); margin-top: 0; font-size: min(calc(var(--alto) / 33), 2.36vw); z-index: 0; overflow: visible; }
  .hero > .caja { position: relative; z-index: 2; }
  .alza__giro { left: 45%; top: calc(var(--alto) - 3.4em); }
  .alza .astro { left: calc(45% - 3.5em); top: calc(var(--alto) - 32.4em); width: 22em; }
  /* el lienzo sube por detrás del texto para que la corona no se corte; nada se recorta al recargar ni al bajar */
  .alza.gl, .alza.poster { overflow: visible; }
  .alza .lienzo, .alza.poster::before { top: -55%; height: 157%; bottom: auto; }
  .hero .acciones { flex-wrap: nowrap; gap: 18px; }
  .hero .acciones .boton { padding-inline: 24px; }
  .hero .acciones .enlace { white-space: nowrap; }
  @media (max-width: 384px) { .hero .acciones { gap: 12px; } .hero .acciones .boton { padding-inline: 17px; letter-spacing: .12em; } .hero .acciones .enlace { font-size: 14px; } }
}

/* marquesina fina de servicios */
.cinta { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--linea2); }
.cinta ul { display: flex; width: max-content; animation: cinta 38s linear infinite; }
.cinta li { display: flex; align-items: center; height: 52px; padding-right: 2.6em; white-space: nowrap; }
.cinta li::after { content: ""; width: 5px; height: 5px; margin-left: 2.6em; border-radius: 50%; border: 1px solid var(--oro); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ── ideas en filas ── */
.ideas { counter-reset: i; border-top: 1px solid var(--linea); }
.ideas > li { counter-increment: i; display: grid; grid-template-columns: 40px 1fr; padding: 18px 0 20px; border-bottom: 1px solid var(--linea); }
.ideas > li::before { content: "0" counter(i); grid-row: span 2; font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--oro-txt); padding-top: 7px; }
.ideas h3 { margin-bottom: 4px; }
.ideas p { grid-column: 2; max-width: 33em; font-size: 15px; line-height: 1.55; }
.dos { display: grid; gap: 32px; }
.dos .cab-sec { margin-bottom: 0; }
.cab-sec .acciones { margin-top: 8px; }

/* ── webs: las capas de una web a medida (diseño, código, datos) dentro de un marco de oro: todo tuyo ── */
.capas { position: relative; height: 27em; margin-block: -1.5em 0; font-size: clamp(9px, 2.75vw, 13px); perspective: 220em; }
.capas__mundo { position: absolute; left: 38%; top: 66%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-40deg); }
.capa { position: absolute; left: -9.5em; top: -7em; width: 19em; height: 14em; border-radius: .7em; transition: transform 1.6s var(--sale), opacity 1s ease; transition-delay: calc(var(--n) * .12s + .1s); transform: translateZ(calc(var(--n) * 6.4em)); }
html.js .capas:not(.visto) .capa { transform: translateZ(calc(var(--n) * .5em)); }
.capa--datos { --n: 0; background: #17171A; box-shadow: 0 0 0 1px rgba(245, 245, 243, .2), -3em 3em 4em -1em rgba(0, 0, 0, .9); }
.capa--datos i { position: absolute; left: 1.4em; right: 1.4em; top: 2.6em; height: 1px; background: rgba(245, 245, 243, .22); box-shadow: 0 2.2em 0 rgba(245, 245, 243, .22), 0 4.4em 0 rgba(245, 245, 243, .22), 0 6.6em 0 rgba(245, 245, 243, .22), 0 8.8em 0 rgba(245, 245, 243, .22); }
.capa--datos i + i { left: 6.4em; right: auto; top: 1.3em; width: 1px; height: 11.4em; box-shadow: 5.4em 0 0 rgba(245, 245, 243, .22); }
.capa--codigo { --n: 1; background: #0E0E10; box-shadow: 0 0 0 1px rgba(245, 245, 243, .22); padding: 1.5em 1.6em; display: grid; align-content: start; gap: .92em; }
.capa--codigo i { height: .42em; border-radius: 1em; background: rgba(245, 245, 243, .3); width: var(--w); margin-left: var(--s, 0); }
.capa--codigo i:nth-child(3n+2) { background: var(--oro); opacity: .85; }
.capa--diseno { --n: 2; background: #FBFAF7 url(../assets/grano.png) 0 0 / 96px; box-shadow: 0 0 0 1px rgba(17, 17, 18, .1); color: #111112; }
.capa--diseno b { position: absolute; left: .7em; top: 1.05em; font-size: 2em; line-height: 1.02; letter-spacing: -.05em; font-weight: 300; color: #111112; }
.capa--diseno i { position: absolute; right: 1.3em; top: 1.3em; width: 6em; height: 7.2em; border-radius: .35em; background: radial-gradient(circle at 50% 52%, var(--oro) 0 1.5em, transparent 1.55em), #0C0C0E; }
.capa--diseno u { position: absolute; left: 1.4em; bottom: 1.5em; height: 2em; width: 5.8em; border-radius: 9em; background: #111112; }
.capa--diseno s { position: absolute; left: 1.4em; top: 6.8em; width: 6.6em; height: 1px; background: #A9A8A2; box-shadow: 0 .8em 0 #A9A8A2; }
.capa--tuyo { --n: 3; left: -10.6em; top: -8.1em; width: 21.2em; height: 16.2em; border-radius: 1.1em; border: 1px solid var(--oro); box-shadow: 0 0 2.4em rgba(201, 169, 106, .35), inset 0 0 2.4em rgba(201, 169, 106, .12); }
.capa--tuyo::after { content: ""; position: absolute; right: 1.1em; bottom: 1.1em; width: 1.3em; height: 1.3em; border-radius: 50%; background: radial-gradient(circle, var(--oro) 0 28%, transparent 30%); border: 1px solid var(--oro); }
.capas__rot { position: absolute; right: 0; top: 0; bottom: 0; display: grid; align-content: center; gap: 0; }
.capas__rot li { display: flex; align-items: center; justify-content: flex-end; gap: 1em; height: 5.2em; font-size: 1em; }
.capas__rot li span { font-size: 11px; }
.capas__rot li::before { content: ""; width: 2.6em; height: 1px; background: var(--linea); }
.capas__rot li:first-child span { color: var(--oro); }
.capas__rot li:first-child::before { background: var(--oro); }
html.js .capas__rot li { opacity: 0; transform: translateX(12px); transition: opacity 1s var(--sale), transform 1s var(--sale); transition-delay: calc(.5s + var(--k) * .12s); }
html.js .capas.visto .capas__rot li { opacity: 1; transform: none; }

/* ── trabajos: galería de piezas ── */
.trabajos { overflow: hidden; }
.trabajos .cab-sec { grid-template-columns: 1fr auto; align-items: end; }
.trabajos .cab-sec .rot { grid-column: 1 / -1; display: flex; justify-content: space-between; }
.cuenta { font-variant-numeric: tabular-nums; color: var(--tinta); }
.cuenta span { color: var(--gris); }
.flechas { display: none; gap: 8px; }
.flechas button { width: 54px; height: 54px; border: 1px solid var(--linea); border-radius: 50%; display: grid; place-items: center; transition: border-color .4s, opacity .4s, background .4s var(--sale), transform .4s var(--sale); }
.flechas button:disabled { opacity: .3; cursor: default; }
.flechas button:active { transform: scale(.94); }
.flechas svg { width: 18px; height: 18px; fill: none; stroke: var(--tinta); stroke-width: 1.2; transition: stroke .4s; }
@media (hover: hover) { .flechas button:not(:disabled):hover { background: var(--tinta); border-color: var(--tinta); } .flechas button:not(:disabled):hover svg { stroke: var(--bg); } }
.obras { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--m) 56px; margin-bottom: -56px; scroll-padding-inline: var(--m); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-timeline: --obras x; }
.obras::-webkit-scrollbar { display: none; }
.obra { flex: 0 0 min(86%, 980px); scroll-snap-align: start; display: grid; gap: 24px; align-content: start; }
.marco { position: relative; border-radius: 12px; overflow: hidden; background: var(--bg2); box-shadow: 0 0 0 1px var(--linea), var(--sombra); cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.marco__barra { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--linea2); font-size: 10.5px; letter-spacing: .04em; color: var(--gris); }
.marco__barra i { width: 6px; height: 6px; border-radius: 50%; background: var(--linea); }
.marco__barra span { margin: 0 auto; padding: 2px 14px; border-radius: 99px; background: var(--linea2); transform: translateX(-15px); }
.marco__img { display: block; overflow: hidden; }
.marco img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 0 0; transform-origin: 0 0; transition: transform 6s cubic-bezier(.3, 0, .2, 1), opacity 1.2s ease; }
html.js .obra:not(.visto) .marco img { opacity: 0; transform: scale(1.08); }
html.js .obra .marco, html.js .obra .obra__txt { transition: transform 1.2s var(--sale), opacity 1.2s var(--sale); }
html.js .obra:not(.visto) .marco { transform: translateY(26px); opacity: 0; }
html.js .obra:not(.visto) .obra__txt { transform: translateY(18px); opacity: 0; }
html.js .obra .obra__txt { transition-delay: .15s; }
@media (hover: hover) { .obra:hover .marco img { transform: scale(1.09); } }
.obra__txt { display: grid; gap: 10px; }
.obra__n { font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--oro-txt); }
.obra__txt h3 { font-size: clamp(28px, 7.4vw, 44px); font-weight: 300; letter-spacing: -.04em; line-height: 1.05; }
.obra__txt p { max-width: 36em; }
.etq { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.etq li { padding: 5px 12px; border: 1px solid var(--linea); border-radius: 99px; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.obras__barra { position: relative; height: 1px; margin-top: 36px; background: var(--linea); overflow: hidden; display: none; }
.obras__barra i { position: absolute; inset: 0; background: var(--tinta); transform-origin: 0 50%; transform: scaleX(.2); }
@supports (animation-timeline: --obras) { .trabajos { timeline-scope: --obras; } .obras__barra { display: block; } .obras__barra i { animation: avanza linear both; animation-timeline: --obras; } }
@keyframes avanza { to { transform: scaleX(1); } }
/* trabajos que se tocan: los dos primeros llevan la web real dentro de un marco (ordenador o móvil). La web baja sola, despacio;
   con ratón se arrastra, y al tocar el marco se «abre»: entonces su scroll es el nativo (con inercia) y no arrastra la página.
   Mientras no se abre, el dedo sobre el marco sigue moviendo la página: el scroll no se queda atrapado. */
.obras.arrastra { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.obras .obra--viva { flex-basis: min(88%, 1180px); }
.escena { position: relative; display: grid; place-items: center; height: min(58svh, 430px); }
.obra--viva .marco { display: grid; grid-template-rows: auto minmax(0, 1fr); width: 100%; height: 100%; cursor: grab; transition: width .7s var(--sale), border-radius .7s var(--sale), box-shadow .5s, border-color .5s, transform 1.2s var(--sale), opacity 1.2s var(--sale); }
.visor { position: relative; overflow: hidden; overscroll-behavior: contain; scrollbar-width: none; background: var(--bg2); outline-offset: -3px; }
.visor::-webkit-scrollbar { display: none; }
.obra--viva .visor img, html.js .obra--viva:not(.visto) .visor img, .obra.obra--viva:hover .marco .visor img { width: 100%; height: auto; aspect-ratio: auto; object-fit: fill; transform: none; opacity: 1; transition: none; -webkit-user-drag: none; user-select: none; }
.obra--viva .visor img[hidden] { display: none; }
.obra--viva .visor img:not([src]) { visibility: hidden; }
.marco[data-vista="movil"] { width: calc(min(58svh, 430px) * .5); border: 6px solid #111112; border-radius: 32px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, var(--sombra); }
.marco[data-vista="movil"] .marco__barra { display: none; }
.marco[data-vista="movil"]::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 7px; width: 30%; height: 13px; margin-left: -15%; border-radius: 9px; background: #111112; pointer-events: none; }
.marco.activa { cursor: auto; box-shadow: 0 0 0 1px var(--oro), 0 0 0 5px rgba(201, 169, 106, .18), var(--sombra); }
.marco[data-vista="movil"].activa { border-color: #111112; box-shadow: 0 0 0 1px var(--oro), 0 0 0 5px rgba(201, 169, 106, .18), var(--sombra); }
.marco.activa .visor { overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.marco__pista { position: absolute; z-index: 3; left: 50%; bottom: 12px; transform: translateX(-50%); min-height: 34px; padding: 0 14px; border-radius: 99px; background: rgba(17, 17, 18, .86); color: #F5F5F3; font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transition: opacity .4s, transform .4s var(--sale); }
.marco__pista::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 9px; border-radius: 50%; background: var(--oro); vertical-align: 1px; }
.marco__pista span + span, .marco.activa .marco__pista span:first-child { display: none; }
.marco.activa .marco__pista span + span { display: inline; }
.obra__acc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 12px; }
.conmuta { display: inline-flex; padding: 3px; border: 1px solid var(--linea); border-radius: 99px; }
.conmuta button { min-height: 38px; padding: 0 14px; border-radius: 99px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); transition: background .4s var(--sale), color .4s; }
.conmuta button.on { background: var(--tinta); color: var(--bg); }
/* los otros tres: piezas más pequeñas, algo ladeadas, que se enderezan y se dejan inclinar con el ratón; al tocarlas, se abren en grande */
.obras .obra--menor { flex-basis: min(66%, 400px); gap: 18px; }
.obra--menor .marco { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) rotate(var(--g, -1.2deg)); transition: transform .7s var(--sale), opacity 1.2s var(--sale), box-shadow .5s; }
.obra--menor:nth-child(even) .marco { --g: 1deg; }
html.js .obra--menor:not(.visto) .marco { transform: translateY(26px) rotate(var(--g, -1.2deg)); }
.obra--menor .marco:active { --g: 0deg; }
@media (hover: hover) { .obra--menor:hover .marco { --g: 0deg; box-shadow: 0 0 0 1px var(--oro), var(--sombra); } }
.obra--menor .obra__txt h3 { font-size: clamp(22px, 5.6vw, 28px); }
.obra--menor .obra__txt p { font-size: 15px; line-height: 1.55; }
.obras__puntos { display: flex; justify-content: center; gap: 2px; margin-top: 26px; }
.obras__puntos button { width: 34px; height: 34px; display: grid; place-items: center; }
.obras__puntos button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gris); transition: background .4s, border-color .4s, transform .4s var(--sale); }
.obras__puntos button.on::before { background: var(--oro); border-color: var(--oro); transform: scale(1.25); }
@media (pointer: coarse) { .conmuta button { min-height: 44px; } }
@media (min-width: 980px) {
  .escena { height: min(62svh, 560px); }
  .marco[data-vista="movil"] { width: calc(min(62svh, 560px) * .5); border-width: 8px; border-radius: 40px; }
  .obras .obra--viva { flex-basis: min(86%, 1180px); grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); column-gap: 56px; align-items: center; }
  .obras .obra--viva .obra__txt, .obras .obra--menor .obra__txt { grid-template-columns: 1fr; }
  .obras .obra--viva .obra__txt > *, .obras .obra--menor .obra__txt > * { grid-column: 1; grid-row: auto; }
  .obras .obra--menor { flex-basis: min(30%, 400px); gap: 20px; }
}

/* la obra, en grande */
.lupa { width: 100vw; max-width: none; height: 100dvh; max-height: none; border: 0; padding: 0; background: #070708; color: #F5F5F3; }
.lupa::backdrop { background: transparent; }
.lupa[open] { display: grid; grid-template-rows: auto 1fr; animation: abre .5s var(--sale); }
.lupa header { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--m); }
.lupa header button { width: 44px; height: 44px; margin-right: -10px; font-size: 26px; font-weight: 300; line-height: 1; }
.lupa div { overflow: auto; -webkit-overflow-scrolling: touch; padding: 0 var(--m) 24px; display: grid; align-items: center; }
.lupa img { width: max(100%, 980px); max-width: none; border-radius: 10px; animation: sube 1s var(--sale); }
@media (min-width: 1100px) { .lupa img { width: min(100%, 1500px); margin: auto; } }

/* ── GEO: la conversación, escribiéndose ── */
.charla { position: relative; display: grid; gap: 14px; }
.charla .astro { width: min(64vw, 300px); right: -9%; top: -44px; font-size: 13px; opacity: .25; transform: scale(.94); transition: opacity 2s ease, transform 2.4s var(--sale); }
.charla .astro__halo, .charla .astro__perla { opacity: 0; transition: opacity 2s ease; }
.charla.dicho .astro { opacity: 1; transform: none; }
.charla.dicho .astro__halo, .charla.dicho .astro__perla { opacity: 1; }
.charla__vent { position: relative; display: grid; gap: 18px; min-height: 270px; align-content: start; margin-top: 60px; padding: 18px 18px 22px; border: 1px solid var(--linea); border-radius: 18px; background: rgba(16, 16, 18, .86); box-shadow: var(--sombra); }
.charla__cab { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--linea2); }
.charla__cab .marca__orbe { font-size: 13px; border-color: var(--oro); }
.charla__cab .marca__orbe::after { background: var(--oro); }
.charla__cab .rot:last-child { margin-left: auto; padding: 4px 10px; border: 1px solid var(--linea); border-radius: 99px; font-size: 9.5px; }
.charla__q { justify-self: end; max-width: 15.5em; padding: 13px 18px; border-radius: 20px 20px 4px 20px; background: #F5F5F3; font-size: 16px; line-height: 1.4; color: #111112; min-height: 48px; }
.charla__a { font-size: clamp(25px, 6.6vw, 38px); line-height: 1.16; letter-spacing: -.035em; font-weight: 300; color: var(--tinta); min-height: 2.4em; }
.charla__a b { font-weight: 300; color: var(--oro); }
.charla__a b.sub { background: linear-gradient(var(--oro), var(--oro)) 0 100% / 100% 1px no-repeat; }
.charla .cursor::after { content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 3px; vertical-align: -.08em; background: var(--oro); animation: late 1s steps(2) infinite; }
@keyframes late { 50% { opacity: 0; } }
.charla__f { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.charla__f li { padding: 5px 12px; border: 1px solid var(--linea); border-radius: 99px; font-size: 12px; color: var(--texto); transition: opacity .8s var(--sale), transform .8s var(--sale); transition-delay: calc(var(--k) * .14s); }
.charla__f li:first-child { border: 0; padding-left: 0; }
html.js .charla:not(.dicho) .charla__f li { opacity: 0; transform: translateY(8px); transition-delay: 0s; }
.nota { margin-top: 28px; font-size: 17px; color: var(--tinta); font-weight: 300; max-width: 30em; }
.nota--fina { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linea); font-size: 15px; color: var(--texto); font-weight: 400; }

/* ── captación: el recorrido dentro de un móvil, y sus cuatro pasos ── */
.reco { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 56px); align-items: center; }
.movil { position: relative; justify-self: center; width: min(100%, 250px); aspect-ratio: 9 / 18.6; padding: 7px; border-radius: 34px; background: #111112; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, var(--sombra), 0 50px 70px -40px rgba(40, 32, 12, .5); font-size: clamp(8.4px, 2.35vw, 11px); }
.movil::before { content: ""; position: absolute; z-index: 3; left: 50%; top: 13px; width: 26%; height: 15px; margin-left: -13%; border-radius: 9px; background: #111112; }
.movil__pant { position: relative; height: 100%; overflow: hidden; border-radius: 27px; background: #FBFAF7; color: #111112; }
.p { position: absolute; inset: 0; padding: 4.2em 1.4em 1.4em; display: grid; align-content: start; gap: 1em; opacity: 0; transform: translateY(14%); transition: opacity .7s var(--sale), transform .9s var(--sale); }
.movil[data-paso="0"] .p--0, .movil[data-paso="1"] .p--1, .movil[data-paso="2"] .p--2, .movil[data-paso="3"] .p--3 { opacity: 1; transform: none; }
.p .rot { font-size: .82em; color: #6E6E68; }
.p b { font-size: 1.9em; line-height: 1.08; letter-spacing: -.04em; font-weight: 300; color: #111112; }
.p u { display: flex; align-items: center; justify-content: center; height: 3.6em; border-radius: 9em; background: #111112; color: #FBFAF7; font-size: .86em; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.p s { display: block; height: 1px; background: #A9A8A2; box-shadow: 0 .9em 0 #A9A8A2; margin-bottom: .9em; width: 86%; }
.p__foto { height: 9.6em; border-radius: .9em; background: radial-gradient(circle at 50% 56%, var(--oro) 0 2.4em, transparent 2.45em), radial-gradient(circle at 50% 56%, rgba(201, 169, 106, .5), transparent 5.5em), #0C0C0E; }
.p--0 { background: #ECEAE4; }
.p--0 > div { display: grid; gap: 1em; padding: 1em; border-radius: 1.3em; background: #FBFAF7; box-shadow: 0 1.4em 2em -1.4em rgba(17, 17, 18, .4); }
.p--0 b { font-size: 1.5em; }
.p--1 .p__foto { height: 7.4em; }
.p--2 label { display: flex; align-items: center; height: 3.5em; padding: 0 1.1em; border-radius: .9em; border: 1px solid rgba(17, 17, 18, .18); font-size: .95em; color: #6E6E68; overflow: hidden; }
.p--2 label span { color: #111112; clip-path: inset(0 100% 0 0); }
.movil[data-paso="2"] .p--2 label span { clip-path: inset(0); transition: clip-path .7s steps(9) calc(.5s + var(--k) * .55s); }
.p--3 { background: #0A0A0B; color: #F5F5F3; align-content: center; justify-items: center; gap: 1.6em; padding-top: 1.4em; }
.p--3 .astro { position: relative; width: 7.6em; }
.p--3 > .aviso { width: 100%; display: grid; gap: .3em; padding: 1.1em 1.2em; border-radius: 1.3em; background: #F5F5F3; color: #111112; transform: translateY(30%) scale(.94); opacity: 0; }
.p--3 > .aviso strong { font-size: 1.2em; font-weight: 500; letter-spacing: -.01em; }
.p--3 > .aviso span { font-size: 1.05em; color: #45453F; line-height: 1.35; }
.movil[data-paso="3"] .p--3 > .aviso { transform: none; opacity: 1; transition: transform .9s var(--sale) .45s, opacity .6s ease .45s; }
.movil[data-paso="3"] { animation: suena .5s ease-in-out .5s 3; }
@keyframes suena { 25% { transform: rotate(-1.6deg) translateX(-2px); } 75% { transform: rotate(1.6deg) translateX(2px); } }
.ruta { display: grid; position: relative; }
.ruta li { position: relative; padding: 0 0 22px 28px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ruta li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gris); background: var(--bg); z-index: 1; transition: background .5s, border-color .5s, box-shadow .5s; }
.ruta li::after { content: ""; position: absolute; left: 4px; top: 14px; bottom: -9px; width: 1px; background: var(--linea); }
.ruta li:last-child { padding-bottom: 0; }
.ruta li:last-child::after { display: none; }
.ruta h3 { font-size: clamp(17px, 4.6vw, 23px); transition: color .5s; }
.ruta p { font-size: 14px; line-height: 1.45; color: var(--gris); }
.ruta[data-paso] h3 { color: var(--gris); }
.ruta[data-paso] li.on h3 { color: var(--tinta); }
.ruta li.on::before { background: var(--oro); border-color: var(--oro); box-shadow: 0 0 0 5px rgba(201, 169, 106, .22); }

/* ── Vajtan: retrato editorial ── */
.yo { overflow: hidden; }
.yo .luz { left: -30%; top: -10%; }
.yo__foto { position: relative; margin-inline: calc(var(--m) * -1); }
.yo__foto > span { display: block; overflow: hidden; }
.yo__foto img { width: 100%; aspect-ratio: 4 / 4.25; object-fit: cover; object-position: 50% 6%; transition: transform 2.4s var(--sale), opacity 1.6s ease; }
html.js .yo__foto:not(.visto) img { transform: scale(1.1); opacity: 0; }
html.js .yo__foto[data-ver] { opacity: 1; transform: none; }
.yo__foto::after { content: ""; position: absolute; inset: 40% 0 -1px 0; background: linear-gradient(transparent, rgba(7, 7, 8, .72) 62%, #070708); }
.yo__foto figcaption { position: absolute; z-index: 1; left: var(--m); right: var(--m); bottom: 4px; display: grid; gap: 14px; }
.yo__foto .astro { width: 46%; right: -14%; top: -12%; z-index: 1; }
.yo__foto .astro i { inset: 0; border: 1px solid var(--oro); opacity: .8; }
.yo__foto .astro i + i { inset: -16%; border-color: rgba(245, 245, 243, .2); }
.yo__txt { display: grid; gap: 16px; align-content: start; }
.yo__txt p { max-width: 35em; }
.yo__txt p:first-of-type { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; font-weight: 300; color: var(--tinta); }
.yo__firma { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--linea); }

/* ── cierre y contacto ── */
.cierre__txt { display: grid; gap: 18px; justify-items: start; align-content: start; }
.cierre__txt .boton { margin-top: 10px; }
.vias { display: grid; gap: 0; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--linea); width: 100%; }
.vias .rot { margin-bottom: 6px; }
.vias a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(24px, 6.4vw, 34px); font-weight: 300; letter-spacing: -.035em; color: var(--tinta); transition: color .4s; }
@media (hover: hover) { .vias a:hover { color: var(--oro-txt); } }
.cierre .duo-tarjeta { width: 100%; max-width: 540px; margin: 0; min-height: 0; border-width: 1px; border-radius: 20px; box-shadow: var(--sombra); }

/* cierre corto de las páginas de servicio */
.fin { text-align: center; overflow: hidden; }
.fin .caja { display: grid; justify-items: center; gap: 18px; }
.fin .boton { margin-top: 14px; }
.fin .astro { width: max(118vw, 560px); left: 50%; top: 50%; translate: -50% -46%; font-size: 14px; }
.fin .astro__perla { left: 50%; top: 0; }
.fin { padding-bottom: calc(var(--sec) * 1.5); }

/* ── pie ── */
.pie { position: relative; padding: calc(44px + var(--arco) * .4) var(--m) calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 20px; font-size: 14px; }
.pie__lema { font-size: clamp(30px, 8vw, 64px); line-height: 1.04; letter-spacing: -.045em; font-weight: 300; color: var(--tinta); max-width: 9em; }
.pie__lema b { font-weight: 300; color: var(--oro); }
.pie nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; padding-top: 12px; border-top: 1px solid var(--linea); }
.pie nav a { display: flex; align-items: center; min-height: 44px; color: var(--texto); transition: color .4s; }
.pie nav + nav { border-top-color: var(--linea2); }
.pie nav + nav a, .pie > p:last-child { font-size: 12.5px; color: var(--gris); }
.pie > p:last-child { display: flex; justify-content: space-between; align-items: center; }
.pie a.pie__menor { color: var(--gris); }
@media (hover: hover) { .pie nav a:hover { color: var(--tinta); } }

/* ── WhatsApp, cookies, luz del cursor ── */
.wa { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--linea); color: var(--tinta); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s, transform .4s var(--sale), visibility .4s; box-shadow: var(--sombra); }
.wa.on { opacity: 1; visibility: visible; transform: none; }
.wa svg { width: 21px; height: 21px; }
.con-cookies .wa { opacity: 0; visibility: hidden; }
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; max-width: 440px; padding: 18px 20px 14px; background: var(--bg2); border: 1px solid var(--linea); border-radius: 16px; font-size: 12.5px; line-height: 1.5; color: var(--texto); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--sale); box-shadow: var(--sombra); }
.consent.is-in { opacity: 1; transform: none; }
.consent p { max-height: 7.5em; overflow-y: auto; }
.consent p a { text-decoration: underline; text-underline-offset: 3px; }
.consent div { display: flex; align-items: center; gap: 6px 18px; margin-top: 10px; flex-wrap: wrap; }
.consent button, .consent div a { min-height: 44px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--tinta); display: inline-flex; align-items: center; }
.consent .si { padding: 0 22px; border-radius: 999px; background: var(--tinta); color: var(--bg); }
.consent .no, .consent div a { color: var(--gris); }
.foco { position: fixed; z-index: 45; left: -260px; top: -260px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(201, 169, 106, .13), transparent); opacity: 0; transition: opacity .8s; will-change: transform; }
.foco.on { opacity: 1; }
/* día ↔ noche: el tema nuevo entra como un disco que crece desde el botón */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: eclipse 1s cubic-bezier(.6, 0, .1, 1); }
@keyframes eclipse { from { clip-path: circle(0 at var(--ex, 90%) var(--ey, 32px)); } to { clip-path: circle(150vmax at var(--ex, 90%) var(--ey, 32px)); } }

/* ══════════ PÁGINAS DE SERVICIO ══════════ */
.pcab { position: relative; overflow: hidden; padding-block: clamp(44px, 9vw, 120px) calc(var(--sec) + var(--arco)); }
.pcab .caja { position: relative; z-index: 1; display: grid; gap: 20px; justify-items: start; }
.pcab h1 { font-size: clamp(42px, 11.4vw, 112px); line-height: .99; letter-spacing: -.05em; max-width: 10em; text-wrap: balance; }
.pcab .acciones { margin-top: 12px; }
.pcab .astro { width: min(86vw, 620px); right: -46vw; top: -6%; font-size: 14px; }
.pcab .pieza { width: 100%; margin-top: 28px; }
.pasos { counter-reset: p; display: grid; border-top: 1px solid var(--linea); }
.pasos li { counter-increment: p; padding: 26px 0 28px; border-bottom: 1px solid var(--linea); display: grid; gap: 6px; }
.pasos li::before { content: "0" counter(p); font-size: clamp(44px, 12vw, 72px); line-height: 1; font-weight: 300; letter-spacing: -.05em; color: var(--tinta); margin-bottom: 14px; }
.pasos li:last-child::before { color: var(--oro-txt); }
.frente { display: grid; gap: 16px; }
.frente > div { padding: 26px 24px 20px; border: 1px solid var(--linea); border-radius: 18px; background: var(--bg2); }
.frente > div:last-child { border-color: var(--oro); box-shadow: var(--sombra); }
.frente h3 { margin-bottom: 14px; font-size: 26px; font-weight: 300; letter-spacing: -.03em; }
.frente li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--linea2); }
.frente li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 1px; background: var(--gris); }
.frente li.si { color: var(--tinta); }
.frente li.si::before { left: 3px; top: 17px; width: 10px; height: 5px; background: none; border-left: 1px solid var(--oro-txt); border-bottom: 1px solid var(--oro-txt); transform: rotate(-45deg); }
.acorde { border-top: 1px solid var(--linea); }
.acorde details { border-bottom: 1px solid var(--linea); }
.acorde summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 14px 0; font-size: 22px; font-weight: 300; letter-spacing: -.025em; color: var(--tinta); cursor: pointer; list-style: none; transition: color .4s; }
.acorde summary::-webkit-details-marker { display: none; }
.acorde summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(var(--oro-txt), var(--oro-txt)) 50% / 100% 1px no-repeat, linear-gradient(var(--oro-txt), var(--oro-txt)) 50% / 1px 100% no-repeat; transition: transform .5s var(--sale); }
.acorde details[open] summary::after { transform: rotate(45deg); }
.acorde details p { padding: 0 0 26px; max-width: 40em; }
.puertas { display: grid; gap: 16px; }
.puertas a { position: relative; display: grid; gap: 8px; padding: 28px 24px 22px; border: 1px solid var(--linea); border-radius: 18px; background: var(--bg2); transition: transform .6s var(--sale), box-shadow .6s var(--sale), border-color .4s; }
.puertas a b { font-size: clamp(26px, 6.4vw, 36px); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }
.puertas a em { font-style: normal; margin-top: 8px; justify-self: start; }
.puertas a span { color: var(--texto); }
@media (hover: hover) { .puertas a:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--oro); } .puertas a:hover .enlace::after { transform: translateX(6px); } .acorde summary:hover { color: var(--oro-txt); } }

/* piezas dentro de la cabecera de una página de servicio */
.pcab .capas { margin-block: 0 -2em; }
.pcab [data-ruta] { display: grid; justify-items: center; padding-top: 12px; }
.pcab--astro { padding-bottom: calc(var(--sec) + var(--arco) + 34vw); }
.pcab--astro .astro { width: 86vw; right: auto; left: 50%; top: auto; bottom: -46vw; translate: -50% 0; }
.pcab + .sec { margin-top: calc(var(--arco) * -1); border-radius: 50% 50% 0 0 / var(--arco) var(--arco) 0 0; }
.fin .caja { z-index: 1; }

/* ══════════ ESCRITORIO ══════════ */
@media (min-width: 760px) {
  .acorde summary { font-size: 26px; }
  .pasos { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .pasos li { border-top: 1px solid var(--linea); border-bottom: 0; padding: 26px 28px 0 0; }
  .frente { grid-template-columns: 1fr 1fr; gap: 24px; }
  .frente > div { padding: 36px 36px 28px; }
  .puertas { grid-template-columns: 1fr 1fr; gap: 24px; }
  .puertas a { padding: 40px 36px 30px; }
  .pie nav { grid-template-columns: repeat(4, 1fr); }
  .flechas { display: flex; }
  .ruta--fila { grid-template-columns: repeat(4, 1fr); }
  .ruta--fila li { padding: 30px 24px 0 0; cursor: default; }
  .ruta--fila li::before { top: 0; }
  .ruta--fila li::after { left: 9px; right: 0; top: 4px; bottom: auto; width: auto; height: 1px; }
  .obra { flex-basis: min(78%, 980px); }
  .marco img { aspect-ratio: 16 / 10; }
  .yo__foto { margin-inline: 0; }
  .yo__foto > span { border-radius: 14px; }
  .yo__foto figcaption { left: 28px; right: 28px; bottom: 24px; }
  .yo__foto::after { border-radius: 0 0 14px 14px; inset: 50% 0 0 0; background: linear-gradient(transparent, rgba(7, 7, 8, .8)); }
  .reco { grid-template-columns: 300px 1fr; }
  .movil { width: 280px; font-size: 12px; }
  .charla__vent { padding: 24px 28px 30px; }
}
@media (min-width: 980px) {
  html { scroll-padding-top: 96px; }
  body { font-size: 17px; }
  main { padding-top: 76px; }
  .cab { height: 76px; }
  .menu, .menu-btn { display: none !important; }
  .cab__nav, .cab__cta { display: flex; }
  .marca { font-size: 16px; }
  .hero__caja { display: grid; align-items: center; min-height: min(calc(100svh - 76px - 64px), 900px); padding-block: 40px 56px; pointer-events: none; }
  .hero__caja a { pointer-events: auto; }
  .hero__txt { gap: 26px; max-width: 54%; }
  .hero h1 { font-size: clamp(64px, 7.3vw, 136px); }
  .hero h1 > span { white-space: nowrap; }
  .hero .entrada { max-width: 23em; }
  .hero .acciones { margin-top: 14px; }
  .alza { position: absolute; inset: 0 0 64px 42%; height: auto; margin: 0; font-size: clamp(11.5px, 1.3vw, 23px); perspective-origin: 50% 36%; }
  .alza .astro { left: 36%; top: 50%; margin-top: -18.5em; width: 27em; }
  .alza__giro { left: 44%; top: 50%; margin-top: 13em; }
  .cinta { display: none; }
  .hero__indice { position: relative; z-index: 2; display: block; border-top: 1px solid var(--linea2); }
  .hero__indice ol { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero__indice a { position: relative; display: flex; gap: 1.4em; align-items: center; min-height: 64px; transition: color .4s; }
  .hero__indice a::after { content: "↓"; margin-left: auto; margin-right: 24px; font-size: 14px; letter-spacing: 0; color: var(--oro-txt); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--sale); }
  .hero__indice a:hover { color: var(--tinta); }
  .hero__indice a:hover::after { opacity: 1; transform: none; }
  .dos { grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 0; align-items: start; }
  .dos > :first-child { grid-column: 1 / 7; }
  .dos > :last-child { grid-column: 8 / 13; }
  .dos--pegado > :first-child { position: sticky; top: 120px; }
  .ideas > li { grid-template-columns: 64px 1fr; padding: 30px 0 32px; }
  .ideas p { font-size: inherit; line-height: inherit; }
  .ideas h3, h3 { font-size: 23px; }
  .webs .dos { align-items: center; }
  .webs .dos > :last-child { grid-column: 7 / 13; }
  .webs .ideas { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; margin-top: clamp(40px, 6vw, 88px); border-top: 0; }
  .webs .ideas > li { grid-template-columns: 1fr; align-content: start; gap: 10px; border-top: 1px solid var(--linea); border-bottom: 0; padding: 26px 20px 0 0; }
  .webs .ideas p { grid-column: 1; }
  .capas { font-size: clamp(12px, 1.3vw, 19px); height: 34em; }
  .geo .dos > :first-child { grid-column: 1 / 7; }
  .geo .dos > :last-child { grid-column: 8 / 13; }
  .geo .dos { align-items: center; }
  .obras { gap: 40px; padding-inline: max(var(--m), calc((100vw - 1320px) / 2)); scroll-padding-inline: max(var(--m), calc((100vw - 1320px) / 2)); }
  .obra { flex-basis: min(64%, 980px); gap: 28px; }
  .obra__txt { grid-template-columns: 1fr 1.25fr; column-gap: 32px; align-items: start; }
  .obra__n { grid-column: 1 / -1; }
  .obra__txt p, .obra__txt .etq { grid-column: 2; }
  .obra__txt h3 { grid-row: 2 / 4; }
  .marco__barra { height: 38px; }
  .obras__barra { margin-top: 56px; }
  .charla { margin-top: 0; }
  .charla .astro { width: 330px; right: -60px; top: -90px; }
  .charla__vent { margin-top: 90px; min-height: 340px; }
  .capt .dos > :first-child { grid-column: 1 / 7; }
  .capt .dos > :last-child { grid-column: 7 / 13; }
  .capt .dos { align-items: center; }
  .reco { grid-template-columns: 300px 1fr; gap: 64px; }
  .ruta li { padding-bottom: 30px; }
  .yo .dos { align-items: center; }
  .yo .dos > :first-child { grid-column: 1 / 6; }
  .yo .dos > :last-child { grid-column: 7 / 13; }
  .yo__foto img { aspect-ratio: 4 / 5; object-position: 50% 0; }
  .yo h2 { font-size: clamp(40px, 4vw, 64px); }
  .yo__txt { gap: 20px; }
  .yo__txt p { font-size: 18px; }
  .cierre .dos > :last-child { justify-self: end; width: 100%; max-width: 540px; }
  .cierre h2 { font-size: clamp(56px, 6.6vw, 112px); }
  .pie { grid-template-columns: 1fr 1.5fr; column-gap: 64px; row-gap: 24px; padding-block: calc(96px + var(--arco) * .4) 44px; }
  .pie > .marca { grid-column: 1; grid-row: 1; }
  .pie__lema { grid-column: 1; grid-row: 2; }
  .pie nav { grid-column: 2; grid-row: 1; }
  .pie nav + nav { grid-row: 2; }
  .pie > p:last-child { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--linea2); }
  .wa { right: 24px; bottom: 24px; }
  .consent { left: auto; right: 24px; bottom: 24px; }
  .pcab .caja { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
  .pcab .caja > * { grid-column: 1 / 8; }
  .pcab .caja > .pieza { grid-column: 8 / 13; grid-row: 1 / 6; margin: 0; }
  .pcab .astro { right: -8vw; top: -6%; }
  .pcab--astro { padding-bottom: calc(var(--sec) + var(--arco)); }
  .pcab--astro .astro { width: min(46vw, 640px); left: auto; right: 4vw; top: 50%; bottom: auto; translate: 0 -50%; }
  .pcab .caja > [data-ruta] { grid-column: 9 / 13; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-ver], html.js [data-ver] > *, .pal > span { opacity: 1 !important; transform: none !important; }
}

/* ══════════ FORMULARIO POR PASOS Y VENTANA DE RESERVA (css/duo.css), llevados a la letra fina de la marca ══════════ */
body .duo { --d-bg: var(--bg); --d-bg-2: var(--bg2); --d-linea: var(--linea); --d-tinta: var(--tinta); --d-tinta-60: var(--gris); --d-oro: var(--oro-txt); }
body dialog.duo { --d-bg: var(--bg2); }
body .cierre .duo-tarjeta { --d-bg: var(--bg2); --d-bg-2: var(--bg); }
body .duo-h2 { font-weight: 300; font-size: clamp(26px, 6.4vw, 32px); letter-spacing: -.03em; line-height: 1.12; }
body .duo-h2 em { font-style: normal; color: var(--oro-txt); }
body .duo-bocadillo { font-weight: 400; font-size: 15px; border-width: 1px; }
body .duo-eleccion { border-width: 1px; box-shadow: none; border-radius: 14px; transition: border-color .4s, transform .4s var(--sale), background .4s; }
body .duo-eleccion:active { transform: scale(.985); }
body .duo-eleccion b { font-weight: 500; font-size: 16px; }
body .duo-eleccion small { font-size: 14px; }
body .duo-eleccion > svg { stroke-width: 1.4; transition: transform .4s var(--sale); }
@media (hover: hover) { body .duo-eleccion:hover { border-color: var(--oro); } body .duo-eleccion:hover > svg { transform: translateX(4px); } }
body .duo-eleccion .duo-emo { display: none; }
body .duo-eleccion { grid-template-columns: 1fr auto; }
body .duo-boton { font-weight: 500; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; box-shadow: none; border-radius: 999px; background: var(--tinta); color: var(--bg); border-color: var(--tinta); }
body .duo-marca { font-weight: 600; letter-spacing: .26em; }
body .duo-redondo.duo-tema { display: none; }
body .duo-campo :where(input, textarea), body .duo-chips span { border-width: 1px; box-shadow: none; font-weight: 400; }

/* ── automatizar: el texto y su formulario ── */
.auto .cab-sec { align-content: start; }
.auto h1 { max-width: 9em; }
.auto__form { width: 100%; max-width: 520px; }
.auto__paso { margin-bottom: 14px; }
.auto__form .duo-tarjeta { margin: 0; max-width: none; min-height: 0; border-width: 1px; border-radius: 20px; box-shadow: var(--sombra); }
@media (min-width: 980px) { .auto .dos > :last-child { justify-self: end; } .auto .dos > :first-child { grid-column: 1 / 7; } }
.auto__paso { display: flex; justify-content: space-between; }
.auto .escala { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.auto .escala .duo-chip { padding: 12px 0; text-align: center; min-height: 44px; }
body .duo-redondo { min-width: 44px; min-height: 44px; }
