:root {
  --bg: #484939;
  --panel: #3c3d30;
  --accent: #b8b48a;
  --text: #ffffff;
  --glass: rgba(28, 29, 22, 0.42);
  --glass-strong: rgba(24, 25, 19, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --muted: rgba(255, 255, 255, 0.66);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #1d1e17; color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; }
.ic { width: 20px; height: 20px; flex: none; }
#app { position: fixed; inset: 0; background: var(--bg); }

/* ---------- Splash ---------- */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(ellipse at center, var(--bg) 0%, #11120d 100%); background: radial-gradient(ellipse at center, color-mix(in srgb, var(--bg) 70%, #000) 0%, #11120d 100%); }
.splash .logo { width: min(320px, 62vw); max-height: 30vh; object-fit: contain; filter: drop-shadow(0 8px 30px rgba(0,0,0,.4)); }
.splash .name { font-family: var(--serif); font-size: clamp(34px, 6vw, 64px); letter-spacing: .02em; }
.splash .bar { position: absolute; left: 50%; bottom: 18vh; width: 160px; height: 1px; margin-left: -80px; background: var(--line); overflow: hidden; }
.splash .bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.splash .curtain { position: absolute; inset: 0; background: var(--bg); transform: translateY(100%); }

/* ---------- Escenario ---------- */
.stage { position: absolute; inset: 0; overflow: hidden; }
.layer { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.backdrop { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) saturate(1.1) brightness(.62); transform: scale(1.1); }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.38) 100%), linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 18%, transparent 78%, rgba(0,0,0,.35) 100%); }
.viewport { position: absolute; inset: 0; }
.frame { position: absolute; will-change: transform; }
.frame > img { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.frame.contain > img { box-shadow: 0 30px 80px rgba(0,0,0,.45); border-radius: 2px; }
.zoomable { cursor: zoom-in; }

/* ---------- Puntos interactivos ---------- */
.hotspots { position: absolute; inset: 0; }
.hs { position: absolute; display: flex; align-items: center; height: 42px; margin: -21px 0 0 -21px; padding: 4px; border-radius: 999px; background: rgba(20,21,15,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 10px 30px rgba(0,0,0,.3); color: #fff; transition: background .35s, border-color .35s; }
.hs-ic { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1d1e17; transition: background .35s; }
.hs-ic .ic { width: 17px; height: 17px; position: relative; }
.hs-pulse { position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: ring 2.4s var(--ease) infinite; }
.hs-lbl { display: grid; grid-template-columns: 0fr; transition: grid-template-columns .45s var(--ease); }
.hs-lbl > span { overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.hs.open .hs-lbl, .hs:hover .hs-lbl, .hs:focus-visible .hs-lbl { grid-template-columns: 1fr; }
.hs.open .hs-lbl > span, .hs:hover .hs-lbl > span { padding: 0 12px 0 10px; }
.hs:hover { background: rgba(20,21,15,.8); border-color: var(--accent); }
.hs:hover .hs-ic { background: var(--accent); }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Barra superior ---------- */
.topbar { position: absolute; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px 48px 22px 128px; background: linear-gradient(180deg, rgba(0,0,0,.42), transparent); pointer-events: none; }
.topbar > * { pointer-events: auto; }
.topbar .brand { display: flex; align-items: center; }
.topbar .brand img { height: 46px; max-width: 190px; object-fit: contain; filter: drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
.topbar .brand span { font-family: var(--serif); font-size: 28px; }
.tools { display: flex; align-items: center; gap: 10px; }
.tool { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.tool:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.tool .ic { width: 18px; height: 18px; }
.tool.wa:hover { background: #25d366; border-color: #25d366; }

/* ---------- Título editorial y capítulos ---------- */
.chapter { position: absolute; z-index: 15; left: 128px; bottom: 54px; max-width: min(46vw, 640px); pointer-events: none; text-shadow: 0 2px 22px rgba(0,0,0,.5); transition: opacity .5s; }
.chapter.off, .next.off, .prev.off, .progress.off { opacity: 0; pointer-events: none; }
.prev.off { display: none; }
.ch-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.ch-num { color: var(--accent); font-variant-numeric: tabular-nums; }
.ch-crumb { color: rgba(255,255,255,.75); }
.ch-crumb:not(:empty)::before { content: '—'; margin-right: 14px; color: var(--muted); }
.chapter h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 68px); line-height: 1; letter-spacing: -.01em; }
.chapter h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; white-space: nowrap; }
.chapter h1 .c { display: inline-block; }
.ch-line { display: block; width: 120px; height: 1px; margin-top: 14px; background: rgba(255,255,255,.6); transform-origin: left; }
.pager { position: absolute; z-index: 16; right: 48px; bottom: 54px; display: flex; align-items: center; gap: 10px; }
.next { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); text-align: left; transition: background .3s, opacity .5s; max-width: 340px; }
.next:hover { background: var(--glass-strong); }
.nx-l { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nx-t { font-family: var(--serif); font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-a { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1d1e17; transition: transform .4s var(--ease), background .3s; }
.next:hover .nx-a { transform: translateX(3px); background: var(--accent); }
.prev { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); transition: background .3s, opacity .5s; }
.prev:hover { background: var(--glass-strong); }
.progress { position: absolute; z-index: 16; left: 128px; right: 48px; bottom: 22px; display: flex; gap: 6px; transition: opacity .5s; }
.seg { position: relative; flex: 1; height: 14px; display: flex; align-items: center; }
.seg i { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.seg::before { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.22); transition: background .3s, height .3s; }
.seg:hover::before { background: rgba(255,255,255,.5); height: 4px; }
.seg-tip { position: absolute; bottom: 18px; left: 50%; transform: translate(-50%, 6px); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--glass-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.seg:hover .seg-tip { opacity: 1; transform: translate(-50%, 0); }
.seg:first-child .seg-tip { left: 0; transform: translate(0, 6px); }
.seg:first-child:hover .seg-tip { transform: translate(0, 0); }
.seg:last-child .seg-tip { left: auto; right: 0; transform: translate(0, 6px); }
.seg:last-child:hover .seg-tip { transform: translate(0, 0); }

/* ---------- Galería ---------- */
.gal-ui { position: absolute; z-index: 12; left: 50%; bottom: 50px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); max-width: calc(100vw - 140px); }
.gal-ui .nav { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .3s; }
.gal-ui .nav:hover { background: rgba(255,255,255,.12); }
.thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { position: relative; width: 58px; height: 38px; flex: none; border-radius: 8px; overflow: hidden; opacity: .5; transition: opacity .3s, transform .3s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.on { opacity: 1; transform: translateY(-2px); outline: 2px solid var(--accent); outline-offset: 1px; }
.thumb:hover { opacity: .9; }
.gal-count { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--muted); padding: 0 6px; flex: none; font-variant-numeric: tabular-nums; }
.gal-progress { position: absolute; left: 22px; right: 22px; bottom: 2px; height: 2px; border-radius: 2px; overflow: hidden; }
.gal-progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Portada ---------- */
.welcome .center { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; padding: 24px; }
.welcome .wlogo-wrap { overflow: hidden; padding: 10px 20px; }
.welcome .wlogo { display: block; width: min(380px, 62vw); max-height: 26vh; object-fit: contain; filter: drop-shadow(0 10px 40px rgba(0,0,0,.5)); }
.welcome h2 .w, .welcome p .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.welcome h2 .w > span, .welcome p .w > span { display: inline-block; }
.wvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wshade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.08) 38%, rgba(0,0,0,.5)); pointer-events: none; }
.welcome h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 7vw, 92px); line-height: 1; text-shadow: 0 6px 40px rgba(0,0,0,.5); }
.welcome p { margin: 0; max-width: 560px; font-size: clamp(14px, 1.4vw, 17px); color: rgba(255,255,255,.86); text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.cta { position: relative; margin-top: 14px; display: inline-flex; align-items: center; gap: 12px; padding: 14px 30px; border-radius: 999px; font-weight: 600; letter-spacing: .04em; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; transition: color .4s, border-color .4s; }
.cta::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.cta:hover { color: #1d1e17; border-color: var(--accent); }
.cta:hover::before { transform: translateY(0); }
.cta .ic { transition: transform .4s var(--ease); }
.cta:hover .ic { transform: translateX(4px); }
.cta-pulse { position: absolute; inset: -1px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); animation: ctaPulse 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes ctaPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35, 1.6); opacity: 0; } }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- 360 / embebidos ---------- */
.pano-box { position: absolute; inset: 0; }
.pano-box .pnlm-container { background: var(--bg); }
.pano-ui { position: absolute; z-index: 12; left: 50%; bottom: 50px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); }
.pano-ui button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.pano-ui button:hover, .pano-ui button.on { background: rgba(255,255,255,.14); }
.drag-hint { position: absolute; z-index: 11; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; gap: 10px; padding: 18px 22px; border-radius: 16px; background: var(--glass-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; font-weight: 600; pointer-events: none; }
.drag-hint .hand { width: 38px; height: 38px; animation: swipe 1.6s ease-in-out infinite; }
@keyframes swipe { 0%, 100% { transform: translateX(-16px); } 50% { transform: translateX(16px); } }
.embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .8s; background: #111; }
.embed.ready { opacity: 1; }
.loader { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--muted); text-align: center; padding: 20px; }
.empty .ic { width: 44px; height: 44px; opacity: .5; }
.empty b { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--text); }

/* ---------- Recorrido 360° ---------- */
.tour-ui { gap: 6px; }
.scene-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: min(640px, 60vw); }
.scene-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; white-space: nowrap; }
.chip:hover { color: var(--text); background: rgba(255,255,255,.08); }
.chip.on { color: #1d1e17; background: var(--accent); }
.pnlm-hotspot-base.tl { width: 54px; height: 54px; margin: -27px 0 0 -27px; cursor: pointer; background: none; }
.tl .tl-dot { position: absolute; inset: 7px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #1d1e17; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .35s var(--ease), background .3s; }
.tl .tl-dot .ic { width: 22px; height: 22px; }
.tl:hover .tl-dot { transform: scale(1.14); background: var(--accent); }
.tl .tl-ring { position: absolute; inset: 7px; border-radius: 50%; border: 2px solid #fff; animation: ring 2.2s var(--ease) infinite; }
.tl .tl-tip { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--glass-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 600; pointer-events: none; }

/* ---------- Contacto ---------- */
.contact-wrap { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr minmax(320px, 440px); align-items: center; gap: 40px; padding: 100px 64px 150px; }
.contact-wrap .pic { height: 100%; max-height: 78vh; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.contact-wrap .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card { padding: 30px; border-radius: 20px; background: var(--glass-strong); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.card h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1.05; }
.card .lead-txt { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.f { display: block; margin-bottom: 12px; }
.f span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.f input, .f textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .3s, background .3s; }
.f input:focus, .f textarea:focus { border-color: var(--accent); background: rgba(255,255,255,.1); }
.f textarea { resize: vertical; min-height: 70px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.45; margin: 4px 0 16px; }
.check input { margin-top: 2px; accent-color: var(--accent); }
.btn-wa { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 12px; background: #25d366; color: #fff; font-weight: 700; letter-spacing: .02em; transition: transform .3s var(--ease), box-shadow .3s; }
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
.btn-wa:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.form-ok { text-align: center; padding: 20px 0; }
.form-ok .ic { width: 48px; height: 48px; color: #25d366; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; }
.modal .scrim { position: absolute; inset: 0; background: rgba(10, 10, 8, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal .box { position: relative; width: min(1200px, 92vw); height: min(780px, 84vh); border-radius: 18px; overflow: hidden; background: var(--bg); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.modal .box.small { width: min(440px, 92vw); height: auto; overflow: visible; background: transparent; box-shadow: none; }
.modal .box .layer { border-radius: inherit; }
.modal .x { position: absolute; z-index: 30; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); transition: transform .4s var(--ease); }
.modal .x:hover { transform: rotate(90deg); }
.modal .mtitle { position: absolute; z-index: 30; top: 18px; left: 22px; font-family: var(--serif); font-size: 28px; text-shadow: 0 2px 14px rgba(0,0,0,.5); pointer-events: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 30px; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); font-size: 14px; font-weight: 600; opacity: 0; transition: .45s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Portafolio (raíz) ---------- */
.portfolio { position: fixed; inset: 0; overflow-y: auto; background: radial-gradient(ellipse at top, #3d3e31, #17180f 70%); }
.portfolio header { padding: 60px 6vw 30px; }
.portfolio header small { letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-size: 12px; font-weight: 700; }
.portfolio header h1 { margin: 10px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 7vw, 96px); line-height: .95; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding: 10px 6vw 70px; }
.pcard { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; text-decoration: none; background: #2a2b22; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.pcard img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover img.cover { transform: scale(1.07); }
.pcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)); }
.pcard .meta { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.pcard .meta b { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1; }
.pcard .meta .go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); transition: background .4s, color .4s; }
.pcard:hover .meta .go { background: #fff; color: #1d1e17; }

/* Pantallas medianas: la galería muestra solo flechas y contador */
@media (max-width: 1200px) and (min-width: 821px) {
  .gal-ui .thumbs { display: none; }
  .scene-chips { max-width: 26vw; }
}
/* ---------- Móvil ---------- */
@media (max-width: 820px) {
  [data-type=contact] .chapter, [data-type=contact] .pager { display: none; }
  .topbar { padding: 14px 16px; }
  .topbar .brand img { height: 36px; max-width: 130px; }
  .tool { width: 38px; height: 38px; }
  .hide-m { display: none; }
        .chapter { left: 18px; right: 84px; bottom: 92px; max-width: none; }
  .chapter h1 { font-size: 34px; }
  .ch-line { width: 64px; margin-top: 10px; }
  .pager { right: 16px; bottom: 92px; }
  .next { padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .next .nx-l, .next .nx-t { display: none; }
  .nx-a { width: 52px; height: 52px; }
  .prev { display: none; }
  .progress { left: 16px; right: 16px; bottom: 8px; gap: 4px; }
  .seg-tip { display: none; }
  .gal-ui, .pano-ui { left: 16px; right: 16px; bottom: 26px; transform: none; max-width: none; justify-content: space-between; }
  .gal-ui .thumbs { flex: 1; }
  .thumb { width: 44px; height: 32px; }
  .scene-chips { max-width: none; flex: 1; }
  .contact-wrap { grid-template-columns: 1fr; padding: 76px 16px 24px; overflow-y: auto; align-items: start; }
  .contact-wrap .pic { display: none; }
  .card { padding: 22px; }
  .hs { height: 36px; margin: -18px 0 0 -18px; padding: 3px; }
  .hs-ic { width: 28px; height: 28px; }
  .hs-ic .ic { width: 15px; height: 15px; }
  .hs-lbl > span { font-size: 12px; }
  .advisor span { display: none; }
  .advisor { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .modal .box { width: 100vw; height: 100dvh; border-radius: 0; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Cortina de marca ---------- */
.curtain { position: absolute; inset: 0; z-index: 26; display: grid; place-items: center; align-content: center; gap: 18px; background: radial-gradient(ellipse at center, var(--bg), var(--bg)); background: radial-gradient(ellipse at center, color-mix(in srgb, var(--bg) 88%, #fff), color-mix(in srgb, var(--bg) 70%, #000)); color: var(--accent); color: color-mix(in srgb, var(--accent) 70%, #fff); pointer-events: none; }
.curtain .mark { width: 90px; height: 150px; display: grid; place-items: center; }
.curtain .mark svg { width: 74px; display: block; }
.sym { display: block; width: 100%; height: 100%; background: currentColor; -webkit-mask: var(--sym) center / contain no-repeat; mask: var(--sym) center / contain no-repeat; }
.curtain .c-name { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); color: #fff; }

/* ---------- Grano tipo película ---------- */
.grain { position: absolute; inset: -50%; z-index: 24; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; z-index: 200; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); pointer-events: none; mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; }
.cursor.hot { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,.9); border-color: transparent; }
.cursor.drag { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-style: dashed; }
.cursor.out { opacity: 0; }

/* ---------- Botones agrupados ---------- */
.more { position: relative; display: flex; align-items: center; }
.more-list { display: flex; gap: 8px; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .5s var(--ease), opacity .35s, margin .5s var(--ease); }
.more.open .more-list { max-width: 120px; opacity: 1; margin-right: 8px; }
.more-btn .dots { display: flex; gap: 3px; }
.more-btn .dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: transform .4s var(--ease); }
.more.open .more-btn .dots i:first-child { transform: translateX(7px); }
.more.open .more-btn .dots i:last-child { transform: translateX(-7px); }
.advisor { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); font-size: 13px; font-weight: 600; transition: background .3s, border-color .3s; }
.advisor:hover { background: #25d366; border-color: #25d366; }
.advisor .ic { width: 18px; height: 18px; }
@media (max-width: 820px) {
  .advisor { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .advisor span { display: none; }
  .more.open .more-list { max-width: 50px; }
}

/* ---------- Barra de íconos ---------- */
.rail { --p: 120px; position: absolute; z-index: 28; left: 16px; top: 16px; bottom: 16px; width: 72px; display: flex; flex-direction: column; align-items: center; }
.rail-bg { position: absolute; inset: 0; border-radius: 24px; background: #f4f1e6; box-shadow: 0 20px 50px rgba(0,0,0,.28);
  -webkit-mask: radial-gradient(circle 37px at 100% var(--p), transparent 36px, #000 37px); mask: radial-gradient(circle 37px at 100% var(--p), transparent 36px, #000 37px); }
.rail-mark { position: relative; width: 40px; height: 62px; margin: 18px 0 4px; color: var(--bg); display: grid; place-items: center; }
.rail-mark svg { display: block; width: 30px; }
.rail-mark .fav { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.rail-items { position: relative; flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 0 14px; }
.ri { position: relative; width: 48px; height: clamp(36px, 5.6vh, 52px); flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--bg); color: color-mix(in srgb, var(--bg) 70%, #3a3a3a); transition: background .25s, color .25s; }
.ri .ic { width: 22px; height: 22px; transition: opacity .25s; }
.ri:hover { background: var(--bg); background: color-mix(in srgb, var(--bg) 10%, transparent); color: var(--bg); color: color-mix(in srgb, var(--bg) 60%, #000); }
.ri.on { background: none; }
.ri.on .ic { opacity: 0; }
.ri-tip { position: absolute; left: calc(100% + 26px); top: 50%; transform: translate(-8px, -50%); white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: rgba(20,21,15,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.ri-tip b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #1d1e17; font-size: 10px; }
.ri.on .ri-tip { left: calc(100% + 40px); }
.ri:hover .ri-tip { opacity: 1; transform: translate(0, -50%); }
.bubble { position: absolute; left: calc(100% - 27px); top: calc(var(--p) - 27px); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #1d1e17; box-shadow: 0 10px 24px rgba(0,0,0,.35); pointer-events: none; }
.bubble .ic { width: 24px; height: 24px; }

/* Panel de subsecciones */
.fly { position: absolute; z-index: 29; left: 132px; width: 270px; max-height: calc(100% - 32px); overflow-y: auto; padding: 16px; border-radius: 20px; background: rgba(20,21,15,.84); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.fly-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.fly-x { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .25s, color .25s; }
.fly-x:hover { background: rgba(255,255,255,.1); color: #fff; }
.fly-x .ic { width: 16px; height: 16px; }
.fly-t { margin: 2px 6px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.fly-i { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; text-align: left; color: rgba(255,255,255,.85); transition: background .25s, color .25s; }
.fly-i .ic { width: 16px; height: 16px; opacity: .35; transition: opacity .25s, transform .3s var(--ease); }
.fly-i:hover { background: rgba(255,255,255,.08); color: #fff; }
.fly-i:hover .ic { opacity: 1; transform: translateX(3px); }
.fly-i.on { background: var(--accent); color: #1d1e17; }
.fly-i.on .ic { opacity: 1; }

@media (max-width: 820px) {
  .topbar { padding: 14px 16px; }
  .rail { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; height: 64px; flex-direction: row; }
  .rail-bg { border-radius: 22px; -webkit-mask: radial-gradient(circle 35px at var(--p) 0%, transparent 34px, #000 35px); mask: radial-gradient(circle 35px at var(--p) 0%, transparent 34px, #000 35px); }
  .rail-mark { display: none; }
  .rail-items { flex-direction: row; justify-content: flex-start; overflow-x: auto; overflow-y: hidden; padding: 0 8px; gap: 2px; height: 100%; scrollbar-width: none; }
  .rail-items::-webkit-scrollbar { display: none; }
  .ri { width: 50px; height: 50px; }
  .ri-tip { display: none; }
  .bubble { left: calc(var(--p) - 25px); top: -25px; width: 50px; height: 50px; }
  .fly { left: 12px; right: 12px; bottom: 98px; width: auto; max-height: 55vh; }
  .chapter { left: 18px; bottom: 176px; }
  .pager { bottom: 176px; }
  .progress { display: none; }
  .gal-ui, .pano-ui { bottom: 104px; }
  .contact-wrap { padding-bottom: 110px; }
}

/* Aviso para arrastrar imágenes anchas en celular */
.pan-hint { position: absolute; z-index: 14; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(20,21,15,.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; pointer-events: none; white-space: nowrap; }
.pan-hint .ic { width: 16px; height: 16px; }

/* ================= Efectos de galería ================= */
.fx-zone { position: absolute; z-index: 5; }
.fx { position: absolute; inset: 0; user-select: none; -webkit-user-select: none; }
.fx img { -webkit-user-drag: none; }
.fx-cap { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; text-shadow: 0 2px 14px rgba(0,0,0,.6); z-index: 3001; }
.fx-cap-t { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; min-height: 1.1em; }
.fx-cap-n { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Carrusel circular */
.fx-circ { overflow: hidden; touch-action: pan-y; cursor: grab; }
.fx-circ:active { cursor: grabbing; }
.fx-circ-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.fx-circ-cam, .fx-circ-ring { position: relative; width: 0; height: 0; transform-style: preserve-3d; }
.fx-circ-card { position: absolute; left: 0; top: 0; border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 20px 50px rgba(0,0,0,.35); cursor: pointer; }
.fx-circ-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.fx-shade { position: absolute; inset: 0; background: var(--bg); background: color-mix(in srgb, var(--bg) 70%, #000); opacity: var(--fx-depth, 0); pointer-events: none; }

/* Carrusel de profundidad */
.fx-depth { perspective: var(--fx-persp, 1400px); touch-action: pan-y; }
.fx-depth-stage { position: absolute; inset: 0 0 70px; transform-style: preserve-3d; cursor: grab; }
.fx-depth-card { position: absolute; left: 50%; top: 50%; border-radius: 18px; overflow: hidden; background: #0b0d12; box-shadow: 0 30px 60px -20px rgba(0,0,0,.65), 0 8px 20px -10px rgba(0,0,0,.5); will-change: transform, opacity, filter; cursor: pointer; transform: translate(-50%, -50%); }
.fx-depth-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.fx-tint { position: absolute; inset: 0; background: var(--bg); background: color-mix(in srgb, var(--bg) 60%, #000); mix-blend-mode: multiply; opacity: 0; pointer-events: none; }
.fx-depth-ui { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3000; display: flex; align-items: center; gap: 12px; }
.fx-arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); transition: background .25s; }
.fx-arrow:hover { background: var(--glass-strong); }
.fx-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-dots { display: flex; gap: 7px; padding: 9px 12px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fx-dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.35); transition: width .3s, background .3s; }
.fx-dot.on { width: 20px; background: var(--accent); }
.fx-depth .fx-cap { bottom: 88px; }

/* Muro en movimiento */
.fx-wall { overflow: hidden; perspective: 1200px;
  -webkit-mask-image: radial-gradient(ellipse 80% 82% at 50% 48%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 80% 82% at 50% 48%, #000 40%, transparent 100%); }
.fx-wall-plane { position: absolute; top: 50%; left: 50%; display: flex; transform-style: preserve-3d; cursor: pointer; }
.fx-wall-col { width: calc(var(--fx-tw) + var(--fx-gap)); transform-style: preserve-3d; }
.fx-wall-track { display: flex; flex-direction: column; will-change: transform; transform-style: preserve-3d; }
.fx-wall-tile { position: relative; height: calc(var(--fx-th) + var(--fx-gap)); flex: none; transform-style: preserve-3d; }
.fx-wall-tile > span { position: absolute; inset: calc(var(--fx-gap) / 2); border-radius: 14px; overflow: hidden; background: #0b0b12; opacity: .6; transform: translateZ(0); pointer-events: none; transition: transform .42s var(--ease), opacity .42s var(--ease), box-shadow .42s var(--ease); }
.fx-wall-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-wall-tile.on > span { opacity: 1; transform: translateZ(64px); box-shadow: 0 24px 60px -18px rgba(0,0,0,.7); }

/* Acordeón */
.fx-acc { display: flex; align-items: center; }
.fx-acc-row { display: flex; gap: 10px; width: 100%; height: min(100%, 560px); perspective: 1400px; }
.fx-acc.vertical .fx-acc-row { flex-direction: column; height: 100%; }
.fx-acc-panel { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; border-radius: 16px; background: #0a0a0a; box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); transform-style: preserve-3d; padding: 0; text-align: left; }
.fx-acc-frame { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.fx-acc-media { --fx-gray: 1; --fx-dim: .35; position: absolute; top: 50%; left: 50%; width: var(--fx-media, 320px); height: 100%; filter: grayscale(var(--fx-gray)); }
.fx-acc.vertical .fx-acc-media { width: 100%; height: var(--fx-media, 320px); }
.fx-acc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-acc-ov { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--bg) 80%, transparent) 100%), color-mix(in srgb, var(--bg) calc(var(--fx-dim, .35) * 100%), transparent); }
.fx-acc-panel.on .fx-acc-ov { --fx-dim: 0; }
.fx-acc-label { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; pointer-events: none; }
.fx-acc-bar { width: 3px; height: 26px; border-radius: 3px; background: var(--accent); opacity: 0; box-shadow: 0 0 12px var(--accent); flex: none; }
.fx-acc-text { font-family: var(--serif); font-size: clamp(20px, 2vw, 30px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; text-shadow: 0 2px 14px rgba(0,0,0,.55); }

/* ================= Entorno 360: puntos de referencia ================= */
.pnlm-hotspot-base.poi { width: 0; height: 0; cursor: pointer; background: none; }
.poi.off { display: none !important; }
.poi-in { position: absolute; left: 0; bottom: -7px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.poi-card { pointer-events: auto; padding: 8px 14px; border-radius: 6px; background: #fff; color: #1d1e17; font-family: var(--sans); font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.35); border-bottom: 3px solid var(--poi); opacity: 0; transform: translateY(14px) scale(.88); transition: opacity .45s var(--ease) .28s, transform .55s var(--ease) .28s; }
.poi-card.img { padding: 10px 16px; background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, #000); }
.poi-card.img img { display: block; height: 46px; max-width: 170px; object-fit: contain; }
.poi-line { width: 2px; background: linear-gradient(var(--poi), rgba(255,255,255,.85)); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease) .05s; }
.poi-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--poi); box-shadow: 0 0 0 4px var(--poi); box-shadow: 0 0 0 4px color-mix(in srgb, var(--poi) 30%, transparent); transform: scale(0); transition: transform .4s var(--ease); }
.poi-dot::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--poi); opacity: 0; }
.poi.in .poi-card { opacity: 1; transform: none; }
.poi.in .poi-line { transform: scaleY(1); }
.poi.in .poi-dot { transform: scale(1); }
.poi.in .poi-dot::after { animation: ring 2.4s var(--ease) infinite .8s; }
.poi.pulse .poi-card { animation: poiPulse 1.2s var(--ease) 1.1s 2; }
@keyframes poiPulse { 50% { transform: scale(1.12); box-shadow: 0 0 0 6px var(--poi), 0 10px 30px rgba(0,0,0,.35); box-shadow: 0 0 0 6px color-mix(in srgb, var(--poi) 45%, transparent), 0 10px 30px rgba(0,0,0,.35); } }

.poi-chips { position: absolute; z-index: 16; top: 88px; right: 48px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
.poi-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--glass-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); transition: color .25s, border-color .25s; }
.poi-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--poi); opacity: .35; transition: opacity .25s; }
.poi-chip.on { color: var(--text); border-color: var(--poi); border-color: color-mix(in srgb, var(--poi) 60%, transparent); }
.poi-chip.on i { opacity: 1; }

.poi-bar { align-items: center; gap: 8px; padding: 6px 8px; }
.rl { width: min(440px, 40vw); padding: 0 6px; cursor: pointer; }
.rl-track { position: relative; height: 34px; }
.rl-tick { position: absolute; bottom: 9px; width: 1px; height: 6px; background: rgba(255,255,255,.3); }
.rl-tick.big { height: 12px; background: rgba(255,255,255,.55); }
.poi-bar .rl-dot { position: absolute; top: 50%; width: 11px; height: 11px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--poi); border: 2px solid rgba(0,0,0,.35); transition: transform .3s var(--ease), opacity .3s; z-index: 2; }
.poi-bar .rl-dot:hover, .poi-bar .rl-dot.seen { transform: scale(1.35); }
.poi-bar .rl-dot.home { width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 3px solid #fff; }
.poi-bar .rl-dot.off { opacity: 0; pointer-events: none; }
.rl-win { position: absolute; top: 2px; bottom: 2px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.85); background: rgba(255,255,255,.08); pointer-events: none; }
.poi-home { display: inline-flex !important; align-items: center; gap: 8px; width: auto !important; height: 40px; padding: 0 16px 0 12px; border-radius: 999px !important; background: var(--accent) !important; color: #1d1e17; font-size: 13px; font-weight: 700; white-space: nowrap; }
.poi-home .ic { width: 16px; height: 16px; }
@media (max-width: 820px) {
  .poi-chips { top: 66px; left: 12px; right: 12px; max-width: none; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .poi-chip { flex: none; height: 30px; font-size: 12px; }
  .poi-bar { flex-wrap: wrap; justify-content: center; border-radius: 22px; }
  .rl { width: auto; flex: 1; min-width: 160px; }
  .poi-home span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
  .poi-card { font-size: 12px; padding: 6px 10px; }
  .poi-card.img img { height: 32px; max-width: 120px; }
}

/* ================= Audio de la sección ================= */
.audio-btn { position: absolute; z-index: 29; top: 92px; left: 128px; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); overflow: hidden; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.audio-btn::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--accent); animation: ctaPulse 2.6s var(--ease) infinite; pointer-events: none; }
.audio-btn.playing::before { display: none; }
.ab-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #1d1e17; flex: none; }
.ab-ic .ic { width: 15px; height: 15px; }
.ab-eq { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.ab-eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--accent); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.ab-eq i:nth-child(2) { animation-delay: -.3s; } .ab-eq i:nth-child(3) { animation-delay: -.6s; } .ab-eq i:nth-child(4) { animation-delay: -.15s; }
.audio-btn.playing .ab-eq { display: inline-flex; }
.ab-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.12); }
.ab-prog i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@media (max-width: 820px) { .audio-btn { top: 66px; left: 16px; height: 40px; font-size: 13px; } }
@media (max-width: 820px) { .has-audio .poi-chips { top: 114px; } }
/* La regla del entorno no debe tapar el título ni "Siguiente" */
@media (min-width: 821px) and (max-width: 1500px) { .poi-bar { bottom: 168px; } }
@media (max-width: 820px) {
  .poi-bar { flex-wrap: nowrap; left: 12px; right: 12px; transform: none; }
  .poi-bar [data-t="in"], .poi-bar [data-t="out"] { display: none !important; }
  .poi-home { padding: 0 12px !important; }
  .poi-home span { display: none; }
}
/* Efecto enlazado a subsecciones: indicar que cada tarjeta abre su zona */
.fx-links .fx-circ-card::after, .fx-links .fx-depth-card::after { content: 'Ver zona →'; position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(20,21,15,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 700; }
.fx-links .fx-cap-t { font-size: clamp(24px, 2.6vw, 36px); }
