/* ---------- la casa (experiencia completa unificada) ---------- */
#la-casa{
  min-height:460vh; position:relative;
  background:#141414;
}
.casa-sticky{
  position:sticky; top:0; height:100vh; height:100dvh; width:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden;
  perspective:1600px;
  background:#141414;
}
.cosmos-canvas-container{
  position:absolute; inset:0; width:100%; height:100%;
  z-index:1; pointer-events:none; overflow:hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 10%, black 22%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 10%, black 22%);
}
.cosmos-canvas-container canvas{
  width:100% !important; height:100% !important; display:block;
}
.cosmos-grain{
  position:absolute; inset:0; pointer-events:none;
  opacity:0.035; z-index:2;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.cosmos-vignette{
  position:absolute; inset:0; pointer-events:none; z-index:2;
  background:radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
}
.casa-heading{ position:absolute; top:4%; left:50%; transform:translateX(-50%); text-align:center; z-index:5; opacity:0; }
.casa-heading .eyebrow{ font-family:'Cormorant Garamond',serif; font-style:italic; color:var(--amber-hot); font-size:1.05rem; letter-spacing:0.03em; }
.casa-heading h2{ font-family:'Anton',sans-serif; font-size:clamp(1.6rem, 4vw, 2.6rem); letter-spacing:0.06em; color:var(--cream); margin-top:0.3rem; }

.house-wrap{ position:absolute; width:min(85vw, 780px); z-index:3; perspective:1400px; }
.house-wrap svg{ width:100%; height:auto; overflow:visible; }

/* ---------- casa detallada (nh-) ---------- */
.nh-house{
  transform-style:preserve-3d;
  transition:transform 0.12s ease-out;
  will-change:transform;
  filter:drop-shadow(0 25px 35px rgba(0,0,0,.7));
}
#houseSvg > g{ transform-box: fill-box; transform-origin: 50% 50%; }
.nh-star, .nh-star-small{ transform-box: fill-box; transform-origin: center; }
.nh-garage-panel{ transform-box: fill-box; transform-origin: center; }
.nh-line{ stroke:var(--cream-dim); stroke-width:2; fill:none; vector-effect:non-scaling-stroke; }
.nh-thin{ stroke:var(--stone); stroke-width:1.3; fill:none; }
.nh-wall{ fill:#151311; stroke:#aaa19a; stroke-width:2; }
.nh-wall2{ fill:#11100e; stroke:#8e8882; stroke-width:2; }
.nh-window{ fill:#11100e; stroke:#aaa29b; stroke-width:2; }
.nh-glass{ fill:#161718; }
.nh-window-wood{
  fill:#874a2a; stroke:#b9784c; stroke-width:3;
  transition:filter .25s ease;
  animation:hearthBreathe 5.5s ease-in-out infinite alternate;
}
@media (hover: hover) and (pointer: fine) {
  .nh-window-wood:hover{ filter:brightness(1.35) drop-shadow(0 0 12px rgba(224,149,92,0.8)); cursor:pointer; }
}
.nh-garage{ fill:#11100f; stroke:#aaa29d; stroke-width:2; }
.nh-garage-panel{ fill:#151514; stroke:#77736e; stroke-width:1.5; transition:filter .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .nh-garage-panel:hover{ filter:brightness(1.3); cursor:pointer; }
}
.nh-door{
  fill:var(--amber); stroke:#c48658; stroke-width:2;
  transition:filter .25s ease;
  animation:hearthBreathe 5.5s ease-in-out infinite alternate;
}
@media (hover: hover) and (pointer: fine) {
  .nh-door:hover{ filter:brightness(1.35) drop-shadow(0 0 14px rgba(224,149,92,0.9)); cursor:pointer; }
}
.nh-door-detail{ fill:none; stroke:#542d1d; stroke-width:2; }
@keyframes hearthBreathe {
  0% { filter: drop-shadow(0 0 4px rgba(201, 122, 69, 0.3)); }
  100% { filter: drop-shadow(0 0 15px rgba(224, 149, 92, 0.7)) drop-shadow(0 0 25px rgba(201, 122, 69, 0.25)); }
}
@media (prefers-reduced-motion: reduce) {
  .nh-window-wood, .nh-door { animation: none; }
}
.nh-roof{ fill:#0b0b0a; stroke:#aaa39c; stroke-width:2.5; }
.nh-roof-detail{ stroke:#625e59; stroke-width:1.5; }
.nh-porch{ fill:#0c0c0b; stroke:#8d8780; stroke-width:2; }
.nh-star{ fill:var(--cream); opacity:.75; }
.nh-star-small{ fill:var(--cream-dim); opacity:.45; }
.nh-big-star{ stroke:var(--cream); stroke-width:1; fill:#ffffff; opacity:.8; filter:drop-shadow(0 0 3px rgba(224,149,92,0.55)); transform-box:fill-box; transform-origin:center; animation:nh-twinkle 3s ease-in-out infinite; }
.nh-big-star:nth-child(2){ animation-delay:0.8s; }
.nh-big-star:nth-child(3){ animation-delay:1.6s; }
.nh-big-star:nth-child(4){ animation-delay:2.4s; }
.nh-big-star:nth-child(5){ animation-delay:1.2s; }
.nh-big-star:nth-child(6){ animation-delay:2.0s; }
@keyframes nh-twinkle{
  0%,100%{ opacity:.3; transform:scale(.75); }
  50%{ opacity:1; transform:scale(1.3); }
}
.nh-planet-orbit{ fill:none; stroke:rgba(138, 129, 119, 0.45); stroke-width:1.2; stroke-dasharray:3 2; }
.nh-planet{ fill:var(--amber); filter:drop-shadow(0 0 6px rgba(224,149,92,0.7)); }
.nh-light{ fill:var(--amber-hot); opacity:.9; filter:drop-shadow(0 0 8px rgba(224,149,92,0.95)); }

/* ---------- Puerta interactiva minimalista ---------- */
.door-interactive{
  cursor:pointer;
  transition:transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.door-hover-aura{
  fill:none;
  stroke:rgba(224, 149, 92, 0);
  stroke-width:1.5;
  stroke-dasharray:4 3;
  transition:stroke 0.35s ease, filter 0.35s ease;
  pointer-events:none;
}
.door-interactive:hover, .door-interactive:focus-visible{
  filter:drop-shadow(0 0 10px rgba(224,149,92,0.75));
}
.door-interactive:hover .door-hover-aura,
.door-interactive:focus-visible .door-hover-aura{
  stroke:rgba(224, 149, 92, 0.85);
  filter:drop-shadow(0 0 8px rgba(224,149,92,0.85));
}
@media (hover: hover) and (pointer: fine) {
  .door-interactive:hover #nh-door-shape{
    fill:rgba(201, 122, 69, 0.15);
  }
}

.door-glow-interior{
  position:absolute; left:50%; top:70.1%;
  width:160px; height:160px; margin-left:-80px; margin-top:-80px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(224,149,92,0.95) 0%, rgba(201,122,69,0.5) 35%, rgba(12,10,8,0) 70%);
  opacity:0; transform:scale(0.3); pointer-events:none; z-index:4; filter:blur(2px);
}

/* ---------- indicador de scroll sutil (mouse animado) ---------- */
.casa-scroll-hint{
  position:absolute;
  bottom:3%;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.35rem;
  z-index:10;
  pointer-events:none;
  opacity:0;
  transition:opacity 0.4s ease, transform 0.4s ease;
}
.scroll-mouse{
  width:18px;
  height:28px;
  border:1.5px solid rgba(224, 149, 92, 0.75);
  border-radius:10px;
  position:relative;
  display:flex;
  justify-content:center;
  box-shadow:0 0 10px rgba(201,122,69,0.3);
}
.scroll-wheel{
  width:2.5px;
  height:5px;
  background:var(--amber-hot);
  border-radius:2px;
  position:absolute;
  top:5px;
  box-shadow:0 0 6px var(--amber-hot);
  animation:wheelDrop 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes wheelDrop{
  0%{ opacity:0; transform:translateY(0); }
  30%{ opacity:1; }
  100%{ opacity:0; transform:translateY(9px); }
}
.scroll-label{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:0.74rem;
  letter-spacing:0.18em;
  color:rgba(239, 230, 213, 0.75);
  text-transform:uppercase;
}

.progress-track{ position:absolute; right:5%; top:50%; transform:translateY(-50%); width:1px; height:180px; background:rgba(138,129,119,0.25); z-index:5; }
.progress-fill{ position:absolute; top:0; left:0; width:100%; height:100%; background:var(--amber); transform:scaleY(0); transform-origin:top; will-change:transform; }

@media (max-width: 768px){
  .house-wrap{ width:88vw; }
  .progress-track{ display:none; }
  .entrada-house-wrap{ width:96vw; }
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION (iOS, Android, Tablets)
   ========================================================================== */
@media (max-width: 768px){
  .house-wrap{ width:min(90vw, 680px); }
}

@media (max-width: 768px){
  /* Desactivar grano animado pero mantener el fondo cósmico Three.js ultra-optimizado */
  .grain {
    display: none !important;
  }
  #cosmosCanvasContainer {
    display: block !important;
    opacity: 1 !important;
    z-index: 1 !important;
  }
  body {
    background: radial-gradient(circle at 50% 18%, #1c1511 0%, #0d0a08 55%, #060403 100%);
  }

  /* Aceleración por hardware aislada en GPU para el plano y la casa */
  .house-wrap,
  #houseSvg,
  .canvas-360-container,
  #canvasContainer {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .casa-sticky{ height:100vh; height:100dvh; }
  .casa-heading{ top:2.5%; }
  .casa-heading h2{ font-size:1.65rem; }
  .casa-heading .eyebrow{ font-size:0.85rem; }
  .house-wrap{ width:92vw; max-height:62dvh; }

  /* Estilos de modal delegados limpiamente a modal-base.css */

}
/* ---------- escena: La Casa de Kello (exploración interactiva — SIN PARALLAX) ---------- */
.foto-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background: #090909;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
  overflow: hidden;
  user-select: none;
}

.casa-showcase-container {
  width: 100%;
  height: 100%;
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4.5vw, 70px) clamp(80px, 11vh, 110px);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* Columna Izquierda: Información Editorial */
.casa-showcase-info {
  flex: 0 0 clamp(280px, 34vw, 440px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 5;
  padding-right: 1.5rem;
}

.casa-showcase-eyebrow {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.72rem, 0.9vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c89658;
  margin-bottom: clamp(1rem, 2vh, 1.4rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.casa-showcase-title {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 clamp(1rem, 2vh, 1.5rem) 0;
}

.casa-title-accent {
  color: #f5eedf;
  font-weight: 600;
}

.casa-showcase-sub {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  font-weight: 400;
  line-height: 1.55;
  color: #9f978c;
  margin: 0;
  max-width: 380px;
}

/* Columna Derecha: Escenario de la Casa */
.casa-showcase-stage {
  flex: 1 1 65%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
}

.casa-house-stage {
  position: relative;
  width: min(100%, 1050px);
  aspect-ratio: 1470 / 1070;
  max-height: calc(100vh - 60px);
  max-height: calc(100dvh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.house-front-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.85));
}

/* ==========================================================================
   LUCES DINÁMICAS VIVAS (LIGHT BLOOM)
   ========================================================================== */
.casa-light-bloom-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.casa-bloom-light {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(14px);
  transform: translate(-50%, -50%);
  will-change: opacity, transform;
}

/* Neón "M" del Garaje */
.casa-bloom--neon-m {
  left: 73.1%;
  top: 67.1%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 170, 70, 0.85) 0%, rgba(255, 110, 30, 0.35) 45%, transparent 70%);
  filter: blur(14px) drop-shadow(0 0 18px rgba(255, 140, 40, 0.85));  /* glow estático; solo opacity/transform animan */
  animation: casaNeonFlicker 3.8s ease-in-out infinite alternate;
}

/* Habitación: Lámpara de mesa de noche */
.casa-bloom--habitacion {
  left: 11.5%;
  top: 45.9%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 205, 120, 0.75) 0%, rgba(240, 140, 50, 0.28) 45%, transparent 70%);
  animation: casaBloomPulse 4.2s ease-in-out infinite alternate;
}

/* Pasillo Superior */
.casa-bloom--pasillo-top {
  left: 49.4%;
  top: 19.2%;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(255, 215, 140, 0.8) 0%, rgba(240, 150, 60, 0.25) 45%, transparent 70%);
  animation: casaBloomPulse 3.6s ease-in-out infinite alternate 0.8s;
}

/* Pasillo Inferior */
.casa-bloom--pasillo-bot {
  left: 49.3%;
  top: 62.4%;
  width: 115px;
  height: 115px;
  background: radial-gradient(circle, rgba(255, 215, 140, 0.78) 0%, rgba(240, 150, 60, 0.25) 45%, transparent 70%);
  animation: casaBloomPulse 4.0s ease-in-out infinite alternate 1.5s;
}

/* Estudio (Lámpara de pie / flexo y escritorio) */
.casa-bloom--estudio {
  left: 64.3%;
  top: 40.7%;
  width: 125px;
  height: 125px;
  background: radial-gradient(circle, rgba(255, 205, 120, 0.75) 0%, rgba(240, 140, 50, 0.28) 45%, transparent 70%);
  animation: casaBloomPulse 4.7s ease-in-out infinite alternate 1.2s;
}

/* Sala (Lámpara cálida de mesa) */
.casa-bloom--sala {
  left: 17.8%;
  top: 71.8%;
  width: 145px;
  height: 145px;
  background: radial-gradient(circle, rgba(255, 195, 110, 0.8) 0%, rgba(240, 135, 45, 0.3) 45%, transparent 70%);
  animation: casaBloomPulse 5.0s ease-in-out infinite alternate 0.4s;
}

/* Pantalla de TV en la Sala */
.casa-bloom--tv {
  left: 28.5%;
  top: 72.7%;
  width: 110px;
  height: 90px;
  background: radial-gradient(circle, rgba(160, 215, 255, 0.45) 0%, rgba(90, 150, 220, 0.15) 50%, transparent 70%);
  animation: casaTvGlow 2.4s ease-in-out infinite alternate;
}

/* Vela de la Batería en el Garaje */
.casa-bloom--vela {
  left: 80.4%;
  top: 87.9%;
  width: 75px;
  height: 75px;
  background: radial-gradient(circle, rgba(255, 210, 120, 0.85) 0%, rgba(255, 140, 40, 0.3) 40%, transparent 70%);
  animation: casaLanternFlicker 2.5s ease-in-out infinite alternate;
}

/* Farol exterior porche derecho */
.casa-bloom--exterior-farol {
  left: 94.5%;
  top: 66.7%;
  width: 85px;
  height: 85px;
  background: radial-gradient(circle, rgba(255, 230, 150, 0.85) 0%, rgba(255, 160, 60, 0.35) 45%, transparent 70%);
  animation: casaLanternFlicker 3.0s ease-in-out infinite alternate 0.3s;
}

/* Animaciones de Respiración Orgánica */
@keyframes casaBloomPulse {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.94);
  }
  50% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.97);
  }
}

@keyframes casaNeonFlicker {
  0%, 100% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.98);
  }
  30% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
  65% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(0.96);
  }
}

@keyframes casaLanternFlicker {
  0%, 100% { opacity: 0.82; transform: translate(-50%, -50%) scale(0.96); }
  25% { opacity: 0.98; transform: translate(-50%, -50%) scale(1.06); }
  50% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.93); }
  75% { opacity: 0.92; transform: translate(-50%, -50%) scale(1.02); }
}

@keyframes casaTvGlow {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.95); }
  40% { opacity: 0.75; transform: translate(-50%, -50%) scale(1.03); }
  70% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.98); }
}

/* ==========================================================================
   LUCIÉRNAGAS Y POLVO ESTELAR FLOTANTE (FIREFLIES)
   ========================================================================== */
.casa-fireflies-layer {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  pointer-events: none;
  z-index: 12;
}

.casa-firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffe39a;
  box-shadow: 0 0 8px #ffb342, 0 0 16px rgba(255, 180, 70, 0.85);
  pointer-events: none;
  will-change: transform, opacity;
  animation: casaFireflyFloat 7s ease-in-out infinite alternate;
}

.casa-firefly.ff-1 { left: 16%; top: 62%; animation-duration: 6.2s; animation-delay: 0s; }
.casa-firefly.ff-2 { left: 34%; top: 38%; animation-duration: 7.8s; animation-delay: 1.1s; }
.casa-firefly.ff-3 { left: 58%; top: 52%; animation-duration: 5.9s; animation-delay: 2.3s; }
.casa-firefly.ff-4 { left: 81%; top: 40%; animation-duration: 8.4s; animation-delay: 0.7s; }
.casa-firefly.ff-5 { left: 22%; top: 82%; animation-duration: 6.7s; animation-delay: 1.8s; }
.casa-firefly.ff-6 { left: 74%; top: 80%; animation-duration: 7.1s; animation-delay: 2.9s; }
.casa-firefly.ff-7 { left: 48%; top: 25%; animation-duration: 8.8s; animation-delay: 1.4s; }
.casa-firefly.ff-8 { left: 88%; top: 65%; animation-duration: 6.5s; animation-delay: 3.2s; }

@keyframes casaFireflyFloat {
  0% {
    opacity: 0.2;
    transform: translate(0, 0) scale(0.8);
  }
  50% {
    opacity: 0.95;
    transform: translate(14px, -18px) scale(1.2);
  }
  100% {
    opacity: 0.3;
    transform: translate(-10px, -32px) scale(0.85);
  }
}

.casa-bottom-constellation {
  display: none !important;
}

@keyframes dashPathBreath {
  0% { opacity: 0.55; }
  100% { opacity: 1; }
}




/* ==========================================================================
   4. Retículas y Hotspots Interactivas Profesionales (Desktop/Tablet)
   ========================================================================== */
.v360-hotspots-layer {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  transform-style: preserve-3d;
  contain: layout style;
}

.v360-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  z-index: 30;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}



@media (max-width: 768px) {
  .casa-showcase-container {
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top, 0px) + clamp(72px, 10dvh, 96px)) max(1.25rem, env(safe-area-inset-right, 0px)) clamp(96px, 14dvh, 120px) max(1.25rem, env(safe-area-inset-left, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .casa-showcase-info {
    flex: 0 0 auto;
    width: 100%;
    padding-right: 0;
    text-align: center;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .casa-showcase-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .casa-showcase-sub {
    max-width: 100%;
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
  }

  .casa-showcase-stage {
    flex: 0 0 auto;
    width: 100%;
    max-height: 55vh;
  }

  .casa-house-stage {
    max-height: 55vh;
  }
}

/* Núcleo de lente óptica / pin arquitectónico de alta gama */
.reticle-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 194, 107, 0.6);
  background: radial-gradient(circle, rgba(32, 22, 16, 0.88) 0%, rgba(14, 10, 8, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 0 16px rgba(224, 149, 92, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 10px rgba(0, 0, 0, 0.7),
    0 8px 24px rgba(0, 0, 0, 0.85);
  transition: border-color 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Pulso de radar / onda sutil de baliza */
.reticle-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(224, 149, 92, 0.55);
  pointer-events: none;
  animation: beaconPulseWave 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.reticle-halo::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(245, 194, 107, 0.35);
  animation: beaconPulseWave 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite 1s;
  will-change: transform, opacity;
  transform: translateZ(0);
}

@keyframes beaconPulseWave {
  0% {
    transform: translate3d(0, 0, 0) scale(0.85);
    opacity: 0.9;
  }
  60% {
    transform: translate3d(0, 0, 0) scale(1.6);
    opacity: 0.15;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1.9);
    opacity: 0;
  }
}

/* Micro-retícula / crosshair de precisión */
.reticle-cross {
  position: relative;
  width: 14px;
  height: 14px;
}

.reticle-cross::before,
.reticle-cross::after {
  content: '';
  position: absolute;
  background: rgba(245, 237, 226, 0.85);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.reticle-cross::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
}

.reticle-cross::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  transform: translateY(-50%);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
}

/* Joya central luminosa */
.reticle-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #f5c26b, 0 0 16px #e0955c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tooltip editorial interactivo de alta gama */
.v360-hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  background: rgba(14, 10, 8, 0.95);
  border: 1px solid rgba(224, 149, 92, 0.75);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.92), 0 0 20px rgba(201, 122, 69, 0.35);
  transition: opacity 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 60;
}

/* Flecha/indicador inferior del tooltip */
.v360-hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(224, 149, 92, 0.75) transparent transparent transparent;
}

.v360-tooltip-title {
  font-family: 'Anton', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.1;
  text-transform: uppercase;
}

.v360-tooltip-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.76rem;
  color: var(--amber-hot);
  line-height: 1;
  margin-top: 2px;
}

/* Estado Hover / Focus del Hotspot */
.v360-hotspot:hover,
.v360-hotspot:focus-visible {
  transform: translate(-50%, -50%) scale(1.18);
  z-index: 50;
}

@media (hover: hover) and (pointer: fine) {
  .v360-hotspot:hover .reticle-ring {
    border-color: #f5c26b;
    background: rgba(42, 28, 20, 0.95);
    box-shadow:
      0 0 28px rgba(224, 149, 92, 0.95),
      inset 0 0 12px rgba(224, 149, 92, 0.45),
      0 12px 35px rgba(0, 0, 0, 0.9);
  }
}

@media (hover: hover) and (pointer: fine) {
  .v360-hotspot:hover .reticle-cross::before,
  .v360-hotspot:hover .reticle-cross::after {
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
  }
}

@media (hover: hover) and (pointer: fine) {
  .v360-hotspot:hover .reticle-dot {
    transform: translate(-50%, -50%) scale(1.25);
    box-shadow: 0 0 12px #ffffff, 0 0 20px #e0955c;
  }
}

@media (hover: hover) and (pointer: fine) {
  .v360-hotspot:hover .v360-hotspot-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ==========================================================================
   5. Barra Inferior de Habitaciones (Dock Interactivo de la Casa)
   ========================================================================== */
.v360-bottom-dock {
  position: absolute;
  bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 55;
  pointer-events: auto;
  padding: 0.4rem 0.8rem;
  max-width: min(96vw, 980px);
  background: rgba(15, 11, 9, 0.88);
  border: 1px solid rgba(224, 149, 92, 0.28);
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.v360-bottom-dock::-webkit-scrollbar { display: none; }

.v360-dock-indicator {
  display: none;
}

.v360-dock-buttons-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}

/* Botón individual del Dock en Desktop */
.v360-thumb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(224, 149, 92, 0.22);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  color: var(--cream);
  text-decoration: none;
}

.v360-btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  opacity: 0.85;
  transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
}

.v360-btn-icon-wrap svg {
  display: block;
}

.v360-pill-text {
  font-family: 'Anton', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.22s ease, opacity 0.22s ease, text-shadow 0.22s ease, transform 0.22s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Dock en pantallas de escritorio (herencia natural y fluida) ── */
@media (min-width: 769px) {
  .v360-bottom-dock {
    flex-direction: row;
  }

  .v360-dock-buttons-track .v360-thumb-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(224, 149, 92, 0.22);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    min-height: unset;
    min-width: unset;
    max-width: unset;
    width: auto;
    flex: 0 0 auto;
    box-sizing: border-box;
    scroll-snap-align: unset;
    color: var(--cream);
  text-decoration: none;
  }

  .v360-dock-buttons-track .v360-btn-icon-wrap {
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: inherit;
  }

  .v360-dock-buttons-track .v360-btn-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .v360-dock-buttons-track .v360-pill-text {
    font-family: 'Anton', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    font-weight: 400;
    color: var(--cream);
  text-decoration: none;
    opacity: 0.85;
    white-space: nowrap;
  }

  .v360-dock-buttons-track .v360-thumb-btn.active {
    background: linear-gradient(135deg, rgba(224, 149, 92, 0.32) 0%, rgba(201, 122, 69, 0.2) 100%);
    border-color: var(--amber-hot);
    transform: translateY(-2px);
    box-shadow:
      0 8px 24px rgba(0,0,0,0.75),
      0 0 18px rgba(224, 149, 92, 0.45),
      inset 0 0 8px rgba(224, 149, 92, 0.2);
  }

  .v360-dock-buttons-track .v360-thumb-btn.active .v360-btn-icon-wrap {
    opacity: 1;
    color: #ffffff;
  }

  .v360-dock-buttons-track .v360-thumb-btn.active .v360-pill-text {
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 0 10px rgba(224, 149, 92, 0.85);
  }
}


@media (hover: hover) and (pointer: fine) {
  .v360-thumb-btn:hover {
    background: rgba(224, 149, 92, 0.16);
    border-color: var(--amber-hot);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.6), 0 0 12px rgba(224,149,92,0.35);
  }
}
@media (hover: hover) and (pointer: fine) {
  .v360-thumb-btn:hover .v360-btn-icon-wrap {
    opacity: 1;
    color: var(--amber-hot);
    transform: scale(1.1);
  }
}
@media (hover: hover) and (pointer: fine) {
  .v360-thumb-btn:hover .v360-pill-text {
    color: var(--amber-hot);
    opacity: 1;
  }
}

.v360-thumb-btn.active {
  background: linear-gradient(135deg, rgba(224, 149, 92, 0.32) 0%, rgba(201, 122, 69, 0.2) 100%);
  border-color: var(--amber-hot);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.75),
    0 0 18px rgba(224, 149, 92, 0.45),
    inset 0 0 8px rgba(224, 149, 92, 0.2);
}
.v360-thumb-btn.active .v360-btn-icon-wrap {
  opacity: 1;
  color: #ffffff;
}
.v360-thumb-btn.active .v360-pill-text {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 0 10px rgba(224, 149, 92, 0.85);
}

/* ==========================================================================
   RESPONSIVIDAD MÓVIL: OCULTAR HOTSPOTS Y ACTIVAR DOCK FLOTANTE
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. OCULTAR HOTSPOTS EN MÓVIL (Rendimiento fluido y estética limpia del pixel art) */
  .v360-hotspots-layer,
  .v360-hotspot {
    display: none;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  /* 1B. SISTEMA DE ILUMINACIÓN ARMÓNICA PROFESIONAL EN MÓVIL (COORDINADO & FLUIDO 60 FPS) */
  .casa-light-bloom-layer {
    opacity: 0.92;
  }

  .casa-bloom-light {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    filter: blur(7px);
    transform: translate(-50%, -50%);
  }

  /* --- JERARQUÍA 1: LUZ AMBIENTAL INTERIOR (ARMONÍA Y RESPIRACIÓN MAESTRA UNIFICADA) --- */
  /* Todas las habitaciones interiores comparten el mismo ciclo armónico suave para evitar descoordinación */
  .casa-bloom--habitacion,
  .casa-bloom--pasillo-top,
  .casa-bloom--pasillo-bot,
  .casa-bloom--estudio,
  .casa-bloom--sala {
    animation: casaInteriorMasterGlow 5.5s ease-in-out infinite;
  }

  /* Habitación (Lámpara de noche cálida) */
  .casa-bloom--habitacion {
    width: 62px;
    height: 62px;
    background: radial-gradient(circle, rgba(255, 210, 125, 0.88) 0%, rgba(240, 140, 50, 0.35) 45%, transparent 70%);
  }

  /* Pasillo Superior */
  .casa-bloom--pasillo-top {
    width: 54px;
    height: 54px;
    background: radial-gradient(circle, rgba(255, 220, 145, 0.9) 0%, rgba(240, 150, 60, 0.3) 45%, transparent 70%);
  }

  /* Pasillo Inferior */
  .casa-bloom--pasillo-bot {
    width: 56px;
    height: 56px;
    background: radial-gradient(circle, rgba(255, 220, 145, 0.88) 0%, rgba(240, 150, 60, 0.3) 45%, transparent 70%);
  }

  /* Estudio (Lámpara de escritorio / flexo) */
  .casa-bloom--estudio {
    width: 66px;
    height: 66px;
    background: radial-gradient(circle, rgba(255, 210, 125, 0.88) 0%, rgba(240, 140, 50, 0.35) 45%, transparent 70%);
  }

  /* Sala (Lámpara cálida de pie) */
  .casa-bloom--sala {
    width: 72px;
    height: 72px;
    background: radial-gradient(circle, rgba(255, 200, 115, 0.92) 0%, rgba(240, 135, 45, 0.38) 45%, transparent 70%);
  }

  /* --- JERARQUÍA 2: ACENTOS ORGÁNICOS FOCALES (NEÓN, LLAMAS Y CRT) --- */

  /* Neón "M" del Garaje (Brillo eléctrico continuo con micro-destello sutil característico) */
  .casa-bloom--neon-m {
    width: 72px;
    height: 72px;
    background: radial-gradient(circle, rgba(255, 175, 75, 0.95) 0%, rgba(255, 115, 30, 0.45) 45%, transparent 70%);
    animation: casaNeonOrganico 6.0s ease-in-out infinite;
  }

  /* Vela de la Batería (Llama suave orgánica) */
  .casa-bloom--vela {
    width: 42px;
    height: 42px;
    background: radial-gradient(circle, rgba(255, 215, 130, 0.95) 0%, rgba(255, 140, 40, 0.4) 40%, transparent 70%);
    animation: casaLlamaOrganica 4.2s ease-in-out infinite;
  }

  /* Farol exterior porche derecho */
  .casa-bloom--exterior-farol {
    width: 48px;
    height: 48px;
    background: radial-gradient(circle, rgba(255, 235, 155, 0.95) 0%, rgba(255, 160, 60, 0.4) 45%, transparent 70%);
    animation: casaLlamaOrganica 4.2s ease-in-out infinite 0.6s;
  }

  /* Pantalla de TV CRT en Sala (Resplandor azulado atmosférico y contenido) */
  .casa-bloom--tv {
    width: 52px;
    height: 42px;
    background: radial-gradient(circle, rgba(160, 215, 255, 0.62) 0%, rgba(90, 150, 220, 0.2) 50%, transparent 70%);
    animation: casaTvSuave 4.8s ease-in-out infinite;
  }

  /* KEYFRAMES ARMONIZADOS: Solo variación de brillo (luminancia) sin desplazar ni deformar las ventanas */
  @keyframes casaInteriorMasterGlow {
    0%, 100% {
      opacity: 0.78;
    }
    50% {
      opacity: 0.94;
    }
  }

  @keyframes casaNeonOrganico {
    0%, 34%, 40%, 72%, 100% {
      opacity: 0.92;
    }
    36% {
      opacity: 0.72;
    }
    38% {
      opacity: 0.96;
    }
    74% {
      opacity: 0.82;
    }
    76% {
      opacity: 0.98;
    }
  }

  @keyframes casaLlamaOrganica {
    0%, 100% {
      opacity: 0.78;
    }
    28% {
      opacity: 0.94;
    }
    55% {
      opacity: 0.72;
    }
    78% {
      opacity: 0.90;
    }
  }

  @keyframes casaTvSuave {
    0%, 100% {
      opacity: 0.42;
    }
    45% {
      opacity: 0.65;
    }
    75% {
      opacity: 0.50;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .casa-bloom-light {
      animation: none !important;
      opacity: 0.82 !important;
    }
  }

  /* 1B. Zoom cinematográfico: acercar la Casa interactiva en móviles para resaltar detalles y habitaciones */
  .canvas-360-container {
    width: min(100vw, clamp(280px, 132vw, 540px));
    max-width: 100vw;
    max-height: calc(100dvh - 120px);
    flex-shrink: 0;
    margin: 0 auto;
    padding-bottom: 10px;
  }

  /* 2. Dock Inferior Flotante en Móvil (Cápsula elegante, 60 FPS optimizado) */
  .v360-bottom-dock {
    position: fixed;
    bottom: calc(14px + env(safe-area-inset-bottom, 10px));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 440px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20, 14, 10, 0.96) 0%, rgba(10, 7, 5, 0.98) 100%);
    border: 1px solid rgba(224, 149, 92, 0.35);
    box-shadow:
      0 14px 40px rgba(0, 0, 0, 0.88),
      0 0 24px rgba(224, 149, 92, 0.20),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 7px 6px;
    z-index: 500;
    box-sizing: border-box;
    overflow: hidden;
  }

  .v360-dock-arch {
    display: none;
  }

  /* Pista horizontal continua con scroll táctil suave y snap exacto de 5 botones */
  .v360-dock-buttons-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0;
    margin: 0;
    mask-image: linear-gradient(90deg, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
  }
  .v360-dock-buttons-track::-webkit-scrollbar { display: none; }

  /* Cada botón ocupa exactamente el 20% del viewport visible (exactamente 5 visibles a la vez) */
  .v360-dock-buttons-track .v360-thumb-btn {
    flex: 0 0 20%;
    width: 20%;
    min-width: 20%;
    max-width: 20%;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2px 0;
    box-sizing: border-box;
    scroll-snap-align: center;
    box-shadow: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease;
  }

  .v360-dock-buttons-track .v360-thumb-btn:active {
    transform: scale(0.92);
  }

  /* Icono circular con toque cálido vintage */
  .v360-dock-buttons-track .v360-btn-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(224, 149, 92, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 237, 226, 0.8);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    transition: opacity 0.22s ease, color 0.22s ease, transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    flex-shrink: 0;
  }

  .v360-dock-buttons-track .v360-btn-icon-wrap svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  /* Etiqueta tipográfica clara y legible */
  .v360-dock-buttons-track .v360-pill-text {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(245, 237, 226, 0.72);
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    transition: color 0.22s ease;
  }

  /* Estado ACTIVO para botones laterales */
  .v360-dock-buttons-track .v360-thumb-btn.active .v360-btn-icon-wrap {
    background: radial-gradient(circle, rgba(224, 149, 92, 0.40) 0%, rgba(35, 22, 16, 0.95) 100%);
    border-color: #f5c26b;
    color: #ffffff;
    box-shadow:
      0 0 18px rgba(224, 149, 92, 0.7),
      inset 0 0 10px rgba(224, 149, 92, 0.35);
  }

  .v360-dock-buttons-track .v360-thumb-btn.active .v360-pill-text {
    color: #f5c26b;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(224, 149, 92, 0.7);
  }

  /* BOTÓN CENTRAL HERO: FRENTE (Anillo luminoso y mayor jerarquía como en la referencia) */
  .v360-dock-buttons-track .v360-thumb-btn--center .v360-btn-icon-wrap {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(50, 32, 22, 0.96) 0%, rgba(20, 13, 9, 0.98) 100%);
    border: 2px solid rgba(224, 149, 92, 0.65);
    color: #f5ede2;
    box-shadow:
      0 0 18px rgba(224, 149, 92, 0.45),
      0 6px 18px rgba(0, 0, 0, 0.8);
  }

  .v360-dock-buttons-track .v360-thumb-btn--center .v360-btn-icon-wrap svg {
    width: 24px;
    height: 24px;
  }

  .v360-dock-buttons-track .v360-thumb-btn--center.active .v360-btn-icon-wrap {
    border-color: #f5c26b;
    background: radial-gradient(circle, rgba(72, 42, 28, 0.98) 0%, rgba(26, 16, 11, 0.98) 100%);
    color: #ffffff;
    box-shadow:
      0 0 24px rgba(224, 149, 92, 0.85),
      0 0 35px rgba(245, 194, 107, 0.4),
      inset 0 0 12px rgba(245, 194, 107, 0.35),
      0 8px 24px rgba(0, 0, 0, 0.95);
  }

  .v360-dock-buttons-track .v360-thumb-btn--center .v360-pill-text {
    font-size: 0.66rem;
    font-weight: 800;
    color: #f5c26b;
    letter-spacing: 0.05em;
  }

  /* ─── Dock: columna para indicador encima de los botones ─── */
  .v360-bottom-dock {
    flex-direction: column;
    padding: 5px 6px 5px;
    border-radius: 22px;
    overflow: visible;
    gap: 0;
  }

  /* ── Hint de deslizamiento: sutil y minimal ── */
  .v360-dock-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0 12px 4px;
    width: 100%;
    pointer-events: auto;
  }

  /* "DESLIZA PARA VER MÁS" — aparece y desaparece */
  .v360-indicator-label {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 0.50rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    color: rgba(224, 149, 92, 0.62);
    text-transform: uppercase;
    white-space: nowrap;
    animation: dockHintFade 5.5s ease forwards;
    pointer-events: none;
  }

  /* ── Cluster del slider con flechas ‹ y › ── */
  .v360-slider-cluster {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    user-select: none;
    -webkit-user-select: none;
  }

  .v360-dock-nav-arrow {
    background: transparent;
    border: none;
    color: var(--amber-hot, #e0955c);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .v360-dock-nav-arrow:active {
    transform: scale(0.82);
    opacity: 1;
  }
  .v360-dock-nav-arrow--left {
    animation: arrowPulseLeft 2.2s ease-in-out infinite;
  }
  .v360-dock-nav-arrow--right {
    animation: arrowPulseRight 2.2s ease-in-out infinite;
  }
  @keyframes arrowPulseLeft {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(-2.5px); opacity: 1; }
  }
  @keyframes arrowPulseRight {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(2.5px); opacity: 1; }
  }

  /* Línea delgada tipo slider-bar interactiva persistente */
  .v360-indicator-line {
    display: block;
    width: 56px;
    height: 2px;
    border-radius: 999px;
    background: rgba(224, 149, 92, 0.22);
    position: relative;
    overflow: hidden;
    opacity: 0.85;
    transition: opacity 0.3s ease;
  }

  /* Thumb animado — parte en el centro, va a izq y a der para mostrar que desliza en ambos lados */
  .v360-indicator-thumb {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(18px);   /* Centro: (56 - 20) / 2 */
    height: 100%;
    width: 20px;
    border-radius: 999px;
    background: rgba(224, 149, 92, 0.72);
    animation: dockThumbBounce 2.2s ease-in-out 2 forwards;
    box-shadow: 0 0 5px rgba(224, 149, 92, 0.4);
  }

  @keyframes dockHintFade {
    0%   { opacity: 0; }
    6%   { opacity: 1; }
    72%  { opacity: 1; }
    100% { opacity: 0; }
  }
  /* Centro → izq → centro → der → centro */
  @keyframes dockThumbBounce {
    0%   { transform: translateX(18px); }
    20%  { transform: translateX(0); }
    40%  { transform: translateX(18px); }
    60%  { transform: translateX(36px); }   /* 56 - 20 = 36 */
    80%  { transform: translateX(18px); }
    100% { transform: translateX(18px); }
  }

}

