/* ============================================================
   BTS MIAMI · WIKI — capa propia mínima sobre prototipo.css
   (espejo Ferrari EVOLUCIONADO de la raíz, sin tocar sus reglas).
   Evolución 2026-10-25 · la wiki transmite CONOCIMIENTO:
   lectura larga, referencia, confianza tranquila.
   Traducción de la especificación a esta superficie:
   · Tipografías: T4 como eje (cuerpo cómodo, interlineado
     generoso) y display un paso más bajo que la raíz.
   · Ritmo: R1/R2 con el pad de capítulo en su valor de lectura;
     pausas regulares, secciones cortas, índice que respira.
   · Diseño: D1 entero (elevación casi cero) y renuncia a los
     radios en los bloques de texto: documento, no decoración.
   ============================================================ */

/* ---------- cabecera: la gramática de la raíz, siempre clara ----------
   La raíz nace transparente sobre su héroe fotográfico; la wiki es
   documento desde el primer píxel: cabecera clara y fija en su sitio
   (sticky, no fixed: nunca tapa texto de lectura). */
.site-header{
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .bar{ flex-wrap: wrap; row-gap: 0; min-height: 68px; }
/* Integración iOS (revisión 2026-10-26): anclajes bajo la cabecera propia de la wiki (68 px). */
html{ scroll-padding-top: 68px; }
.site-header .brand span{ color: var(--navy); }
.brand .brand-sub{
  color: var(--accent-text); letter-spacing: .26em; font-weight: 700;
}
/* La navegación de la wiki es su índice: segunda fila completa,
   en la voz microtipográfica de la raíz. */
.site-header .main-nav{
  order: 4; flex-basis: 100%; margin-left: 0;
  gap: 6px 22px; flex-wrap: wrap; padding-bottom: 8px;
}
.site-header .main-nav a{
  color: var(--navy); opacity: .78; padding: 9px 2px; min-height: 40px;
}
.site-header .main-nav a:hover{ opacity: 1; color: var(--accent-text); }
.site-header .main-nav a[aria-current="page"]{
  opacity: 1; box-shadow: inset 0 -2px 0 var(--accent);
}
.nav-foot{
  flex-basis: 100%; display: flex; align-items: center; gap: 26px;
  flex-wrap: wrap; padding: 10px 0 6px; border-top: 1px solid var(--line);
  margin-top: 6px;
}
.nav-foot .nav-app{
  color: var(--navy); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: .76rem; text-decoration: none;
}
.nav-foot .nav-channels{ display: flex; gap: 18px; flex-wrap: wrap; }
.nav-foot .nav-channels a{
  color: var(--ink-soft); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none; padding: 4px 0;
  min-height: 0;
}
.nav-foot .nav-channels a:hover{ color: var(--accent-text); }
/* Conmutador EN/ES: la gramática de la raíz */
.lang-switch{ display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; }
.lang-switch a{ color: var(--ink-soft); text-decoration: none; padding: 8px 2px; }
.lang-switch a:hover{ color: var(--navy); }
.lang-switch a.is-active{ color: var(--navy); box-shadow: inset 0 -2px 0 var(--accent); }
.lang-switch i{ color: var(--ink-soft); font-style: normal; }
/* Acción TICKETS: la pastilla de la raíz, visible siempre en escritorio */
@media (min-width: 1100px){
  .site-header .head-tickets{
    display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px;
    border: 1.5px solid #111; border-radius: 999px; background: #fff;
    color: var(--tm-blue); font-family: var(--font-text);
    font-weight: 800; letter-spacing: .14em; font-size: .85rem; text-decoration: none;
  }
}
/* Buscador de la wiki en la barra: pastilla clara, resultados planos */
.wiki-search{ position: relative; margin-left: auto; }
.wiki-search input{
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 9px 16px; width: 190px; font-size: 1rem;
  min-height: 44px; font-family: var(--font-text);
}
.wiki-search input::placeholder{ color: var(--ink-soft); }
.searchResults{
  position: absolute; top: calc(100% + 8px); right: 0; width: 350px;
  max-width: calc(100vw - 40px); max-height: 400px; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-soft); display: none; z-index: 90; text-align: left;
}
.searchResults a{ display: block; padding: 11px 15px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .95rem; }
.searchResults a:hover{ background: var(--bg-alt); }
.searchResults .scat{ font-size: .68rem; color: var(--accent-text); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.searchResults .nores{ padding: 11px 15px; margin: 0; color: var(--ink-soft); font-size: .92rem; }
/* En móvil la barra se reordena: menú, marca, idioma, buscador a lo ancho */
.menu-btn{ color: var(--navy); }
@media (max-width: 760px){
  .site-header{ background: rgba(255,255,255,.97); }
  .site-header .bar{ display: flex; flex-wrap: wrap; min-height: 60px; gap: 10px 14px; padding-block: 8px; }
  .menu-btn{ display: block; justify-self: auto; color: var(--navy); order: 1; }
  .brand{ justify-self: auto; order: 2; }
  .brand span{ display: inline; font-size: .68rem; letter-spacing: .18em; color: var(--navy); }
  .brand .brand-sub{ display: none; }
  .lang-switch{ order: 3; margin-left: auto; }
  .wiki-search{ order: 4; flex-basis: 100%; margin-left: 0; }
  .wiki-search input{ width: 100%; }
  .site-header .main-nav{ display: none; order: 5; }
  .site-header .main-nav.open{
    display: flex; flex-direction: column; gap: 0; position: static;
    background: transparent; padding: 4px 0 10px; flex-basis: 100%;
  }
  .site-header .main-nav.open a{ display: inline-flex; color: var(--navy); padding: 12px 0; border-top: 1px solid var(--line); }
  .site-header .main-nav .nav-foot{ border-top: 1px solid var(--line); }
}

/* ---------- utilidades de documento ---------- */
.skip{
  position: absolute; left: 16px; top: -56px; background: var(--navy); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 8px; z-index: 100; font-weight: 700;
  font-size: .95rem; text-decoration: none; transition: top .15s;
}
.skip:focus, .skip:focus-visible{ top: 0; color: #fff; }
.sr{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main .wrap{ max-width: 1440px; }

/* Migas: microtipo que ordena sin interrumpir */
.crumbs{
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); padding: 26px 0 0;
}
.crumbs a{ color: var(--accent-text); text-decoration: none; }
.crumbs a:hover{ text-decoration: underline; }

/* Ritmo de lectura: R1/R2 en su valor de lectura */
.section{ padding-block: clamp(48px, 6vw, 88px); }
.section.alt{ background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Display dentro del sistema (tope 3.5rem): la wiki ordena, no grita */
.stitle{ font-size: clamp(2rem, 4.4vw, 3.5rem); }
.sdesc{ color: var(--ink-soft); margin-bottom: 30px; max-width: 65ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); line-height: 1.6; }

/* ---------- héroe de portada: capítulo claro, autoridad tranquila ---------- */
.hero{
  text-align: center; padding: clamp(64px, 8vw, 110px) var(--pad-x) clamp(52px, 6vw, 84px);
  border-bottom: 1px solid var(--line); background: var(--bg);
}
.hero .eyebrow{ margin-bottom: 26px; }
.hero .m1, .hero .m2{
  font-family: var(--font-disp); font-weight: 600; color: var(--navy);
  font-size: clamp(1.9rem, 4.6vw, 3.5rem); line-height: 1.04;
  letter-spacing: -.015em; text-transform: uppercase;
}
.hero .m2{ margin-top: 6px; }
.hero .m2::after{
  content: ""; display: block; width: 56px; height: 3px; background: var(--accent);
  margin: 26px auto 0;
}
.hero p.sub{ color: var(--ink-soft); max-width: 65ch; margin: 24px auto 0; font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem); line-height: 1.6; }
.hero .bigsearch{ margin: 32px auto 0; max-width: 620px; position: relative; }
.hero .bigsearch .mag{ position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; pointer-events: none; stroke: var(--navy); }
.hero .bigsearch input{
  width: 100%; padding: 15px 22px 15px 54px; border-radius: 999px;
  border: 1.5px solid var(--navy); background: #fff; color: var(--ink);
  font-size: 1.05rem; font-family: var(--font-text); min-height: 54px;
}
.hero .bigsearch input::placeholder{ color: var(--ink-soft); }
.hero .bigsearch .searchResults{ left: 0; right: 0; width: 100%; }
/* El clip del logo: círculo de identidad, sin anillos ni sombras */
.clipwrap{
  position: relative; width: 150px; height: 150px; margin: 0 auto 22px;
  border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line);
}
.clipwrap video{ width: 100%; height: 100%; object-fit: cover; display: none; border-radius: 50%; pointer-events: none; }
.clipwrap .clipposter{ width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.clipwrap.playing .clipposter{ display: none; }
.clipwrap.playing video{ display: block; }
/* Botón de reproducción del héroe: componente canónico de la casa, el de
   la raíz (copia de Ferrari). Círculo de cristal de 46 px con anillo de
   1,5 px; sobre el héroe blanco va su variante de contexto claro (cristal
   blanco rgba(255,255,255,.85), anillo rgba(2,34,81,.45), glifo navy) y al
   sonar anillo y glifo pasan al acento, como el .music-btn de la raíz.
   Los glifos ▶/❚❚ y su intercambio (.is-paused) no cambian. */
.clipbtn{
  position: absolute; padding: 0; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: 1.5px solid rgba(2,34,81,.45);
  color: var(--navy); box-shadow: 0 6px 18px rgba(2,34,81,.18);
  backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s, color .25s;
}
.clipbtn svg{ width: 20px; height: 20px; fill: currentColor; }
.clipbtn:not(.is-paused){ border-color: var(--accent-text); color: var(--accent-text); }
.clipctl{ display: flex; justify-content: center; margin: -8px 0 24px; }
.clipplay2{ position: static; }
.clipplay2 .ic-play{ display: none; }
.clipplay2.is-paused .ic-play{ display: block; }
.clipplay2.is-paused .ic-pause{ display: none; }

/* ---------- tarjetas: instrumento de índice, planas (D1/D2, R4) ---------- */
.cards{ display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 30vw, 340px), 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.card{
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.6,.2,1), box-shadow .4s cubic-bezier(.2,.6,.2,1);
  display: block; color: var(--ink); text-decoration: none;
}
.card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.card .cimg{ height: 150px; background: var(--bg-tint); background-size: cover; background-position: center top; }
@media (min-width: 481px){ .card .cimg{ height: auto; aspect-ratio: 16/10; } }
.card .cbody{ padding: 18px 20px; }
.card .kicker{ font-size: .68rem; font-weight: 700; color: var(--accent-text); text-transform: uppercase; letter-spacing: .18em; margin-bottom: 7px; }
.card h2{ font-size: clamp(1.28rem, 2vw, 1.45rem); text-transform: none; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 6px; }
.card p{ font-size: .92rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }
.badge{
  display: inline-block; background: var(--navy); color: #fff; font-size: .68rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .12em; margin-bottom: 12px; text-transform: uppercase;
}
.badge.mp{ background: var(--accent-text); }

/* ---------- el artículo: columna de lectura, sin radios (D1) ---------- */
.article{
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  margin: 20px auto 40px; max-width: 1180px; overflow: hidden;
}
.article .abody{ padding: clamp(28px, 4vw, 52px) clamp(20px, 5vw, 56px); }
.article h1{ font-size: clamp(2rem, 4.2vw, 3.3rem); text-transform: none; letter-spacing: -.015em; line-height: 1.05; margin: 6px 0 8px; overflow-wrap: break-word; }
.article .tagline{ color: var(--ink-soft); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; margin-bottom: 22px; }
.article h2{
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); text-transform: none; letter-spacing: -.01em;
  line-height: 1.15; margin: 38px 0 12px; padding-top: 6px;
}
.article h2::before{ content: ""; display: block; width: 44px; height: 3px; background: var(--accent); margin-bottom: 12px; }
.article p{ margin: 12px 0; line-height: 1.72; }
.article ul{ margin: 12px 0 12px 24px; }
.article li{ margin: 7px 0; line-height: 1.65; }
.article a{ color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.lede{ font-size: clamp(1.12rem, 1.5vw, 1.28rem); color: var(--ink); line-height: 1.7; }
.lede p{ line-height: 1.7; }
.vibe{ background: var(--bg-alt); border: 1px solid var(--line); border-radius: 0; padding: 24px 26px; margin: 24px 0; }
.vibe h2{ margin-top: 0; }
figure.photo{ margin: 0; }
figure.photo img{ display: block; width: 100%; height: auto; }
figure.photo.heroimg{ max-height: 460px; overflow: hidden; }
figure.photo.heroimg img{ width: 100%; height: 460px; object-fit: cover; }
@media (min-width: 681px){ figure.photo.heroimg{ max-height: none; } figure.photo.heroimg img{ height: auto; aspect-ratio: 21/9; } }
figcaption{ font-size: .84rem; color: var(--ink-soft); padding: 10px clamp(20px, 5vw, 56px); background: #fff; border-bottom: 1px solid var(--line); }
.babefore{ display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; }
.babefore .ba-item{ position: relative; }
.babefore img{ width: 100%; height: 300px; object-fit: cover; display: block; }
@media (min-width: 681px){ .babefore img{ height: auto; aspect-ratio: 16/10; } }
.babefore .balabel{
  position: absolute; top: 12px; left: 12px; background: rgba(2,34,81,.88); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .1em;
}
@media (max-width: 680px){ .babefore{ grid-template-columns: 1fr; } }
.factbox{ background: var(--bg-tint); border: 1px solid var(--line); border-radius: 0; padding: 16px 20px; margin: 22px 0; font-size: .98rem; }
.factbox strong{ color: var(--navy); }
.rellist{ display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(225px, 26vw, 300px), 1fr)); gap: 12px; margin-top: 16px; }
.rellist a{
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 0;
  padding: 13px 15px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: border-color .3s, box-shadow .3s;
}
.rellist a:hover{ border-color: var(--accent); box-shadow: var(--shadow-soft); }
.rellist span{ display: block; font-weight: 400; font-size: .8rem; color: var(--ink-soft); margin-top: 2px; }
.offsite{ margin-top: 10px; font-size: 1rem; }
.diagram{ background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 26px; margin: 24px 0; overflow-x: auto; }
.diagram svg{ width: 100%; height: auto; display: block; }
/* Infobox: la ficha de datos de siempre, plana */
.infobox{
  float: right; width: clamp(260px, 32vw, 330px); margin: 6px 0 18px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; font-size: .92rem;
}
.infobox .ibhead{
  background: var(--navy); color: #fff; font-family: var(--font-disp); font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.15rem); letter-spacing: .04em; padding: 11px 16px; text-transform: uppercase;
}
.infobox table{ width: 100%; border-collapse: collapse; }
.infobox td{ padding: 9px 14px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.infobox td.k{ font-weight: 700; color: var(--navy); width: 38%; }
@media (max-width: 680px){ .infobox{ float: none; width: 100%; margin: 18px 0; } }
.sources{ font-size: .95rem; }
.sources li{ margin: 6px 0; }
.catline{ margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-soft); }
.catline a{ color: var(--accent-text); }

/* ---------- sello y piezas de apoyo ---------- */
.seal{
  display: flex; align-items: center; gap: 16px; background: var(--navy); color: #fff;
  border-radius: 10px; padding: clamp(16px, 2.6vw, 20px) clamp(18px, 3vw, 24px); margin: 30px 0;
}
.seal.big{ padding: 28px 30px; }
.seal img{ width: 58px; height: 58px; border-radius: 50%; background: #fff; padding: 2px; flex: none; }
.seal.big img{ width: 76px; height: 76px; }
.seal .t{ font-family: var(--font-disp); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.25rem); letter-spacing: .05em; text-transform: uppercase; }
.seal.big .t{ font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.seal .d{ font-size: .9rem; color: #c9d6ec; margin-top: 4px; line-height: 1.55; }
.pick{ background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0; padding: 20px 22px; margin: 16px 0; }
.pick h3{ margin-bottom: 6px; }
.ecocard{
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px;
  display: block; color: var(--ink); position: relative; text-decoration: none;
  transition: border-color .3s, box-shadow .3s;
}
.ecocard:hover{ border-color: var(--accent); box-shadow: var(--shadow-soft); }
.ecocard h3{ font-size: clamp(1.1rem, 1.8vw, 1.3rem); padding-right: 38px; }
.ecocard .ecologo{ position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: #fff; padding: 2px; border: 1px solid var(--line); }
.ecocard .ecolink{ font-size: .84rem; color: var(--accent-text); font-weight: 600; }
.ecogrid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 28vw, 320px), 1fr)); gap: 14px; margin-top: 18px; }
.quote{
  font-family: var(--font-disp); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--navy); border-left: 4px solid var(--accent); padding: 6px 0 6px 18px; margin: 26px 0; line-height: 1.4;
}
/* Lockup Ticketmaster en claro (gramática del capítulo 05 de la raíz):
   logo redondo arriba, slogan debajo, logo oficial TM en azul debajo. */
.tm-lockup-wiki{
  background: var(--bg-alt); border: 1px solid var(--line); text-align: center; padding: 32px 16px;
}
.tm-lockup-wiki .tm-bts{ display: block; margin: 0 auto; width: 120px; height: auto; border-radius: 50%; }
.tm-lockup-wiki .tm-slogan{ color: var(--navy); font-weight: 600; font-size: .84rem; margin: 14px 0 0; }
.tm-lockup-wiki .tm-logo{ display: block; margin: 18px auto 0; width: 230px; max-width: 62%; height: auto; }

/* ---------- evaluaciones de visitantes (patrón Google, plano) ---------- */
.reviews{ margin: 36px 0 8px; background: #fff; border: 1px solid var(--line); border-radius: 0; padding: clamp(20px, 3vw, 26px); }
.reviews h2{ font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 4px; }
.reviews h2::before{ content: none; }
.reviews h2 .rcount{ color: var(--ink-soft); font-size: 1.05rem; font-weight: 500; }
.rev-summary{ display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin: 14px 0 6px; }
.rev-score{ min-width: 150px; }
.rev-stars{ display: flex; gap: 3px; margin: 2px 0 8px; }
.rev-stars svg{ width: 22px; height: 22px; }
.rev-stars svg.on{ fill: var(--navy); }
.rev-stars svg.off{ fill: #e8eaed; stroke: #bdc1c6; stroke-width: 1.6; }
.rev-total{ font-size: .88rem; color: var(--ink-soft); }
.rev-dist{ flex: 1; min-width: 230px; max-width: 420px; display: flex; flex-direction: column; gap: 7px; }
.rev-drow{ display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-soft); }
.rev-drow .n{ width: 10px; text-align: right; font-weight: 600; }
.rev-bar{ flex: 1; height: 9px; border-radius: 6px; background: var(--bg-tint); overflow: hidden; }
.rev-bar i{ display: block; height: 100%; width: 0; border-radius: 6px; background: var(--navy); }
.rev-write{
  align-self: center; background: #fff; border: 1.5px solid var(--navy); color: var(--navy);
  font-family: var(--font-text); font-weight: 700; font-size: .95rem; padding: 11px 26px;
  border-radius: 999px; cursor: pointer; transition: background .3s, color .3s;
}
.rev-write:hover{ background: var(--navy); color: #fff; }
.rev-toast{ display: none; margin: 10px 0 0; font-size: .9rem; color: var(--navy); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 0; padding: 10px 14px; }
.rev-toast.show{ display: block; }
.rev-photos{ display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.rev-list{ margin-top: 8px; }
.rev-empty{ font-size: .98rem; color: var(--ink-soft); background: var(--bg-alt); border: 1px dashed var(--line); border-radius: 0; padding: 22px; text-align: center; margin: 14px 0 4px; }
.rev-card{ border-top: 1px solid var(--line); padding: 18px 0; }
.rev-card-head{ display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.rev-avatar{ width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex: none; }
.rev-name{ font-weight: 700; color: var(--navy); font-size: .95rem; }
.rev-meta{ font-size: .84rem; color: var(--ink-soft); }
.rev-card .rev-stars svg{ width: 17px; height: 17px; }
.rev-text{ font-size: .95rem; color: var(--ink); margin: 8px 0 10px; line-height: 1.6; }

/* ---------- mapa de socios del ecosistema (pieza interactiva) ---------- */
.pf-stage{ position: relative; width: 100%; aspect-ratio: 1200/700; background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; container-type: inline-size; }
.pf-map{ position: absolute; left: 1.3%; top: 2.3%; width: 28.4%; height: 95.4%; background: var(--bg-alt); border-radius: 0; z-index: 1; }
.pf-map svg{ width: 100%; height: 100%; display: block; }
.pf-wires{ position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.pf-wire{ fill: none; stroke: #9aa0a6; stroke-width: 2.5; opacity: .55; stroke-linecap: round; }
.pf-flow{ stroke: var(--accent); stroke-dasharray: 2 10; animation: pfmove 2.6s linear infinite; opacity: .9; }
.pf-peer{ stroke-width: 2; opacity: .4; }
@keyframes pfmove{ to{ stroke-dashoffset: -12; } }
.pf-hub{
  position: absolute; z-index: 3; background: #fff; border: 2px solid var(--accent); border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: var(--shadow-soft); container-type: inline-size;
}
.pf-hub img{ width: 30%; pointer-events: none; }
.pf-hub b{ color: var(--navy); font-family: var(--font-disp); font-weight: 600; font-size: 15cqw; letter-spacing: 1px; margin-top: 4%; white-space: nowrap; max-width: 100%; }
.pf-hub i{ color: var(--ink-soft); font-style: normal; font-family: var(--font-disp); font-size: 10.5cqw; letter-spacing: .35cqw; margin-top: 2%; white-space: nowrap; max-width: 100%; padding: 0 4%; }
.pf-card{
  position: absolute; z-index: 3; width: 15%; aspect-ratio: 1/1; background: var(--navy);
  border: 2.5px solid var(--c); border-radius: 50%; overflow: hidden; touch-action: none;
  user-select: none; -webkit-user-select: none; cursor: grab; box-shadow: var(--shadow-soft); container-type: inline-size;
}
.pf-card:active{ cursor: grabbing; }
.pf-card a{ display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; padding: 8%; box-sizing: border-box; text-align: center; }
.pf-card img{ max-width: 60%; max-height: 28%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.pf-card span{ color: #fff; font-family: var(--font-disp); font-size: 9.5cqw; margin-top: 6%; text-align: center; pointer-events: none; line-height: 1.15; padding: 0 4%; max-width: 100%; overflow-wrap: break-word; }
.pf-bar{ display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.pf-hint{ color: var(--ink-soft); font-size: .84rem; }
.pf-reset{ background: var(--navy); color: #fff; border: none; border-radius: 999px; padding: 8px 18px; min-height: 44px; font-size: .84rem; cursor: pointer; font-family: var(--font-text); }

/* ---------- pie: la atribución legal de la wiki, en la gramática raíz ---------- */
.site-footer .f-legal{ margin: 14px 0 0; font-size: .85rem; color: var(--ink-soft); max-width: 52ch; line-height: 1.6; }
.site-footer{ margin-top: 0; }

@media (prefers-reduced-motion: reduce){
  .pf-flow{ animation: none; }
  .card{ transition: none; }
}

/* Titulares secundarios de sección compartida (See also y bloques):
   la escala intermedia de lectura, sin mayúsculas de display */
.sa-title{
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); text-transform: none;
  letter-spacing: -.01em; margin-top: 42px;
}

/* BARRA-20261028 - Regla de la barra (dueno, 2026-10-28): el slogan se centra
   por su barra |, alineada con el centro horizontal del logo del lockup. */
.site-footer h4.f-lockup{ display:flex; flex-direction:column; align-items:center; }
.site-footer .f-lockup .f-slogan.slogan-barra,
.tm-lockup .tm-slogan.slogan-barra,
.tm-lockup-wiki .tm-slogan.slogan-barra,
.f-hero-lockup .f-slogan.slogan-barra,
.f-slogan-line.slogan-barra{
  display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:baseline; width:100%;
}
.tm-lockup .tm-slogan.slogan-barra{ max-width:none; }
.slogan-barra .sb-l{ text-align:right; }
.slogan-barra .sb-r{ text-align:left; }
.slogan-barra .sb-bar{ padding:0 .32em; }


/* ---------- contextual billboard block (tres clics, 2026-10-28) ---------- */
.ctx-events{background:#f0f6ff;border:1px solid #cfe0fb;border-radius:12px;padding:20px 24px;margin:26px 0}
.ctx-events h2{margin-top:0}
.ctx-events p{margin:6px 0}
.ctx-events ul{margin:10px 0 4px 22px}
.ctx-events li{margin:8px 0}
