/**
 * FJ Intelligence — Mapa interactivo · v2.0
 * Prefijo .fj- en todo lo que vive fuera del SVG para no colisionar con Salient.
 */

 :root {
  --fj-bg: #f6f4ee;
  --fj-ink: #1E1E1C;
  --fj-line: #dcd9cf;
  --fj-muted: #75756e;
  --fj-fut: #54708C;
  --fj-int: #4A6159;
  --fj-smc: #C99B45;
  --fj-serif: "Quarto A", "Quarto B", Georgia, serif;
}

/* ---------- contenedor ---------- */
.fj-mapa { position: relative; }
.fj-mapa svg { width: 100%; height: auto; display: block; overflow: visible; }

/* modo panel lateral (sección y servicio) */
.fj-mapa-panel {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--fj-map-w, 400px);
  z-index: 20; border-right: 1px solid var(--fj-line); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: width .5s cubic-bezier(.22,.61,.36,1), background .45s;
}
.fj-mapa-panel svg { max-height: 78vh; transition: opacity .35s, transform .5s cubic-bezier(.22,.61,.36,1); }
.fj-mapa-panel.fj-collapsed { width: 54px; cursor: pointer; background: #efece2; }
.fj-mapa-panel.fj-collapsed svg { opacity: 0; pointer-events: none; transform: scale(.94); }

/* Recuadro gris de Salient en Smart Cities e hijas */
html body.fj-con-mapa.material .ocm-effect-wrap,
html body.fj-con-mapa.material .ocm-effect-wrap #ajax-content-wrap,
html body.fj-con-mapa.material .ocm-effect-wrap #ajax-content-wrap .container-wrap {
  background: #f6f4ee !important;
  background-color: #f6f4ee !important;
}
.fj-mapa-panel.fj-collapsed .fj-here,
body.fj-con-mapa .fj-here,
.fj-mapa-panel .fj-here {
  display: none !important;
}

@media (min-width: 901px) {
  body.fj-con-mapa .container-wrap,
  body.fj-con-mapa #footer-outer { padding-left: var(--fj-map-w, 400px); transition: padding-left .5s cubic-bezier(.22,.61,.36,1); }
  html.fj-mapa-plegado body.fj-con-mapa .container-wrap,
  html.fj-mapa-plegado body.fj-con-mapa #footer-outer { padding-left: 54px; }
}

/* ---------- "estás en" ---------- */
.fj-here {
  position: absolute; top: 18px; left: 22px; right: 52px; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fj-muted); transition: opacity .3s; line-height: 1.5;
  white-space: normal; overflow-wrap: normal;
}

/* ---------- botón plegar + carril ---------- */
.fj-toggle {
  position: absolute; top: 14px; right: 11px; z-index: 6; width: 30px; height: 30px;
  border-radius: 50%; background: transparent; border: 0; cursor: pointer;
  font-size: 18px; line-height: 1; color: #a8a599; padding: 0 0 2px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s, box-shadow .25s,
              right .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1);
}
.fj-toggle:hover { background: #fff; color: var(--fj-ink); box-shadow: 0 4px 14px rgba(30,30,28,.12); }
.fj-collapsed .fj-toggle { right: 50%; transform: translateX(50%); }

.fj-rail-dots {
  position: absolute; top: 66px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px; opacity: 0;
  transition: opacity .3s; pointer-events: none;
}
.fj-rail-dots i { width: 6px; height: 6px; border-radius: 50%; display: block; }
.fj-rail-label {
  position: absolute; top: 112px; left: 50%; transform: translateX(-50%);
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: #a8a599; opacity: 0; transition: opacity .3s; pointer-events: none;
}
.fj-collapsed .fj-rail-label, .fj-collapsed .fj-rail-dots { opacity: 1; transition: opacity .5s .35s; }

/* ---------- SVG ---------- */
.fj-mapa .orbit, .fj-msheet .orbit { fill: none; stroke: #d8d5ca; stroke-width: 1; }
.fj-mapa .link,  .fj-msheet .link  { fill: none; stroke: #c9c6ba; stroke-width: 1; opacity: .8; }
.fj-mapa .node,  .fj-msheet .node  { cursor: pointer; outline: none; }
.fj-mapa .nlabel, .fj-msheet .nlabel {
  font-size: 13px; fill: var(--fj-ink); pointer-events: none;
  /* halo: el texto siempre lee, pase por donde pase */
  paint-order: stroke fill; stroke: var(--fj-bg); stroke-width: 3.5px; stroke-linejoin: round;
}
.fj-mapa .nlabel.hub { font-size: 15.5px; font-weight: 500; }
.fj-mapa .dim { opacity: .16; transition: opacity .5s; }
.fj-mapa .gLayer { transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.fj-mapa .halo { animation: fjBreathe 4.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fjBreathe {
  0%,100% { transform: scale(1);   opacity: .18; }
  50%     { transform: scale(1.4); opacity: .06; }
}
/* anillo de foco de teclado: círculo exacto, solo con :focus-visible */
.fj-mapa .fring { opacity: 0; }
.fj-mapa .node:focus-visible .fring { opacity: 1; }
/* etiquetas del hero: más legibles (revisión home) */
.fj-mapa[data-modo="home"] .nlabel { font-size: 17.5px; }
.fj-mapa[data-modo="home"] .nlabel.hub { font-size: 21px; font-weight: 600; }
/* escena iluminada: cuando un pilar señala su área, el resto se retira */
.fj-mapa svg.fj-spot g.node { transition: opacity .5s; }
.fj-mapa svg.fj-spot g.node:not(.spot-on) { opacity: .13; }
.fj-mapa svg.fj-spot path.link { opacity: .13; transition: opacity .5s; }
.fj-mapa svg.fj-spot image { opacity: .28 !important; transition: opacity .5s; }
.fj-mapa svg.fj-spot .ghost { opacity: .12 !important; transition: opacity .5s; }

/* ---------- tooltip ---------- */
.fj-tip {
  position: fixed; z-index: 9999; pointer-events: none; opacity: 0;
  transform: translateY(6px) scale(.98); max-width: 250px;
  transition: opacity .22s cubic-bezier(.2,.6,.2,1), transform .22s cubic-bezier(.2,.6,.2,1);
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.65); border-radius: 14px;
  padding: 13px 15px; box-shadow: 0 14px 38px rgba(30,30,28,.16);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
}
.fj-tip.on { opacity: 1; transform: translateY(0) scale(1); }
.fj-tip-type { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.fj-tip-name { font-size: 14.5px; font-weight: 500; margin-bottom: 4px; color: var(--fj-ink); }
.fj-tip-desc { font-size: 12px; color: var(--fj-muted); line-height: 1.5; }

/* ---------- filtros (mapa completo) ---------- */
.fj-filtros { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.fj-filtros button {
  border: 1px solid var(--fj-line); background: #fff; font-size: 12.5px; padding: 7px 15px;
  border-radius: 999px; cursor: pointer; color: var(--fj-ink); transition: all .2s;
}
.fj-filtros button.on { background: var(--fj-ink); color: var(--fj-bg); border-color: var(--fj-ink); }
.fj-leyenda { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 12.5px; color: var(--fj-muted); margin-bottom: 6px; }
.fj-leyenda span { display: inline-flex; align-items: center; gap: 7px; }
.fj-leyenda i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* ---------- sección activa (scroll-spy) ----------
   Punto del color de la rama, alineado al título (h2/h3). */
[class*="fj-node-"] { position: relative; }
[class*="fj-node-"] :is(h2, h3) { position: relative; }
[class*="fj-node-"] :is(h2, h3)::before {
  content: ''; position: absolute; left: -30px; top: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fj-dot, var(--fj-ink));
  opacity: 0; transform: translateY(-50%) scale(.3);
  transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
[class*="fj-node-"].fj-active :is(h2, h3)::before {
  opacity: 1; transform: translateY(-50%) scale(1);
}
/* ---------- vídeo ambiental ---------- */
.fj-video {
  position: relative; aspect-ratio: var(--fj-video-ratio, 21/9); border-radius: 18px; overflow: hidden;
  margin: 38px 0 46px; background: #e7e3d8; box-shadow: 0 18px 44px rgba(30,30,28,.12);
  width: 100%;
}
/* Cubre el hueco; !important frente a Salient .iframe-embed (width/height 0) */
.fj-video iframe,
.fj-video .fj-video-frame,
.fj-video iframe.iframe-embed {
  position: absolute !important; inset: 0 !important; top: 0 !important; left: 0 !important;
  transform: none !important; border: 0 !important; pointer-events: none !important;
  width: 100% !important; height: 100% !important; min-width: 100% !important; min-height: 100% !important;
  max-width: none !important; aspect-ratio: auto !important;
}
/* banda móvil con claim: oculto en escritorio */
.fj-banda { display: none; }

/* =========================================================
   PORTADA — héroe en dos columnas + leyenda de áreas
   ========================================================= */
.fj-portada { background: var(--fj-bg); }
.fj-hero {
  position: relative; display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.25fr);
  align-items: center; gap: 36px; max-width: 1500px; margin: 0 auto;
  padding: 4vh 40px 6vh; min-height: min(86vh, 860px);
}
.fj-hero-head { position: relative; text-align: left; padding-left: 0; }
.fj-eyebrow {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fj-muted); margin: 0 0 26px;
}
.fj-eb-sep { margin: 0 12px; }
.fj-hero-title {
  font-family: var(--fj-serif); font-weight: 500; font-size: clamp(47px, 5.2vw, 90px);
  line-height: 1; letter-spacing: -.2px; margin: 0; color: var(--fj-ink);
}
.fj-hl { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.fj-hl i { display: block; font-style: normal; white-space: nowrap; transform: translateY(112%);
  animation: fjHrise 1s cubic-bezier(.22,.61,.36,1) .1s forwards; }
.fj-hl:nth-child(2) i { animation-delay: .24s; }
@keyframes fjHrise { to { transform: none; } }
.fj-hero-radar { position: relative; display: flex; justify-content: center; padding: 40px; }
.fj-hero-radar .fj-mapa { width: 100%; max-width: 820px; }
.fj-hero-radar svg { width: 100%; height: auto; }
.fj-mcue { display: none; }

/* leyenda de áreas bajo el héroe — retirada (revisión home) */
.fj-pillars {
  display: none !important;
}
.fj-pillar { cursor: pointer; text-decoration: none; color: var(--fj-ink);
  transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.fj-pillar:hover { transform: translateY(-3px); }
.fj-pillar, .fj-pillar:hover { box-shadow: none; }
.fj-pname { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.fj-pname i { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; }
.fj-pillar:hover .fj-pname i { transform: scale(1.3); box-shadow: 0 0 0 5px rgba(30,30,28,.06); }
.fj-parr { display: inline-block; font-size: 14px; font-weight: 400; opacity: 0; transform: translateX(-7px);
  transition: opacity .3s, transform .4s cubic-bezier(.22,.61,.36,1); }
.fj-pillar:hover .fj-parr { opacity: .85; transform: none; }
.fj-pdesc { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.55;
  color: var(--fj-muted); max-width: 34ch; transition: color .3s; text-align: start !important; }
.fj-pillar:hover .fj-pdesc { color: #4a4842; }
/* entrada escalonada: primero el titular, luego las áreas una a una */
.fj-pname, .fj-pdesc { opacity: 0; animation: fjPrise .8s cubic-bezier(.22,.61,.36,1) forwards; }
.fj-pillar:nth-child(1) .fj-pname { animation-delay: .55s; } .fj-pillar:nth-child(1) .fj-pdesc { animation-delay: .62s; }
.fj-pillar:nth-child(2) .fj-pname { animation-delay: .72s; } .fj-pillar:nth-child(2) .fj-pdesc { animation-delay: .79s; }
.fj-pillar:nth-child(3) .fj-pname { animation-delay: .89s; } .fj-pillar:nth-child(3) .fj-pdesc { animation-delay: .96s; }
@keyframes fjPrise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* =========================================================
   PORTADA — secciones bajo el héroe (bloques Raw HTML del LEEME)
   ========================================================= */
.fj-hs { max-width: 1400px; margin: 0 auto; padding: 88px 48px 96px; border-top: 1px solid var(--fj-line); }
.fj-kicker { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fj-muted); margin: 0 0 20px; }
.fj-hs-title { font-family: var(--fj-serif); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; margin: 0 0 18px; color: var(--fj-ink); }
.fj-hs-lede { font-size: 16.5px; line-height: 1.7; color: #3a3a36; max-width: 58ch; margin: 0; }
/* bloques de área */
.fj-area-futuros { --fj-ab: var(--fj-fut); } .fj-area-inteligencia { --fj-ab: var(--fj-int); } .fj-area-smart { --fj-ab: var(--fj-smc); }
.fj-area-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 72px; align-items: start; }
.fj-area-title { font-family: var(--fj-serif); font-weight: 400; font-size: clamp(30px,3vw,44px); margin: 0 0 28px; color: var(--fj-ink); }
.fj-area-lede { font-size: 19px; line-height: 1.55; color: #3a3a36; max-width: 46ch; margin: 0 0 20px; }
.fj-area-txt p:not(.fj-area-lede) { font-size: 15.5px; line-height: 1.75; color: #4a4842; max-width: 52ch; margin: 0 0 14px; }
.fj-area-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--fj-ink);
  cursor: pointer; text-decoration: none; border-bottom: 1.5px solid var(--fj-line); padding-bottom: 2px; transition: border-color .25s; }
.fj-area-link:hover { border-color: var(--fj-ab); color: var(--fj-ink); }
.fj-area-svcs { list-style: none; margin: 0; padding: 10px 0 0; }
.fj-area-svcs li { list-style: none; margin: 0; }
.fj-area-svcs a { display: flex; align-items: center; gap: 18px; padding: 14px 0; font-size: 13.5px;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--fj-ink); cursor: pointer; }
.fj-area-svcs i { width: 26px; height: 2px; background: var(--fj-ab); flex: 0 0 26px;
  transition: width .35s cubic-bezier(.22,.61,.36,1); }
.fj-area-svcs a:hover i { width: 42px; }
/* método */
.fj-met-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 56px; margin-top: 56px; }
.fj-met-n { font-family: var(--fj-serif); font-size: 15px; color: var(--fj-muted); letter-spacing: .08em;
  display: block; padding-top: 14px; border-top: 1px solid var(--fj-line); }
.fj-met-step h3 { font-size: 17px; font-weight: 600; margin: 14px 0 10px; color: var(--fj-ink); }
.fj-met-step p { font-size: 15px; line-height: 1.7; color: #3a3a36; margin: 0; }
/* casos */
.fj-caso-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 56px; margin-top: 52px; }
.fj-caso { display: block; text-decoration: none; color: inherit; border-top: 1px solid var(--fj-line);
  padding-top: 18px; transition: transform .45s cubic-bezier(.22,.61,.36,1); box-shadow: none; }
.fj-caso:hover { transform: translateY(-4px); }
.fj-caso-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fj-muted); }
.fj-caso-meta i { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.fj-caso p { font-size: 15px; line-height: 1.7; color: #3a3a36; margin: 14px 0 16px; }
.fj-caso-link { font-size: 13.5px; font-weight: 500; color: var(--fj-ink);
  border-bottom: 1.5px solid var(--fj-line); padding-bottom: 2px; transition: border-color .25s; }
.fj-caso:hover .fj-caso-link { border-color: var(--fj-ink); }
.fj-caso-nota { font-size: 13px; color: var(--fj-muted); margin-top: 44px; line-height: 1.6; }
.fj-caso-nota a { color: inherit; }
/* pensamiento */
.fj-pen-list { margin-top: 44px; border-top: 1px solid var(--fj-line); }
.fj-pen-row { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 26px;
  padding: 22px 0; border-bottom: 1px solid var(--fj-line); text-decoration: none; color: var(--fj-ink); }
.fj-pen-tag { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fj-muted); }
.fj-pen-tag i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.fj-pen-t { font-family: var(--fj-serif); font-size: 20px; line-height: 1.3; }
.fj-pen-arrow { font-size: 16px; transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.fj-pen-row:hover .fj-pen-arrow { transform: translateX(5px); }
/* CTA final */
.fj-hs-cta { border-top: 0; padding-top: 0; }
.fj-cta-final { margin-top: 0; padding: 46px 44px; background: #eceadf; border-radius: 18px; }
.fj-cta-q { font-family: var(--fj-serif); font-size: 27px; line-height: 1.3; margin: 0 0 20px; max-width: 24ch; color: var(--fj-ink); }
.fj-cta-btn { display: inline-block; font-size: 14.5px; font-weight: 500; color: var(--fj-ink);
  text-decoration: none; border-bottom: 1.5px solid var(--fj-smc); padding-bottom: 3px;
  transition: color .25s; }
.fj-cta-btn:hover { color: var(--fj-smc); }
/* revelado suave */
.fj-rev { opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.fj-rev.on { opacity: 1; transform: none; }

/* =========================================================
   MÓVIL (<=900px)
   ========================================================= */
@media (max-width: 900px) {
  .fj-mapa-panel { display: none !important; }
  body.fj-con-mapa .container-wrap { padding-bottom: 70px; }
  .fj-video { aspect-ratio: 16/9; border-radius: 14px; margin: 26px 0 34px; }
  .fj-tip { display: none; }
  [class*="fj-node-"] :is(h2, h3)::before { display: none; }

  /* --- portada: el héroe es una escena — una pantalla, una idea --- */
  .fj-hero { display: flex; flex-direction: column; gap: 0; align-items: stretch;
    min-height: 86svh; padding: 30px 0 10px; }
  .fj-hero-head { padding: 0 22px; }
  .fj-eyebrow { margin-bottom: 18px; font-size: 10px; letter-spacing: .16em; }
  .fj-eyebrow span { display: block; line-height: 1.8; }
  .fj-eyebrow .fj-eb-sep { display: none; }
  .fj-hero-title { font-size: clamp(34px, 9.2vw, 42px); }
  .fj-hero-radar { flex: 1; display: flex; align-items: center; justify-content: center;
    min-height: 0; margin: 12px 0 8px; padding: 0; }
  .fj-hero-radar .fj-mapa { max-width: none; width: 100%; }
  .fj-mcue { display: block; text-align: center; padding: 10px 0 6px; font-size: 10.5px;
    letter-spacing: .22em; text-transform: uppercase; color: var(--fj-muted); }
  .fj-mcue-a { display: inline-block; margin-left: 9px; animation: fjBob 2.1s ease-in-out 1.2s infinite; }

  /* --- radar home móvil: solo 3 hubs; etiquetas legibles --- */
  .fj-mapa[data-modo="home"] .nlabel,
  .fj-mapa[data-modo="home"] .nlabel.hub { font-size: 22px; font-weight: 600; }
  .fj-pillar { --fj-pc: var(--fj-ink); border-radius: 22px; padding: 28px 24px 26px;
    border: 1px solid color-mix(in srgb, var(--fj-pc) 24%, #E3DFD2);
    background: radial-gradient(130% 150% at 100% 0%, color-mix(in srgb, var(--fj-pc) 11%, #F1EEE3) 0%, #F1EEE3 62%);
    opacity: 0; transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
  .fj-pillar.on { opacity: 1; transform: none; }
  .fj-pillar:nth-child(2) { transition-delay: .08s; }
  .fj-pillar:nth-child(3) { transition-delay: .16s; }
  .fj-pillar[data-hub="futuros"] { --fj-pc: var(--fj-fut); }
  .fj-pillar[data-hub="inteligencia"] { --fj-pc: var(--fj-int); }
  .fj-pillar[data-hub="smart"] { --fj-pc: var(--fj-smc); }
  .fj-pillar .fj-pname, .fj-pillar .fj-pdesc { animation: none; opacity: 1; }
  .fj-pname { font-family: var(--fj-serif); font-size: 26px; font-weight: 400; gap: 13px; letter-spacing: 0; }
  .fj-pname i { width: 10px; height: 10px; flex: 0 0 10px; }
  .fj-parr { opacity: .8; transform: none; margin-left: auto; font-size: 20px; }
  .fj-pdesc { margin-top: 10px; font-size: 14.5px; color: #4a4842; max-width: none; }

  /* --- banda de vídeo a sangre con claim (solo móvil) --- */
  .fj-banda {
    display: block; position: relative;
    left: 50%; width: 100vw; max-width: 100vw;
    margin: 8px 0 0; margin-left: 0; margin-right: 0;
    transform: translateX(-50%);
    box-sizing: border-box;
  }
  .fj-banda .fj-video {
    display: block; width: 100%; max-width: none;
    aspect-ratio: 4 / 5; height: auto; min-height: 70vw;
    border-radius: 0; margin: 0; box-shadow: none;
  }
  .fj-banda .fj-video iframe,
  .fj-banda .fj-video .fj-video-frame,
  .fj-banda .fj-video iframe.iframe-embed {
    /* cover 16:9 dentro de 4:5 */
    width: auto !important; height: 102% !important; min-width: 177.78% !important;
    min-height: 100% !important; left: 50% !important; top: 50% !important;
    right: auto !important; bottom: auto !important;
    transform: translate(-50%, -50%) !important; aspect-ratio: 16/9 !important;
  }
  .fj-banda::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 0;
    background: linear-gradient(180deg, rgba(30,30,28,0) 46%, rgba(30,30,28,.5) 100%); }
  .fj-banda-claim { position: absolute; left: 22px; right: 22px; bottom: 26px; z-index: 2; color: #fff;
    font-family: var(--fj-serif); font-size: 30px; line-height: 1.18; margin: 0;
    text-align: left !important; text-shadow: 0 2px 26px rgba(0,0,0,.35); }

  /* --- secciones --- */
  .fj-hs { padding: 54px 22px 64px; }
  .fj-area-grid { grid-template-columns: 1fr; gap: 30px; }
  .fj-area-lede { font-size: 17.5px; }
  .fj-met-grid, .fj-caso-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 36px; }
  .fj-pen-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 18px 0; }
  .fj-pen-tag { grid-column: 1 / -1; }
  .fj-pen-t { font-size: 17.5px; }
  .fj-cta-final { padding: 32px 24px; }
  .fj-cta-q { font-size: 23px; }

  /* --- barra inferior + hoja con el radar giratorio --- */
  .fj-mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; height: 56px;
    display: flex; align-items: center; gap: 12px; padding: 0 20px;
    background: rgba(240,237,228,.86); border-top: 1px solid var(--fj-line); cursor: pointer;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .fj-mbar .fj-dots { display: flex; gap: 6px; }
  .fj-mbar .fj-dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
  .fj-mbar .fj-lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fj-muted); }
  .fj-mbar .fj-chev { margin-left: auto; font-size: 15px; color: var(--fj-muted); }

  .fj-msheet {
    /* Fallback; JS ajusta top al borde real del #header-outer + margen */
    position: fixed; top: 110px; left: 0; right: 0; bottom: 0;
    z-index: 9995; background: var(--fj-bg); overflow-y: auto;
    transform: translateY(100%); -webkit-overflow-scrolling: touch;
    transition: transform .52s cubic-bezier(.32,.72,0,1); will-change: transform;
  }
  .fj-msheet.on { transform: translateY(0); }
  .fj-msheet.drag { transition: none; }
  .fj-msheet-top {
    position: sticky; top: 0; z-index: 3; background: var(--fj-bg); display: flex; align-items: center;
    justify-content: space-between; padding: 20px 22px 14px; border-bottom: 1px solid var(--fj-line);
    touch-action: none;
  }
  .fj-msheet-top h3 { font-family: var(--fj-serif); font-size: 23px; margin: 0; font-weight: 400; }
  .fj-grab { position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 38px; height: 4px; border-radius: 99px; background: #d3d0c5; }
  .fj-msheet-x { border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--fj-ink); padding: 6px 10px; cursor: pointer; }
  .fj-msheet-body { padding: 8px 22px 60px; }
  .fj-mgrp { margin-top: 26px; }
  .fj-mgrp-h { display: flex; align-items: center; gap: 10px; padding: 10px 0 6px;
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fj-muted); }
  .fj-mgrp-h i { width: 9px; height: 9px; border-radius: 50%; }
  .fj-mitem { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 4px;
    border-bottom: 1px solid var(--fj-line); color: var(--fj-ink); text-decoration: none; font-size: 15.5px; }
  .fj-mitem:last-child { border-bottom: 0; }
  .fj-mitem .fj-tick { width: 7px; height: 7px; border-radius: 50%; background: transparent; flex: 0 0 7px; }
  .fj-mitem.here { font-weight: 600; }
  .fj-mitem.here .fj-tick { background: var(--fj-ink); }
  .fj-mitem .fj-kind { margin-left: auto; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #a8a599; }

  .fj-mmap { position: relative; padding: 14px 0 0; touch-action: pan-y; }
  .fj-mmap svg { width: 100%; height: auto; display: block; overflow: hidden; }
  .fj-mmap .rot { will-change: transform; }
  /* fundido en los bordes: el mapa continúa más allá del encuadre */
  .fj-mmap::before, .fj-mmap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 26px; z-index: 2; pointer-events: none;
  }
  .fj-mmap::before { left: 0; background: linear-gradient(90deg, var(--fj-bg), rgba(244,242,235,0)); }
  .fj-mmap::after  { right: 0; background: linear-gradient(270deg, var(--fj-bg), rgba(244,242,235,0)); }
  .fj-mmeta { position: relative; min-height: 46px; }
  .fj-mcta { display: block; width: fit-content; margin: 14px auto 0; text-align: center;
    font-size: 14.5px; font-weight: 500; color: var(--fj-ink); text-decoration: none;
    border-bottom: 1.5px solid var(--fj-smc); padding-bottom: 3px;
    position: absolute; left: 50%; transform: translateX(-50%); top: 0; opacity: 0;
    transition: opacity .3s; }
  .fj-mhint { text-align: center; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
    color: #a8a599; padding-top: 16px; transition: opacity .6s; }
  .fj-mdots { display: flex; gap: 9px; justify-content: center; padding: 14px 0 4px; }
  .fj-mdots b { width: 8px; height: 8px; border-radius: 50%; background: #d3d0c5; display: block;
    transition: transform .3s, background .3s; cursor: pointer; }
  .fj-mlist-tog { display: block; margin: 26px auto 0; background: transparent; border: 0; cursor: pointer;
    font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fj-muted);
    border-bottom: 1px solid var(--fj-line); padding: 4px 2px; }
}
@media (min-width: 901px) { .fj-mbar, .fj-msheet { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .fj-mapa .halo { animation: none; }
  .fj-mapa .gLayer, .fj-mapa-panel, .fj-mapa-panel svg { transition: none; }
  .fj-hl i, .fj-pname, .fj-pdesc { animation: none; transform: none; opacity: 1; }
  .fj-mcue-a { animation: none; }
  .fj-pillar, .fj-rev { opacity: 1; transform: none; transition: none; }
}
@keyframes fjBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
