.duo picture { position: relative; display: block; }
.duo picture::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(130% 100% at 50% 45%, transparent 45%, rgba(0, 0, 0, .55) 100%); }
.sonido {
display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; margin-right: 8px;
border-radius: 99px; border: 1px solid var(--crema-linea); font-family: var(--f-meta); font-size: .95rem; letter-spacing: .18em; text-transform: uppercase;
transition: background-color .3s, border-color .3s;
}
.sonido:hover { background: rgba(236,223,201,.08); }
.sonido[aria-pressed="true"] { border-color: var(--naranja); }
.sonido__barras { display: flex; align-items: center; gap: 2px; height: 16px; }
.sonido__barras span { width: 2px; height: 100%; border-radius: 2px; background: var(--crema); transform: scaleY(.18); transition: transform .4s var(--ease); }
.sonido[aria-pressed="true"] .sonido__barras span { background: var(--naranja-claro); animation: barra-sonido .9s ease-in-out infinite alternate; }
.sonido[aria-pressed="true"] .sonido__barras span:nth-child(2) { animation-duration: .6s; animation-delay: -.2s; }
.sonido[aria-pressed="true"] .sonido__barras span:nth-child(3) { animation-duration: 1.1s; animation-delay: -.5s; }
.sonido[aria-pressed="true"] .sonido__barras span:nth-child(4) { animation-duration: .7s; animation-delay: -.3s; }
.sonido[aria-pressed="true"] .sonido__barras span:nth-child(5) { animation-duration: 1s; animation-delay: -.7s; }
@keyframes barra-sonido { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
@media (max-width: 520px) { .sonido__txt { display: none; } .sonido { padding: 0 14px; } }
.cursor { position: fixed; z-index: 700; top: 0; left: 0; pointer-events: none; }
.cursor__bola {
position: absolute; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
display: grid; place-items: center; background: var(--crema); color: var(--negro);
font-family: var(--f-meta); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
transform: scale(.12); transition: transform .45s var(--ease), background-color .3s; mix-blend-mode: normal;
}
.cursor__bola span { opacity: 0; transition: opacity .2s; }
.cursor.enlace .cursor__bola { transform: scale(.42); background: var(--naranja); }
.cursor.texto .cursor__bola { transform: scale(1); }
.cursor.texto .cursor__bola span { opacity: 1; transition-delay: .1s; }
.cursor.oculto .cursor__bola { transform: scale(0); }
.cursor-propio, .cursor-propio a, .cursor-propio button, .cursor-propio [data-cursor] { cursor: none; }
.cursor-propio input[type="range"] { cursor: pointer; }
.hero__fondo .duo { height: 100%; }
.hero__titulo .letra { display: inline-block; will-change: transform; }
.hero__capa { display: block; will-change: transform; }
.conoce__foto--tercera { position: absolute; z-index: 1; width: 40%; aspect-ratio: 3 / 4; left: -6%; bottom: 14%; border: 6px solid var(--vino); }
.conoce__foto--tercera .duo { height: 100%; }
.bloque__num {
font-family: var(--f-titulo); font-size: clamp(4.2rem, 9vw, 9.5rem); line-height: .8; letter-spacing: 0;
color: transparent; -webkit-text-stroke: 1.4px var(--naranja-claro); text-transform: none;
}
@media (min-width: 900px) { .bloque { grid-template-columns: minmax(150px, 14vw) 1fr 1fr; } .bloque__num { padding-top: 0; } }
.bloque__titulo { transition: transform .5s var(--ease); }
.bloque:hover .bloque__titulo { transform: translateX(10px); }
.bloque:hover .bloque__num { color: rgba(232, 154, 85, .12); }
.bloque__num { transition: color .5s ease; }
.gsap .marquesina__pista { animation: none; will-change: transform; }
.s-mapa { padding: 0; background: #0b090b; overflow: visible; }
.s-mapa::before { display: none; }
.mapa3d { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #0b090b; isolation: isolate; }
.mapa3d__gl { position: absolute; inset: 0; }
.mapa3d__gl .maplibregl-canvas { outline: none; }
.mapa3d__velo { position: absolute; inset: 0; z-index: 2; pointer-events: none;
background: radial-gradient(120% 90% at 50% 55%, transparent 50%, rgba(8,6,8,.75)), linear-gradient(180deg, rgba(8,6,8,.55), transparent 22%, transparent 78%, rgba(8,6,8,.6)); }
.mapa__respaldo { position: absolute; inset: 0; z-index: 1; }
.mapa__respaldo[hidden] { display: none; }
.mapa__respaldo .mapa__vista { position: absolute; inset: 0; height: auto; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.mapa3d__intro { position: relative; z-index: 3; padding: calc(var(--cab) + 40px) var(--m) 40px; background: #0b090b; }
.gsap .mapa3d__intro { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; background: none; pointer-events: none; }
.mapa3d__meta { color: var(--crema-suave); margin-bottom: 18px; }
.mapa3d__titulo { font-family: var(--f-titulo); font-weight: 400; text-transform: uppercase; font-size: clamp(4.4rem, 19vw, 22rem); line-height: .8; color: var(--crema); text-shadow: 0 30px 80px rgba(0,0,0,.6); }
.mapa3d__titulo-2 { margin-left: 18%; }
.mapa3d__textos { display: grid; gap: 14px; max-width: 460px; margin: 28px 0 0 auto; font-size: 1.1rem; line-height: 1.6; text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.mapa3d__baja { margin-top: 26px; color: var(--naranja-claro); }
.sin-gsap .mapa3d__baja { display: none; }
.mapa3d__ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.mapa3d__ui > * { pointer-events: auto; }
.gsap .mapa3d__ui { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.gsap .mapa3d.ui-lista .mapa3d__ui { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.mapa3d .mapa__controles { position: absolute; top: auto; left: var(--m); bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.btn-mapa--texto { width: auto; padding: 0 14px; border-radius: 99px; font-family: var(--f-meta); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }
.btn-mapa[aria-pressed="true"] { background: var(--crema); color: var(--negro); }
.modo-2d .solo-3d { display: none; }
.recorrido { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); }
.recorrido.activo .pildora__circulo { background: var(--vino); }
.mapa3d .mapa__panel { position: absolute; top: calc(var(--cab) + 20px); right: var(--m); bottom: 28px; width: 340px; padding: 20px 14px 14px; }
.mapa__lugar { margin-top: auto; padding: 14px 8px 2px; border-top: 1px solid var(--crema-linea); color: var(--crema-suave); font-size: .9rem; }
.hoja__asa { display: none; }
.mapa3d .tarjeta {
position: absolute; left: calc(var(--m) + 64px); bottom: 100px; top: auto; right: auto;
width: min(620px, calc(100% - 520px)); min-width: 460px;
grid-template-columns: 210px 1fr; gap: 22px; padding: 18px; border-radius: 26px; z-index: 6;
}
.tarjeta__foto { aspect-ratio: auto; height: 100%; min-height: 280px; border-radius: 18px; }
.tarjeta__foto .duo { height: 100%; }
.tarjeta__titulo { font-size: clamp(2rem, 2.6vw, 2.6rem); }
.tarjeta__onda { width: 100%; height: 46px; display: block; }
.tarjeta__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; }
.tarjeta__paso { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--f-sub); font-size: .98rem; }
.tarjeta__paso:hover .pildora__circulo { transform: translateX(3px); }
.tarjeta__paso:first-child:hover .pildora__circulo { transform: translateX(-3px); }
.pildora__circulo--borde { background: transparent; border: 1px solid var(--crema-linea); color: var(--crema); }
.mapa3d__aviso { position: absolute; top: calc(var(--cab) + 20px); left: var(--m); color: var(--crema-suave); }
.marca3d { --c: var(--naranja); --nivel: 0; position: relative; width: 64px; height: 64px; display: grid; place-items: center; cursor: pointer; }
.marca3d__aro {
position: relative; z-index: 2; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
background: rgba(20, 14, 16, .45); border: 1px solid rgba(236,223,201,.45);
-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
box-shadow: 0 12px 30px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.15);
transition: transform .5s var(--ease), border-color .3s;
}
.marca3d__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-family: var(--f-titulo); font-size: 1.05rem; line-height: 1; }
.marca3d__sonar { position: absolute; inset: 7px; border-radius: 50%; border: 1.5px solid var(--c); opacity: 0; animation: sonar 3s cubic-bezier(.2,.6,.3,1) infinite; }
.marca3d__sonar:nth-child(2) { animation-delay: 1s; } .marca3d__sonar:nth-child(3) { animation-delay: 2s; }
@keyframes sonar { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(2.7); opacity: 0; } }
.marca3d__nivel { position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle, var(--c) 0%, transparent 70%); opacity: calc(var(--nivel) * .9); transform: scale(calc(1 + var(--nivel) * 2.2)); pointer-events: none; }
.marca3d__nombre {
position: absolute; left: 50%; bottom: calc(100% - 2px); white-space: nowrap; padding: 6px 12px; border-radius: 99px;
background: rgba(15,12,15,.82); border: 1px solid rgba(236,223,201,.18); font-family: var(--f-meta); font-size: .92rem; letter-spacing: .16em; text-transform: uppercase; color: var(--crema);
opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s, transform .4s var(--ease); pointer-events: none;
}
.marca3d:hover .marca3d__nombre, .marca3d:focus-visible .marca3d__nombre, .marca3d.activo .marca3d__nombre { opacity: 1; transform: translate(-50%, 0); }
.marca3d:hover .marca3d__aro { transform: scale(1.1); }
.marca3d.activo .marca3d__aro { transform: scale(1.22); border-color: #fff; }
.marca3d.sonando .marca3d__sonar { animation-duration: 1.4s; }
.marca3d:focus-visible { outline: none; }
.marca3d:focus-visible .marca3d__aro { box-shadow: 0 0 0 3px var(--naranja-claro); }
.etiqueta3d { font-family: var(--f-meta); font-weight: 500; font-size: 1rem; letter-spacing: .5em; text-transform: uppercase; color: rgba(236,223,201,.72); text-shadow: 0 2px 12px rgba(0,0,0,.9); pointer-events: none; white-space: nowrap; }
.etiqueta3d--rio { color: #9cc8f2; font-size: .9rem; }
.etiqueta3d--grande { font-size: 1.3rem; color: rgba(236,223,201,.85); }
.maplibregl-ctrl-attrib { font-family: var(--f-meta); font-size: .85rem !important; background: rgba(15,12,15,.6) !important; color: var(--crema-suave) !important; }
.maplibregl-ctrl-attrib a { color: var(--crema) !important; }
.maplibregl-ctrl-attrib-button { filter: invert(1); }
.maplibregl-cooperative-gesture-screen { font-family: var(--f-sub); background: rgba(15,12,15,.7) !important; color: var(--crema) !important; }
@media (max-width: 899px) {
.mapa3d .mapa__controles { left: auto; right: 12px; top: calc(var(--cab) + 14px); bottom: auto; }
.recorrido { left: 16px; right: auto; transform: none; bottom: calc(150px + env(safe-area-inset-bottom)); }
.mapa3d .mapa__panel {
top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 72%;
border-radius: 24px 24px 0 0; padding: 6px 14px calc(14px + env(safe-area-inset-bottom));
transform: translateY(calc(100% - 132px)); transition: transform .55s var(--ease);
display: flex; flex-direction: column;
}
.mapa3d .mapa__panel.abierta { transform: none; }
.hoja__asa { display: grid; place-items: center; width: 100%; height: 30px; flex: none; }
.hoja__barra { width: 44px; height: 4px; border-radius: 4px; background: rgba(236,223,201,.4); }
.mapa3d .puntos { display: grid; overflow-y: auto; overflow-x: hidden; scroll-snap-type: none; padding: 10px 0 6px; }
.mapa3d .puntos li { flex: none; }
.mapa3d .punto { background: none; border: 0; }
.mapa3d .tarjeta {
left: 0; right: 0; bottom: 0; width: auto; min-width: 0; max-height: 82%; overflow-y: auto;
border-radius: 24px 24px 0 0; grid-template-columns: 1fr; gap: 14px; padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
}
.mapa3d .tarjeta .tarjeta__foto { min-height: 0; height: 170px; }
.mapa3d .tarjeta__cuerpo { padding-right: 0; }
}
.voces__pista { perspective: 1400px; }
.voz { overflow: visible; background: none; box-shadow: none; border-radius: 0; transform-style: preserve-3d; transition: none; will-change: transform; }
.voz__tarjeta {
position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: #000;
box-shadow: 0 50px 100px rgba(0,0,0,.65);
transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
transition: transform .5s var(--ease);
}
.voz.sonando { transform: none; }
.voz.sonando .voz__tarjeta { --s: 1.04; box-shadow: 0 0 0 1px rgba(232,154,85,.45), 0 60px 120px rgba(0,0,0,.7); }
.voz__brillo { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .4s ease;
background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 236, 214, .22), transparent 55%); mix-blend-mode: screen; }
.voz:hover .voz__brillo { opacity: 1; }
.voces__pista.hay-sonido .voz:not(.sonando) { opacity: .5; }
.memorias__foto { position: relative; overflow: hidden; background: #000; }
.memorias__foto .duo { position: absolute; inset: 0; }
.s-memorias:not(.animada) .memorias__foto .duo:not(:first-child) { display: none; }
.s-memorias.animada .memorias__foto { width: min(40vw, 520px); height: min(46vh, 480px); transform: rotate(-2deg); box-shadow: 0 40px 90px rgba(65,30,20,.45); }
.s-memorias.animada .memorias__frases { margin-top: -6vh; }
.frase .letra { display: inline-block; will-change: transform; }
.frase.m-vino { color: var(--vino); } .frase.m-naranja { color: #9a4f12; } .frase.m-azul { color: var(--azul); }
.frase.m-tierra { color: var(--tierra); } .frase.m-oscuro { color: var(--oscuro); }
.s-memorias.animada .frase { transform-origin: 50% 50%; }
@media (max-width: 899px) { .s-memorias.animada .memorias__foto { width: min(62vw, 300px); height: min(36vh, 360px); } }
.nav a { transition: background-color .3s ease, color .3s ease, transform .3s var(--ease); }
.nav a:active { transform: scale(.96); }
.punto { transition: background-color .3s ease, transform .3s var(--ease); }
.punto:hover { transform: translateX(4px); }
.redes a:active, .btn-mapa:active, .sonido:active { transform: scale(.92); }
[data-magnetico] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
.marca3d__sonar { animation-duration: 6s; }
.sonido[aria-pressed="true"] .sonido__barras span { animation-duration: 2.4s; }
}
.mapa__pines .marca3d { transform: scale(var(--inv, 1)); }
#mapa-gl, .mapa3d__gl.maplibregl-map { position: absolute !important; inset: 0; width: 100%; height: 100%; }
.memorias__arriba, .s-memorias .memorias__foto, .memorias__frases, .memorias__contador { position: relative; z-index: 2; }
@media (max-width: 899px) {
.mapa3d .tarjeta { z-index: 8; max-height: calc(100% - var(--cab) - 24px); background: rgba(18, 12, 14, .92); }
.mapa3d .tarjeta.visible ~ .mapa3d__aviso, .mapa3d__ui:has(.tarjeta.visible) .recorrido { opacity: 0; pointer-events: none; }
.conoce__fotos { margin-bottom: 70px; }
}
@media (max-width: 899px) { .recorrido.con-tarjeta { opacity: 0; pointer-events: none; } }
