/* DJ Palas · misma estructura que la web de Juanma, otra piel:
   negro, hueso y el rojo de la luz del hero; tipografía condensada industrial; botones rectos con barrido rojo;
   entradas con máscaras (el contenido sube desde detrás de una línea) y telón rojo al cambiar de página. */
:root {
  --negro: #060606;
  --carbon: #111110;
  --hueso: #eeece6;
  --rojo: #e5141b;
  --rojo-oscuro: #8f0a0e;
  --gris: #8b8a86;
  --linea: rgba(238, 236, 230, .14);
  --titulos: "Big Shoulders Display", "Barlow Condensed", system-ui, sans-serif;
  --texto: "Barlow", system-ui, sans-serif;
  --etiquetas: "Barlow Condensed", system-ui, sans-serif;
  --curva: cubic-bezier(.77, 0, .18, 1);
  --sale: cubic-bezier(.16, 1, .3, 1);
  /* Alias para las páginas que comparten código con la web de Juanma (panel y descarga) */
  --blanco: var(--hueso); --azul: var(--rojo); --azul-vivo: #ff3b41; --violeta: var(--rojo-oscuro); --noche: var(--carbon);
  --display: var(--texto); --mono: var(--etiquetas);
  --corte: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--negro); color: var(--hueso); overflow-x: clip; }
body { font-family: var(--texto); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--rojo); color: var(--hueso); }
html { scrollbar-color: #3a3a38 var(--negro); accent-color: var(--rojo); caret-color: var(--rojo); }
:focus-visible { outline: 2px solid var(--rojo); outline-offset: 3px; }
.btn:focus-visible, .laser:focus-within { outline: none; }
.laser:has(.btn:focus-visible) { outline: 2px solid var(--hueso); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-family: var(--titulos); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; }
.etiqueta { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--etiquetas); letter-spacing: .22em; text-transform: uppercase; color: var(--gris); }
.etiqueta::before { content: ""; width: 22px; height: 2px; background: var(--rojo); }

/* ---------- Iconos ---------- */
.ico { display: inline-block; vertical-align: middle; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico-spotify { --m: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/spotify.svg"); }
.ico-soundcloud { --m: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/soundcloud.svg"); }
.ico-instagram { --m: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/instagram.svg"); }
.ico-tiktok { --m: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/tiktok.svg"); }
.ico-facebook { --m: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/facebook.svg"); }
.ico-youtube { --m: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/youtube.svg"); }
.ico-whatsapp { --m: url("https://cdn.jsdelivr.net/npm/simple-icons@13/icons/whatsapp.svg"); }
.ico-descarga, .ico-presskit { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10.2l3.6-3.6 1.4 1.4L12 17l-6-6 1.4-1.4 3.6 3.6V3zM4 19h16v2H4z'/%3E%3C/svg%3E"); }
.ico-flecha { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h12.2l-5.6-5.6L12 4l8 8-8 8-1.4-1.4 5.6-5.6H4z'/%3E%3C/svg%3E"); }
.ico-play { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E"); }
.ico-mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3zm2 2v.5l7 4.5 7-4.5V7zm14 2.9-7 4.5-7-4.5V17h14z'/%3E%3C/svg%3E"); }

/* ---------- Botones: rectos, con barrido rojo inclinado y una celda para la flecha ---------- */
.btn { --fondo: var(--hueso); --tinta: var(--negro); position: relative; display: inline-flex; align-items: stretch; min-height: 58px; text-decoration: none; cursor: pointer; border: 0;
  font: 700 15px/1 var(--etiquetas); letter-spacing: .14em; text-transform: uppercase; color: var(--tinta); background: var(--fondo); overflow: hidden; isolation: isolate;
  transition: color .45s var(--curva); }
.btn::before { content: ""; position: absolute; inset: 0 -20%; z-index: -1; background: var(--rojo); transform: translateX(-105%) skewX(-18deg); transition: transform .55s var(--curva); }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(-18deg); }
.btn:hover, .btn:focus-visible { color: var(--hueso); }
.btn .txt { display: inline-flex; align-items: center; gap: 12px; padding: 0 26px; }
.btn .celda { display: grid; place-items: center; width: 58px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 25%, transparent); overflow: hidden; }
.btn .celda .ico { width: 18px; height: 18px; transition: transform .5s var(--curva); }
.btn:hover .celda .ico { animation: flecha .6s var(--curva); }
@keyframes flecha { 0% { transform: none; } 45% { transform: translateX(160%); } 46% { transform: translateX(-160%); } 100% { transform: none; } }
.btn .txt .ico { width: 17px; height: 17px; }
.btn:active { transform: scale(.985); }
.btn-linea { --fondo: transparent; --tinta: var(--hueso); box-shadow: inset 0 0 0 1px rgba(238,236,230,.4); }
.btn-rojo { --fondo: var(--rojo); --tinta: var(--hueso); }
.btn-rojo::before { background: var(--hueso); }
.btn-rojo:hover { color: var(--negro); }

/* ---------- Botones principales: metal cepillado con un láser rojo que gira alrededor ---------- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.laser { --vel: 3.2s; position: relative; display: inline-flex; padding: 2px; isolation: isolate;
  background:
    conic-gradient(from var(--ang), transparent 0 18%, #ff2a2f 30%, #fff 33%, #ff2a2f 36%, transparent 48% 68%, #ff2a2f 80%, #fff 83%, #ff2a2f 86%, transparent 98%),
    linear-gradient(rgba(229,20,27,.35), rgba(229,20,27,.35));
  animation: gira-laser var(--vel) linear infinite;
  filter: drop-shadow(0 0 5px rgba(255,42,47,.85)) drop-shadow(0 0 16px rgba(229,20,27,.45)); transition: filter .4s; }
.laser:hover { --vel: 1.3s; filter: drop-shadow(0 0 7px rgba(255,42,47,1)) drop-shadow(0 0 26px rgba(229,20,27,.7)); }
@keyframes gira-laser { to { --ang: 360deg; } }
.laser > .btn { flex: 1; }
.btn-metal { --tinta: #141414; text-shadow: 0 1px 0 rgba(255,255,255,.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.08) 46%, rgba(0,0,0,0) 54%, rgba(0,0,0,.22) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,.05) 1px 3px),
    linear-gradient(100deg, #85888e 0%, #e8e9eb 20%, #a2a5ab 38%, #f6f6f7 56%, #969aa0 74%, #d9dbde 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 4px rgba(0,0,0,.4), inset 1px 0 0 rgba(255,255,255,.4), inset -1px 0 0 rgba(0,0,0,.2); }
/* Brillo que recorre el metal de vez en cuando */
.btn-metal::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 49%, transparent 63%); transform: translateX(-130%); animation: brillo-metal 5.5s var(--curva) infinite; mix-blend-mode: overlay; }
@keyframes brillo-metal { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn-metal .celda { border-left-color: rgba(0,0,0,.25); box-shadow: inset 1px 0 0 rgba(255,255,255,.5); }
.btn-metal:hover { text-shadow: none; }
/* Variante oscura (pavonado) para el segundo botón */
.btn-metal.oscuro { --tinta: var(--hueso); text-shadow: 0 1px 0 rgba(0,0,0,.6);
  background:
    linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.03) 46%, rgba(0,0,0,0) 54%, rgba(0,0,0,.35) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.08) 1px 3px),
    linear-gradient(100deg, #1b1c1f 0%, #4a4d53 22%, #26282c 40%, #5b5e64 58%, #222327 78%, #3b3d42 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 4px rgba(0,0,0,.6); }
.btn-metal.oscuro .celda { border-left-color: rgba(255,255,255,.18); box-shadow: none; }
.laser.suave { --vel: 4.6s; filter: drop-shadow(0 0 4px rgba(255,42,47,.6)) drop-shadow(0 0 12px rgba(229,20,27,.3)); }
/* Enlace de texto con subrayado que se dibuja */
.subrayado { position: relative; text-decoration: none; font: 600 14px/1 var(--etiquetas); letter-spacing: .18em; text-transform: uppercase; padding-bottom: 6px; }
.subrayado::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rojo); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--curva); }
.subrayado:hover::after { transform: scaleX(1); }

/* ---------- Telón: entrada de la web y salida al cambiar de página ---------- */
.telon { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--negro); pointer-events: none; }
.telon img { width: min(360px, 62vw); clip-path: inset(0 100% 0 0); animation: firma .65s var(--curva) .1s forwards; }
.telon::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rojo); transform-origin: left; transform: scaleX(0); animation: carga .7s var(--curva) .05s forwards; }
.telon.fuera { transform: translateY(-100%); transition: transform .8s var(--curva) .75s; }
.telon.rapido { display: none; }
@keyframes firma { to { clip-path: inset(0 0 0 0); } }
@keyframes carga { to { transform: scaleX(1); } }
/* Al salir hacia otra página: una cortina roja sube desde abajo y cubre todo */
.cortina { position: fixed; inset: 0; z-index: 101; background: var(--rojo); transform: translateY(100%); pointer-events: none; }
.cortina.cubre { transform: none; transition: transform .55s var(--curva); }

/* ---------- Navegación: logo a la izquierda, contratar y menú a la derecha ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: flex-end; padding: 16px clamp(16px, 4vw, 48px); transition: background .4s, transform .5s var(--curva); }
.nav.con-fondo { background: linear-gradient(180deg, rgba(6,6,6,.92), rgba(6,6,6,0)); }
.nav.escondida { transform: translateY(-110%); }
.nav .marca img { height: 30px; width: auto; }
.nav .acciones { display: flex; align-items: center; gap: 22px; }
.nav .acciones .subrayado { font-size: 13px; }
.boton-menu { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: var(--hueso); cursor: pointer; font: 700 13px/1 var(--etiquetas); letter-spacing: .22em; text-transform: uppercase; }
.boton-menu .rayas { position: relative; width: 26px; height: 10px; }
.boton-menu .rayas::before, .boton-menu .rayas::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .45s var(--curva), top .45s var(--curva); }
.boton-menu .rayas::before { top: 0; } .boton-menu .rayas::after { top: 8px; }
.menu-abierto .boton-menu .rayas::before { top: 4px; transform: rotate(45deg); }
.menu-abierto .boton-menu .rayas::after { top: 4px; transform: rotate(-45deg); }
/* Menú a pantalla completa */
.menu { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(16px, 6vw, 96px) 40px; background: var(--negro);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--curva); }
.menu-abierto .menu { clip-path: inset(0 0 0 0); }
.menu ol { list-style: none; counter-reset: m; }
.menu li { overflow: hidden; border-bottom: 1px solid var(--linea); }
.menu ol a { counter-increment: m; display: flex; align-items: baseline; gap: 18px; padding: 10px 0 6px; text-decoration: none; font: 900 clamp(48px, 10vw, 128px)/.9 var(--titulos); text-transform: uppercase;
  transform: translateY(105%); transition: transform .7s var(--curva), color .3s; }
.menu ol a::before { content: "0" counter(m); font: 600 14px/1 var(--etiquetas); letter-spacing: .2em; color: var(--rojo); transform: translateY(-1.4em); }
.menu ol a:hover { color: var(--rojo); }
.menu-abierto .menu ol a { transform: none; }
.menu-abierto .menu li:nth-child(2) a { transition-delay: .06s; } .menu-abierto .menu li:nth-child(3) a { transition-delay: .12s; }
.menu-abierto .menu li:nth-child(4) a { transition-delay: .18s; } .menu-abierto .menu li:nth-child(5) a { transition-delay: .24s; }
.menu .pie-menu { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; opacity: 0; transition: opacity .5s .35s; }
.menu-abierto .menu .pie-menu { opacity: 1; }
.menu-abierto { overflow: hidden; }
.sociales { display: flex; gap: 4px; align-items: center; }
.sociales a { display: inline-grid; place-items: center; width: 44px; height: 44px; opacity: .75; transition: opacity .2s, color .2s; } .sociales a:hover { opacity: 1; color: var(--rojo); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hero .capa-video { position: absolute; inset: 0; z-index: -2; transform: scale(1.08); transition: transform 2.2s var(--sale); will-change: transform; }
.listo .hero .capa-video { transform: scale(var(--zoom, 1)); transition-duration: 2.2s; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* iPhone solo arranca solo un vídeo sin sonido si lo ve en pantalla: el vídeo está siempre visible (nada de opacidad 0)
   y la foto fija va ENCIMA, y se desvanece cuando el vídeo ya suena. Así tampoco aparece nunca el botón de play del sistema. */
.capa-video .poster { z-index: 1; transition: opacity .6s; }
/* Plan B (iPhone con ahorro de batería, navegadores dentro de apps): si el móvil bloquea el vídeo automático,
   el mismo MP4 se pone en una <img>, que Safari anima en bucle como si fuera un GIF. */
.respaldo { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: inherit; opacity: 0; pointer-events: none; transition: opacity .5s; }
.con-respaldo > .respaldo { opacity: 1; }
.hero .respaldo { object-position: 50% 30%; }
.marco-metal > .respaldo { inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); }
.capa-video.sonando .poster { opacity: 0; }
video::-webkit-media-controls, video::-webkit-media-controls-start-playback-button, video::-webkit-media-controls-overlay-play-button, video::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(0deg, var(--negro) 0%, rgba(6,6,6,.7) 22%, rgba(6,6,6,0) 48%),
  linear-gradient(90deg, rgba(6,6,6,.55) 0%, rgba(6,6,6,0) 40%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--negro); opacity: var(--oscuro, 0); pointer-events: none; }
.hero .contenido { position: absolute; left: clamp(16px, 5vw, 72px); right: clamp(16px, 5vw, 72px); bottom: clamp(36px, 8vh, 90px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px;
  transform: translateY(var(--sube, 0)); opacity: var(--opacidad, 1); }
.hero .residente { margin-bottom: 22px; }
.hero .residente::before { width: 8px; height: 8px; border-radius: 50%; animation: respira 2.4s ease-in-out infinite; }
@keyframes respira { 50% { opacity: .25; } }
.hero h1 img { width: min(600px, 44vw); height: auto; }
.hero .estilo { margin-top: 18px; font: 600 15px/1.4 var(--etiquetas); letter-spacing: .26em; white-space: nowrap; text-transform: uppercase; color: #cfcdc6; }
.hero .botones { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .bajar { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 1px; height: 46px; background: rgba(238,236,230,.18); overflow: hidden; opacity: var(--opacidad, 1); }
.hero .bajar::after { content: ""; position: absolute; inset: 0; background: var(--hueso); animation: baja 2.2s var(--curva) infinite; }
@keyframes baja { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Máscara de líneas: el texto sube desde detrás de una línea invisible */
.mascara { display: block; overflow: hidden; padding-bottom: .04em; }
.mascara > * { display: block; transform: translateY(110%); transition: transform 1.1s var(--curva); transition-delay: var(--d, 0s); }
.listo .hero .mascara > *, .visto .mascara > *, .visto.mascara > * { transform: none; }

/* ---------- Franja de estilos (cinta roja inclinada que corre) ---------- */
.cinta { position: relative; z-index: 2; margin: -28px 0 0; padding: 16px 0; background: var(--rojo); transform: rotate(-1.6deg); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.cinta .corre { display: flex; width: max-content; }
.cinta .tramo { display: flex; flex: none; animation: corre 22s linear infinite; }
.cinta span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 900 clamp(26px, 3vw, 40px)/1 var(--titulos); text-transform: uppercase; letter-spacing: .02em; color: var(--hueso); white-space: nowrap; }
.cinta span::after { content: ""; width: 14px; height: 14px; background: var(--negro); transform: rotate(45deg); }
@keyframes corre { to { transform: translateX(-100%); } }

/* ---------- Secciones ---------- */
section.bloque { position: relative; padding: clamp(90px, 13vw, 170px) clamp(16px, 5vw, 72px); }
.cabecera { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.cabecera .numero { grid-row: span 2; font: 900 clamp(70px, 10vw, 150px)/.8 var(--titulos); color: transparent; -webkit-text-stroke: 1.5px rgba(238,236,230,.35); }
.cabecera h2 { font-size: clamp(42px, 6vw, 96px); }
.cabecera .etiqueta { align-self: start; }

/* Revelados al hacer scroll */
.revela { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--sale), transform 1.2s var(--sale); transition-delay: var(--d, 0s); }
.revela.visto { opacity: 1; transform: none; }
/* Fotos: una persiana negra se recoge hacia arriba y la foto se asienta (sin clip-path en la propia foto:
   el observador de scroll no ve elementos recortados del todo) */
.foto-revela { position: relative; overflow: hidden; }
.foto-revela::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--negro); transform-origin: top; transition: transform 1.3s var(--curva); transition-delay: var(--d, 0s); pointer-events: none; }
.foto-revela img { transform: scale(1.18); transition: transform 1.8s var(--sale); transition-delay: var(--d, 0s); }
.foto-revela.visto::after { transform: scaleY(0); }
.foto-revela.visto img { transform: none; }

/* Sesión destacada */
.sesion { display: grid; grid-template-columns: minmax(260px, 460px) 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.portada { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--carbon); }
.portada img { width: 100%; height: 100%; object-fit: cover; }
.portada .disco { position: absolute; z-index: 3; right: 14px; bottom: 14px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--rojo); color: var(--hueso); text-decoration: none; transition: transform .5s var(--curva); }
.portada .disco:hover { transform: scale(1.1) rotate(-8deg); }
.portada .disco .ico { width: 22px; height: 22px; margin-left: 3px; }
.sesion h3 { font-size: clamp(64px, 9vw, 160px); margin: 18px 0 10px; }
.sesion .version { font: 600 16px/1 var(--etiquetas); letter-spacing: .3em; text-transform: uppercase; color: #cfcdc6; margin-bottom: 30px; }
.reproductor { width: 100%; max-width: 560px; height: 200px; border: 0; margin-bottom: 26px; background: var(--carbon); }
.filas { display: grid; max-width: 560px; border-top: 1px solid var(--linea); }
.fila { position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; min-height: 64px; padding: 18px 6px; text-decoration: none; border-bottom: 1px solid var(--linea); overflow: hidden; isolation: isolate; transition: color .4s var(--curva); }
.fila > * { transition: transform .4s var(--curva); }
.fila:hover > * { transform: translateX(10px); }
.fila::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rojo); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--curva); }
.fila:hover::before { transform: scaleY(1); }
.fila .ico { width: 22px; height: 22px; }
.fila b { font: 700 18px/1 var(--etiquetas); letter-spacing: .12em; text-transform: uppercase; }
.fila .ico-flecha { width: 18px; height: 18px; transition: transform .4s var(--curva); }
.fila:hover .ico-flecha { transform: translateX(4px); }

/* En cabina (Instagram): tira que corre, fotos rectas con pie */
.instagram { padding-inline: 0; overflow: hidden; }
.instagram .cabecera { padding-inline: clamp(16px, 5vw, 72px); }
.carrusel { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.pista { display: flex; gap: 18px; width: max-content; animation: pista var(--duracion, 60s) linear infinite; }
.carrusel:hover .pista { animation-play-state: paused; }
@keyframes pista { to { transform: translateX(calc(-50% - 9px)); } }
.post { display: block; width: clamp(220px, 21vw, 300px); flex: none; text-decoration: none; }
.post .img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--carbon); }
.post img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.1); transition: filter .6s, transform 1s var(--sale); }
.post:hover img { filter: none; transform: scale(1.05); }
.post .tipo { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; color: var(--hueso); filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.post .pie { display: flex; gap: 12px; margin-top: 12px; font: 500 13px/1.35 var(--texto); color: #cfcdc6; }
.post .pie time { flex: none; font: 600 12px/1.35 var(--etiquetas); letter-spacing: .14em; color: var(--rojo); }
.post .pie span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


/* En cabina: reels con marco de metal, tornillos y láser alrededor */
.ico-sonido { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E"); }
.ico-mudo { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.6-.6L18 7l2.6 2.6L23.2 7l1.4 1.4-2.6 2.6 2.6 2.6-1.4 1.4-2.6-2.6L18 15l-1.4-1.4 2.6-2.6z'/%3E%3C/svg%3E"); }
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.reel { margin: 0; }
.reel .laser { display: block; padding: 2px; }
.marco-metal { position: relative; display: block; padding: 9px; cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.35) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,.06) 1px 3px),
    linear-gradient(115deg, #3a3c41 0%, #8c9096 18%, #4b4e54 36%, #b7bbc1 52%, #55585e 70%, #7d8187 86%, #34363a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.6); }
.marco-metal video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--carbon);
  box-shadow: 0 0 0 1px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
/* Cuatro tornillos en las esquinas del marco: dos con la propia tira de arriba y dos con el marco */
.tornillos { position: absolute; top: 2px; left: 2px; right: 2px; height: 5px; pointer-events: none; }
.tornillos::before, .tornillos::after, .marco-metal::before, .marco-metal::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 35% 35%, #f2f3f4, #6d7077 60%, #2a2b2e); box-shadow: 0 0 1px rgba(0,0,0,.8); }
.tornillos::before { top: 0; left: 0; } .tornillos::after { top: 0; right: 0; }
.marco-metal::before { bottom: 2px; left: 2px; } .marco-metal::after { bottom: 2px; right: 2px; }
/* Botón de sonido */
.sonido { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--hueso); background: rgba(6,6,6,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(238,236,230,.25); transition: background .3s, transform .3s var(--curva); }
.sonido .ico { width: 18px; height: 18px; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.6-.6L18 7l2.6 2.6L23.2 7l1.4 1.4-2.6 2.6 2.6 2.6-1.4 1.4-2.6-2.6L18 15l-1.4-1.4 2.6-2.6z'/%3E%3C/svg%3E"); }
.reel.suena .sonido { background: var(--rojo); box-shadow: 0 0 18px rgba(229,20,27,.7); }
.reel.suena .sonido .ico { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E"); }
.marco-metal:hover .sonido { transform: scale(1.08); }
/* El que suena: láser rápido e intenso */
.reel.suena .laser { --vel: 1.4s; filter: drop-shadow(0 0 8px rgba(255,42,47,1)) drop-shadow(0 0 28px rgba(229,20,27,.75)); }
.reel figcaption { display: grid; gap: 6px; margin-top: 14px; }
.reel figcaption b { font: 900 24px/1 var(--titulos); text-transform: uppercase; }
.reel figcaption span { font: 600 12px/1.3 var(--etiquetas); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.aviso-sonido { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: clamp(28px, 4vw, 44px); font: 600 13px/1 var(--etiquetas); letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.aviso-sonido .ico { width: 16px; height: 16px; color: var(--rojo); }
.cabina .puntos { display: none; }

/* Biografía */
.bio-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fotos a { position: relative; display: block; overflow: hidden; background: var(--carbon); }
.fotos a:first-child { grid-row: span 2; }
.fotos a:nth-child(3) { margin-top: 0; }
.fotos img { width: 100%; height: 100%; object-fit: cover; }
.fotos a span { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 12px 14px; font: 700 12px/1 var(--etiquetas); letter-spacing: .18em; text-transform: uppercase; color: var(--hueso); background: var(--rojo); transform: translateY(101%); transition: transform .45s var(--curva); }
.fotos a:hover span { transform: none; }
.bio-texto .bio { font: 400 clamp(18px, 1.45vw, 22px)/1.6 var(--texto); color: #dcdad3; margin: 22px 0 34px; max-width: 48ch; }
.bio-texto .bio::first-letter { float: left; font: 900 4.2em/.82 var(--titulos); color: var(--rojo); margin: .04em .1em 0 0; }
.incluye { list-style: none; margin: 0 0 36px; border-top: 1px solid var(--linea); }
.incluye li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--linea); font: 600 14px/1 var(--etiquetas); letter-spacing: .14em; text-transform: uppercase; }
.incluye li b { color: var(--rojo); }

/* Contrataciones: palabra gigante en contorno que se rellena al pasar */
.booking { text-align: center; overflow: hidden; border-top: 1px solid var(--linea); }
.booking .etiqueta { margin-bottom: 18px; }
.booking .gigante { display: block; font-size: clamp(90px, 19vw, 340px); color: transparent; -webkit-text-stroke: 2px var(--hueso); background: linear-gradient(0deg, var(--rojo) 50%, transparent 50%) 0 0 / 100% 200% no-repeat;
  -webkit-background-clip: text; background-clip: text; transition: background-position .9s var(--curva), -webkit-text-stroke-color .9s; }
.booking:hover .gigante { background-position: 0 100%; -webkit-text-stroke-color: var(--rojo); }
.booking p { font: 600 15px/1.6 var(--etiquetas); letter-spacing: .22em; text-transform: uppercase; color: var(--gris); margin: 22px 0 38px; }
.booking .botones { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px clamp(16px, 5vw, 72px); border-top: 1px solid var(--linea); font: 600 13px/1 var(--etiquetas); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
footer a { text-decoration: none; } footer a:hover { color: var(--hueso); }
.credito { display: block; width: fit-content; margin: 0 auto; padding: 18px 16px calc(22px + env(safe-area-inset-bottom)); text-decoration: none; font: 600 11px/1 var(--etiquetas); letter-spacing: .2em; text-transform: uppercase; color: rgba(139,138,134,.8); transition: color .2s; }
.credito b { font-weight: 800; letter-spacing: .24em; color: #c9c7c0; transition: color .2s; }
.credito:hover, .credito:hover b { color: var(--hueso); }

/* ---------- Móvil ---------- */
@media (max-width: 760px) {
  section.bloque { padding-block: 72px; }
  .nav .acciones .subrayado { display: none; }
  .nav .marca img { height: 24px; }
  .hero { min-height: 560px; }
  .hero video, .hero .poster, .hero .respaldo { object-position: 50% 0%; }
  .hero::before { background: linear-gradient(0deg, var(--negro) 4%, rgba(6,6,6,.85) 30%, rgba(6,6,6,0) 56%); }
  .hero .contenido { grid-template-columns: 1fr; text-align: center; bottom: 26px; left: 16px; right: 16px; gap: 22px; }
  .hero .residente { justify-content: center; margin-bottom: 14px; }
  .hero h1 img { width: min(250px, 48vw); margin: 0 auto; }
  .hero .contenido { gap: 18px; bottom: 20px; }
  .hero .botones { gap: 16px; }
  .hero .estilo { font-size: 12px; letter-spacing: .2em; padding-left: .2em; white-space: normal; }
  .hero .botones { flex-direction: column; }
  .hero .botones .btn, .bio-texto .btn, .booking .btn, .hero .botones .laser, .bio-texto .laser, .booking .laser { width: 100%; justify-content: space-between; }
  .hero .bajar { display: none; }
  .cinta { margin-top: -14px; padding: 12px 0; }
  .cabecera .numero { -webkit-text-stroke-width: 1px; }
  .sesion, .bio-grid { grid-template-columns: 1fr; }
  /* Reels en el móvil: carrusel infinito, el activo en el centro y los vecinos asomando */
  .reels { display: grid; grid-template-columns: 1fr; justify-items: center; overflow: visible; }
  .reel { grid-area: 1 / 1; width: 74vw; max-width: 340px; opacity: 0; pointer-events: none; transform: translateX(0) scale(.8);
    transition: transform .8s var(--curva), opacity .6s, filter .6s; }
  .reel.activa { opacity: 1; pointer-events: auto; transform: none; z-index: 2; }
  .reel.siguiente { opacity: .45; pointer-events: auto; transform: translateX(78%) scale(.82); filter: brightness(.6); }
  .reel.previa { opacity: .45; pointer-events: auto; transform: translateX(-78%) scale(.82); filter: brightness(.6); }
  .reel:not(.activa) figcaption { opacity: 0; }
  .cabina { overflow: hidden; }
  .cabina .puntos { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
  .cabina .puntos i { width: 22px; height: 3px; background: rgba(238,236,230,.2); transform-origin: left; transition: transform .4s var(--curva), background .4s; }
  .cabina .puntos i.activo { transform: scaleX(1.8); margin-right: 18px; background: var(--rojo); }
  .booking .gigante { font-size: 23vw; -webkit-text-stroke-width: 1.5px; }
  footer { flex-direction: column; }
}
/* Animaciones que usa la página de descarga (compartida con la web de Juanma) */
@keyframes entra { to { opacity: 1; transform: none; } }
@keyframes barrido { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes halo { 0% { filter: drop-shadow(0 0 26px rgba(229,20,27,.7)); } 100% { filter: drop-shadow(0 0 10px rgba(229,20,27,.25)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
