/* Potenzzia v5 · Muñetón
   Dos luces que maneja la cuerda: apagada (por defecto, negra como el modo nocturno) y prendida (crema y ámbar).
   Tokens de marca fijos + tokens de tema que cambian con .is-lit. Cada sección tiene su propio tono.
   Tipografía: Bricolage Grotesque (voz) e Instrument Serif cursiva (énfasis). */
:root {
  /* marca */
  --espresso-950: #140C07;
  --espresso-900: #1C110A;
  --cafe-800: #2A1B12;
  --cafe-700: #3A2618;
  --cafe-600: #5A3A26;
  --caramelo-600: #7E4E2B;
  --caramelo-500: #9A6339;
  --ambar: #F0A030;
  --miel: #FFC766;
  --champana: #F4D9A0;
  --beige: #EDE0C8;
  --crema: #F8F1E4;
  --papel: #F6EEDF;
  --oxido: #A84A2C;
  --sans: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --margen: clamp(20px, 5.6vw, 92px);
  --ancho: 1240px;
  --lateral: clamp(20px, 4vw, 56px);
  --contenido: calc(var(--ancho) - 2 * var(--lateral));   /* el mismo ancho del héroe y la barra: a la derecha queda libre el carril de la cuerda */

  /* tema · luz apagada */
  --fondo: #0F0E0D;
  --fondo-calle: #171513;
  --fondo-valor: #1A1511;
  --fondo-banda: #2A1B12;
  --fondo-zzi: #121212;
  --fondo-cierre: #0A0909;
  --superficie: #1C1A18;
  --texto: #F1EBE2;
  --texto-2: #A89D91;
  --texto-3: #716860;
  --linea: rgba(241, 235, 226, .12);
  --em: #F4D9A0;
  --boton: #F1EBE2;
  --boton-texto: #0F0E0D;
  --fantasma: rgba(241, 235, 226, .07);
  --fantasma-borde: rgba(241, 235, 226, .16);
  --vidrio: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  --vidrio-borde: rgba(255, 255, 255, .14);
  --heroe-fondo: radial-gradient(80% 90% at 70% 72%, #1F1C19 0%, #151311 46%, #0F0E0D 82%);
  --heroe-luz: .16;
  --soy: #6F665D;
  --nav-fondo: rgba(15, 14, 13, .8);
  --sombra: rgba(0, 0, 0, .65);
  --grano: .05;
  --grano-mezcla: overlay;
  color-scheme: dark;
}
/* tema · luz prendida */
.is-lit {
  --fondo: #F6EEDF;
  --fondo-calle: #E8D6B8;
  --fondo-valor: #F1DFBD;
  --fondo-banda: #9A6339;
  --fondo-zzi: #FBF4E8;
  --fondo-cierre: #1C110A;
  --superficie: #FFF9EF;
  --texto: #1C110A;
  --texto-2: #5E4632;
  --texto-3: #8F765F;
  --linea: rgba(28, 17, 10, .14);
  --em: #9A6339;
  --boton: #1C110A;
  --boton-texto: #F8F1E4;
  --fantasma: rgba(28, 17, 10, .05);
  --fantasma-borde: rgba(28, 17, 10, .22);
  --vidrio: linear-gradient(145deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .34));
  --vidrio-borde: rgba(90, 58, 38, .14);
  --heroe-fondo: radial-gradient(70% 85% at 70% 62%, #FFE6B5 0%, #F8E3C3 32%, #F6EEDF 72%);
  --heroe-luz: .85;
  --soy: #A88C70;
  --nav-fondo: rgba(246, 238, 223, .84);
  --sombra: rgba(90, 58, 38, .3);
  --grano: .045;
  --grano-mezcla: multiply;
  color-scheme: light;
}
/* bandas que siguen oscuras con la luz prendida: el texto vuelve a claro */
.is-lit .contacto, .is-lit .pie {
  --texto: #F8F1E4; --texto-2: #DCCBB4; --texto-3: #B59E86; --linea: rgba(248, 241, 228, .16); --em: #F4D9A0;
  --boton: #F8F1E4; --boton-texto: #1C110A; --fantasma: rgba(248, 241, 228, .08); --fantasma-borde: rgba(248, 241, 228, .24);
}

/* ---------- Base y superficies del navegador */
* { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--caramelo-600) var(--fondo);
  scrollbar-width: thin;
  overscroll-behavior-x: none;   /* deslizar el dedo de lado sobre el retrato no devuelve a la página anterior */
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped, html.con-intro { overflow: hidden; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ambar);
}
body:has(dialog[open]) { overflow: hidden; }
/* grano fino: une fotos, videos y superficies */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 101; pointer-events: none; opacity: var(--grano); mix-blend-mode: var(--grano-mezcla);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection { background: var(--ambar); color: var(--espresso-950); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--fondo); }
::-webkit-scrollbar-thumb { background: var(--caramelo-600); border-radius: 10px; border: 2px solid var(--fondo); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, video, canvas { display: block; max-width: 100%; }
main { overflow-x: clip; }   /* al entrar por una puerta la pared se acerca: nada debe asomar de lado */
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid var(--miel); outline-offset: 4px; border-radius: 8px; }
button, a, [role="button"] { touch-action: manipulation; }
.solo-lectores { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: fixed; top: -80px; left: 20px; z-index: 120; padding: 12px 18px; border-radius: 30px; background: var(--boton); color: var(--boton-texto); font-weight: 700; }
.saltar:focus { top: 14px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }

/* ---------- El interruptor: la página cambia de tema de una vez y encima una capa oscura titila con cortes
   secos, como un bombillo que tarda en agarrar; al final queda un resplandor tibio que baja desde la bola */
html.sin-transicion *, html.sin-transicion *::before, html.sin-transicion *::after { transition: none !important; }
.encendido { position: fixed; inset: 0; z-index: 110; pointer-events: none; }
.encendido::before, .encendido::after { content: ''; position: absolute; inset: 0; opacity: 0; }
.encendido::before { background: #0F0E0D; }
.encendido.prende::before { animation: titileo 430ms steps(1, end) both; }
.encendido.prende::after { background: radial-gradient(130% 95% at var(--lx, 92%) -6%, rgba(255, 226, 168, .95), rgba(255, 196, 112, .35) 38%, transparent 72%); mix-blend-mode: soft-light; animation: asienta 1.5s var(--ease-out) 280ms both; }
.encendido.apaga::after { background: radial-gradient(240px circle at var(--lx, 92%) var(--ly, 30%), rgba(255, 176, 84, .4), transparent 70%); animation: resplandor .8s ease-out both; }
@keyframes titileo { 0% { opacity: 1; } 12% { opacity: .1; } 24% { opacity: .92; } 37% { opacity: 0; } 52% { opacity: .6; } 66%, 100% { opacity: 0; } }
@keyframes asienta { 0% { opacity: 0; } 10% { opacity: 1; } 100% { opacity: 0; } }
@keyframes resplandor { from { opacity: 1; } to { opacity: 0; } }

/* ---------- Botones y enlaces */
.boton {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 0 8px 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 var(--sans); white-space: nowrap;
  transition: transform 160ms var(--ease-out), translate 320ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  user-select: none; -webkit-user-select: none;
}
.boton:active { transform: scale(.97); }
.boton--principal { background: var(--boton); color: var(--boton-texto); box-shadow: 0 14px 34px -14px rgba(240, 160, 48, .45); }
.boton__icono {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--boton-texto); color: var(--boton); font-style: normal; font-size: 17px;
  transition: transform 300ms var(--ease-out);
}
.boton--fantasma { padding: 0 24px; background: var(--fantasma); color: var(--texto); box-shadow: inset 0 0 0 1px var(--fantasma-borde); }
.enlace { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) {
  .boton--principal:hover .boton__icono { transform: translateX(3px) rotate(-8deg); }
  .boton--fantasma:hover { box-shadow: inset 0 0 0 1px var(--texto-2); }
  .enlace:hover { color: var(--ambar); }
}
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.acciones--centro { justify-content: center; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.etiquetas li { padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linea); font-size: 12.5px; color: var(--texto-2); }

/* ---------- Navegación: como en la referencia, cada servicio es un botón arriba y abre su sala */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 78px; color: var(--texto);
  transition: background-color 300ms ease, box-shadow 300ms ease, height 300ms var(--ease-out);
}
.nav__marco { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); height: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--lateral); }
.nav.con-fondo { height: 66px; background: var(--nav-fondo); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); }
.marca { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.marca__zzi { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 7px rgba(240, 160, 48, .3)); transition: rotate .4s var(--ease-back); }
@media (hover: hover) and (pointer: fine) { .marca:hover .marca__zzi { rotate: -10deg; } }
.marca__txt { font: 700 12px/1.3 var(--sans); letter-spacing: .2em; }
.marca__txt small { display: block; font-weight: 500; font-size: 9.5px; letter-spacing: .06em; color: var(--texto-2); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 24px); }
.nav__links a { position: relative; padding: 8px 0; font-weight: 500; font-size: 14px; white-space: nowrap; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ambar); } .nav__links a:hover::after { transform: scaleX(1); } }
.is-lit .nav__links a:hover { color: var(--caramelo-600); }
.nav__hora { margin: 0; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linea); font-size: 12.5px; color: var(--texto-2); white-space: nowrap; }
.nav__hora b { color: var(--texto); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 6px; }
.nav__menu {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 15px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--fantasma); box-shadow: inset 0 0 0 1px var(--fantasma-borde); color: var(--texto); font: 600 14px/1 var(--sans);
  transition: transform 160ms var(--ease-out);
}
.nav__menu:active { transform: scale(.96); }
.nav__menu-icono { display: grid; gap: 5px; }
.nav__menu-icono i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.nav__menu-icono i + i { width: 12px; }

/* Menú en pantallas medianas y celular: un panel de vidrio con los mismos botones */
.menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0;
  padding: calc(16px + env(safe-area-inset-top)) var(--lateral) calc(24px + env(safe-area-inset-bottom));
  flex-direction: column; background: rgba(13, 11, 10, .9); color: #F1EBE2;
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
}
.menu[open] { display: flex; }
.menu::backdrop { background: transparent; }
.menu__cabeza { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; }
.menu__cabeza .marca__txt small { color: #A89D91; }
.menu__cerrar { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 16px 6px 16px 6px; background: rgba(241, 235, 226, .08); color: #F1EBE2; cursor: pointer; }
.menu__cerrar svg { width: 20px; height: 20px; }
.menu__links { display: grid; margin: auto 0; }
.menu__links a { display: flex; align-items: center; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(241, 235, 226, .08); font: 700 clamp(28px, 7.4vw, 42px)/1.05 var(--sans); letter-spacing: -.04em; }
.menu__puerta { flex: none; width: 20px; height: 32px; border-radius: 999px 999px 2px 2px; background: var(--madera, #3B2649); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .28), 0 0 0 3px rgba(241, 235, 226, .1); }
.menu__simbolo { flex: none; display: grid; place-items: center; width: 20px; height: 32px; color: var(--ambar); }
.menu__simbolo svg { width: 20px; height: 20px; }
.menu__whatsapp { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 22px; padding: 0 20px; border-radius: 999px; background: #F1EBE2; color: #0F0E0D; font-weight: 700; font-size: 15px; }

/* ---------- Entrada horizontal: contador y tarjetas (siempre de noche: es el primer momento de la visita) */
.intro { display: none; }
.con-intro .intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 58%, #22180F 0%, #0F0E0D 70%); color: #F1EBE2;
}
.intro__escena { display: grid; justify-items: center; gap: clamp(26px, 5vh, 54px); width: 100%; padding: 0 20px; }
.intro__cifra { display: flex; align-items: baseline; gap: .06em; margin: 0; font: 800 clamp(84px, 13vw, 210px)/.9 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.intro__mas { color: var(--ambar); }
.intro__num { display: inline-block; min-width: 3.9ch; }
.intro__lema { margin-left: .35em; font-size: .3em; letter-spacing: -.01em; color: var(--champana); }
.intro__cartas { position: relative; width: min(1120px, 92vw); --ancho: clamp(150px, 17vw, 250px); --alto: clamp(96px, 11vw, 160px); height: var(--alto); }
.carta {
  position: absolute; left: 50%; top: 0; width: var(--ancho); height: var(--alto); margin-left: calc(var(--ancho) / -2);
  display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px;
  border-radius: 16px; background: var(--c); color: var(--t);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.carta b { font: 700 clamp(15px, 1.5vw, 21px)/1.1 var(--sans); letter-spacing: -.015em; order: 2; }
.carta small { align-self: flex-end; font: 600 10px/1 var(--sans); letter-spacing: .14em; opacity: .7; }
.intro__saltar {
  position: absolute; right: var(--margen); bottom: calc(28px + env(safe-area-inset-bottom)); min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(248, 241, 228, .08); color: #B4A594; font-size: 13px;
  transition: background-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .intro__saltar:hover { background: rgba(248, 241, 228, .16); color: #F1EBE2; } }

/* ---------- Héroe: como la referencia, un bloque compacto y lejos de los bordes. Texto, calendario y retrato
   quedan cerca; la cuerda cuelga en el espacio libre de la derecha y el retrato termina en la línea de abajo */
.heroe { position: relative; z-index: 2; padding: 0; --base: 72px; }   /* va por encima de la sección siguiente: sus esquinas redondas se ven */
.heroe__tarjeta {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; border-radius: 0 0 36px 36px;
  background: var(--heroe-fondo);
  box-shadow: 0 40px 80px -40px var(--sombra);
}
.heroe__marco { position: relative; min-height: 100svh; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--lateral); }
.heroe__luz {
  position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 62% 56%, rgba(240, 160, 48, .5), rgba(168, 74, 44, .14) 22%, transparent 46%);
  opacity: var(--heroe-luz); transition: opacity 900ms var(--ease-out);
}
.heroe__arco {
  position: absolute; z-index: -1; right: calc(var(--lateral) + 30px + 9%); bottom: var(--base); width: min(32vw, 470px); height: calc(100% - var(--base) - 130px);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0; pointer-events: none;
  border: 1px solid rgba(240, 186, 117, .12);
  box-shadow: 0 0 0 26px rgba(240, 160, 48, .016), 0 0 0 70px rgba(240, 160, 48, .012);
}
.is-lit .heroe__arco { border-color: rgba(176, 112, 52, .5); box-shadow: 0 0 40px rgba(240, 160, 48, .3), 0 0 0 26px rgba(240, 160, 48, .06), 0 0 0 70px rgba(240, 160, 48, .035); }

.heroe__texto { position: relative; z-index: 4; width: min(590px, 50%); padding: clamp(138px, 21vh, 210px) 0 calc(var(--base) + 64px); }
.titulo { margin: 0; font: 700 clamp(44px, 5vw, 84px)/.98 var(--sans); letter-spacing: -.045em; color: var(--texto); }
.titulo__nombre { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--em); font-size: 1.12em; }
.linea { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.linea > span { display: inline-block; }
/* «Soy» encima del calendario, en el mismo bloque */
.soy { margin: clamp(4px, 1vh, 12px) 0 clamp(26px, 4vh, 40px); }
.soy__lead { margin: 0 0 clamp(18px, 2.4vh, 26px); font: 700 clamp(44px, 5vw, 84px)/1 var(--sans); letter-spacing: -.045em; color: var(--soy); }

/* Calendario de hojas, al estilo chino, con sus aros de anillado */
.calendario {
  position: relative; z-index: 6; display: block; width: min(100%, 540px); padding: 0; margin: 0;
  border: 0; background: none; cursor: pointer; text-align: left; perspective: 900px;
  font: 400 16px/1.2 var(--sans); letter-spacing: normal;
  user-select: none; -webkit-user-select: none;
}
.calendario__aros { position: absolute; z-index: 4; left: 20px; right: 20px; top: -10px; display: flex; justify-content: space-between; pointer-events: none; }
.calendario__aros i { width: 8px; height: 21px; border-radius: 5px; border: 2px solid #D8D2C7; border-bottom-color: #8A8378; box-shadow: 0 2px 2px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .5); }
.calendario__cabeza {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  height: 34px; padding: 0 18px; border-radius: 12px 12px 3px 3px;
  background: linear-gradient(180deg, #B44F2E 0%, #8E3420 100%);
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .35), 0 6px 14px -6px rgba(0, 0, 0, .6);
  font: 700 11px/1 var(--sans); letter-spacing: .32em; color: #F7D58E;
}
.calendario__sello { padding: 4px 7px; border: 1px solid rgba(247, 213, 142, .6); border-radius: 4px; letter-spacing: .12em; }
.calendario__bloque { position: relative; display: block; height: clamp(96px, 8.6vw, 126px); transform-style: preserve-3d; }
/* el grosor del taco: hojas debajo */
.calendario__bloque::before, .calendario__bloque::after {
  content: ''; position: absolute; left: 4px; right: 4px; border-radius: 0 0 12px 12px; background: #E9DDC6;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
.calendario__bloque::before { top: 6px; bottom: -6px; }
.calendario__bloque::after { top: 10px; bottom: -11px; left: 9px; right: 9px; background: #DCCDB2; box-shadow: 0 14px 26px -10px var(--sombra); z-index: -1; }
.hoja {
  position: absolute; inset: 0; display: flex; align-items: center; padding: 0 28px;
  border-radius: 0 0 12px 12px; background: var(--papel); color: var(--espresso-950);
  transform-origin: 50% 0;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .06), transparent 18%);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .05);
  backface-visibility: hidden;
}
.hoja__txt { font: 800 clamp(34px, 3.6vw, 60px)/1 var(--sans); font-stretch: 88%; letter-spacing: -.035em; white-space: nowrap; }
.hoja__n { position: absolute; right: 18px; bottom: 12px; font: 600 11px/1 var(--sans); font-style: normal; letter-spacing: .12em; color: var(--oxido); font-variant-numeric: tabular-nums; }
.hoja--arriba { z-index: 2; transition: transform 320ms var(--ease-out); }
.hoja--debajo { z-index: 1; }
@media (hover: hover) and (pointer: fine) { .calendario:hover .hoja--arriba { transform: rotateX(9deg); } }   /* la esquina se levanta: invita a arrancarla */

/* Retrato entre girasoles (escena de 1600 × 1536: los ramos caben completos y los tallos salen por abajo).
   El lienzo dibuja la escena; las imágenes quedan de respaldo */
.retrato {
  position: absolute; z-index: 3; right: calc(var(--lateral) + 30px); bottom: var(--base); margin: 0;
  height: min(calc(100% - var(--base) - 96px), 820px); aspect-ratio: 1600 / 1536;
  touch-action: pan-y;
}
.retrato__respaldo { position: absolute; inset: 0; overflow: hidden; }
.retrato__respaldo img { position: absolute; height: auto; max-width: none; pointer-events: none; transition: opacity .6s ease, filter .6s ease; }
.retrato__persona { left: 20.625%; top: 0; width: 64%; }
.retrato__flor--atras { left: 56.25%; top: 32.552%; width: 43.75%; transform: rotate(4deg) scaleX(-1); }
.retrato__flor--delante { left: 1.25%; top: 51.432%; width: 31.4375%; transform: rotate(-4deg); }
.retrato__persona--claro { opacity: 0; }
.is-lit .retrato__persona--claro { opacity: 1; }
.is-lit .retrato__persona--rojo { opacity: 0; }
html:not(.is-lit) .retrato__respaldo img { filter: grayscale(1) brightness(.62) contrast(1.06); }
.retrato__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.retrato.listo .retrato__lienzo { opacity: 1; }
.retrato.listo .retrato__respaldo { visibility: hidden; }
.retrato__pista {
  position: absolute; left: 34%; top: 38%; z-index: 2; padding: 9px 14px; border-radius: 999px;
  background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linea), 0 10px 24px -12px var(--sombra);
  font-size: 12.5px; color: var(--texto); pointer-events: none; white-space: nowrap;
  opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.retrato__pista.ver { opacity: 1; transform: none; }
.pista--tactil { display: none; }
@media (pointer: coarse) { .pista--fino { display: none; } .pista--tactil { display: inline; } }

.heroe__base {
  position: absolute; z-index: 5; left: var(--lateral); right: var(--lateral); bottom: 0; height: var(--base);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px;
  border-top: 1px solid var(--linea);
  font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--texto-3);
}
.heroe__base > :last-child { justify-self: end; }
.heroe__base a i { font-style: normal; color: var(--ambar); margin-left: 6px; }
.heroe__historia {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--fantasma); box-shadow: inset 0 0 0 1px var(--fantasma-borde); color: var(--texto); font: inherit; letter-spacing: .14em;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.heroe__historia:active { transform: scale(.97); }
.heroe__historia svg { width: 18px; height: 18px; color: var(--ambar); }
@media (hover: hover) and (pointer: fine) { .heroe__historia:hover { box-shadow: inset 0 0 0 1px var(--texto-2); } }

/* La cuerda acompaña toda la página: un cordón trenzado color crudo y un tirador de madera con casquillo de bronce */
.cuerda { position: fixed; z-index: 105; top: 0; right: calc(max(26px, (100vw - var(--ancho)) / 2 + 30px) - 110px); width: 220px; height: 640px; pointer-events: none; }
.cuerda__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; }
.cuerda__tirador {
  position: absolute; left: 0; top: 0; width: 56px; height: 78px; margin: -39px 0 0 -28px; padding: 0; border: 0; background: none;
  cursor: grab; pointer-events: auto; touch-action: none; display: grid; place-items: center;
  user-select: none; -webkit-user-select: none;
}
.cuerda__tirador:active { cursor: grabbing; }
.cuerda__tirador span {
  position: relative; display: block; width: 23px; height: 44px; margin-top: 8px;
  border-radius: 50% 50% 47% 47% / 32% 32% 68% 68%;   /* gota: angosta arriba, redonda abajo */
  background:
    radial-gradient(55% 32% at 34% 28%, rgba(255, 222, 176, .55), transparent 72%),
    repeating-linear-gradient(97deg, transparent 0 3px, rgba(36, 18, 6, .2) 3px 4px, transparent 4px 7px),
    linear-gradient(90deg, #3E2111 0%, #7F4C2A 38%, #9A6036 52%, #5E361D 78%, #2E180B 100%);
  box-shadow: inset -3px -6px 9px rgba(20, 9, 3, .55), inset 2px 2px 4px rgba(255, 212, 160, .22), 0 12px 18px -7px rgba(0, 0, 0, .7);
  transition: box-shadow .6s ease;
}
/* el casquillo donde entra la cuerda */
.cuerda__tirador span::before {
  content: ''; position: absolute; left: 50%; top: -8px; width: 10px; height: 10px; margin-left: -5px; border-radius: 3px 3px 2px 2px;
  background: linear-gradient(90deg, #7E5C24, #EBD290 45%, #B08A45 70%, #6B4D1C); box-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}
.is-lit .cuerda__tirador span { box-shadow: inset -3px -6px 9px rgba(20, 9, 3, .5), inset 2px 2px 4px rgba(255, 212, 160, .3), 0 0 24px 4px rgba(255, 190, 90, .45), 0 12px 18px -7px rgba(90, 58, 38, .5); }

/* ---------- Dolores: maletines en desorden. Cada uno se abre y trae adentro la solución */
.dolores { position: relative; z-index: 1; margin-top: -36px; padding: clamp(140px, 13vw, 180px) var(--lateral) clamp(90px, 10vw, 130px); background: var(--fondo-calle); color: var(--texto); overflow: hidden; }
.dolores::before { content: ''; position: absolute; left: 50%; top: 22%; width: min(1300px, 130vw); height: 82%; translate: -50% 0; pointer-events: none; background: radial-gradient(48% 52% at 50% 48%, rgba(240, 160, 48, .13), transparent 72%); }
.is-lit .dolores::before { background: radial-gradient(48% 52% at 50% 48%, rgba(255, 214, 150, .6), transparent 72%); }
.dolores__marco { position: relative; max-width: var(--contenido); margin: 0 auto; }
.dolores__titulo { margin: 0 auto clamp(90px, 10vw, 130px); max-width: 17ch; text-align: center; font: 700 clamp(36px, 4.7vw, 76px)/1 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.dolores__titulo em { color: var(--em); }
.maletines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(96px, 10vw, 130px) clamp(26px, 4vw, 64px); margin: 0; padding: 0 0 26px; list-style: none; }
.maletin {
  position: relative; justify-self: center; width: min(100%, 290px); aspect-ratio: 4 / 3; container-type: inline-size;
  rotate: var(--r, 0deg); translate: var(--x, 0px) var(--y, 0px); perspective: 900px;
  transition: rotate .55s var(--ease-out), translate .55s var(--ease-out);
}
.maletin.abierto { z-index: 6; rotate: 0deg; translate: var(--x, 0px) calc(var(--y, 0px) - 8px); }
/* sombra en el piso */
.maletin::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -18px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); z-index: 0; transition: opacity .4s ease, scale .4s var(--ease-out); }
.is-lit .maletin::after { background: radial-gradient(closest-side, rgba(90, 58, 38, .4), transparent); }
.maletin.abierto::after { scale: .92; opacity: .8; }
.maletin > span { position: absolute; display: block; }
/* el forro de adentro (se ve cuando se abre la tapa) */
.maletin__fondo { z-index: 1; left: 3%; right: 3%; top: 4%; height: 44%; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, #1A100A, #2B1A0F 60%, #3A2416); box-shadow: inset 0 10px 18px rgba(0, 0, 0, .6); }
.maletin__fondo::before, .maletin__fondo::after { content: ''; position: absolute; left: 14%; right: 16%; height: 52%; bottom: 0; border-radius: 3px 3px 0 0; background: #EFE6D4; rotate: -3deg; opacity: .9; }
.maletin__fondo::after { left: 22%; right: 10%; height: 40%; rotate: 2.5deg; background: #E2D5BC; }
/* la tapa: se va hacia atrás sobre su bisagra */
.maletin__tapa {
  z-index: 2; left: 0; right: 0; top: 0; height: 38%; border-radius: 15px 15px 4px 4px; transform-origin: 50% 100%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--cuero) 78%, #fff 22%), var(--cuero) 70%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .16), inset 0 -2px 0 rgba(0, 0, 0, .28);
  transition: transform .62s var(--ease-out) .06s;
}
.maletin__tapa::before { content: ''; position: absolute; inset: 9px 10px 7px; border-radius: 9px 9px 2px 2px; border: 1.5px dashed rgba(255, 232, 196, .32); }
/* el asa va con la tapa */
.maletin__asa { position: absolute; left: 32%; right: 32%; bottom: 100%; height: 30px; margin-bottom: -4px; border: 7px solid color-mix(in srgb, var(--cuero) 70%, #000 30%); border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12); }
.maletin__asa::before, .maletin__asa::after { content: ''; position: absolute; bottom: -5px; width: 16px; height: 9px; border-radius: 2px; background: linear-gradient(#EBD290, #A47A35); }
.maletin__asa::before { left: -12px; }
.maletin__asa::after { right: -12px; }
/* el cuerpo, con costuras, esquineros de bronce y el rótulo del dolor */
.maletin__cuerpo {
  z-index: 4; left: 0; right: 0; top: 36%; bottom: 0; border-radius: 4px 4px 15px 15px;
  background:
    linear-gradient(135deg, #E0BE74 0 7%, transparent 7.2%) bottom left / 26% 34% no-repeat,
    linear-gradient(225deg, #E0BE74 0 7%, transparent 7.2%) bottom right / 26% 34% no-repeat,
    linear-gradient(180deg, var(--cuero), color-mix(in srgb, var(--cuero) 72%, #000 28%));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -10px 18px -8px rgba(0, 0, 0, .45), 0 22px 30px -18px rgba(0, 0, 0, .7);
}
.maletin__cuerpo::before { content: ''; position: absolute; inset: 9px 10px 10px; border-radius: 2px 2px 9px 9px; border: 1.5px dashed rgba(255, 232, 196, .3); pointer-events: none; }
.maletin__rotulo {
  position: absolute; left: 13%; right: 13%; top: 22%; padding: 7cqw 6cqw; border-radius: 3px; rotate: -1.6deg;
  background: #F6EEDF; color: #2A1B12; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .55);
  font: 700 clamp(13px, 6.3cqw, 19px)/1.18 var(--sans); letter-spacing: -.015em; text-align: center; text-wrap: balance;
}
.maletin__rotulo::before { content: ''; position: absolute; left: 50%; top: -6px; width: 34%; height: 12px; margin-left: -17%; background: rgba(255, 246, 225, .5); rotate: 2deg; }
/* broches de bronce sobre la unión */
.maletin__broches { z-index: 5; left: 17%; right: 17%; top: 31%; height: 13%; display: flex; justify-content: space-between; pointer-events: none; }
.maletin__broches i { width: 15%; height: 100%; border-radius: 4px; background: linear-gradient(180deg, #F3DD9C, #B8913F 60%, #7C5A22); box-shadow: 0 3px 5px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .5); transform-origin: 50% 100%; transition: transform .32s var(--ease-back); }
/* la etiqueta de viaje se mece colgada de un lado */
.maletin__etiqueta {
  z-index: 5; left: -7%; top: 48%; padding: 7px 10px 7px 16px; border-radius: 3px 6px 6px 3px; transform-origin: -6px 50%; rotate: -14deg;
  background: #E9D9B8; color: #3A2611; font: 700 clamp(9px, 3.6cqw, 11px)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 6px 10px -5px rgba(0, 0, 0, .55); animation: mecer 4.2s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -.7s);
}
.maletin__etiqueta::before { content: ''; position: absolute; left: 6px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--fondo-calle); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
@keyframes mecer { from { transform: rotate(-5deg); } to { transform: rotate(6deg); } }
.dolores:not(.viva) .maletin__etiqueta { animation-play-state: paused; }
/* el documento con la solución sale de adentro */
.maletin__doc {
  position: absolute; z-index: 3; left: 7%; right: 7%; bottom: 40%; padding: 16px 16px 18px; border-radius: 6px;
  background: #FBF6EC; color: #24170E; box-shadow: 0 22px 34px -14px rgba(0, 0, 0, .6);
  font: 600 clamp(13px, 5cqw, 15px)/1.32 var(--sans); letter-spacing: -.01em;
  opacity: 0; visibility: hidden; transform: translateY(46%) rotate(0deg) scale(.96);
  transition: transform .6s var(--ease-out) .1s, opacity .22s ease .1s, visibility 0s linear .72s;
}
.maletin__doc p { margin: 0 0 12px; }
.maletin__doc a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #24170E; color: #F6EEDF; font-size: .86em; }
.maletin__doc a i { font-style: normal; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .maletin__doc a:hover i { transform: translateX(4px); } }
.maletin__abrir { position: absolute; z-index: 7; left: 0; right: 0; top: -18%; bottom: 0; padding: 0; border: 0; border-radius: 16px; background: none; cursor: pointer; }
.maletin.abierto .maletin__abrir { top: 36%; }   /* abierto, el documento queda libre para tocar su enlace */
.maletin.abierto .maletin__tapa { transform: rotateX(84deg); }
.maletin.abierto .maletin__broches i { transform: rotateX(-64deg); }
.maletin.abierto .maletin__doc { opacity: 1; visibility: visible; transform: translateY(-44%) rotate(-1.8deg); transition-delay: .16s, .16s, 0s; }
@media (hover: hover) and (pointer: fine) {
  .maletin:not(.abierto):hover { translate: var(--x, 0px) calc(var(--y, 0px) - 6px); }
  .maletin:not(.abierto):hover .maletin__broches i { transform: rotateX(-18deg); }
}
.dolores__pista { margin: 46px 0 0; text-align: center; font-size: 13px; color: var(--texto-3); }

/* ---------- En qué te puedo ayudar: la pared de puertas */
.ayuda { position: relative; z-index: 1; padding: clamp(110px, 12vw, 160px) var(--lateral) clamp(90px, 10vw, 130px); background: var(--fondo); color: var(--texto); overflow: hidden; }
.ayuda__cabeza { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; max-width: var(--contenido); margin: 0 auto; }
.ayuda__cabeza h2 { margin: 0; font: 700 clamp(52px, 7.4vw, 122px)/.92 var(--sans); letter-spacing: -.055em; }
.ayuda__cabeza h2 em { color: var(--em); }
.ayuda__cabeza p { max-width: 38ch; margin: 0 0 10px; color: var(--texto-2); font-size: 17px; }
.ayuda__sinjs { color: var(--texto-2); }
.pared { position: relative; max-width: var(--contenido); margin: 0 auto; padding-top: clamp(60px, 7vw, 100px); }
.pared__puertas { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 3.2vw, 52px); align-items: end; }
.pared__zocalo { position: relative; height: 16px; margin-top: -1px; border-radius: 2px; background: linear-gradient(#2B2724, #1C1916); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 40px -20px rgba(0, 0, 0, .8); }
.is-lit .pared__zocalo { background: linear-gradient(#D7C3A1, #C2AA85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 24px 40px -22px rgba(90, 58, 38, .45); }
.pared__desliza { display: none; }

.puerta {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  --angulo: 0; --abre: 0;
  transition: opacity 380ms ease, filter 380ms ease;
}
.pared.enfoque .puerta:not(.activa) { opacity: .07; filter: saturate(.3); }
/* el marco de piedra, con arco */
.puerta__marco {
  position: relative; display: block; aspect-ratio: 9 / 19; border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #3F3B38 0%, #2C2927 48%, #3F3B38 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(0, 0, 0, .45), 0 46px 50px -36px rgba(0, 0, 0, .9);
}
.is-lit .puerta__marco { background: linear-gradient(90deg, #D6C6AA 0%, #EADDC6 48%, #D6C6AA 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 0 0 1px rgba(90, 58, 38, .16), 0 46px 50px -36px rgba(90, 58, 38, .5); }
.puerta__vano { position: absolute; inset: 11px 11px 0; border-radius: 999px 999px 0 0; overflow: hidden; background: #0B0908; perspective: 1100px; isolation: isolate; }
.puerta__dentro { position: absolute; inset: 0; background-size: cover; background-position: 50% 30%; transform: scale(1.08); filter: brightness(calc(.3 + var(--abre) * .7)); }
.puerta__luz { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 65% at 18% 55%, var(--luz), transparent 70%); mix-blend-mode: screen; opacity: calc(var(--abre) * .6); }
/* la hoja de madera, con ranuras, placa de bronce, manija y cerradura */
.puerta__hoja {
  position: absolute; inset: 0; border-radius: 999px 999px 0 0; transform-origin: 0 50%;
  transform: rotateY(calc(var(--angulo) * 1deg)); backface-visibility: hidden; will-change: transform;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .38), transparent 13%, transparent 87%, rgba(0, 0, 0, .44)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .26) 0 2px, rgba(255, 255, 255, .045) 2px 3px, transparent 3px 15px),
    linear-gradient(180deg, color-mix(in srgb, var(--madera) 82%, #fff 10%), var(--madera) 55%, color-mix(in srgb, var(--madera) 80%, #000 20%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset -14px 0 22px -14px rgba(0, 0, 0, .7);
}
.puerta__hoja::before { content: ''; position: absolute; inset: 7% 9% 3%; border-radius: 999px 999px 0 0; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .22), inset 0 0 0 3px rgba(255, 255, 255, .05); }
.puerta__placa {
  position: absolute; left: 50%; top: 35%; width: 74%; padding: 9px 4px; translate: -50% 0;
  border-radius: 2px; background: linear-gradient(135deg, #A6823F 0%, #EBD290 40%, #C49B52 64%, #8C682B 100%);
  color: #3A2911; text-align: center; font: 800 clamp(8.5px, .78vw, 11.5px)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 3px 6px rgba(0, 0, 0, .45);
}
.puerta__placa b { display: block; font-weight: 800; }
.puerta__placa::before, .puerta__placa::after { content: ''; position: absolute; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #6E5023; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.puerta__placa::before { left: 5px; }
.puerta__placa::after { right: 5px; }
.puerta__manija {
  position: absolute; right: 9%; top: 57%; width: 30%; height: 7px; border-radius: 6px; transform-origin: 100% 50%;
  background: linear-gradient(#F6DC9C, #B98A3E 70%, #7A5521); box-shadow: 0 3px 4px rgba(0, 0, 0, .5);
  transition: rotate .35s var(--ease-back);
}
.puerta__manija::after { content: ''; position: absolute; right: -5px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF1CF, #C79A52 55%, #6D4A1C); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
.puerta.activa .puerta__manija { rotate: 16deg; }
.puerta__cerradura { position: absolute; right: 12.5%; top: 63%; width: 10px; height: 18px; border-radius: 5px; background: linear-gradient(#E7C97F, #9C7432); box-shadow: 0 2px 3px rgba(0, 0, 0, .45); }
.puerta__cerradura::after { content: ''; position: absolute; left: 50%; top: 5px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #2A1A0A; }
/* la luz que sale por la puerta cae en el piso */
.puerta__piso { position: absolute; left: 4%; right: 4%; top: calc(100% + 4px); height: 46px; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, var(--luz), transparent 75%); opacity: calc(var(--abre) * .4); filter: blur(7px); }
/* lo que incluye cada puerta, junto a ella */
.pared__info { position: absolute; z-index: 3; top: 30%; left: 0; width: min(22rem, 36%); margin: 0; opacity: 0; translate: 0 10px; pointer-events: none; transition: opacity .3s ease, translate .45s var(--ease-out); }
.pared__info.ver { opacity: 1; translate: 0 0; }
.pared__h { margin: 0 0 10px; font: 700 clamp(30px, 2.8vw, 44px)/1 var(--sans); letter-spacing: -.04em; }
.pared__t { margin: 0 0 22px; font: 700 11.5px/1.35 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ambar); }
.is-lit .pared__t { color: var(--caramelo-500); }
.pared__lista { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pared__lista li { position: relative; padding-left: 32px; font-size: 16.5px; line-height: 1.35; }
.pared__lista li::before { content: '✓'; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--texto); color: var(--fondo); font-size: 11px; font-weight: 800; }
.insignia {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; padding: 10px 16px; border-radius: 999px;
  background: var(--boton); color: var(--boton-texto); font: 600 13px/1 var(--sans); white-space: nowrap;
  transform: translate(14px, 18px); opacity: 0; transition: opacity 160ms ease;
}
.insignia.ver { opacity: 1; }

/* ---------- La sala de cada servicio */
.sala {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  overflow-y: auto; overscroll-behavior: contain; background: var(--fondo); color: var(--texto);
}
.sala::backdrop { background: transparent; }
/* el fondo de la sala: la escena del trabajo, muy difusa, y dos luces del color de la puerta (el vidrio necesita algo detrás) */
.sala__fondo { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sala__fondo img { width: 100%; height: 100%; object-fit: cover; filter: blur(50px) saturate(1.3); opacity: .38; transform: scale(1.2); }
.is-lit .sala__fondo img { opacity: .28; }
.sala__fondo span { position: absolute; width: 48vmax; height: 48vmax; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--sala-luz) 55%, transparent), transparent 72%); filter: blur(30px); opacity: .55; animation: deriva 18s ease-in-out infinite alternate; }
.sala__fondo span:first-of-type { left: -12vmax; top: 10vh; }
.sala__fondo span:last-of-type { right: -14vmax; bottom: -10vh; animation-delay: -9s; opacity: .4; }
@keyframes deriva { to { translate: 8vmax -6vmax; } }
.sala__fondo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--fondo) 30%, transparent) 0%, color-mix(in srgb, var(--fondo) 70%, transparent) 100%); }
.sala__contenido { position: relative; z-index: 1; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--lateral) 120px; }
.sala__volver { position: fixed; z-index: 4; left: clamp(16px, 2.4vw, 32px); bottom: calc(clamp(16px, 2.4vw, 32px) + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid var(--vidrio-borde); border-radius: 999px; background: color-mix(in srgb, var(--superficie) 72%, transparent); color: var(--texto); font-weight: 600; font-size: 14.5px; cursor: pointer; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 16px 40px -16px var(--sombra); transition: transform 160ms var(--ease-out); }
.sala__volver:active { transform: scale(.97); }
.sala__cuenta { position: fixed; z-index: 4; left: clamp(16px, 2.4vw, 32px); top: 18px; margin: 0; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--superficie) 70%, transparent); font-size: 13px; color: var(--texto-2); font-variant-numeric: tabular-nums; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sala__portada { display: grid; align-content: center; min-height: min(78svh, 760px); padding: 100px 0 60px; }
.sala__ojo { margin: 0; font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ambar); }
.is-lit .sala__ojo { color: var(--caramelo-500); }
.sala__titulo { margin: 18px 0 18px; font: 800 clamp(44px, 10vw, 170px)/.86 var(--sans); font-stretch: 84%; letter-spacing: -.055em; hyphens: auto; }
.sala__titulo em { display: inline-block; font-stretch: normal; color: var(--em); }
.sala__linea { margin: 0; max-width: 46ch; font-size: clamp(18px, 1.6vw, 24px); color: var(--texto-2); }
.sala__dolores { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.sala__dolores li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--vidrio-borde); background: var(--vidrio); font-size: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sala__dolores li::before { content: '×'; margin-right: 8px; color: var(--ambar); font-weight: 800; }
.sala__aviso { margin: 14px 0 0; font-size: 12.5px; color: var(--texto-3); }
/* las tarjetas se apilan al bajar: la de atrás se hunde un poco */
.sala__tarjetas { display: grid; gap: 34px; }
.tarjeta {
  position: sticky; top: calc(clamp(64px, 9vh, 96px) + var(--i) * 16px);
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(26px, 4vw, 70px);
  min-height: min(74vh, 640px); padding: clamp(26px, 4vw, 62px);
  border: 1px solid var(--vidrio-borde); border-radius: 34px; background: var(--vidrio);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 60px 110px -50px var(--sombra);
  backdrop-filter: blur(26px) saturate(1.35); -webkit-backdrop-filter: blur(26px) saturate(1.35);
  transform-origin: 50% 0; scale: calc(1 - var(--hundir, 0) * .06);
}
.tarjeta::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: calc(var(--hundir, 0) * .42); pointer-events: none; }
.tarjeta:nth-child(even) .tarjeta__visual { order: -1; }
.tarjeta__tipo { margin: 0; font: 700 11.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--texto-2); }
.tarjeta h3 { margin: 16px 0 6px; font: 700 clamp(38px, 4.4vw, 68px)/.95 var(--sans); letter-spacing: -.05em; }
.tarjeta__sub { margin: 0 0 20px; font-size: 15px; color: var(--texto-2); }
.tarjeta__que { margin: 0; max-width: 52ch; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.55; }
.tarjeta__nota { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; font-size: 13.5px; color: var(--texto-2); }
.tarjeta__nota::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--luz, var(--ambar)); box-shadow: 0 0 10px var(--luz, var(--ambar)); flex: none; }
.tarjeta__aviso { margin: 10px 0 0; font-size: 12.5px; color: var(--texto-3); }
.tarjeta__accion { margin-top: 24px; }
/* el monitor, con su pie, como un computador de escritorio */
.monitor { position: relative; display: grid; justify-items: center; transform: perspective(1600px) rotateY(-7deg); transition: transform .9s var(--ease-out); }
.tarjeta:nth-child(even) .monitor { transform: perspective(1600px) rotateY(7deg); }
@media (hover: hover) and (pointer: fine) { .tarjeta:hover .monitor { transform: perspective(1600px) rotateY(0deg); } }
.monitor__pantalla { position: relative; width: 100%; padding: 13px 13px 32px; border-radius: 22px; background: linear-gradient(#1C1B1A, #0E0D0D); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 100px -34px var(--luz, var(--ambar)); }
.monitor__pantalla::after { content: ''; position: absolute; left: 50%; bottom: 12px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #3A3735; }
.monitor__pantalla video, .monitor__pantalla img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #000; }
.monitor__cuello { width: 15%; height: clamp(40px, 5vw, 70px); margin-top: -1px; background: linear-gradient(90deg, #8E8E8E, #E4E4E4 45%, #B4B4B4 62%, #7A7A7A); clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); }
.monitor__pie { width: 34%; height: 10px; border-radius: 0 0 9px 9px; background: linear-gradient(#DADADA, #969696); box-shadow: 0 18px 26px -8px rgba(0, 0, 0, .6); }
/* tarjeta de flujo: un ejemplo dibujado, no una web de cliente */
.flujo { position: relative; display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); border-radius: 26px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--vidrio-borde); }
.is-lit .flujo { background: rgba(255, 255, 255, .45); }
.flujo__paso { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--superficie); box-shadow: 0 12px 30px -18px var(--sombra); font-weight: 600; }
.flujo__paso span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--luz, var(--ambar)); color: #1C110A; font-weight: 800; flex: none; }
.flujo__paso + .flujo__paso::before { content: ''; position: absolute; left: 34px; top: -18px; width: 2px; height: 18px; background: linear-gradient(var(--luz, var(--ambar)), transparent); }
.flujo__paso + .flujo__paso::after { content: ''; position: absolute; left: 31px; top: -18px; width: 8px; height: 8px; border-radius: 50%; background: var(--luz, var(--ambar)); box-shadow: 0 0 10px var(--luz, var(--ambar)); animation: pulso-flujo 1.6s ease-in-out infinite; }
@keyframes pulso-flujo { 0% { translate: 0 0; opacity: 0; } 30% { opacity: 1; } 100% { translate: 0 18px; opacity: 0; } }
/* tarjeta con Zzi en lugar de monitor */
.tarjeta__zzi { position: relative; justify-self: center; width: min(320px, 80%); aspect-ratio: 1; }
.tarjeta__zzi::before { content: ''; position: absolute; inset: 10% 5% -4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 160, 48, .35), transparent 72%); }
.tarjeta__zzi .zzi { position: absolute; left: 6%; right: 6%; bottom: 0; width: 88%; }
.sala__incluye { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px clamp(28px, 4vw, 72px); margin-top: 90px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--vidrio-borde); border-radius: 30px; background: var(--vidrio); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.sala__incluye h3 { margin: 0; font: 700 clamp(30px, 3.2vw, 48px)/1 var(--sans); letter-spacing: -.04em; }
.sala__incluye h3 em { color: var(--em); }
.sala__incluye ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: paso; }
.sala__incluye li { counter-increment: paso; display: flex; gap: 16px; align-items: baseline; font-size: 18px; }
.sala__incluye li::before { content: counter(paso, decimal-leading-zero); font: 600 12px/1 var(--sans); letter-spacing: .1em; color: var(--ambar); font-variant-numeric: tabular-nums; }
.sala__pie { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 34px; margin-top: 80px; padding-top: 50px; border-top: 1px solid var(--linea); }
.sala__pie h3 { margin: 0 0 24px; font: 700 clamp(32px, 3.6vw, 56px)/1 var(--sans); letter-spacing: -.045em; }
.sala__pie h3 em { color: var(--em); }
.sala__siguiente { display: grid; gap: 6px; justify-items: end; padding: 0; border: 0; background: none; cursor: pointer; text-align: right; color: var(--texto); }
.sala__siguiente small { font-size: 13px; color: var(--texto-2); }
.sala__siguiente b { font: 700 clamp(26px, 2.6vw, 40px)/1 var(--sans); letter-spacing: -.04em; }
.sala__siguiente b i { font-style: normal; color: var(--ambar); margin-left: 8px; display: inline-block; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sala__siguiente:hover b i { transform: translateX(6px); } }

/* el paso por la puerta: la cámara avanza y la oscuridad del vano llena la pantalla; después carga la sala */
.paso { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.paso[hidden] { display: none; }
.paso__ventana { position: absolute; inset: 0; background: #050403; clip-path: inset(0 0 100% 0); will-change: clip-path, opacity; }
.puerta__dentro, .puerta__luz, .puerta__piso { transition: opacity .25s ease; }
.puerta.cruzando .puerta__dentro, .puerta.cruzando .puerta__luz, .puerta.cruzando .puerta__piso { opacity: 0; }
.puerta.cruzando .puerta__vano { background: #050403; }
body.cruzando-puerta .zzi-flotante { opacity: 0; }


/* ---------- Vidrio: el mismo material en toda la página. Ahumado de noche, lechoso con la luz prendida */
.vidrio {
  position: relative; isolation: isolate;
  background: linear-gradient(150deg, rgba(255, 244, 228, .12), rgba(255, 244, 228, .035) 62%);
  border: 1px solid rgba(255, 236, 210, .17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 44px 70px -42px rgba(0, 0, 0, .85);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.is-lit .vidrio {
  background: linear-gradient(150deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .36) 62%);
  border-color: rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 44px 70px -44px rgba(90, 58, 38, .5);
}
/* un borde que se enciende donde está el cursor */
.vidrio::before {
  content: ''; position: absolute; inset: -1px; z-index: 2; padding: 1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--vx, 50%) var(--vy, 0%), rgba(255, 199, 102, .95), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s ease;
}
@media (hover: hover) and (pointer: fine) { .vidrio:hover::before { opacity: 1; } }
@media (prefers-reduced-transparency: reduce) { .vidrio, .is-lit .vidrio { background: var(--superficie); backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- Voces de clientes: un tablero de vidrio. Audios en arcos (como las puertas), el chat en un teléfono
   y los comentarios de Instagram en globos de formas distintas que pasan en carrusel */
.voces { position: relative; isolation: isolate; padding: clamp(110px, 12vw, 170px) var(--lateral); background: var(--fondo-calle); color: var(--texto); overflow: hidden; }
.voces__luces { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.voces__luces i { position: absolute; border-radius: 50%; }
.voces__luces i:nth-child(1) { left: 2%; top: 16%; width: 38vw; height: 38vw; background: radial-gradient(closest-side, rgba(240, 160, 48, .42), transparent 72%); }
.voces__luces i:nth-child(2) { right: 0; top: 6%; width: 32vw; height: 32vw; background: radial-gradient(closest-side, rgba(168, 74, 44, .5), transparent 72%); }
.voces__luces i:nth-child(3) { left: 34%; bottom: -6%; width: 40vw; height: 28vw; background: radial-gradient(closest-side, rgba(244, 217, 160, .24), transparent 72%); }
.voces__luces i:nth-child(4) { right: 18%; bottom: 22%; width: 20vw; height: 20vw; background: radial-gradient(closest-side, rgba(154, 99, 57, .55), transparent 72%); }
.is-lit .voces__luces i:nth-child(1) { background: radial-gradient(closest-side, rgba(240, 160, 48, .5), transparent 72%); }
.is-lit .voces__luces i:nth-child(2) { background: radial-gradient(closest-side, rgba(214, 120, 78, .42), transparent 72%); }
.is-lit .voces__luces i:nth-child(3) { background: radial-gradient(closest-side, rgba(255, 255, 255, .8), transparent 72%); }
.voces__titulo { margin: 0 auto clamp(56px, 6vw, 80px); max-width: 18ch; text-align: center; font: 700 clamp(44px, 6vw, 96px)/.95 var(--sans); letter-spacing: -.055em; text-wrap: balance; }
.voces__titulo em { color: var(--em); }
.tablero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); max-width: var(--contenido); margin: 0 auto; align-items: start; }
.voz { color: var(--texto); }
.voz--arco { grid-column: span 4; padding: clamp(64px, 6vw, 84px) clamp(20px, 2vw, 28px) 24px; border-radius: 999px 999px 30px 30px; text-align: center; rotate: var(--r, 0deg); transition: rotate .5s var(--ease-out), translate .5s var(--ease-out); }
.voz--telefono { grid-column: span 4; margin-top: clamp(28px, 4vw, 56px); padding: 52px 18px 20px; border-radius: 48px; }
.voz--telefono::after { content: ''; position: absolute; left: 50%; top: 16px; width: 86px; height: 22px; margin-left: -43px; border-radius: 999px; background: rgba(0, 0, 0, .5); }
.is-lit .voz--telefono::after { background: rgba(28, 17, 10, .82); }
@media (hover: hover) and (pointer: fine) { .voz--arco:hover { rotate: 0deg; translate: 0 -6px; } }
.voz__cara { display: grid; justify-items: center; gap: 12px; margin-bottom: 20px; }
.voz--telefono .voz__cara { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; margin: 0 6px 16px; }
.voz__cara b { display: block; font-size: 18px; }
.voz__cara small { display: block; margin-top: 2px; color: var(--texto-2); font-size: 13px; }
/* avatares con forma orgánica, no círculos */
.voz__avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 62% 38% 55% 45% / 50% 44% 56% 50%; background: linear-gradient(135deg, var(--ambar), var(--caramelo-500)); color: #1C110A; font-weight: 800; font-size: 20px; box-shadow: 0 10px 22px -10px rgba(240, 160, 48, .7); }
.voz--telefono .voz__avatar { width: 46px; height: 46px; font-size: 16px; border-radius: 42% 58% 46% 54% / 56% 46% 54% 44%; background: linear-gradient(135deg, #F4D9A0, #C99654); }
.voz__reproductor { display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; border-radius: 999px; background: color-mix(in srgb, var(--texto) 7%, transparent); text-align: left; }
.voz__play { position: relative; flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ambar); cursor: pointer; transition: transform .15s var(--ease-out); }
.voz__play:active { transform: scale(.94); }
.voz__play i { position: absolute; left: 18px; top: 15px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #1C110A; }
.voz__play.sonando i { left: 16px; top: 15px; width: 14px; height: 16px; border: 0; background: linear-gradient(90deg, #1C110A 0 5px, transparent 5px 9px, #1C110A 9px 14px); }
.voz__ondas { flex: 1; display: flex; align-items: center; gap: 2px; height: 34px; cursor: pointer; }
.voz__ondas i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--texto-3); transition: background-color .15s; }
.voz__ondas i.ya { background: var(--ambar); }
.is-lit .voz__ondas i.ya { background: var(--caramelo-600); }
.voz__dur { font-size: 13px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
/* lo que dice el audio, en vivo mientras suena */
.voz__subtitulo { min-height: 4.1em; margin: 18px 4px 0; font: italic 400 clamp(19px, 1.55vw, 23px)/1.3 var(--serif); letter-spacing: -.01em; color: var(--texto); text-wrap: balance; transition: opacity .25s ease, translate .35s var(--ease-out); }
.voz__subtitulo.cambia { opacity: 0; translate: 0 6px; }
.voz__texto { margin: 10px 0 0; font-size: 13.5px; color: var(--texto-2); text-align: left; }
.voz__texto summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; list-style: none; font-weight: 600; color: var(--texto); }
.voz__texto summary::-webkit-details-marker { display: none; }
.voz__texto summary::after { content: '+'; font-size: 16px; color: var(--ambar); transition: rotate .3s var(--ease-out); }
.voz__texto[open] summary::after { rotate: 45deg; }
.voz__texto p { margin: 6px 0 0; line-height: 1.55; }
.voz__nota { margin: 12px 0 0; font-size: 12px; color: var(--texto-3); }
.chat { display: grid; gap: 7px; padding: 4px 4px 2px; }
.chat p { max-width: 86%; margin: 0; padding: 9px 13px; border-radius: 16px; font-size: 15px; line-height: 1.35; }
.chat__yo { justify-self: end; border-bottom-right-radius: 4px; background: #6E2A17; color: #FBEFE6; }
.chat__ella { justify-self: start; border-bottom-left-radius: 4px; background: color-mix(in srgb, var(--texto) 11%, transparent); }
.voz--telefono .voz__nota { margin: 14px 6px 0; }

/* comentarios de Instagram: globos de vidrio con formas distintas, en carrusel */
.ig { grid-column: 1 / -1; margin-top: clamp(26px, 3vw, 44px); }
.ig__cabeza { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 4px 6px; }
.ig__cabeza h3 { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 17px/1.2 var(--sans); }
.ig__cabeza h3 svg { width: 22px; height: 22px; color: var(--ambar); }
.is-lit .ig__cabeza h3 svg { color: var(--caramelo-600); }
.ig__flechas { display: flex; gap: 10px; }
.ig__flecha { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--fantasma-borde); border-radius: 18px 6px 18px 6px; background: var(--fantasma); color: var(--texto); cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s ease; }
.ig__flecha + .ig__flecha { border-radius: 6px 18px 6px 18px; }
.ig__flecha svg { width: 18px; height: 18px; }
.ig__flecha:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .ig__flecha:hover { background: color-mix(in srgb, var(--texto) 12%, transparent); } }
.ig__pista {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 80vw); gap: 18px; align-items: center;
  margin: 0 -4px; padding: 26px 4px 40px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.ig__pista::-webkit-scrollbar { display: none; }
.ig__burbuja { position: relative; display: grid; gap: 12px; padding: 22px 22px 18px; scroll-snap-align: center; opacity: .55; transform: scale(.94); transition: transform .55s var(--ease-out), opacity .45s ease; }
.ig__burbuja.activa { opacity: 1; transform: none; }
.ig__quien { display: flex; align-items: center; gap: 10px; }
.ig__quien b { font-size: 14.5px; }
.ig__avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 60% 40% 55% 45% / 48% 56% 44% 52%; background: linear-gradient(135deg, var(--c1, #F0A030), var(--c2, #9A6339)); color: #1C110A; font-weight: 800; font-size: 14px; }
.ig__burbuja p { margin: 0; font-size: 16.5px; line-height: 1.42; }
.ig__likes { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 13px; font-weight: 600; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.ig__likes svg { width: 15px; height: 15px; color: #E5484D; }
/* las formas */
.ig__burbuja--globo { border-radius: 30px 30px 30px 6px; }
.ig__burbuja--globo::after { content: ''; position: absolute; left: -1px; bottom: -14px; width: 26px; height: 16px; background: inherit; border-left: 1px solid rgba(255, 236, 210, .17); clip-path: polygon(0 0, 100% 0, 0 100%); }
.ig__burbuja--hoja { border-radius: 44px 8px 44px 8px; }
.ig__burbuja--ticket { border-radius: 20px; -webkit-mask: radial-gradient(circle 13px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 13px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; }
.ig__burbuja--pildora { border-radius: 70px; padding: 26px 30px 22px; }
.ig__burbuja--chaflan { border-radius: 0; clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }

/* ---------- Por qué un sistema: la frase, el trato y una cuenta que hace cada visitante con sus números */
.valor { position: relative; padding: clamp(110px, 12vw, 170px) var(--lateral); background: var(--fondo-valor); color: var(--texto); overflow: hidden; isolation: isolate; }
.valor::before { content: ''; position: absolute; right: -12vw; top: -14vw; z-index: -1; width: 56vw; height: 56vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 160, 48, .2), transparent 70%); pointer-events: none; }
.valor::after { content: ''; position: absolute; left: -10vw; bottom: -16vw; z-index: -1; width: 46vw; height: 46vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(168, 74, 44, .22), transparent 70%); pointer-events: none; }
.valor__marco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(40px, 6vw, 96px); align-items: center; max-width: var(--contenido); margin: 0 auto; }
.valor__texto h2 { margin: 0 0 26px; font: 700 clamp(44px, 5.4vw, 88px)/.96 var(--sans); letter-spacing: -.055em; text-wrap: balance; }
.valor__texto h2 em { display: block; padding-bottom: .06em; color: var(--em); }
.valor__texto > p { max-width: 42ch; margin: 0; font-size: clamp(17px, 1.4vw, 20px); color: var(--texto-2); }
.valor__trato { display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; }
.valor__trato li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; }
.valor__trato svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 12px 4px 12px 4px; background: rgba(240, 160, 48, .14); color: var(--ambar); }
.is-lit .valor__trato svg { background: rgba(154, 99, 57, .13); color: var(--caramelo-600); }
.cuenta { padding: clamp(24px, 3vw, 40px); border-radius: 36px 36px 36px 10px; }
.cuenta h3 { margin: 0; font: 700 clamp(28px, 2.6vw, 40px)/1 var(--sans); letter-spacing: -.04em; }
.cuenta__sub { margin: 8px 0 26px; color: var(--texto-2); }
.cuenta__campo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.cuenta__campo span { font-size: 14.5px; color: var(--texto-2); }
.cuenta__campo output { font: 700 16px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--texto); }
.cuenta__campo input { grid-column: 1 / -1; }
.cuenta input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 0; background: transparent; cursor: pointer; }
.cuenta input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ambar) var(--p, 50%), color-mix(in srgb, var(--texto) 16%, transparent) var(--p, 50%)); }
.cuenta input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border: 3px solid var(--ambar); border-radius: 10px 4px 10px 4px; background: var(--crema); box-shadow: 0 5px 12px rgba(0, 0, 0, .35); transition: transform .15s var(--ease-out); }
.cuenta input[type=range]:active::-webkit-slider-thumb { transform: scale(1.14) rotate(8deg); }
.cuenta input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--texto) 16%, transparent); }
.cuenta input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--ambar); }
.cuenta input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid var(--ambar); border-radius: 10px 4px 10px 4px; background: var(--crema); }
.is-lit .cuenta input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--caramelo-500) var(--p, 50%), rgba(28, 17, 10, .12) var(--p, 50%)); }
.is-lit .cuenta input[type=range]::-webkit-slider-thumb { border-color: var(--caramelo-500); }
/* el mes, día por día: lo ámbar es el tiempo en tareas repetidas sobre una jornada de 8 horas */
.cuenta__mes { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; margin: 22px 0 6px; }
.cuenta__mes i { position: relative; height: 28px; border-radius: 5px 2px 5px 2px; background: color-mix(in srgb, var(--texto) 8%, transparent); overflow: hidden; transition: opacity .3s ease; }
.cuenta__mes i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ambar), var(--miel)); transform-origin: 50% 100%; transform: scaleY(var(--f, 0)); transition: transform .5s var(--ease-out) calc(var(--k, 0) * 12ms); }
.is-lit .cuenta__mes i::after { background: linear-gradient(0deg, var(--caramelo-500), #C9915C); }
.cuenta__mes i:not(.trabaja) { opacity: .3; }
.cuenta__mes-nota { margin: 0 0 20px; font-size: 12.5px; color: var(--texto-3); }
.cuenta__total { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px clamp(18px, 2.4vw, 32px); margin: 0 0 12px; }
.cuenta__total p { margin: 0; font-size: 13.5px; color: var(--texto-2); }
.cuenta__total b { display: block; margin-bottom: 4px; font: 800 clamp(28px, 2.9vw, 44px)/1 var(--sans); letter-spacing: -.04em; color: var(--texto); font-variant-numeric: tabular-nums; }
.cuenta__total p:first-child b { color: var(--ambar); }
.is-lit .cuenta__total p:first-child b { color: var(--caramelo-600); }
.cuenta__nota { margin: 14px 0 22px; font-size: 13px; color: var(--texto-3); }

/* ---------- Mi historia: un viaje en el tiempo. Un HUD rebobina mientras bajas; cuanto más atrás, más sepia */
.viaje {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  overflow-y: auto; overscroll-behavior: contain; background: #090807; color: #EDE3D3;
  --prof: 0; --hud: #F0A030; --hud-2: rgba(240, 160, 48, .55); --hud-3: rgba(240, 160, 48, .16);
}
.viaje::backdrop { background: #050403; }
.viaje__fondo { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.viaje__piso { position: absolute; left: -40%; right: -40%; bottom: -6%; height: 64%; transform-origin: 50% 0; transform: perspective(520px) rotateX(64deg); overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 45%); mask: linear-gradient(transparent, #000 45%); }
.viaje__piso::before { content: ''; position: absolute; left: 0; right: 0; top: -66px; height: calc(100% + 132px); background-image: linear-gradient(var(--hud-3) 1px, transparent 1px), linear-gradient(90deg, var(--hud-3) 1px, transparent 1px); background-size: 66px 66px; animation: piso 2.6s linear infinite; }
@keyframes piso { from { transform: translateY(66px); } to { transform: translateY(0); } }
.viaje__sepia { position: absolute; inset: 0; background: #6A4219; mix-blend-mode: color; opacity: calc(var(--prof) * .55); transition: opacity 1.1s ease; }
.viaje__lineas { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px); opacity: calc(.35 + var(--prof) * .35); transition: opacity 1.1s ease; }
.viaje__vineta { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 42%, transparent 46%, rgba(0, 0, 0, .78)); }
.viaje__cabeza { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: calc(18px + env(safe-area-inset-top)) var(--lateral) 30px; background: linear-gradient(#090807 40%, rgba(9, 8, 7, 0)); }
.viaje__cabeza h2 { margin: 0; font: 700 clamp(26px, 2.6vw, 40px)/1 var(--sans); letter-spacing: -.04em; }
.viaje__cabeza h2 em { color: var(--champana); }
.viaje__volver { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 20px; border: 1px solid rgba(240, 160, 48, .35); border-radius: 999px; background: rgba(240, 160, 48, .08); color: #F6E7C8; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s ease; }
.viaje__volver svg { width: 16px; height: 16px; }
.viaje__volver:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .viaje__volver:hover { background: rgba(240, 160, 48, .16); } }
.viaje__cuerpo { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(30px, 5vw, 90px); max-width: 1240px; margin: 0 auto; padding: 0 var(--lateral) 34vh; }
.hud { position: sticky; top: 13vh; align-self: start; display: grid; place-items: center; height: min(74vh, 640px); }
.hud__radar, .hud__anillos { grid-area: 1 / 1; width: min(100%, 500px); aspect-ratio: 1; }
.hud__radar { border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, rgba(240, 160, 48, .26) 34deg, transparent 35deg); -webkit-mask: radial-gradient(closest-side, #000 97%, transparent); mask: radial-gradient(closest-side, #000 97%, transparent); animation: girar 4.8s linear infinite; opacity: .8; }
.hud__anillos { overflow: visible; color: var(--hud); }
.hud__anillo { transform-box: view-box; transform-origin: 50% 50%; }
.hud__anillo--a { animation: girar 80s linear infinite reverse; }
.hud__anillo--b { animation: girar 26s linear infinite; }
.hud__anillo--c { animation: girar 48s linear infinite reverse; }
.hud__progreso { transition: stroke-dashoffset 1s var(--ease-out); }
@keyframes girar { to { transform: rotate(360deg); } }
.hud__centro { grid-area: 1 / 1; display: grid; justify-items: center; gap: 10px; text-align: center; }
.hud__num { font: 800 clamp(76px, 8vw, 128px)/1 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: #F6E7C8; text-shadow: 0 0 26px rgba(240, 160, 48, .5); }
.hud__etiqueta { max-width: 16ch; font: 700 12px/1.3 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--hud); }
.hud__lectura { position: absolute; margin: 0; font: 600 10.5px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--hud-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud__lectura::before { content: '[ '; color: var(--hud); }
.hud__lectura::after { content: ' ]'; color: var(--hud); }
.hud__lectura--a { top: 4%; left: 2%; }
.hud__lectura--b { bottom: 6%; left: 4%; }
.hud__lectura--c { top: 9%; right: 0; }
.hud__lectura--a i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 1px; background: var(--hud); vertical-align: 1px; animation: titila 1s steps(2) infinite; }
@keyframes titila { 50% { opacity: 0; } }
.viaje:not([open]) .hud * { animation-play-state: paused; }
.viaje__linea { margin: 0; padding: 14vh 0 0; list-style: none; }
.viaje .etapa { position: relative; min-height: 62vh; padding: 0 0 8vh 28px; opacity: .22; transition: opacity .6s ease; }
.viaje .etapa.activa { opacity: 1; }
/* esquinas de mira alrededor de la etapa activa */
.viaje .etapa::before, .viaje .etapa::after { content: ''; position: absolute; width: 22px; height: 22px; border-color: var(--hud); border-style: solid; opacity: 0; transition: opacity .4s ease, translate .5s var(--ease-out); }
.viaje .etapa::before { left: 0; top: -14px; border-width: 2px 0 0 2px; translate: -8px -8px; }
.viaje .etapa::after { left: 0; top: 150px; border-width: 0 0 2px 2px; translate: -8px 8px; }
.viaje .etapa.activa::before, .viaje .etapa.activa::after { opacity: 1; translate: 0 0; }
.viaje .etapa__cuando { margin: 0 0 12px; font: 700 11.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--hud); }
.viaje .etapa h3 { margin: 0 0 8px; font: 700 clamp(34px, 3.6vw, 58px)/1.02 var(--sans); letter-spacing: -.045em; color: #F6EDE0; }
.viaje .etapa__donde { margin: 0 0 16px; color: #B9AB98; }
.viaje .etapa ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; max-width: 46ch; color: #CBBDAA; font-size: 17px; }
.viaje .etapa ul li { display: flex; gap: 12px; }
.viaje .etapa ul li::before { content: ''; flex: none; width: 14px; height: 1px; margin-top: .8em; background: var(--hud); opacity: .7; }
/* el arranque: la máquina se enciende */
.viaje__arranque { position: fixed; inset: 0; z-index: 6; display: grid; place-content: center; gap: 12px; padding: 20px; background: #090807; pointer-events: none; opacity: 0; visibility: hidden; font: 600 12.5px/1.6 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--hud); text-align: center; }
.viaje__arranque p { margin: 0; opacity: 0; }
.viaje.arrancando .viaje__arranque { visibility: visible; animation: arranque 1.6s ease both; }
.viaje.arrancando .viaje__arranque p { animation: linea-arranque .25s steps(2) both; }
.viaje.arrancando .viaje__arranque p:nth-child(2) { animation-delay: .32s; }
.viaje.arrancando .viaje__arranque p:nth-child(3) { animation-delay: .64s; }
@keyframes arranque { 0%, 72% { opacity: 1; } 100% { opacity: 0; } }
@keyframes linea-arranque { from { opacity: 0; } to { opacity: 1; } }


/* ---------- Zzi en 2D, con profundidad (ahora vive junto al formulario de contacto) */
.zzi-sec__escenario { position: relative; height: clamp(360px, 38vw, 540px); }
.zzi-sec__halo { position: absolute; left: 6%; right: 6%; top: 4%; bottom: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 160, 48, .3), rgba(168, 74, 44, .08) 55%, transparent 74%); filter: blur(6px); }
.zzi-sec__piedra { position: absolute; left: 50%; bottom: 7%; width: 58%; height: 10%; margin-left: -29%; border-radius: 50%; background: radial-gradient(ellipse at 50% 32%, #3A2F27, #1A1512 72%); box-shadow: 0 22px 34px -14px rgba(0, 0, 0, .75), inset 0 2px 0 rgba(255, 255, 255, .07); }
.zzi-sec__boton {
  position: absolute; left: 50%; bottom: 10.5%; width: min(74%, 380px); margin-left: calc(min(74%, 380px) / -2); aspect-ratio: 1197 / 1314;
  padding: 0; border: 0; background: none; cursor: grab; touch-action: none; border-radius: 40%;
}
.zzi-sec__boton:active { cursor: grabbing; }
.zzi-sec__boton .zzi { position: absolute; inset: 0; width: 100%; filter: drop-shadow(6px 18px 18px rgba(0, 0, 0, .45)); }
.zzi-sec__polvo { position: absolute; border-radius: 50%; background: var(--miel); filter: blur(1.5px); opacity: .7; pointer-events: none; animation: flotar 6s ease-in-out infinite; }
.zzi-sec__polvo--a { left: 14%; top: 28%; width: 9px; height: 9px; }
.zzi-sec__polvo--b { right: 12%; top: 46%; width: 6px; height: 6px; animation-delay: -2.4s; }
@keyframes flotar { 50% { transform: translateY(-14px); } }
.zzi-sec__pista {
  position: absolute; left: 50%; top: 6%; padding: 9px 14px; border-radius: 999px; transform: translateX(-50%);
  background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linea); font-size: 12.5px; color: var(--texto-2); white-space: nowrap;
  opacity: 0; transition: opacity 400ms ease;
}
.zzi-sec__pista.ver { opacity: 1; }


/* la marioneta (piezas de la v3, armadas como en la v2) */
.zzi { position: absolute; aspect-ratio: 1197 / 1314; pointer-events: none; container-type: inline-size; --face: 1; }
.zzi > *, .zzi__flip > *, .zzi__hop > *, .zzi__body > * { position: absolute; inset: 0; }
.zzi__shadow { inset: auto; left: 22%; top: 87%; width: 54%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(8, 4, 2, .55), transparent); }
.zzi__flip { transform: scaleX(var(--face)); transition: transform .24s var(--ease-back); }
.zzi__hop { transform-origin: 50% 92%; }
.zzi__body { transform-origin: 50% 88%; transform: rotate(var(--tilt, 0deg)); transition: transform .42s var(--ease-back); }
.zzi__breathe { transform-origin: 50% 90%; animation: zzi-respira 2.8s ease-in-out infinite; }
@keyframes zzi-respira { 50% { transform: translateY(-.6%) scaleY(1.012); } }
.zzi img, .zzi__eyes, .zzi__q { position: absolute; max-width: none; }
.zzi__torso { left: 14.369%; top: 9.741%; width: 63.409%; height: 72.527%; }
.zzi__arm { left: 68.839%; top: 37.139%; width: 25.815%; height: 17.199%; transform-origin: 18.12% 67.26%; transform: rotate(var(--arm, 0deg)); transition: transform .4s var(--ease-back); }
.zzi__hand { left: 11.779%; top: 51.294%; width: 16.124%; height: 15.982%; transform-origin: 91.71% 45.71%; }
.zzi__foot { left: 33.501%; top: 79.072%; width: 12.698%; height: 11.72%; transform-origin: 50.66% 8.44%; }
.zzi__sparks { left: 69.34%; top: 8.371%; width: 20.05%; height: 18.265%; transform-origin: 10% 95%; opacity: 0; }
.zzi__eyes { inset: 0; transform: translate(var(--lx, 0%), var(--ly, 0%)); transition: transform .26s var(--ease-out); }
.zzi__eye { position: absolute; border-radius: 50%; background: radial-gradient(circle at 38% 30%, #4A4C50 0%, #1C1D1F 45%, #0E0F10 100%); rotate: 2deg; transform-origin: 50% 60%; transition: transform .18s var(--ease-out), clip-path .18s, opacity .14s; clip-path: inset(0 0 0 0); }
.zzi__eye::after { content: ''; position: absolute; left: 22%; top: 14%; width: 34%; height: 22%; border-radius: 50%; background: rgba(255, 255, 255, .88); }
.zzi__eye--l { left: 45.453%; top: 35.546%; width: 5.298%; height: 8.067%; }
.zzi__eye--r { left: 57.42%; top: 34.203%; width: 4.825%; height: 7.958%; }
.zzi__happy { position: absolute; width: 7.9%; height: 5.3%; opacity: 0; transition: opacity .14s; overflow: visible; }
.zzi__happy path { fill: none; stroke: #1C1D1F; stroke-width: 6; stroke-linecap: round; }
.zzi__happy--l { left: 44.2%; top: 37.4%; }
.zzi__happy--r { left: 55.8%; top: 36%; }
.zzi[data-mood="happy"] .zzi__eye { opacity: 0; }
.zzi[data-mood="happy"] .zzi__happy { opacity: 1; }
.zzi[data-mood="wide"] .zzi__eye { transform: scale(1.26); }
.zzi__q { inset: auto; left: 34%; top: -20%; font: italic 400 36cqw/1 var(--serif); color: var(--miel); opacity: 0; transform: scaleX(var(--face)); transform-origin: 50% 100%; }
.zzi__q span { display: block; }

/* Zzi en la esquina, en toda la página */
.zzi-flotante { position: fixed; z-index: 104; right: clamp(12px, 2vw, 26px); bottom: calc(clamp(10px, 1.6vw, 20px) + env(safe-area-inset-bottom)); display: flex; align-items: flex-end; gap: 4px; pointer-events: none; transition: opacity .3s ease; }
.zzi-flotante__globo {
  max-width: 230px; margin: 0 0 58px; padding: 12px 15px; border-radius: 18px 18px 4px 18px;
  background: var(--superficie); color: var(--texto); font: 600 13.5px/1.35 var(--sans);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--linea);
  opacity: 0; translate: 0 8px; transition: opacity .35s ease, translate .35s var(--ease-out);
}
.zzi-flotante__globo.ver { opacity: 1; translate: 0 0; }
.zzi-flotante__boton { position: relative; width: 86px; height: 94px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; border-radius: 40%; }
.zzi-flotante__boton::before { content: ''; position: absolute; inset: 18% 4% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 160, 48, .38), transparent 72%); }
.zzi--mini { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
body:has(dialog[open]) .zzi-flotante, .con-intro .zzi-flotante, .zzi-flotante.lejos { opacity: 0; }
.zzi-flotante.lejos { visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.con-intro .zzi-flotante { visibility: hidden; }
body:has(dialog[open]) .zzi-flotante * { pointer-events: none; }

/* ---------- Contacto: al llegar, pide de una vez los datos. Zzi acompaña y el mensaje sale listo por WhatsApp */
.contacto { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 12vw, 170px) var(--lateral); background: var(--fondo-cierre); color: var(--texto); }
@property --mx { syntax: '<percentage>'; inherits: false; initial-value: 50%; }
@property --my { syntax: '<percentage>'; inherits: false; initial-value: 110%; }
.contacto__foco { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(640px circle at var(--mx) var(--my), rgba(240, 160, 48, .2), transparent 60%); transition: --mx 700ms var(--ease-out), --my 700ms var(--ease-out); }
.contacto__marco { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: var(--contenido); margin: 0 auto; }
.contacto h2 { margin: 0 0 14px; font: 700 clamp(44px, 5.2vw, 86px)/.95 var(--sans); letter-spacing: -.055em; text-wrap: balance; }
.contacto h2 em { color: var(--em); }
.contacto__bajada { max-width: 46ch; margin: 0 0 28px; font-size: 17px; color: var(--texto-2); }
.pedido { display: grid; gap: 16px; padding: clamp(22px, 2.6vw, 34px); border-radius: 32px 32px 32px 8px; }
.pedido__fila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.campo { display: grid; align-content: start; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.campo > span, .campo > legend { padding: 0; font-size: 13.5px; font-weight: 600; color: var(--texto-2); }
.campo > span small { font-weight: 400; color: var(--texto-3); }
.campo input, .campo textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid rgba(248, 241, 228, .2); border-radius: 14px;
  background: rgba(248, 241, 228, .06); color: var(--texto); font: 16px/1.4 var(--sans); outline: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.campo textarea { min-height: 92px; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(248, 241, 228, .45); }
.campo input:focus, .campo textarea:focus { border-color: var(--miel); background: rgba(248, 241, 228, .09); box-shadow: 0 0 0 3px rgba(255, 199, 102, .22); }
.campo input[aria-invalid="true"] { border-color: #E5845F; }
.campo__error { font-size: 13px; color: #F2A07E; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid rgba(248, 241, 228, .2); border-radius: 999px; font-size: 14px; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s var(--ease-out); }
.chip:nth-child(3n + 2) span { border-radius: 16px 999px 999px 16px; }
.chip input:checked + span { background: var(--champana); border-color: var(--champana); color: var(--espresso-950); }
.chip input:focus-visible + span { outline: 3px solid var(--miel); outline-offset: 3px; }
.chip:active span { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .chip:hover input:not(:checked) + span { border-color: rgba(248, 241, 228, .45); } }
.pedido__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 6px; }
.pedido__acciones .enlace { padding: 0; border: 0; background: none; cursor: pointer; color: var(--texto-2); font: 600 14.5px/1.3 var(--sans); }
.pedido__nota { margin: 0; font-size: 12.5px; color: var(--texto-3); }
.pedido__listo { margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(240, 160, 48, .13); color: var(--texto); font-size: 14.5px; }
.pedido__listo a { text-decoration: underline; text-underline-offset: 4px; }
.pie { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding: 30px var(--margen) calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); background: var(--fondo-cierre); color: var(--texto-3); font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .pie a:hover { color: var(--ambar); } }


/* ---------- Entrada del héroe: el texto sube desde su línea, el calendario cae, el retrato se asienta */
.js:not(.entro) .heroe .linea > span { transform: translateY(112%); }
.js .heroe .linea > span { transition: transform 1100ms var(--ease-out) calc(100ms + var(--i, 0) * 90ms); }
.js:not(.entro) .calendario { opacity: 0; transform: perspective(800px) translateY(-24px) rotateX(20deg); }
.js .calendario { transform-origin: 50% 0; transition: opacity 500ms ease 420ms, transform 1000ms var(--ease-out) 420ms; }
.js:not(.entro) .heroe .acciones, .js:not(.entro) .heroe__base { opacity: 0; transform: translateY(16px); }
.js .heroe .acciones { transition: opacity 600ms ease 640ms, transform 800ms var(--ease-out) 640ms; }
.js .heroe__base { transition: opacity 700ms ease 900ms, transform 900ms var(--ease-out) 900ms; }
.js:not(.entro) .retrato { opacity: 0; scale: 1.04; }
.js .retrato { transition: opacity 1200ms ease 150ms, scale 1700ms var(--ease-out) 150ms; }

/* ---------- Revelado al bajar */
.js .revela { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); }
.js .revela.adentro { opacity: 1; transform: none; }
.js .pared .puerta { opacity: 0; translate: 0 40px; transition: opacity 800ms ease calc(var(--i, 0) * 90ms), translate 1000ms var(--ease-out) calc(var(--i, 0) * 90ms), filter 380ms ease; }
.js .pared.adentro .puerta { opacity: 1; translate: 0 0; }
.js .pared.adentro.enfoque .puerta:not(.activa) { opacity: .07; transition-delay: 0s; }

/* ---------- Análisis: primero los datos, después las preguntas (sin contar cuántas son) */
.diagnosis { width: min(640px, calc(100vw - 24px)); max-height: min(850px, calc(100svh - 24px)); padding: 0; border: 1px solid rgba(247, 231, 205, .3); border-radius: 24px; overflow: auto; overscroll-behavior: contain; background: linear-gradient(145deg, #3A2618, #1C110A); color: var(--crema); box-shadow: 0 40px 120px -20px #000; }
.diagnosis::backdrop { background: rgba(10, 6, 3, .78); backdrop-filter: blur(8px); }
.diagnosis-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid rgba(244, 217, 160, .14); }
.diagnosis-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; }
.diagnosis-brand img { width: 48px; height: 48px; object-fit: contain; }
.diagnosis-brand small { display: block; color: #B4A594; font-size: 11.5px; font-weight: 400; }
.icon-button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(248, 241, 228, .06); cursor: pointer; font-size: 24px; color: var(--crema); }
.diagnosis-progress { height: 3px; background: var(--cafe-700); }
.diagnosis-progress div { height: 100%; width: 0; background: var(--ambar); transition: width 300ms var(--ease-out); }
.diagnosis-body { padding: 28px 30px 32px; }
.diagnosis-kicker { font-size: 11px; letter-spacing: .16em; color: var(--champana); font-weight: 700; }
.diagnosis h2 { margin: 16px 0; font: 400 clamp(32px, 5vw, 46px)/1.05 var(--serif); }
.diagnosis-helper { color: #B4A594; font-size: 14px; }
.options { display: grid; gap: 9px; margin: 22px 0; }
.option { min-height: 52px; padding: 14px 16px; border: 1px solid rgba(235, 216, 186, .22); border-radius: 14px; text-align: left; color: var(--crema); background: rgba(255, 255, 255, .04); cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease, transform 120ms var(--ease-out); }
.option:active { transform: scale(.985); }
.option[aria-pressed=true] { border-color: var(--ambar); background: rgba(240, 160, 48, .14); }
@media (hover: hover) and (pointer: fine) { .option:hover { border-color: rgba(240, 160, 48, .6); } }
.diagnosis textarea { width: 100%; min-height: 115px; padding: 13px 15px; border: 1px solid rgba(235, 216, 186, .3); border-radius: 14px; background: var(--cafe-800); color: var(--crema); font: 16px var(--sans); resize: vertical; outline: none; }
.diagnosis textarea:focus { border-color: var(--ambar); }
.lead-form { display: grid; gap: 16px; margin-top: 24px; }
.lead-field { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--champana); }
.lead-field input { width: 100%; height: 50px; padding: 0 15px; border: 1px solid rgba(235, 216, 186, .28); border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--crema); font: 16px var(--sans); outline: none; }
.lead-field input:focus { border-color: var(--ambar); }
.lead-form .diag-next { justify-self: start; margin-top: 8px; }
.diag-direct { display: block; width: fit-content; margin: 20px 0; text-decoration: underline; text-underline-offset: 5px; color: var(--champana); }
.diagnosis-controls { display: flex; justify-content: space-between; gap: 15px; margin-top: 24px; }
.diagnosis-controls button { border: 0; cursor: pointer; min-height: 48px; }
.diag-back { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: #B4A594; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .diag-back:hover { color: var(--crema); } }
.diag-next { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--crema); color: var(--espresso-950); font-weight: 700; cursor: pointer; }
.diag-next:disabled { opacity: .4; cursor: not-allowed; }
.diagnosis-result p { color: #D8CAB8; }
.diagnosis-result strong { color: var(--champana); }
.diagnosis-result a { display: inline-flex; align-items: center; min-height: 50px; margin: 8px 12px 8px 0; padding: 0 20px; border-radius: 999px; background: var(--crema); color: var(--espresso-950); font-weight: 700; font-size: 14px; }

/* ---------- Ronda 5: voz «old money», en blanco y negro y serif de los 80. Una sola tipografía por frase */
.titulo, .soy__lead, .seccion__titulo { font-family: var(--serif); font-weight: 400; font-style: normal; letter-spacing: -.02em; }
.titulo { font-size: clamp(50px, 5.6vw, 96px); line-height: .98; }
.soy__lead { font-size: clamp(50px, 5.6vw, 96px); line-height: 1; }
.seccion__titulo { margin: 0; color: var(--texto); font-size: clamp(38px, 4.4vw, 74px); line-height: 1.02; text-wrap: balance; }
.seccion__titulo em { font-style: normal; color: inherit; }

/* barra: Quién soy · Qué hago · Casos · Mi historia y el botón de contacto */
.nav__contacto { min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--boton); color: var(--boton-texto); font: 600 14px/1 var(--sans); cursor: pointer; transition: transform 160ms var(--ease-out); }
.nav__contacto:active { transform: scale(.96); }

/* el riel de capítulos: siempre se sabe en qué parte de la página estás */
.riel { position: fixed; z-index: 45; left: clamp(10px, 1.6vw, 26px); top: 50%; translate: 0 -50%; display: grid; gap: 14px; }
.riel a { display: flex; align-items: center; gap: 10px; color: var(--texto-3); font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.riel i { display: block; width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease-out), background-color .3s ease; }
.riel span { opacity: 0; translate: -6px 0; transition: opacity .4s ease, translate .5s var(--ease-out); white-space: nowrap; }
.riel a.activo { color: var(--texto); }
.riel a.activo i { width: 42px; background: var(--ambar); }
.riel a.activo span { opacity: 1; translate: 0 0; }
@media (hover: hover) and (pointer: fine) { .riel:hover span { opacity: 1; translate: 0 0; } }
body:has(dialog[open]) .riel, .con-intro .riel { opacity: 0; pointer-events: none; }

/* cada sección cabe en una pantalla y se nota al llegar: el telón de su nombre entra de lado */
.dolores, .ayuda, .voces { min-height: 100svh; display: grid; align-content: center; }
.seccion-telon { position: absolute; z-index: 0; left: 0; right: 0; top: 50%; translate: 0 -50%; overflow: hidden; pointer-events: none; }
.seccion-telon span { display: block; white-space: nowrap; font: 400 clamp(140px, 22vw, 360px)/.85 var(--serif); letter-spacing: -.03em; color: var(--texto); opacity: .035; translate: 30% 0; transition: translate 1.6s var(--ease-out), opacity 1.2s ease; }
.dolores > :not(.seccion-telon):not(.voces__fondo), .ayuda > :not(.seccion-telon), .voces > :not(.seccion-telon):not(.voces__fondo):not(.voces__luces) { position: relative; z-index: 1; }
.en-vista .seccion-telon span { translate: -4% 0; opacity: .05; }

/* héroe: más grande, de la cintura para arriba (sin el pantalón); los girasoles crecen con él */
.retrato { aspect-ratio: 1600 / 1080; height: min(calc(100% - var(--base) - 86px), 820px); right: calc(var(--lateral) + 20px); }
.retrato__flor--atras { top: 46.3%; }
.retrato__flor--delante { top: 73.15%; }
.heroe__texto { width: min(560px, 46%); }
.heroe__tarjeta::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .45)); }
.is-lit .heroe__tarjeta::after { background: radial-gradient(120% 90% at 50% 40%, transparent 60%, rgba(90, 58, 38, .18)); }

/* fondos con textura: el escritorio de un abogado para los maletines, una pared de yeso para las puertas,
   y el trabajo real en blanco y negro detrás del vidrio de los casos */
.dolores { padding-top: clamp(96px, 11vh, 130px); padding-bottom: clamp(60px, 8vh, 96px); background:
  radial-gradient(60% 46% at 50% 0%, rgba(240, 160, 48, .16), transparent 70%),
  repeating-linear-gradient(92deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 9px, rgba(0, 0, 0, .05) 9px 11px, transparent 11px 23px),
  linear-gradient(180deg, #17120E, #1E1610 60%, #120D0A); }
.is-lit .dolores { background:
  radial-gradient(60% 46% at 50% 0%, rgba(255, 214, 150, .7), transparent 70%),
  repeating-linear-gradient(92deg, rgba(120, 80, 40, .05) 0 2px, transparent 2px 9px, rgba(120, 80, 40, .07) 9px 11px, transparent 11px 23px),
  linear-gradient(180deg, #EBD9B9, #E2CCA6 60%, #D9C097); }
.dolores::before { display: none; }
.dolores__titulo { max-width: 22ch; margin-bottom: 18px; font-size: clamp(34px, 3.8vw, 62px); }
.maletines { gap: clamp(56px, 7vh, 84px) clamp(26px, 4vw, 64px); padding-bottom: 10px; }
.maletin { width: min(100%, 250px); }

.dolor-rapido { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 0 auto clamp(64px, 8vh, 96px); text-align: center; }
.dolor-rapido__p { margin: 0; font-size: 15px; color: var(--texto-2); }
.dolor-rapido__total { margin: 0; font-size: 15px; color: var(--texto-2); }
.dolor-rapido__total b { font: 400 26px/1 var(--serif); color: var(--texto); }
.dolor-rapido__mas { padding: 0; border: 0; background: none; color: var(--ambar); font: 600 15px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.is-lit .dolor-rapido__mas { color: var(--caramelo-600); }

.fichas { display: flex; flex-wrap: wrap; gap: 8px; }
.ficha { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--fantasma-borde); border-radius: 999px; background: var(--fantasma); color: var(--texto); font: 600 14px/1 var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s var(--ease-out); }
.ficha:active { transform: scale(.95); }
.ficha[aria-pressed="true"], .ficha:has(input:checked) { background: var(--champana); border-color: var(--champana); color: var(--espresso-950); }
.ficha input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ficha:has(input:focus-visible) { outline: 3px solid var(--miel); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .ficha:not([aria-pressed="true"]):hover { border-color: var(--texto-2); } }

.ayuda { padding-top: clamp(90px, 11vh, 120px); padding-bottom: clamp(50px, 7vh, 90px); background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='y'><feTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23y)'/></svg>"),
  radial-gradient(70% 60% at 50% 30%, #1C1916, #0F0E0D 75%); }
.is-lit .ayuda { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='y'><feTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .22  0 0 0 0 .1  0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23y)'/></svg>"),
  radial-gradient(70% 60% at 50% 30%, #FBF4E8, #EFE2CB 75%); }
.ayuda__cabeza h2.seccion__titulo { max-width: 24ch; font-size: clamp(34px, 3.6vw, 60px); letter-spacing: -.02em; }
.pared { padding-top: clamp(40px, 5vh, 70px); }
.puerta__marco { aspect-ratio: 9 / 17; }
.pared__puertas { max-width: min(100%, calc((100svh - 330px) * 2.7)); margin: 0 auto; }

.voces { padding-top: clamp(90px, 11vh, 120px); padding-bottom: clamp(40px, 6vh, 80px); background: #0E0C0B; }
.is-lit .voces { background: #EFE6D6; }
.voces__fondo { position: absolute; inset: -10%; z-index: -1; pointer-events: none; opacity: .32; filter: grayscale(1) contrast(1.1) blur(2px);
  background: url("assets/salas/brayan-motos-1.webp") 0 0 / 34% auto, url("assets/salas/hotel-comfort-1.webp") 34% 0 / 34% auto, url("assets/salas/live-fit-1.webp") 68% 0 / 34% auto,
    url("assets/salas/only-shoes-1.webp") 0 52% / 34% auto, url("assets/salas/ishiki-zen-1.webp") 34% 52% / 34% auto, url("assets/salas/brayan-motos-2.webp") 68% 52% / 34% auto;
  background-repeat: no-repeat; animation: paneo 40s ease-in-out infinite alternate; }
.is-lit .voces__fondo { opacity: .22; filter: grayscale(1) sepia(.3) contrast(.95) blur(2px); }
.voces__fondo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, transparent, rgba(14, 12, 11, .85)); }
.is-lit .voces__fondo::after { background: radial-gradient(70% 70% at 50% 50%, transparent, rgba(239, 230, 214, .9)); }
@keyframes paneo { to { transform: translate(-4%, -3%) scale(1.04); } }
.voces:not(.en-vista) .voces__fondo { animation-play-state: paused; }
.voces__luces { opacity: .7; }
.voces__titulo { margin-bottom: clamp(26px, 4vh, 44px); font-size: clamp(38px, 4.4vw, 70px); }
.voz--arco { padding: 54px 20px 18px; }
.voz__avatar { width: 50px; height: 50px; }
.voz__subtitulo { min-height: 3.3em; margin-top: 12px; font-size: clamp(17px, 1.35vw, 21px); }
.voz__nota { margin-top: 8px; }
.voz--telefono { margin-top: 18px; padding-top: 46px; }
.ig { margin-top: clamp(14px, 2vh, 26px); }
.ig__pista { padding: 14px 4px 22px; grid-auto-columns: min(320px, 80vw); }
.ig__burbuja { padding: 16px 18px 14px; gap: 8px; }
.ig__burbuja p { font-size: 15px; }

/* ---------- La ventana de contacto: vidrio sobre la página borrosa, sin barra de desplazamiento */
.pedir {
  width: min(980px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid rgba(255, 236, 210, .22); border-radius: 30px;
  overflow: auto; scrollbar-width: none; overscroll-behavior: contain; color: #F4ECDF;
  background: linear-gradient(150deg, rgba(42, 30, 22, .72), rgba(18, 13, 10, .82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 50px 120px -30px rgba(0, 0, 0, .8);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.pedir::-webkit-scrollbar { display: none; }
.pedir::backdrop { background: rgba(10, 8, 6, .42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pedir__cerrar { position: absolute; z-index: 2; right: 16px; top: 16px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 244, 228, .1); color: #F4ECDF; cursor: pointer; }
.pedir__cerrar svg { width: 18px; height: 18px; }
.pedir__cuerpo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.pedir__dolor { display: grid; align-content: center; gap: 12px; padding: clamp(24px, 3vw, 40px); border-right: 1px solid rgba(255, 236, 210, .12); background: radial-gradient(80% 60% at 20% 10%, rgba(240, 160, 48, .14), transparent 70%); }
.pedir__dolor h3 { margin: 0 0 6px; font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--serif); }
.pedir__pregunta { margin: 6px 0 0; font-size: 14px; color: #C9BBA7; }
.pedir .ficha { border-color: rgba(255, 236, 210, .22); background: rgba(255, 244, 228, .06); color: #F4ECDF; }
.pedir .ficha[aria-pressed="true"], .pedir .ficha:has(input:checked) { background: var(--champana); border-color: var(--champana); color: var(--espresso-950); }
.pedir__total { display: grid; gap: 4px; margin: 10px 0 0; padding: 16px 18px; border-radius: 18px 18px 18px 4px; background: rgba(0, 0, 0, .28); }
.pedir__total p { margin: 0; font-size: 14px; color: #C9BBA7; }
.pedir__total b { font: 400 clamp(30px, 3vw, 42px)/1.05 var(--serif); color: #FFF4E4; }
.pedir__total p + p b { color: var(--ambar); }
.pedir__nota { margin: 0; font-size: 12.5px; color: #9C8E7C; }
.pedir__form { display: grid; align-content: center; gap: 13px; padding: clamp(24px, 3vw, 40px); }
.pedir__form h2 { margin: 0 0 4px; font: 400 clamp(32px, 3vw, 44px)/1 var(--serif); }
.pedir .campo > span, .pedir .campo > legend { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; color: #D8CAB6; }
.pedir .campo input, .pedir .campo textarea { min-height: 48px; padding: 12px 15px; border: 1px solid rgba(255, 236, 210, .22); border-radius: 14px; background: rgba(255, 244, 228, .07); color: #FFF6EA; font: 16px/1.4 var(--sans); outline: none; width: 100%; }
.pedir .campo textarea { min-height: 76px; resize: none; }
.pedir .campo input:focus, .pedir .campo textarea:focus { border-color: var(--miel); box-shadow: 0 0 0 3px rgba(255, 199, 102, .22); }
.pedir .campo input::placeholder, .pedir .campo textarea::placeholder { color: rgba(255, 244, 228, .42); }
.campo__cambio { padding: 0; border: 0; background: none; color: var(--miel); font: 600 12.5px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fichas--chicas .ficha { min-height: 38px; padding: 0 14px; font-size: 13px; }
.pedir__form .boton { justify-self: start; margin-top: 4px; }
.pedir__pie { margin: 0; }
.pedir__pie .enlace { padding: 0; border: 0; background: none; cursor: pointer; color: #C9BBA7; font-size: 14px; }
.pedir__listo { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(240, 160, 48, .14); font-size: 14px; }
.pedir__listo a { text-decoration: underline; }

/* ---------- Tableta y celular */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .pared__puertas { gap: 22px; }
  .pared__info { width: min(19rem, 40%); }
  .tarjeta { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tarjeta:nth-child(even) .tarjeta__visual { order: 0; }
  .monitor, .tarjeta:nth-child(even) .monitor { transform: none; }
  .voz--arco, .voz--telefono { grid-column: span 6; }
  .voz--telefono { margin-top: 0; }
  .voz--arco:last-of-type { grid-column: 4 / span 6; }
}
@media (max-width: 960px) {
  .heroe__texto { width: 100%; padding-top: 128px; }
  .retrato { right: -6%; height: 54%; }
  .heroe__arco { width: 62vw; }
  .sala__incluye { grid-template-columns: minmax(0, 1fr); }
  .valor__marco, .contacto__marco { grid-template-columns: minmax(0, 1fr); }
  .contacto__zzi { order: 2; }
  .zzi-sec__escenario { height: clamp(300px, 64vw, 440px); }
  .maletines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viaje__cuerpo { grid-template-columns: minmax(0, 1fr); }
  .hud { top: 74px; z-index: 1; height: 230px; margin: 0 calc(var(--lateral) * -1); background: linear-gradient(#090807 70%, rgba(9, 8, 7, 0)); }
  .hud__radar, .hud__anillos { width: 210px; }
  .hud__num { font-size: 54px; }
  .hud__etiqueta { font-size: 10px; letter-spacing: .24em; }
  .hud__lectura { display: none; }
  .viaje__linea { padding-top: 4vh; }
  .viaje .etapa { min-height: 52vh; }
}
@media (max-width: 760px) {
  .nav__hora { display: none; }   /* deja libre el techo de la cuerda */
  /* la pared se recorre de lado, una puerta a la vez; lo que incluye aparece debajo */
  .pared__puertas { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--lateral) * -1); padding: 30px var(--lateral) 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .pared__puertas::-webkit-scrollbar { display: none; }
  .puerta { flex: 0 0 min(58vw, 250px); scroll-snap-align: center; }
  .pared.enfoque .puerta:not(.activa), .js .pared.adentro.enfoque .puerta:not(.activa) { opacity: .5; filter: saturate(.6); }
  .pared__zocalo { display: none; }
  .pared__info { position: relative; top: auto; left: auto !important; width: auto; margin-top: 26px; opacity: 1; translate: none; }
  .pared__desliza { display: block; margin: 16px 0 0; font-size: 13px; color: var(--texto-3); }
  .pared__desliza i { font-style: normal; color: var(--ambar); }
  .maletines { gap: 92px 16px; }
  .maletin { width: 100%; }
  .maletin__etiqueta { display: none; }
  .maletin__doc { left: -4%; right: -4%; padding: 14px 12px 14px; }
  .voz--arco, .voz--telefono, .voz--arco:last-of-type { grid-column: 1 / -1; }
  .voz--arco { rotate: 0deg; }
  .pedido__fila { grid-template-columns: minmax(0, 1fr); }
  .cuenta__total { grid-template-columns: repeat(2, auto); }
  .cuenta__total p:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .nav { height: 66px; }
  .nav__marco { gap: 12px; }
  .marca__txt small { display: none; }
  /* en el celular el retrato va debajo del texto, completo y a lo ancho */
  .heroe__tarjeta, .heroe__marco { min-height: 0; }
  .heroe__texto { padding: 104px 0 0; }
  .titulo, .soy__lead { font-size: clamp(40px, 12vw, 58px); }
  .calendario { width: 100%; }
  .hoja { padding: 0 18px; }
  .acciones .boton { min-height: 50px; }
  .retrato { position: relative; right: auto; bottom: auto; width: calc(100% + 2 * var(--lateral)); height: auto; margin: -10px calc(var(--lateral) * -1) 0; }
  .retrato__pista { left: 22%; top: 30%; }
  .heroe__arco { display: none; }
  .heroe__base { position: relative; left: auto; right: auto; grid-template-columns: auto 1fr; padding: 0; }
  .heroe__base > span:first-child { display: none; }
  .heroe__historia { justify-self: start; }
  .cuerda { right: -55px; transform: scale(.72); transform-origin: 100% 0; }
  .zzi-flotante__globo { max-width: 156px; margin-bottom: 52px; padding: 10px 12px; font-size: 12px; }
  .zzi-flotante__boton { width: 70px; height: 77px; }
  .intro__cifra { font-size: clamp(64px, 19vw, 96px); flex-wrap: wrap; justify-content: center; }
  .intro__lema { width: 100%; margin: 10px 0 0; text-align: center; font-size: .42em; }
  .intro__cartas { --ancho: 29vw; --alto: 19vw; }
  .carta { padding: 10px 11px; border-radius: 12px; }
  .carta b { font-size: 12.5px; }
  .sala__contenido { padding: 0 18px 110px; }
  .sala__portada { min-height: 0; padding: 84px 0 40px; }   /* la primera tarjeta asoma desde el principio */
  .tarjeta { padding: 22px; border-radius: 26px; top: calc(56px + var(--i) * 10px); }
  .sala__pie { flex-direction: column; align-items: flex-start; }
  .sala__siguiente { justify-items: start; text-align: left; }
  .diagnosis-body { padding: 24px 20px 28px; }
  .cuenta__mes { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .viaje__cabeza { padding-bottom: 14px; }
  .viaje__volver span { display: none; }
}
@media (max-height: 820px) and (min-width: 961px) {
  .heroe__texto { padding-top: clamp(110px, 17vh, 140px); }
  .titulo, .soy__lead { font-size: clamp(42px, 4.4vw, 70px); }
  .calendario__bloque { height: 100px; }
  .hoja__txt { font-size: clamp(30px, 3.2vw, 50px); }
}


/* ---------- Ronda 5 en pantallas pequeñas */
@media (max-width: 1100px) {
  .nav__contacto { display: none; }
  .riel { display: none; }
}
@media (max-width: 960px) {
  .heroe__texto { width: 100%; }
  .pedir__cuerpo { grid-template-columns: minmax(0, 1fr); }
  .pedir__dolor { border-right: 0; border-bottom: 1px solid rgba(255, 236, 210, .12); }
  .dolores, .ayuda, .voces { min-height: 0; }
}
@media (max-width: 620px) {
  .retrato { aspect-ratio: 1600 / 1080; }
  .titulo, .soy__lead { font-size: clamp(44px, 13vw, 62px); }
  .pedir { width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; border-radius: 0; border: 0; }
  .pedir__dolor { padding-top: 64px; }
  .dolor-rapido { justify-content: flex-start; text-align: left; }
  .seccion-telon span { font-size: 40vw; }
}
@media (max-height: 820px) and (min-width: 961px) {
  .titulo, .soy__lead { font-size: clamp(46px, 4.8vw, 78px); }
  .pedir__dolor, .pedir__form { padding: 22px 28px; gap: 10px; }
  .pedir .campo textarea { min-height: 60px; }
}

/* ---------- Movimiento reducido: todo quieto y completo */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .revela, .js .pared .puerta { opacity: 1; transform: none; translate: 0 0; }
  .monitor, .tarjeta:nth-child(even) .monitor { transform: none; }
  .tarjeta { position: relative; top: auto; }
  .maletin { rotate: 0deg; }
}

/* ---------- Ronda 5, ajuste: en una cuadrícula los márgenes automáticos encogen los bloques; aquí van a lo ancho */
.dolores__marco, .ayuda__cabeza, .pared, .tablero { width: 100%; }
.maletin { width: min(100%, 250px, calc((100svh - 390px) * .66)); }
.voces { padding-top: clamp(76px, 9vh, 110px); }
.voces__titulo { margin-bottom: clamp(16px, 2.6vh, 34px); }
.voz__subtitulo { min-height: 2.7em; }
.voz--telefono { margin-top: 0; }
.voz--arco { padding-top: 44px; }
.ig { margin-top: clamp(8px, 1.4vh, 18px); }
.ig__pista { padding: 10px 4px 12px; }
@media (max-height: 820px) and (min-width: 961px) {
  .dolores { padding-top: 84px; }
  .dolores__titulo { font-size: clamp(30px, 3.2vw, 50px); }
  .dolor-rapido { margin-bottom: 52px; }
  .maletines { gap: 50px clamp(26px, 4vw, 64px); }
  .voz__cara { margin-bottom: 10px; gap: 6px; }
  .voz__avatar { width: 40px; height: 40px; font-size: 16px; }
  .chat p { padding: 7px 11px; font-size: 14px; }
  .voz__texto { display: none; }
}
.ayuda__cabeza h2.seccion__titulo { font: 400 clamp(36px, 3.8vw, 62px)/1.02 var(--serif); letter-spacing: -.02em; }
@media (max-height: 820px) and (min-width: 961px) {
  .voz__nota, .ig__likes { display: none; }
  .voz--arco { padding: 34px 16px 14px; }
  .ig__burbuja p { font-size: 14px; }
}
.paso__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; background: #050403; }
.sala__titulo { font: 400 clamp(48px, 8.4vw, 150px)/.92 var(--serif); letter-spacing: -.025em; }
.sala__titulo em { font-style: normal; color: inherit; }
/* los testimonios flotan apenas, cada uno a su ritmo, mientras la sección se ve */
@keyframes flota { 50% { translate: 0 -8px; } }
.voces.en-vista .voz--arco, .voces.en-vista .voz--telefono { animation: flota 6s ease-in-out infinite; }
.voces.en-vista .voz--telefono { animation-duration: 7.4s; animation-delay: -2s; }
.voces.en-vista .voz--arco:last-of-type { animation-duration: 6.8s; animation-delay: -4s; }
@media (hover: hover) and (pointer: fine) { .voces .voz:hover { animation-play-state: paused; } }
.pedir__trato { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: #D8CAB6; }
.pedir__trato li::before { content: ''; display: inline-block; width: 12px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--ambar); }
@media (max-width: 960px) { .pedir__form { order: -1; padding-top: 64px; } .pedir__dolor { padding-top: 28px; border-bottom: 0; border-top: 1px solid rgba(255, 236, 210, .12); } }

/* ---------- Ronda 6: héroe limpio, siglo XIX en blanco y negro */
.heroe__arco { display: none; }
.heroe__luz { opacity: calc(var(--heroe-luz) * .5); }
.soy { margin: clamp(22px, 3.4vh, 36px) 0 clamp(26px, 4vh, 40px); }
.titulo { font-size: clamp(54px, 6vw, 104px); }
/* el calendario sin franja de color: papel, tinta negra y aros grandes de metal */
.calendario { width: min(100%, 500px); }
.calendario__aros { top: -16px; left: 26px; right: 26px; }
.calendario__aros i { width: 12px; height: 30px; border-radius: 7px; border-width: 3px; border-color: #E4E0D8; border-bottom-color: #77736C; box-shadow: 0 3px 3px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .6); }
.calendario__bloque { height: clamp(104px, 9.4vw, 136px); }
.hoja { border-radius: 10px; background: #F3EFE6; color: #111; filter: grayscale(1); padding-top: 12px; background-image: linear-gradient(180deg, rgba(0, 0, 0, .07), transparent 22%); }
.calendario__bloque::before, .calendario__bloque::after { border-radius: 0 0 10px 10px; background: #E2DED5; }
.calendario__bloque::after { background: #CFCAC0; }
.hoja__n { color: #6B6660; }
/* botones más pequeños; solo «Cuéntame tu proyecto» va lleno */
.heroe .acciones .boton { min-height: 46px; padding-left: 20px; font-size: 14px; }
.heroe .acciones .boton__icono { width: 32px; height: 32px; font-size: 14px; }
.heroe .acciones .boton--fantasma { padding: 0 20px; }
.nav__contacto { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1px var(--fantasma-borde); font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: .01em; }
@media (hover: hover) and (pointer: fine) { .nav__contacto:hover { box-shadow: inset 0 0 0 1px var(--texto); } }
.nav__hora b { text-transform: capitalize; }
/* el riel no aparece en el héroe: queda limpio */
html[data-capitulo="inicio"] .riel { opacity: 0; pointer-events: none; }
.riel { transition: opacity .5s ease; }
/* el telón de «Qué hago» se va cuando una puerta se abre */
.ayuda:has(.pared.enfoque) .seccion-telon span, .cruzando-puerta .seccion-telon span { opacity: 0 !important; transition-duration: .3s; }
/* la entrada: papel y tinta, como el resto del héroe */
.intro__escena { position: relative; display: grid; place-items: center; gap: 30px; }
.intro__cifra { font-family: var(--serif); font-weight: 400; }
.intro__oficios { position: relative; width: min(90vw, 560px); height: 300px; }
.oficio { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 14px 26px; border-radius: 3px; background: #F3EFE6; color: #141210; font: 400 clamp(22px, 2.6vw, 34px)/1 var(--serif); white-space: nowrap; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(0, 0, 0, .06); }
.oficio:nth-child(3n) { background: #E2DDD2; }
.oficio:nth-child(4n + 1) { background: #1C1A18; color: #F3EFE6; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.intro__zzi { position: absolute; left: 50%; top: 50%; width: clamp(110px, 12vw, 170px); margin: -60px 0 0 -85px; transform: translate(-75vw, 0); z-index: 3; }
@media (min-width: 961px) {
  .heroe__texto { width: min(620px, 54%); }
  .titulo { font-size: clamp(50px, 5.2vw, 92px); white-space: nowrap; }
}

/* ---------- Mi carta de habilidades: oro viejo, foto en blanco y negro, puntos holográficos */
.retrato__carta { position: absolute; z-index: 3; left: 30%; bottom: 7%; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(20, 16, 12, .55); color: #F4ECDF; font: 400 15px/1 var(--serif); letter-spacing: .02em; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .16s var(--ease-out), background-color .2s ease; }
.retrato__carta:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .retrato__carta:hover { background: rgba(20, 16, 12, .8); } }
.carta-hab { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #1E140B, #070504 80%); color: #F4ECDF; }
.carta-hab::backdrop { background: #050403; }
.carta-hab__brasas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.carta-hab__marca { position: absolute; left: clamp(18px, 3vw, 40px); top: 28px; margin: 0; font: 600 13px/1.2 var(--sans); letter-spacing: .4em; }
.carta-hab__marca small { display: block; margin-top: 8px; font: italic 400 16px var(--serif); letter-spacing: 0; color: #B8A88F; }
.carta-hab__cerrar { position: absolute; z-index: 2; right: clamp(16px, 3vw, 40px); top: 22px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255, 236, 210, .25); border-radius: 999px; background: rgba(255, 244, 228, .05); color: #F4ECDF; font: 600 14px var(--sans); cursor: pointer; }
.carta-hab__cerrar svg { width: 16px; height: 16px; }
.carta-hab__escena { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.carta-hab__escena:active { cursor: grabbing; }
.carta-hab__carta { position: relative; width: min(410px, 78vw, calc(70svh * .69)); aspect-ratio: 5 / 7.25; transform-style: preserve-3d; will-change: transform; }
.carta-hab__cara { position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
  padding: 14px; background: linear-gradient(135deg, #8A6A2C, #F2DA94 22%, #B08A3E 40%, #F7E4A8 58%, #8C6C2E 78%, #E5C67A);
  box-shadow: 0 0 0 1px rgba(255, 224, 150, .5), 0 40px 90px -20px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(255, 180, 80, .35); }
.carta-hab__cara--dorso { transform: rotateY(180deg); }
.carta-hab__marco { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto auto auto; gap: 8px; padding: 14px 16px; border-radius: 12px;
  background: radial-gradient(circle at 1px 1px, rgba(90, 60, 30, .18) 1px, transparent 1.5px) 0 0 / 7px 7px, linear-gradient(180deg, #EFE3CC, #DCC9A6);
  box-shadow: inset 0 0 0 2px #9C7A3A, inset 0 0 0 5px #EFE3CC, inset 0 0 0 6px #B89150; color: #2A1C10; }
.carta-hab__nombre { margin: 0; padding: 7px 10px; border-radius: 8px; background: linear-gradient(#F8EFDC, #E8D8B6); box-shadow: inset 0 0 0 1px #B89150; text-align: center; font: 400 clamp(20px, 2.2vw, 27px)/1.05 var(--serif); }
.carta-hab__foto { position: relative; overflow: hidden; border-radius: 6px; box-shadow: inset 0 0 0 3px #B89150, 0 4px 10px rgba(0, 0, 0, .3); background: radial-gradient(80% 80% at 50% 30%, #6E6A62, #2C2A27); }
.carta-hab__foto img { position: absolute; left: 50%; top: 4%; width: 118%; max-width: none; translate: -50% 0; filter: grayscale(1) sepia(.28) contrast(1.08); }
.carta-hab__oficio { margin: 0; text-align: center; font: italic 400 15px/1.2 var(--serif); color: #5A4126; }
.carta-hab__lista { display: grid; gap: 3px; margin: 0; padding: 8px 10px; border-radius: 8px; list-style: none; background: rgba(255, 250, 240, .55); box-shadow: inset 0 0 0 1px rgba(156, 122, 58, .5); }
.carta-hab__lista li { display: grid; grid-template-columns: 1fr auto 2.2em; align-items: center; gap: 8px; font: 600 clamp(11px, 1.05vw, 13px)/1.3 var(--sans); }
.carta-hab__lista i { font-style: normal; font-size: 7px; letter-spacing: 1px; color: #7A5A2A; }
.carta-hab__lista b { text-align: right; font: 400 17px/1 var(--serif); }
.carta-hab__pie { display: flex; justify-content: space-between; margin: 0; padding: 6px 10px; border-radius: 6px; background: linear-gradient(#F8EFDC, #E8D8B6); box-shadow: inset 0 0 0 1px #B89150; font: 600 10.5px/1.1 var(--sans); }
.carta-hab__pie small { display: block; font-weight: 400; font-size: 8.5px; color: #7A6650; }
.carta-hab__marco--dorso { grid-template-rows: 1fr auto auto auto 1fr; justify-items: center; align-content: center; text-align: center; }
.carta-hab__marco--dorso img { grid-row: 2; width: 46%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
.carta-hab__dorso-marca { margin: 0; font: 700 18px/1 var(--sans); letter-spacing: .4em; }
.carta-hab__dorso-cifra { margin: 0 0 6px; font: italic 400 20px var(--serif); color: #5A4126; }
/* el holograma: puntos y un arcoíris suave que se mueven con el ángulo */
.carta-hab__brillo { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: color-dodge; opacity: .55;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .55) 0 1px, transparent 1.6px) 0 0 / 6px 6px,
    linear-gradient(115deg, transparent 20%, rgba(255, 120, 180, .5) 36%, rgba(120, 230, 255, .5) 46%, rgba(255, 240, 140, .55) 56%, transparent 72%) var(--holo, 50%) var(--holo-y, 50%) / 300% 300%;
  -webkit-mask: radial-gradient(120% 90% at var(--holo, 50%) var(--holo-y, 50%), #000 10%, rgba(0, 0, 0, .25) 60%); mask: radial-gradient(120% 90% at var(--holo, 50%) var(--holo-y, 50%), #000 10%, rgba(0, 0, 0, .25) 60%); }
.carta-hab__ayuda { position: absolute; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom)); margin: 0; text-align: center; font: 600 11px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #9C8C76; }
@media (max-width: 620px) { .carta-hab__ayuda { letter-spacing: .12em; padding: 0 16px; } .retrato__carta { left: 8%; bottom: 10%; } }

/* ---------- Casos: el trabajo real en blanco y negro cubre toda la sección */
.voces__fondo { inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 6px; background: none; animation: none; filter: grayscale(1) contrast(1.05) brightness(.9); opacity: .38; }
.voces__fondo img { width: 100%; height: 100%; object-fit: cover; }
.is-lit .voces__fondo { opacity: .3; filter: grayscale(1) sepia(.18); }
.voces__fondo::after { z-index: 1; background: radial-gradient(75% 70% at 50% 50%, rgba(14, 12, 11, .35), rgba(14, 12, 11, .9)); }
.is-lit .voces__fondo::after { background: radial-gradient(75% 70% at 50% 50%, rgba(239, 230, 214, .35), rgba(239, 230, 214, .92)); }
.voces.en-vista .voces__fondo img { animation: deriva-foto 26s ease-in-out infinite alternate; }
.voces__fondo img:nth-child(odd) { animation-delay: -9s; }
@keyframes deriva-foto { to { transform: scale(1.08) translateY(-3%); } }

/* comentarios: carrusel infinito */
.ig__pista--infinita { display: flex; width: max-content; overflow: visible; scroll-snap-type: none; gap: 18px; animation: carrusel 48s linear infinite; }
.ig__pista--infinita .ig__burbuja { flex: 0 0 min(320px, 78vw); opacity: 1; transform: none; }
.ig { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
@keyframes carrusel { to { transform: translateX(calc(-50% - 9px)); } }
@media (hover: hover) and (pointer: fine) { .ig:hover .ig__pista--infinita { animation-play-state: paused; } }
.voces:not(.en-vista) .ig__pista--infinita { animation-play-state: paused; }

/* ---------- Salas: monitores con cuerpo y profundidad, sobre un piso con foco de luz */
.sala__fondo::before { content: ''; position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%; z-index: 1; transform: perspective(600px) rotateX(64deg); transform-origin: 50% 100%;
  background-image: linear-gradient(color-mix(in srgb, var(--sala-luz) 22%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--sala-luz) 22%, transparent) 1px, transparent 1px); background-size: 70px 70px;
  -webkit-mask: linear-gradient(transparent, #000 60%); mask: linear-gradient(transparent, #000 60%); opacity: .45; }
.monitor { transition: transform .5s var(--ease-out); transform-style: preserve-3d; }
.monitor__pantalla { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 1px 0 #3A3836, 0 2px 0 #2E2C2A, 0 3px 0 #252322, 0 4px 0 #1C1B1A, 0 60px 80px -30px rgba(0, 0, 0, .85), 0 0 120px -30px var(--luz, var(--ambar)); }
.monitor__pantalla::before { content: ''; position: absolute; inset: 13px 13px 32px; z-index: 1; border-radius: 8px; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .14), transparent 32%); }
.monitor__pie { position: relative; }
.monitor__pie::after { content: ''; position: absolute; left: -60%; right: -60%; top: 100%; height: 40px; background: radial-gradient(closest-side, color-mix(in srgb, var(--luz, var(--ambar)) 35%, transparent), transparent); filter: blur(6px); }
.tarjeta__texto { position: relative; z-index: 2; }

/* ---------- Diagnóstico de Zzi: cabe sin barra y termina con puntaje y tres consejos */
.diagnosis { scrollbar-width: none; max-height: calc(100svh - 28px); }
.diagnosis::-webkit-scrollbar { display: none; }
.diagnosis-top { padding: 12px 20px; }
.diagnosis-brand img { width: 40px; height: 40px; }
.diagnosis-body { padding: 20px 28px 24px; }
.diagnosis h2 { margin: 10px 0 8px; font-size: clamp(28px, 3.6vw, 38px); }
.lead-form { gap: 12px; margin-top: 16px; }
.lead-field input { height: 46px; }
.options { gap: 7px; margin: 14px 0; }
.option { min-height: 46px; padding: 11px 14px; }
.diag-puntaje { position: relative; width: 132px; margin: 6px 0 4px; }
.diag-puntaje svg { width: 100%; transform: rotate(-90deg); }
.diag-puntaje circle { fill: none; stroke-width: 9; }
.diag-puntaje__fondo { stroke: rgba(248, 241, 228, .1); }
.diag-puntaje__arco { stroke: var(--ambar); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 * (1 - var(--p) / 100)); animation: arco-puntaje 1.1s var(--ease-out) both; }
@keyframes arco-puntaje { from { stroke-dashoffset: 326.7; } }
.diag-puntaje p { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; text-align: center; }
.diag-puntaje b { font: 400 44px/1 var(--serif); color: var(--crema); }
.diag-puntaje small { font-size: 12px; color: #B4A594; }
.diag-sub { margin: 4px 0 6px; font-weight: 600; color: var(--champana) !important; }
.diag-consejos { display: grid; gap: 8px; margin: 0 0 12px; padding-left: 20px; color: #E8DCCB; font-size: 15px; line-height: 1.45; }
.diag-nota { font-size: 12.5px; color: #9C8E7C !important; }
.ig__flechas[hidden] { display: none; }
.carta-hab__foto img { width: 74%; top: 3%; }
.carta-hab__foto img { inset: 0; left: 0; top: 0; width: 100%; height: 100%; translate: none; object-fit: cover; object-position: 60% 6%; }

/* ---------- Carta: grosor real (canto dorado), reflejo que sigue el ángulo, brillo que recorre el oro */
.carta-hab__carta { transform-style: preserve-3d; }
.carta-hab__cara--frente { transform: translateZ(5px); }
.carta-hab__cara--dorso { transform: rotateY(180deg) translateZ(5px); }
.carta-hab__canto { position: absolute; inset: 0; border-radius: 22px; transform: translateZ(calc(var(--z) * 1.1px)); background: linear-gradient(135deg, #6E5220, #E9C978 30%, #8C6A2A 55%, #F2D892 75%, #6E5220); box-shadow: inset 0 0 0 1px rgba(60, 40, 10, .5); }
.carta-hab__cara { box-shadow: 0 0 0 1px rgba(255, 224, 150, .6), 0 0 80px -6px rgba(255, 186, 92, .55), 0 0 30px -10px rgba(255, 230, 170, .9); }
.carta-hab__cara::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 250, 225, .75) 48%, rgba(255, 220, 140, .3) 52%, transparent 62%) -160% 0 / 250% 100% no-repeat;
  mix-blend-mode: overlay; animation: destello 3.6s ease-in-out infinite; }
@keyframes destello { 0%, 30% { background-position: -160% 0; } 70%, 100% { background-position: 260% 0; } }
.carta-hab__reflejo { position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .85), rgba(255, 255, 255, .15) 28%, transparent 55%); }
.carta-hab__brillo { opacity: .8; z-index: 2; }
.carta-hab__sombra { position: absolute; left: 50%; top: calc(50% + min(300px, 39svh)); width: min(380px, 70vw); height: 46px; margin-left: calc(min(380px, 70vw) / -2); border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 170, 70, .28), rgba(0, 0, 0, 0)); filter: blur(4px); }
@media (prefers-reduced-motion: reduce) { .carta-hab__cara::after { animation: none; } }

/* ---------- El túnel del tiempo al entrar y al salir de «Mi historia» */
.viaje__tunel { position: fixed; inset: 0; z-index: 8; display: grid; place-items: center; overflow: hidden; pointer-events: none; opacity: 0;
  background: radial-gradient(60% 60% at 50% 50%, #2A1B0C, #090706 70%); }
.viaje__tunel.al-presente { background: radial-gradient(60% 60% at 50% 50%, #3A3226, #0B0A08 70%); }
.tunel__aros, .tunel__reloj, .tunel__texto { grid-area: 1 / 1; }
.tunel__aros { position: relative; width: 100vmin; height: 100vmin; }
.tunel__aros i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(240, 160, 48, .55); box-shadow: 0 0 30px rgba(240, 160, 48, .25), inset 0 0 30px rgba(240, 160, 48, .15); opacity: 0; }
.tunel__aros i:nth-child(even) { border-style: dashed; border-color: rgba(244, 217, 160, .45); }
.al-presente .tunel__aros i { border-color: rgba(255, 248, 230, .6); box-shadow: 0 0 30px rgba(255, 248, 230, .25); }
.tunel__reloj { position: relative; width: min(220px, 42vw); aspect-ratio: 1; border-radius: 50%; border: 2px solid #F0C87A; background: radial-gradient(circle, #241608 0 64%, transparent 65%), repeating-conic-gradient(#F0C87A 0 1.2deg, transparent 1.2deg 30deg); box-shadow: 0 0 60px rgba(240, 160, 48, .45); }
.tunel__reloj i { position: absolute; left: 50%; bottom: 50%; width: 4px; margin-left: -2px; border-radius: 3px; background: #F6E7C8; transform-origin: 50% 100%; }
.tunel__horas { height: 28%; }
.tunel__minutos { height: 40%; }
.tunel__texto { align-self: end; margin: 0 0 14vh; font: 600 12.5px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: #F0C87A; }
.tunel__destello { position: absolute; inset: 0; background: radial-gradient(circle, #FFE7B8, #C98A3C 60%, #6A4219); opacity: 0; mix-blend-mode: screen; }
.al-presente .tunel__destello { background: radial-gradient(circle, #FFFFFF, #F6EEDF 70%); }
.viaje__arranque { display: none; }

/* ---------- La barra como la referencia: enlaces sueltos, misma separación, letra old money; la hora con la fecha */
.nav__links { gap: clamp(18px, 1.9vw, 30px); }
.nav__links a { font: 400 19px/1 var(--serif); letter-spacing: .01em; color: var(--texto-2); }
.nav__links a::after { display: none; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover, .nav__contacto:hover { color: var(--texto); } }
.nav__contacto { min-height: 0; padding: 8px 0; border: 0; border-radius: 0; background: none; box-shadow: none !important; color: var(--texto-2); font: 400 19px/1 var(--serif); letter-spacing: .01em; margin-left: calc(clamp(18px, 1.9vw, 30px) - clamp(16px, 2vw, 28px)); }
.nav__hora { display: flex; align-items: center; gap: 10px; padding: 9px 18px; font-size: 13px; }
.nav__hora b { font: 600 13.5px/1 var(--sans); text-transform: none; }
.nav__hora em { font: 500 13px/1 var(--sans); font-style: normal; color: var(--texto-2); }
.nav__hora em::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--texto-3); vertical-align: middle; }
.viaje__cabeza h2 { font: 400 clamp(28px, 2.8vw, 42px)/1 var(--serif); letter-spacing: -.01em; }
.viaje__cabeza h2 em { font-style: normal; color: inherit; }

/* ---------- Celular: la hora no cabe junto al logo; la ayuda de la carta habla del dedo */
@media (max-width: 760px) { .nav__hora { display: none; } }
.carta-hab__ayuda .con-dedo { display: none; }
@media (hover: none) { .carta-hab__ayuda .con-cursor { display: none; } .carta-hab__ayuda .con-dedo { display: inline; } }

/* ---------- Carta, como la de referencia: pantalla de carga, llega negra y se «des-quema» desde la esquina;
   la foto a color sobre girasoles desenfocados con brillo tornasol; el dorso oscuro con emblema dorado */
.carta-hab__carga { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; gap: 14px; width: min(320px, 74vw); translate: -50% -50%; pointer-events: none; opacity: 0; transition: opacity .45s ease; }
.carta-hab.cargando .carta-hab__carga { opacity: 1; }
.carta-hab__carga p { margin: 0; text-align: center; font: 600 13px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: #F4ECDF; }
.carta-hab__barra { position: relative; height: 1px; background: rgba(244, 236, 223, .16); }
.carta-hab__barra i { position: absolute; left: 0; top: -.5px; height: 2px; width: 0; background: linear-gradient(90deg, #B8913F, #F6DE9A); box-shadow: 0 0 12px rgba(255, 190, 90, .6); }
.carta-hab__estado { display: flex; justify-content: space-between; font: 600 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #8E7F6B; }
.carta-hab__estado b { font-weight: 600; color: #E9C77A; letter-spacing: .1em; }
.carta-hab__escena, .carta-hab__ayuda, .carta-hab__marca { transition: opacity .6s ease; }
.carta-hab.cargando .carta-hab__escena, .carta-hab.cargando .carta-hab__ayuda, .carta-hab.cargando .carta-hab__marca { opacity: 0; }
.carta-hab__quema { position: absolute; inset: 0; z-index: 5; display: none; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }
.carta-hab.quemando .carta-hab__quema { display: block; }
.carta-hab__canto, .carta-hab__cara { transition: filter 1.4s ease, box-shadow 1.4s ease; }
.carta-hab.quemando .carta-hab__canto { filter: brightness(.14) saturate(.5); }
.carta-hab.quemando .carta-hab__cara { box-shadow: 0 0 0 1px rgba(255, 150, 60, .14), 0 40px 90px -20px rgba(0, 0, 0, .9), 0 0 70px -12px rgba(255, 130, 40, .3); }
.carta-hab.quemando .carta-hab__cara::after { animation: none; opacity: 0; }

.carta-hab__foto { background: #2A1A10; isolation: isolate; }
.carta-hab__foto::before { content: ''; position: absolute; inset: -14%; background: url("assets/girasoles-editoriales.webp") 50% 38% / cover; filter: blur(7px) saturate(1.2) brightness(.72); }
.carta-hab__foto img { z-index: 1; filter: saturate(1.1) contrast(1.05); }
.carta-hab__foto::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: color-dodge; opacity: .55;
  background: linear-gradient(120deg, transparent 24%, rgba(255, 80, 160, .55) 37%, rgba(255, 214, 90, .55) 45%, rgba(90, 255, 170, .5) 53%, rgba(80, 170, 255, .55) 61%, transparent 74%) var(--holo, 50%) 50% / 300% 100%; }

.carta-hab__cara--dorso { background: linear-gradient(135deg, #5E4519, #D9B866 25%, #7A5A22 50%, #E6C97E 75%, #5E4519); }
.carta-hab__marco--dorso { gap: 10px; background: radial-gradient(70% 55% at 50% 42%, #2C1F10, #0D0906 75%); color: #EBD39A;
  box-shadow: inset 0 0 0 1px #8C6A2A, inset 0 0 0 7px #0D0906, inset 0 0 0 8px rgba(212, 175, 95, .55); }
.carta-hab__emblema { grid-row: 2; width: 76%; filter: drop-shadow(0 0 14px rgba(255, 190, 90, .3)); }
.carta-hab__marco--dorso .carta-hab__dorso-marca { color: #EBD39A; letter-spacing: .5em; }
.carta-hab__marco--dorso .carta-hab__dorso-cifra { color: #BFA57A; }
.carta-hab__marco--dorso { grid-template-rows: 1fr auto auto auto auto 1fr; }
.carta-hab__marco--dorso .carta-hab__dorso-marca { grid-row: 3; }
.carta-hab__marco--dorso .carta-hab__dorso-cifra { grid-row: 4; }
.carta-hab__marco--dorso .boton { grid-row: 5; }
.carta-hab__cara--dorso .carta-hab__brillo { opacity: .14; }
.carta-hab__escena { transition: opacity .6s ease .3s; }
.carta-hab.cargando .carta-hab__escena { transition-delay: 0s; }
