
:root{--bg:#f7f1e7;--paper:#fffaf1;--ink:#18231f;--muted:#5f6b63;--green:#133f35;--green2:#1f5d4a;--gold:#c58b42;--line:#e1d3bd;--red:#8f3e2f;--blue:#29496f;--ok:#1f6f55;--warn:#9b651f;--shadow:0 18px 60px rgba(31,42,35,.16)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:radial-gradient(circle at 20% 0%,rgba(197,139,66,.18),transparent 32rem),radial-gradient(circle at 90% 5%,rgba(31,93,74,.18),transparent 30rem),var(--bg);line-height:1.62}a{color:inherit}.site-header{position:sticky;top:0;z-index:10;backdrop-filter:blur(14px);background:rgba(247,241,231,.91);border-bottom:1px solid rgba(19,63,53,.14)}.header-inner{max-width:1220px;margin:0 auto;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:950;letter-spacing:.2px}.brand img{width:42px;height:42px}.nav-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap;overflow-x:auto;max-width:100%;padding-bottom:4px;scrollbar-width:thin}.nav-top a,.btn,.more-nav summary{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 13px;border-radius:999px;border:1px solid rgba(19,63,53,.18);text-decoration:none;font-weight:850;font-size:.91rem;background:rgba(255,250,241,.74);cursor:pointer}.nav-top a[aria-current="page"]{background:rgba(31,93,74,.12);color:var(--green)}.more-nav{position:relative}.more-nav summary{list-style:none}.more-nav summary::-webkit-details-marker{display:none}.more-nav div{position:absolute;right:0;top:48px;min-width:240px;background:var(--paper);border:1px solid rgba(19,63,53,.18);border-radius:22px;padding:10px;box-shadow:var(--shadow);display:grid;gap:6px}.more-nav a{justify-content:flex-start}.btn-primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 8px 22px rgba(19,63,53,.22)}.btn-ghost{background:transparent}.hero{max-width:1220px;margin:0 auto;padding:70px 22px 42px;display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center}.eyebrow{display:inline-flex;gap:8px;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(197,139,66,.14);border:1px solid rgba(197,139,66,.25);font-weight:850;color:#744f20;font-size:.86rem}.kicker{color:var(--gold);font-weight:900;letter-spacing:.16em;text-transform:uppercase;font-size:.78rem}h1,.page-title{font-size:clamp(2.45rem,6.6vw,6.2rem);line-height:.92;margin:14px 0 22px;letter-spacing:-.065em}h2{font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.1;margin:0 0 18px;letter-spacing:-.035em}h3{font-size:1.18rem;margin:24px 0 8px;color:var(--green)}.lead{font-size:1.16rem;color:var(--muted);max-width:72ch}.container{max-width:1220px;margin:0 auto;padding:38px 22px 80px}.section{background:rgba(255,250,241,.88);border:1px solid rgba(19,63,53,.12);border-radius:26px;padding:28px;margin:0 0 20px;box-shadow:0 10px 28px rgba(31,42,35,.07);scroll-margin-top:100px}.hero-card,.card{background:linear-gradient(145deg,rgba(255,250,241,.94),rgba(255,250,241,.66));border:1px solid rgba(19,63,53,.15);border-radius:28px;padding:28px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero-card img{display:block;width:min(100%,360px);margin:0 auto 20px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.card p,.muted{color:var(--muted)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.pill-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.pill{padding:8px 12px;border-radius:999px;background:rgba(197,139,66,.16);border:1px solid rgba(197,139,66,.25);font-weight:850;font-size:.9rem}.pill.ok{background:rgba(31,111,85,.12);border-color:rgba(31,111,85,.25);color:var(--ok)}.pill.warn{background:rgba(155,101,31,.12);border-color:rgba(155,101,31,.25);color:var(--warn)}.pill.danger{background:rgba(143,62,47,.11);border-color:rgba(143,62,47,.25);color:var(--red)}.truth-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.truth{border-radius:22px;padding:18px;background:#fff;border:1px solid var(--line)}.truth strong{display:block;font-size:1.05rem;margin-bottom:5px}.truth.ok{border-left:7px solid var(--ok)}.truth.no{border-left:7px solid var(--red)}.truth.mid{border-left:7px solid var(--gold)}.route-card{display:grid;gap:12px}.route-card .num{width:40px;height:40px;border-radius:14px;background:rgba(31,93,74,.1);display:inline-flex;align-items:center;justify-content:center;font-weight:950;color:var(--green)}.map-panel{background:linear-gradient(145deg,#fefaf0,#efe0c5);border:1px solid rgba(19,63,53,.15);border-radius:32px;padding:22px;box-shadow:var(--shadow)}.map-svg{width:100%;height:auto}.section-title{display:flex;gap:12px;align-items:flex-start}.badge{flex:0 0 auto;min-width:42px;height:42px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:rgba(31,93,74,.1);color:var(--green);font-weight:950}.badge.blue{background:rgba(41,73,111,.1);color:var(--blue)}.badge.warn{background:rgba(155,101,31,.13);color:var(--warn)}p{margin:0 0 14px}.small{font-size:.92rem;color:var(--muted)}.keyline{height:1px;background:var(--line);margin:18px 0}.table-wrap{overflow:auto;margin:16px 0;border-radius:18px;border:1px solid var(--line);background:#fff}table{border-collapse:collapse;width:100%;min-width:780px;font-size:.92rem}th,td{padding:12px 14px;border-bottom:1px solid #eadfcd;vertical-align:top;text-align:left}th{background:#f1e5d1;color:#173d34;font-weight:950}tr:nth-child(even) td{background:#fffaf3}.status{display:inline-flex;padding:5px 9px;border-radius:999px;font-weight:950;font-size:.82rem;white-space:nowrap}.status.ok{background:rgba(31,111,85,.12);color:var(--ok)}.status.pending{background:rgba(155,101,31,.13);color:var(--warn)}.status.risk{background:rgba(143,62,47,.11);color:var(--red)}.status.info{background:rgba(41,73,111,.1);color:var(--blue)}blockquote{margin:18px 0;padding:16px 18px;border-left:5px solid var(--gold);background:rgba(197,139,66,.12);border-radius:0 16px 16px 0}.notice,.callout{padding:16px 18px;border-radius:18px;background:rgba(155,101,31,.11);border:1px solid rgba(155,101,31,.22);color:#5d3c16;margin:16px 0}.callout-ok{padding:16px 18px;border-radius:18px;background:rgba(31,111,85,.11);border:1px solid rgba(31,111,85,.22);color:#174335;margin:16px 0}.callout-risk{padding:16px 18px;border-radius:18px;background:rgba(143,62,47,.10);border:1px solid rgba(143,62,47,.22);color:#5b251c;margin:16px 0}.page{max-width:1220px;margin:0 auto;padding:38px 22px 80px;display:grid;grid-template-columns:306px minmax(0,1fr);gap:28px}.toc{position:sticky;top:86px;align-self:start;max-height:calc(100vh - 106px);overflow:auto;background:rgba(255,250,241,.82);border:1px solid rgba(19,63,53,.14);border-radius:24px;padding:18px;box-shadow:0 10px 30px rgba(31,42,35,.08)}.toc-title{font-weight:950;color:var(--green);margin-bottom:8px}.toc a{display:block;text-decoration:none;padding:8px 10px;border-radius:12px;color:#415047;font-size:.92rem}.toc a:hover{background:rgba(31,93,74,.09);color:var(--green)}.report-hero{background:linear-gradient(145deg,var(--green),#0d2f29);color:#fff;border-radius:34px;padding:38px;margin-bottom:24px;box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 150px;gap:18px;align-items:center}.report-hero img{width:140px;filter:drop-shadow(0 12px 25px rgba(0,0,0,.25))}.report-hero .lead{color:rgba(255,255,255,.78)}.report-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.report-meta div{padding:13px;border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}.report-meta strong{display:block;color:#fff}.report-meta span{color:rgba(255,255,255,.75);font-size:.9rem}.markdown-body h1{font-size:clamp(1.9rem,4vw,3.2rem);letter-spacing:-.04em;margin:22px 0 12px}.markdown-body h2{scroll-margin-top:105px;border-top:1px solid var(--line);padding-top:22px;margin-top:32px}.markdown-body h3{scroll-margin-top:105px}.cards-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mini-card,.table-card{padding:18px;border-radius:20px;background:rgba(255,255,255,.55);border:1px solid var(--line)}.mini-card h3{margin-top:0}.mobile-cards{display:none}.mountain-hero{display:grid;grid-template-columns:1fr 320px;gap:26px;align-items:center}.mountain-symbol{border-radius:30px;background:linear-gradient(180deg,rgba(31,93,74,.12),rgba(197,139,66,.14));padding:18px}.footer{max-width:1220px;margin:0 auto;padding:28px 22px 60px;color:var(--muted);font-size:.95rem;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid rgba(19,63,53,.12)}.footer-links{display:flex;gap:12px;flex-wrap:wrap}.footer-links a{font-weight:850;text-decoration:none}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;top:20px;z-index:99;background:#fff;padding:12px;border-radius:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:980px){.hero,.page,.report-hero,.grid,.grid.two,.grid.four,.truth-strip,.cards-list,.mountain-hero{grid-template-columns:1fr}.toc{position:relative;top:auto;max-height:none}.report-hero img{width:110px}.header-inner{align-items:flex-start;flex-direction:column}.more-nav div{left:0;right:auto}.footer{align-items:flex-start;flex-direction:column}table{min-width:680px}.report-meta{grid-template-columns:1fr}}
@media(max-width:720px){.nav-top{flex-wrap:nowrap;width:100%;padding-bottom:8px}.nav-top a{font-size:.86rem;padding:8px 11px}.hero{padding-top:42px}.section,.card,.hero-card{padding:20px;border-radius:22px}.table-wrap.compact-hide{display:none}.mobile-cards{display:grid;gap:12px}.truth-strip{gap:10px}h1,.page-title{letter-spacing:-.045em}.actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}


/* V4.2 · Menú simple interactivo + mapa 3D */
.site-header{z-index:50}.header-inner{position:relative}.nav-simple{display:flex;align-items:center;gap:10px;margin-left:auto}.nav-simple a,.menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:9px 14px;border-radius:999px;border:1px solid rgba(19,63,53,.18);text-decoration:none;font-weight:900;font-size:.93rem;background:rgba(255,250,241,.82);color:var(--ink);cursor:pointer;white-space:nowrap}.nav-simple a[aria-current="page"]{background:rgba(31,93,74,.13);color:var(--green)}.menu-toggle{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 8px 22px rgba(19,63,53,.18)}.menu-toggle:hover,.nav-simple a:hover{transform:translateY(-1px)}.menu-icon{width:18px;height:12px;position:relative;display:inline-block}.menu-icon:before,.menu-icon:after,.menu-icon{border-top:2px solid currentColor}.menu-icon:before,.menu-icon:after{content:"";position:absolute;left:0;width:18px}.menu-icon:before{top:4px}.menu-icon:after{top:10px}.menu-panel{position:absolute;right:22px;top:72px;width:min(920px,calc(100vw - 44px));background:rgba(255,250,241,.98);border:1px solid rgba(19,63,53,.16);border-radius:28px;padding:18px;box-shadow:var(--shadow);opacity:0;transform:translateY(-8px) scale(.985);pointer-events:none;transition:opacity .18s ease,transform .18s ease}.site-header.menu-open .menu-panel{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.menu-panel-head{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:4px 6px 14px;border-bottom:1px solid var(--line);margin-bottom:14px}.menu-panel-head strong{font-size:1.05rem;color:var(--green)}.menu-panel-head span{font-size:.9rem;color:var(--muted)}.menu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.menu-grid section{background:rgba(31,93,74,.055);border:1px solid rgba(19,63,53,.09);border-radius:20px;padding:14px}.menu-grid h3{font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px;color:#8a622d}.menu-grid a{display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:none;padding:10px 11px;border-radius:14px;color:#21342e;font-weight:800;font-size:.94rem}.menu-grid a:after{content:"→";color:rgba(19,63,53,.44)}.menu-grid a:hover,.menu-grid a[aria-current="page"]{background:#fff;color:var(--green);box-shadow:0 6px 14px rgba(31,42,35,.07)}.nav-top{display:none}.map-3d-card{position:relative;overflow:hidden}.map-3d-card:before{content:"";position:absolute;inset:-20%;background:radial-gradient(circle at 35% 15%,rgba(255,255,255,.48),transparent 28%),radial-gradient(circle at 80% 85%,rgba(19,63,53,.10),transparent 36%);pointer-events:none}.map-3d{position:relative;display:block;width:100%;height:auto;filter:drop-shadow(0 20px 30px rgba(31,42,35,.16));transition:transform .25s ease,filter .25s ease}.map-3d-card:hover .map-3d{transform:perspective(1100px) rotateX(2deg) rotateY(-2deg) translateY(-2px);filter:drop-shadow(0 28px 34px rgba(31,42,35,.20))}.map-caption{position:relative;margin:12px 4px 0;color:var(--muted);font-size:.92rem}.mountain-symbol.map-3d-card{background:linear-gradient(180deg,rgba(31,93,74,.10),rgba(197,139,66,.12));border:1px solid rgba(19,63,53,.12)}
@media(max-width:980px){.header-inner{flex-direction:row;align-items:center}.brand span{display:inline}.nav-simple{gap:8px}.nav-simple a{display:none}.nav-simple a:first-child,.nav-simple a[aria-current="page"]{display:inline-flex}.menu-panel{right:16px;left:16px;top:68px;width:auto}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-panel-head{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.header-inner{padding:10px 14px}.brand span{font-size:.92rem}.brand img{width:36px;height:36px}.menu-toggle{padding:9px 12px}.menu-toggle span:first-child{display:none}.menu-panel{right:10px;left:10px;top:62px;max-height:calc(100vh - 82px);overflow:auto;border-radius:22px}.menu-grid{grid-template-columns:1fr}.menu-grid section{padding:12px}.menu-panel-head span{display:none}}

/* V4.3 additions */
.model-badge{display:inline-flex;gap:.45rem;align-items:center;border:1px solid rgba(19,63,53,.18);background:#fff8ee;border-radius:999px;padding:.45rem .75rem;font-weight:900;color:#133f35}
.report-pre{white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92rem;line-height:1.62;background:#102f29;color:#fff8ee;border-radius:22px;padding:1.25rem;overflow:auto;max-height:72vh;box-shadow:var(--shadow-soft)}
.inline-alert{border-left:6px solid #c58b42;background:#fff8ee;border-radius:18px;padding:1rem 1.15rem;margin:1rem 0}
.model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
@media(max-width:880px){.model-grid{grid-template-columns:1fr}.report-pre{font-size:.84rem}}
.compare th:nth-child(4),.compare td:nth-child(4){background:rgba(197,139,66,.07)}

/* V5 additions */
ul{margin-top:0} li{margin:8px 0}.source-links a{font-weight:900}.table-wrap table td a{font-weight:850;color:var(--green)}


/* V5.2 · Mapa interactivo 3D */
.compact-hero { padding-bottom: 1.5rem; }
.warning-card { border-left: 5px solid #d97706; }
.mapbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
  margin: 1.5rem 0 3rem;
}
.mapbox-shell {
  position: relative;
  min-height: 68vh;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11, 32, 26, 0.22);
  border: 1px solid rgba(19, 63, 53, 0.18);
  background: #102820;
}
.mapbox-map,
.mapbox-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mapbox-map { display: none; }
.mapbox-fallback {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f5ead7, #dfeee5);
}
.mapbox-fallback img {
  max-width: min(92%, 920px);
  max-height: 78%;
  filter: drop-shadow(0 14px 22px rgba(19, 63, 53, 0.22));
}
.mapboxgl-popup-content {
  border-radius: 14px;
  padding: 14px 16px;
  max-width: 260px;
  color: #17352f;
}
.mapboxgl-popup-content h3 {
  margin: 0 0 .45rem;
  color: #133f35;
  font-size: 1.02rem;
}
.mapboxgl-popup-content p {
  margin: 0;
  line-height: 1.45;
  font-size: .92rem;
}
.clean-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: .65rem;
}
.clean-list li {
  padding: .7rem .75rem;
  border-radius: 14px;
  background: rgba(19, 63, 53, .06);
}
.small-note { font-size: .92rem; color: #5b685f; }
@media (max-width: 900px) {
  .mapbox-layout { grid-template-columns: 1fr; }
  .mapbox-shell { min-height: 62vh; border-radius: 18px; }
}

.mapbox-status {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: .55rem .75rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, .92);
  border: 1px solid rgba(19, 63, 53, .16);
  color: #17352f;
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(31, 42, 35, .12);
}


/* V5.4 · Mapa integrado en portada, sin dependencia externa */
.home-map-panel{
  background: linear-gradient(145deg, rgba(255,252,245,.96), rgba(227,215,185,.9));
  border: 1px solid rgba(19,63,53,.14);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow, 0 18px 45px rgba(16, 35, 28, .12));
  align-self: stretch;
}
.home-map-head h2{margin:.45rem 0 .35rem;font-size:clamp(1.45rem,2vw,2.15rem);line-height:1.05}
.home-map-head p{margin:0 0 1rem;color:var(--muted,#41514b);font-size:.98rem}
.home-map-wrap{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(19,63,53,.12);
  background:#d8eceb;
  min-height:330px;
}
.home-map-base{display:block;width:100%;height:100%;min-height:330px;object-fit:cover;transition:transform .45s ease, filter .45s ease}
.home-map-wrap:hover .home-map-base{transform:scale(1.025);filter:saturate(1.04) contrast(1.02)}
.home-map-marker{
  position:absolute;
  width:18px;height:18px;
  border-radius:999px;
  border:3px solid #fff7e7;
  background:#c57b2f;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  cursor:pointer;
  transform:translate(-50%,-50%);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.home-map-marker::after{
  content:attr(data-title);
  position:absolute;
  left:50%;top:-34px;
  transform:translateX(-50%);
  white-space:nowrap;
  font-weight:800;
  color:#123c35;
  background:rgba(255,250,239,.92);
  border:1px solid rgba(19,63,53,.12);
  border-radius:999px;
  padding:4px 8px;
  font-size:.78rem;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, top .18s ease;
}
.home-map-marker:hover,.home-map-marker:focus-visible{transform:translate(-50%,-50%) scale(1.35);box-shadow:0 10px 24px rgba(0,0,0,.32);outline:none;background:#d8903d}
.home-map-marker:hover::after,.home-map-marker:focus-visible::after{opacity:1;top:-40px}
.home-map-marker.active{background:#0f493e;transform:translate(-50%,-50%) scale(1.45)}
.m-ganeko{left:43%;top:31%}.m-oiz{left:62%;top:30%}.m-sollube{left:76%;top:47%}.m-kolitza{left:29%;top:51%}.m-gorbeia{left:44%;top:78%}.m-gernika{left:50%;top:54%;background:#123f35}
.home-map-info{
  margin-top:12px;
  background:rgba(255,250,239,.84);
  border-left:4px solid #d78211;
  padding:12px 14px;
  border-radius:14px;
  color:#20342e;
  font-size:.95rem;
}
@media (max-width: 900px){
  .home-map-wrap{min-height:260px}.home-map-base{min-height:260px}.home-map-marker::after{font-size:.7rem}
}


/* V5.6 · Mapbox en portada: el canvas nunca arranca en display:none.
   Motivo: Mapbox calcula el tamaño del canvas al inicializar. Si el contenedor está
   oculto con display:none, puede disparar idle/load pero pintar un bloque vacío. */
.home-map-wrap-real {
  position: relative;
  min-height: 360px;
  background: #102820;
  overflow: hidden;
}
.home-mapbox-map,
.home-mapbox-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-mapbox-map {
  display: block;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity .25s ease;
}
.home-mapbox-map.is-visible {
  opacity: 1;
  visibility: visible;
}
.home-mapbox-fallback {
  display: block;
  opacity: 1;
  visibility: visible;
  z-index: 2;
  background: #d8eceb;
  transition: opacity .25s ease, visibility .25s ease;
}
.home-mapbox-fallback.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.home-map-status {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 5;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,250,241,.94);
  border: 1px solid rgba(19,63,53,.16);
  color: #17352f;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(31,42,35,.16);
}
.home-map-panel .mapboxgl-map { font-family: inherit; }
.mapboxgl-marker.monte-marker svg path { fill: #c58b42; }
.mapboxgl-marker.gernika-marker svg path { fill: #133f35; }
@media (max-width: 900px){
  .home-map-wrap-real{min-height:300px}
}


/* V5.7 · Portada estable: mapa visual en index + Mapbox en página dedicada */
.home-map-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.home-map-panel .home-map-wrap{box-shadow:0 14px 36px rgba(31,42,35,.13)}
.home-map-panel .home-map-base{background:#d8eceb}
.mapbox-page .mapbox-shell{min-height:75vh}
.mapbox-page .mapbox-map{display:block}
.mapbox-page .mapbox-fallback{display:grid}
.mapbox-page .mapbox-fallback.is-hidden{display:none}
.mapbox-page .mapbox-map.is-visible{display:block}
@media(max-width:900px){.mapbox-page .mapbox-shell{min-height:68vh}}


/* V5.8 · Corrección real Mapbox dedicado
   Diagnóstico: en V5.7 .mapbox-map arrancaba con display:none y el body no tenía clase mapbox-page.
   Mapbox se inicializaba dentro de un contenedor oculto y podía disparar idle/load sin pintar teselas.
   Solución: contenedor visible desde el inicio; fallback superpuesto hasta confirmar render. */
body.mapbox-page .mapbox-shell{
  min-height:75vh;
  background:#102820;
}
body.mapbox-page .mapbox-map,
body.mapbox-page .mapbox-fallback{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
body.mapbox-page .mapbox-map{
  display:block !important;
  visibility:visible;
  opacity:1;
  z-index:1;
}
body.mapbox-page .mapbox-fallback{
  display:grid;
  place-items:center;
  z-index:2;
  opacity:1;
  visibility:visible;
  transition:opacity .25s ease, visibility .25s ease;
}
body.mapbox-page .mapbox-fallback.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
body.mapbox-page .mapbox-status{
  z-index:5;
}
body.mapbox-page .mapboxgl-canvas{
  outline:none;
}
@media(max-width:900px){body.mapbox-page .mapbox-shell{min-height:68vh}}

/* V5.9 · Mapa dedicado: limpieza visual */
body.mapbox-page .container{padding-top:18px}
body.mapbox-page .mapbox-layout{align-items:start;grid-template-columns:minmax(0,1fr) 245px;gap:16px}
body.mapbox-page .map-legend-card{background:rgba(255,250,241,.92);border:1px solid rgba(19,63,53,.12);border-radius:22px;padding:18px;box-shadow:0 18px 45px rgba(19,63,53,.08);position:sticky;top:92px}
body.mapbox-page .legend-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
body.mapbox-page .legend-title-row h2{font-size:1.35rem;line-height:1.1;margin:0}
body.mapbox-page .eyebrow.mini{font-size:.72rem;padding:6px 9px;background:#edf3e7;border-radius:999px;color:#0e483c;white-space:nowrap}
body.mapbox-page .map-point-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
body.mapbox-page .map-point-list li{font-size:.88rem;line-height:1.35;background:linear-gradient(135deg,rgba(255,255,255,.74),rgba(236,231,216,.62));border:1px solid rgba(19,63,53,.08);border-radius:13px;padding:9px 10px}
body.mapbox-page .map-point-list strong{display:block;font-size:.9rem;color:#09231d;margin-bottom:1px}
body.mapbox-page .legend-note{margin-top:12px;padding:10px 11px;border-left:3px solid #d18a24;background:rgba(255,247,226,.75);border-radius:12px;font-size:.78rem;line-height:1.35;color:#4b3a20}
@media(max-width:900px){body.mapbox-page .mapbox-layout{grid-template-columns:1fr}body.mapbox-page .map-legend-card{position:static;top:auto}.map-point-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body.mapbox-page .map-point-list{grid-template-columns:1fr}}


/* V5.10 — página de mapa simplificada */
body.mapbox-page .compact-hero,
body.mapbox-page .map-legend-card,
body.mapbox-page .mapbox-layout {
  display: none !important;
}
body.mapbox-page .container { padding-top: 0; }
.mapa-simple-main {
  padding: 34px 20px 46px;
}
.mapa-simple-wrap {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}
.mapa-simple-head {
  margin-bottom: 18px;
}
.mapa-simple-head h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: .9;
  letter-spacing: -.06em;
  margin: 10px 0 12px;
  max-width: 980px;
}
.mapa-simple-head p {
  max-width: 760px;
  margin: 0;
  color: #495b54;
  font-size: 1rem;
  line-height: 1.55;
}
.mapa-simple-points {
  margin: 20px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(19,63,53,.12);
  border-radius: 18px;
  background: rgba(255,250,241,.72);
  box-shadow: 0 12px 30px rgba(19,63,53,.06);
}
.mapa-simple-points h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.mapa-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mapa-chip-grid span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f3efe4;
  border: 1px solid rgba(19,63,53,.10);
  font-size: .86rem;
  line-height: 1.15;
}
.mapa-chip-grid .gernika-chip {
  background: #fff0dc;
  border-color: rgba(196,116,33,.28);
}
.mapa-simple-map {
  margin-top: 14px;
}
body.mapbox-page .mapa-shell-simple {
  min-height: 72vh;
  height: min(760px, 72vh);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(19,63,53,.30);
  box-shadow: 0 24px 60px rgba(19,63,53,.14);
}
.mapa-simple-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #d18a24;
  border-radius: 12px;
  background: rgba(255,247,226,.78);
  color: #4b3a20;
  font-size: .9rem;
}
@media (max-width: 760px) {
  .mapa-simple-main { padding: 24px 14px 36px; }
  .mapa-simple-wrap { width: min(100%, calc(100vw - 28px)); }
  .mapa-simple-points { padding: 12px; }
  .mapa-chip-grid { display: grid; grid-template-columns: 1fr; }
  body.mapbox-page .mapa-shell-simple { min-height: 62vh; height: 62vh; border-radius: 18px; }
}


/* V5.15 — ajustes finales */
body.mapbox-page .mapbox-status{display:none !important;}
.mapa-simple-head h1{font-size:clamp(1.95rem,4.3vw,3.7rem);line-height:1;letter-spacing:-.05em;max-width:none;white-space:nowrap;}
.mapa-simple-head{margin-bottom:14px;}
@media (max-width: 980px){.mapa-simple-head h1{white-space:normal;}}


/* V5.18 — análisis territorial neutral bajo el mapa */
.mapa-geo-section{
  margin: 28px 0 0;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,250,241,.76);
  border: 1px solid rgba(19,63,53,.12);
  box-shadow: 0 14px 34px rgba(19,63,53,.07);
}
.mapa-geo-head h2{
  margin: 0 0 8px;
  font-size: clamp(1.45rem,2.5vw,2.05rem);
}
.mapa-geo-head p{
  max-width: 900px;
  color: #495b54;
  margin: 0 0 16px;
}
.mapa-geo-table{
  margin-top: 14px;
}
.mapa-geo-note{
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(31,93,74,.08);
  border: 1px solid rgba(31,93,74,.12);
  color: #17352f;
  font-size: .92rem;
}
@media(max-width:760px){
  .mapa-geo-section{padding:16px;}
}


/* V5.20 — página unificada Los 5 montes */
.mapa-fichas-section{
  margin: 28px 0 0;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,250,241,.82);
  border: 1px solid rgba(19,63,53,.12);
  box-shadow: 0 14px 34px rgba(19,63,53,.07);
}
.monte-fichas-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}
.monte-ficha-card{
  background:rgba(255,255,255,.58);
  border:1px solid rgba(19,63,53,.12);
  border-radius:20px;
  padding:18px;
  scroll-margin-top:100px;
}
.monte-ficha-top{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:14px;
}
.monte-ficha-num{
  width:36px;
  height:36px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(31,93,74,.10);
  color:#133f35;
  font-weight:950;
}
.monte-ficha-card h3{
  margin:0 0 2px;
  color:#133f35;
}
.monte-altitud{
  margin:0;
  font-weight:850;
  color:#8a5a20;
}
.monte-ficha-dl{
  display:grid;
  gap:10px;
  margin:0;
}
.monte-ficha-dl div{
  padding-top:10px;
  border-top:1px solid rgba(19,63,53,.10);
}
.monte-ficha-dl dt{
  font-weight:950;
  color:#17352f;
  font-size:.88rem;
}
.monte-ficha-dl dd{
  margin:4px 0 0;
  color:#495b54;
}
@media(max-width:860px){
  .monte-fichas-grid{grid-template-columns:1fr;}
  .mapa-fichas-section{padding:16px;}
}


/* V5.21 — Los 5 montes limpio */
.montes-hero-visual{
  margin: 16px 0 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(19,63,53,.18);
  box-shadow: 0 20px 50px rgba(19,63,53,.12);
  background: rgba(255,250,241,.72);
}
.montes-hero-visual img{
  display:block;
  width:100%;
  height:auto;
}
body.mapbox-page .mapbox-status{display:none !important;}
.mapa-simple-head h1{
  font-size: clamp(2.15rem,5vw,4.2rem);
  line-height: 1;
  white-space: nowrap;
}
.mapa-simple-head{margin-bottom:12px;}
.mapa-simple-points{margin-top:16px;}
.mapa-geo-section,.mapa-fichas-section{margin-top:22px;}
.mapa-geo-head p{font-size:.98rem;}
@media(max-width:980px){
  .mapa-simple-head h1{white-space:normal;}
}


/* V5.22 — imagen en index y tabla ampliada de Los 5 montes */
.home-visual-3d{
  max-width:1220px;
  margin: 0 auto 22px;
  padding: 0 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.home-visual-3d img{
  display:block;
  width:100%;
  height:auto;
  border-radius:24px;
  border:1px solid rgba(19,63,53,.16);
  box-shadow:0 22px 55px rgba(19,63,53,.16);
}
body.mapbox-page .mapa-geo-table table{
  min-width: 1080px;
}
.monte-ficha-dl dd{
  line-height:1.45;
}


/* V5.23 — index visual reemplazado y plausibilidad argumentada */
.home-visual-3d{display:none !important;}
.hero-card img[src$=""],
.map-panel img[src$=""]{
  width:100%;
  max-width:520px;
  border-radius:22px;
  border:1px solid rgba(19,63,53,.16);
  box-shadow:0 18px 45px rgba(19,63,53,.14);
}
.monte-ficha-dl dd strong{
  color:#133f35;
}


/* V5.26 — index reordenado con CSS intacto */
.index-reordered-main{
  width:100%;
}
.index-title-block{
  max-width:1220px;
  margin:0 auto;
  padding:56px 22px 18px;
}
.index-title-block h1{
  font-size:clamp(2.4rem,5.8vw,5.6rem);
  line-height:.92;
  letter-spacing:-.06em;
  margin:14px 0 18px;
  max-width:980px;
}
.index-subnav{
  max-width:1220px;
  margin:0 auto 22px;
  padding:0 22px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.index-map-visual{
  max-width:1220px;
  margin:0 auto 30px;
  padding:0 22px;
}
.index-map-visual img{
  display:block;
  width:100%;
  height:auto;
  border-radius:28px;
  border:1px solid rgba(19,63,53,.16);
  box-shadow:0 24px 60px rgba(19,63,53,.16);
  background:rgba(255,250,241,.72);
}
.index-quick{
  padding-top:0;
}
.index-three{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:20px;
}
.index-three .card h2{
  margin-top:14px;
}
.index-wide-visual,.home-visual-3d{
  display:none !important;
}
@media(max-width:900px){
  .index-three{grid-template-columns:1fr;}
  .index-title-block{padding:38px 16px 16px;}
  .index-subnav,.index-map-visual{padding-left:16px;padding-right:16px;}
  .index-map-visual img{border-radius:20px;}
}


/* V5.27 — index sin subnav, CTA a Los 5 montes y apoyo */
.index-map-cta{
  max-width:1220px;
  margin:-12px auto 30px;
  padding:0 22px;
}
.index-map-cta .btn-wide{
  display:flex;
  justify-content:center;
  width:100%;
  padding:15px 22px;
  font-size:1rem;
  border-radius:18px;
}
.index-support{
  margin:26px 0 0;
  padding:22px;
  border-radius:22px;
  background:rgba(255,250,241,.74);
  border:1px solid rgba(19,63,53,.12);
  text-align:center;
}
.index-support p{
  margin:0 0 12px;
  font-weight:900;
  color:#17352f;
}
.support-buttons{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.support-btn{
  min-width:150px;
}
.support-btn.kofi{
  background:rgba(31,93,74,.09);
}
.support-btn.paypal{
  background:rgba(22,77,126,.08);
}
@media(max-width:760px){
  .index-map-cta{
    padding:0 16px;
    margin:-8px auto 22px;
  }
  .index-support{
    padding:18px;
  }
  .support-btn{
    width:100%;
  }
}


/* V5.28 — botones de apoyo linkados y visuales */
.index-support{
  margin:30px 0 0;
  padding:26px;
  border-radius:26px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.75), transparent 34%),
    linear-gradient(135deg, rgba(255,250,241,.92), rgba(233,245,239,.88));
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 18px 46px rgba(19,63,53,.09);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.support-copy{
  text-align:left;
  max-width:520px;
}
.support-kicker{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(31,93,74,.10);
  color:#133f35;
  font-size:.78rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.index-support h2{
  margin:10px 0 6px;
  font-size:clamp(1.35rem,2.4vw,2rem);
}
.index-support p{
  margin:0;
  color:#495b54;
  font-weight:600;
}
.support-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.support-card{
  min-width:220px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:18px;
  text-decoration:none;
  border:1px solid rgba(19,63,53,.12);
  background:rgba(255,255,255,.7);
  color:#17352f;
  box-shadow:0 10px 24px rgba(19,63,53,.08);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.support-card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(19,63,53,.14);
  border-color:rgba(19,63,53,.24);
}
.support-card strong{
  display:block;
  font-weight:950;
  line-height:1.1;
}
.support-card small{
  display:block;
  margin-top:3px;
  color:#5f6f68;
  font-weight:700;
}
.support-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1.35rem;
  flex:0 0 auto;
}
.support-card.kofi .support-icon{
  background:linear-gradient(135deg,#fff4df,#ffd9a8);
}
.support-card.paypal .support-icon{
  background:linear-gradient(135deg,#e8f2ff,#b9d7ff);
}
.support-card.kofi{
  border-color:rgba(192,114,28,.22);
}
.support-card.paypal{
  border-color:rgba(28,91,170,.22);
}
@media(max-width:900px){
  .index-support{
    flex-direction:column;
    align-items:stretch;
    padding:20px;
  }
  .support-copy{
    text-align:center;
    max-width:none;
  }
  .support-buttons{
    justify-content:center;
  }
  .support-card{
    width:100%;
    min-width:0;
  }
}


/* V5.29 — Los 5 montes compactado */
.compact-territory-table table{min-width:900px;}
.score-pill{
  display:inline-flex;align-items:center;justify-content:center;
  padding:6px 9px;border-radius:999px;font-weight:950;white-space:nowrap;
  border:1px solid rgba(19,63,53,.12);
}
.score-very-low{background:#f8e8e3;color:#8a2d1e;}
.score-low{background:#f3ead8;color:#775116;}
.score-medium{background:#eef0db;color:#5a6218;}
.score-high{background:#e2f1e7;color:#1d673f;}
.score-very-high{background:#d9eee6;color:#0d5a3b;}
.global-doc-note{
  margin:14px 0 18px;padding:12px 14px;border-radius:16px;
  background:rgba(31,93,74,.08);border:1px solid rgba(31,93,74,.12);color:#17352f;
}
.compact-monte-card{padding:18px;}
.monte-meta-line{
  padding:12px 0;border-top:1px solid rgba(19,63,53,.10);
  border-bottom:1px solid rgba(19,63,53,.10);color:#495b54;
}
.score-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0;}
.score-card{
  border-radius:18px;padding:14px;border:1px solid rgba(19,63,53,.12);
  background:rgba(255,255,255,.55);
}
.score-card-very-low{background:linear-gradient(135deg,rgba(248,232,227,.9),rgba(255,255,255,.58));}
.score-card-low{background:linear-gradient(135deg,rgba(243,234,216,.9),rgba(255,255,255,.58));}
.score-card-medium{background:linear-gradient(135deg,rgba(238,240,219,.9),rgba(255,255,255,.58));}
.score-card-high{background:linear-gradient(135deg,rgba(226,241,231,.95),rgba(255,255,255,.58));}
.score-card-very-high{background:linear-gradient(135deg,rgba(217,238,230,.95),rgba(255,255,255,.58));}
.score-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:950;color:#17352f;}
.score-head strong{font-size:1.15rem;}
.score-label{
  display:inline-flex;margin:8px 0 8px;padding:4px 8px;border-radius:999px;
  background:rgba(19,63,53,.08);font-weight:900;font-size:.8rem;
}
.score-card p{margin:0;color:#495b54;line-height:1.45;}
.monte-lectura{margin:10px 0 0;color:#344841;line-height:1.45;}
@media(max-width:760px){
  .score-grid{grid-template-columns:1fr;}
  .compact-territory-table table{min-width:760px;}
}


/* V5.31 — plausibilidad profesional argumentada */
.compact-territory-table table{min-width:920px;}
.score-pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:999px;font-weight:950;white-space:nowrap;border:1px solid rgba(19,63,53,.12);}
.score-very-low{background:#f8e8e3;color:#8a2d1e;}
.score-low{background:#f3ead8;color:#775116;}
.score-medium{background:#eef0db;color:#5a6218;}
.score-high{background:#e2f1e7;color:#1d673f;}
.score-very-high{background:#d9eee6;color:#0d5a3b;}
.global-doc-note{margin:14px 0 18px;padding:12px 14px;border-radius:16px;background:rgba(31,93,74,.08);border:1px solid rgba(31,93,74,.12);color:#17352f;}
.compact-monte-card{padding:18px;}
.monte-meta-line{padding:12px 0;border-top:1px solid rgba(19,63,53,.10);border-bottom:1px solid rgba(19,63,53,.10);color:#495b54;}
.score-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0;}
.score-card{border-radius:18px;padding:14px;border:1px solid rgba(19,63,53,.12);background:rgba(255,255,255,.55);}
.score-card-very-low{background:linear-gradient(135deg,rgba(248,232,227,.9),rgba(255,255,255,.58));}
.score-card-low{background:linear-gradient(135deg,rgba(243,234,216,.9),rgba(255,255,255,.58));}
.score-card-medium{background:linear-gradient(135deg,rgba(238,240,219,.9),rgba(255,255,255,.58));}
.score-card-high{background:linear-gradient(135deg,rgba(226,241,231,.95),rgba(255,255,255,.58));}
.score-card-very-high{background:linear-gradient(135deg,rgba(217,238,230,.95),rgba(255,255,255,.58));}
.score-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:950;color:#17352f;}
.score-head strong{font-size:1.15rem;}
.score-label{display:inline-flex;margin:8px 0 8px;padding:4px 8px;border-radius:999px;background:rgba(19,63,53,.08);font-weight:900;font-size:.8rem;}
.score-card p{margin:0;color:#495b54;line-height:1.45;}
.monte-lectura{margin:10px 0 0;color:#344841;line-height:1.45;}
.monte-more{margin-top:14px;border-top:1px solid rgba(19,63,53,.10);padding-top:12px;}
.monte-more summary{cursor:pointer;font-weight:950;color:#133f35;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.monte-more summary::-webkit-details-marker{display:none;}
.monte-more summary::after{content:"+";width:24px;height:24px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(31,93,74,.10);}
.monte-more[open] summary::after{content:"–";}
.monte-more-content{margin-top:10px;padding:12px;border-radius:14px;background:rgba(255,250,241,.78);border:1px solid rgba(19,63,53,.10);}
.monte-more-content p{margin:0 0 9px;color:#495b54;line-height:1.45;}
.monte-more-content p:last-child{margin-bottom:0;}
.global-support{max-width:1180px;margin:34px auto 18px;padding:20px 22px;border-radius:24px;background:radial-gradient(circle at 12% 10%, rgba(255,255,255,.75), transparent 34%),linear-gradient(135deg, rgba(255,250,241,.92), rgba(233,245,239,.88));border:1px solid rgba(19,63,53,.14);box-shadow:0 16px 42px rgba(19,63,53,.08);display:flex;align-items:center;justify-content:space-between;gap:20px;}
.global-support-copy{display:flex;flex-direction:column;gap:4px;color:#17352f;}
.global-support-copy strong{font-size:1.15rem;}
.global-support-copy span:last-child{color:#5f6f68;font-weight:650;}
.support-buttons{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;}
.support-card{min-width:190px;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;text-decoration:none;border:1px solid rgba(19,63,53,.12);background:rgba(255,255,255,.72);color:#17352f;box-shadow:0 10px 24px rgba(19,63,53,.08);transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;}
.support-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(19,63,53,.14);border-color:rgba(19,63,53,.24);}
.support-card strong{display:block;font-weight:950;line-height:1.1;}
.support-card small{display:block;margin-top:3px;color:#5f6f68;font-weight:700;}
.support-icon{width:38px;height:38px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem;flex:0 0 auto;}
.support-card.kofi .support-icon{background:linear-gradient(135deg,#fff4df,#ffd9a8);}
.support-card.paypal .support-icon{background:linear-gradient(135deg,#e8f2ff,#b9d7ff);}
.support-card.kofi{border-color:rgba(192,114,28,.22);}
.support-card.paypal{border-color:rgba(28,91,170,.22);}
@media(max-width:900px){.global-support{flex-direction:column;align-items:stretch;text-align:center;margin-left:14px;margin-right:14px;}.support-buttons{justify-content:center;}.support-card{width:100%;min-width:0;}}
@media(max-width:760px){.score-grid{grid-template-columns:1fr;}.compact-territory-table table{min-width:780px;}}


/* V5.32 — informes acústicos técnicos */
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.report-card{padding:18px;border-radius:22px;background:rgba(255,250,241,.76);border:1px solid rgba(19,63,53,.12);box-shadow:0 12px 30px rgba(19,63,53,.07);}
.report-card h3{margin-top:0}.report-card details{margin-top:12px;border-top:1px solid rgba(19,63,53,.10);padding-top:10px}.report-card summary{cursor:pointer;font-weight:950;color:#133f35}
.criteria-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mini-card{padding:14px;border-radius:18px;background:rgba(255,255,255,.58);border:1px solid rgba(19,63,53,.12)}.mini-card strong{display:block;color:#133f35;margin-bottom:6px}.mini-card span{color:#495b54}.acoustic-link-note a{font-weight:950}.notice.neutral{padding:14px;border-radius:16px;background:rgba(31,93,74,.08);border:1px solid rgba(31,93,74,.12)}
@media(max-width:900px){.report-grid,.criteria-grid{grid-template-columns:1fr}}


/* V5.36 — nuevo título index */
.header-bocinas{
  max-width:1180px;
  margin:34px auto 26px;
  padding:48px 28px 38px;
  border-radius:30px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.72), transparent 34%),
    linear-gradient(135deg, rgba(255,250,241,.96), rgba(232,244,238,.92));
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 18px 46px rgba(19,63,53,.09);
  text-align:center;
}
.header-bocinas .antetitulo{
  margin:0 0 12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.78rem;
  font-weight:900;
  color:#7a5a22;
}
.header-bocinas .titulo-principal{
  margin:0;
  font-size:clamp(3rem, 8vw, 6.4rem);
  line-height:.92;
  letter-spacing:-.055em;
  color:#102f29;
}
.header-bocinas .subtitulo{
  max-width:760px;
  margin:22px auto 0;
  font-size:clamp(1.02rem, 2vw, 1.28rem);
  line-height:1.55;
  color:#43574f;
  font-weight:650;
}
@media(max-width:760px){
  .header-bocinas{
    margin:20px 14px 22px;
    padding:36px 18px 30px;
    border-radius:24px;
  }
  .header-bocinas .antetitulo{
    letter-spacing:.11em;
    font-size:.72rem;
  }
}


/* V5.37 — Mapbox restaurado */
.mapbox-wrap{
  margin:22px 0;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(19,63,53,.18);
  box-shadow:0 18px 48px rgba(19,63,53,.12);
  background:linear-gradient(135deg, rgba(255,250,241,.82), rgba(232,244,238,.75));
}
#mapbox-map,
#mapa-mapbox,
[data-mapbox-map]{
  min-height:560px;
  width:100%;
}
.mb-marker{
  width:24px;
  height:24px;
  border-radius:999px;
  background:var(--marker-color,#c98c2e);
  border:4px solid #fff8ec;
  box-shadow:0 8px 22px rgba(19,63,53,.32);
  cursor:pointer;
}
.mb-marker::after{
  content:"";
  position:absolute;
  width:9px;
  height:9px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}
.mb-marker-center{
  width:28px;
  height:28px;
  background:#133f35;
}
.mapboxgl-popup-content{
  border-radius:14px;
  padding:12px 14px;
  color:#17352f;
  font-family:inherit;
  box-shadow:0 12px 30px rgba(19,63,53,.18);
}
.mapbox-status-note{
  margin:12px 0 0;
  color:#5f6f68;
  text-align:center;
  font-size:.92rem;
}


/* V5.43 — reparación GitHub Pages */
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:linear-gradient(90deg,#f3eadc,#eef3e8);
  color:#102f29;
}
.site-header{
  max-width:1180px;
  margin:0 auto;
  padding:18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#102f29;font-weight:900}
.brand img{width:34px;height:34px}
.top-nav{display:flex;flex-wrap:wrap;gap:10px}
.top-nav a{text-decoration:none;color:#17352f;font-weight:800;padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.42)}
.container{max-width:1180px;margin:0 auto;padding:0 18px 36px}
.header-bocinas{
  max-width:1180px;
  margin:34px auto 26px;
  padding:48px 28px 38px;
  border-radius:30px;
  background:radial-gradient(circle at 16% 18%, rgba(255,255,255,.72), transparent 34%),linear-gradient(135deg, rgba(255,250,241,.96), rgba(232,244,238,.92));
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 18px 46px rgba(19,63,53,.09);
  text-align:center;
}
.header-bocinas .antetitulo{margin:0 0 12px;text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:900;color:#7a5a22}
.header-bocinas .titulo-principal{margin:0;font-size:clamp(3rem,8vw,6.4rem);line-height:.92;letter-spacing:-.055em;color:#102f29}
.header-bocinas .subtitulo{max-width:760px;margin:22px auto 0;font-size:clamp(1.02rem,2vw,1.28rem);line-height:1.55;color:#43574f;font-weight:650}
.section,.page-hero,.home-map-preview{
  margin:22px auto;
  padding:24px;
  border-radius:24px;
  background:rgba(255,250,241,.76);
  border:1px solid rgba(19,63,53,.12);
  box-shadow:0 14px 34px rgba(19,63,53,.07);
}
.home-map-preview{text-align:center}
.home-map-orb{
  position:relative;
  max-width:760px;
  min-height:330px;
  margin:0 auto 14px;
  border-radius:38px;
  background:
    radial-gradient(circle at 50% 55%, #244d3b 0 8%, transparent 9%),
    radial-gradient(ellipse at 32% 58%, rgba(52,111,73,.8) 0 18%, transparent 19%),
    radial-gradient(ellipse at 68% 45%, rgba(217,183,112,.82) 0 24%, transparent 25%),
    linear-gradient(135deg,#cfe6e7,#e9d5a3);
  box-shadow:inset 0 -30px 60px rgba(19,63,53,.12),0 18px 42px rgba(19,63,53,.16);
  overflow:hidden;
}
.pin{position:absolute;background:#c98c2e;color:#fff8ec;padding:7px 10px;border-radius:999px;font-weight:950;box-shadow:0 8px 20px rgba(19,63,53,.25);font-size:.9rem}
.pin-g{left:47%;top:52%;background:#133f35}.pin-1{left:38%;top:78%}.pin-2{left:65%;top:28%}.pin-3{left:76%;top:44%}.pin-4{left:23%;top:47%}.pin-5{left:46%;top:30%}
.mapbox-wrap{margin:22px 0;border-radius:28px;overflow:hidden;border:1px solid rgba(19,63,53,.18);box-shadow:0 18px 48px rgba(19,63,53,.12);background:linear-gradient(135deg,rgba(255,250,241,.82),rgba(232,244,238,.75))}
#mapbox-map,#mapa-mapbox,[data-mapbox-map]{min-height:560px;width:100%}
.mb-marker{width:24px;height:24px;border-radius:999px;background:var(--marker-color,#c98c2e);border:4px solid #fff8ec;box-shadow:0 8px 22px rgba(19,63,53,.32);cursor:pointer}
.mb-marker-center{width:28px;height:28px;background:#133f35}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid rgba(19,63,53,.12);text-align:left;vertical-align:top}
.footer{max-width:1180px;margin:24px auto;padding:22px 18px;color:#536760;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
@media(max-width:760px){.site-header{align-items:flex-start;flex-direction:column}.header-bocinas{margin:20px 14px 22px;padding:36px 18px 30px;border-radius:24px}.home-map-orb{min-height:260px}.pin{font-size:.75rem}.top-nav a{font-size:.86rem}}


/* V5.44 — portada con imagen estática */
.index-static-hero{
  max-width:1180px;
  margin:28px auto 18px;
  padding:0;
  border-radius:28px;
  overflow:hidden;
  background:rgba(255,250,241,.78);
  border:1px solid rgba(19,63,53,.12);
  box-shadow:0 18px 44px rgba(19,63,53,.10);
}
.index-static-hero img{
  display:block;
  width:100%;
  height:auto;
}
.index-map-cta{
  max-width:1180px;
  margin:0 auto 18px;
}


/* V5.45 — portada corregida, sin tocar contenido */
.header-bocinas{
  max-width:1180px;
  margin:34px auto 22px;
  padding:42px 28px 34px;
  border-radius:30px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.72), transparent 34%),
    linear-gradient(135deg, rgba(255,250,241,.96), rgba(232,244,238,.92));
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 18px 46px rgba(19,63,53,.09);
  text-align:center;
}
.header-bocinas .antetitulo{
  margin:0 0 12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.78rem;
  font-weight:900;
  color:#7a5a22;
}
.header-bocinas .titulo-principal{
  margin:0;
  font-size:clamp(3rem, 7.4vw, 6rem);
  line-height:.94;
  letter-spacing:-.055em;
  color:#102f29;
}
.header-bocinas .subtitulo{
  max-width:760px;
  margin:22px auto 0;
  font-size:clamp(1.02rem, 2vw, 1.24rem);
  line-height:1.55;
  color:#43574f;
  font-weight:650;
}
.index-static-hero{
  max-width:1040px;
  margin:18px auto 18px;
  padding:10px;
  border-radius:26px;
  overflow:hidden;
  background:rgba(255,250,241,.78);
  border:1px solid rgba(19,63,53,.12);
  box-shadow:0 18px 44px rgba(19,63,53,.10);
}
.index-static-hero img{
  display:block;
  width:100%;
  max-height:620px;
  object-fit:contain;
  border-radius:18px;
}
.index-map-cta{
  max-width:760px;
  margin:0 auto 24px;
  padding:0 18px;
}
.index-map-cta .btn,
.index-map-cta .btn-wide,
.index-map-cta a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:52px;
  border-radius:16px;
}
.index-title-block,
.index-map-visual,
.home-map-preview{
  display:none !important;
}
@media(max-width:760px){
  .header-bocinas{
    margin:20px 14px 18px;
    padding:34px 18px 28px;
    border-radius:24px;
  }
  .header-bocinas .antetitulo{
    letter-spacing:.11em;
    font-size:.72rem;
  }
  .index-static-hero{
    margin:14px 14px 16px;
    padding:6px;
    border-radius:20px;
  }
  .index-static-hero img{
    max-height:none;
    border-radius:14px;
  }
  .index-map-cta{
    margin-bottom:18px;
  }
}


/* V5.46 — encaje correcto de imagen portada */
.index-static-hero{
  max-width:1180px !important;
  width:calc(100% - 36px) !important;
  margin:22px auto 18px !important;
  padding:0 !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.index-static-figure{
  width:100% !important;
  max-width:980px !important;
  margin:0 auto !important;
  padding:10px !important;
  border-radius:28px !important;
  background:rgba(255,250,241,.78) !important;
  border:1px solid rgba(19,63,53,.12) !important;
  box-shadow:0 18px 44px rgba(19,63,53,.10) !important;
  overflow:hidden !important;
}
.index-static-figure img,
.index-static-hero img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:520px !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:18px !important;
}
.index-map-cta{
  max-width:760px !important;
  width:calc(100% - 36px) !important;
  margin:0 auto 24px !important;
  padding:0 !important;
}
@media(max-width:760px){
  .index-static-hero{
    width:calc(100% - 24px) !important;
    margin:16px auto 14px !important;
  }
  .index-static-figure{
    max-width:100% !important;
    padding:6px !important;
    border-radius:20px !important;
  }
  .index-static-figure img,
  .index-static-hero img{
    max-height:none !important;
    border-radius:14px !important;
  }
  .index-map-cta{
    width:calc(100% - 28px) !important;
    margin-bottom:18px !important;
  }
}


/* V5.47 — bloques documentales 1342 / folio 35 */
.research-update,.source-card,.verdict-update{max-width:1040px;margin:32px auto;padding:28px;border-radius:24px;background:rgba(255,250,241,.92);border:1px solid rgba(19,63,53,.14);box-shadow:0 12px 34px rgba(19,63,53,.08)}
.research-update h2,.source-card h2,.verdict-update h2{margin-top:0}
.research-update .eyebrow,.verdict-update .eyebrow{margin:0 0 10px;font-weight:900;text-transform:uppercase;letter-spacing:.13em;color:#7a5a22;font-size:.78rem}
.critical-note{padding:16px 18px;border-left:4px solid #7a5a22;background:rgba(122,90,34,.08);border-radius:14px;font-weight:650}
.source-card dl{display:grid;grid-template-columns:minmax(150px,230px) 1fr;gap:12px 18px}.source-card dt{font-weight:900;color:#102f29}.source-card dd{margin:0}
@media(max-width:760px){.research-update,.source-card,.verdict-update{margin:22px 14px;padding:20px;border-radius:20px}.source-card dl{display:block}.source-card dt{margin-top:14px}}


/* V5.48 — centrado definitivo imagen index */
.index-static-hero-v548{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:1180px !important;
  margin:24px auto 20px !important;
  padding:0 18px !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
  clear:both !important;
}
.index-static-figure-v548{
  box-sizing:border-box !important;
  display:block !important;
  width:100% !important;
  max-width:980px !important;
  margin:0 auto !important;
  padding:10px !important;
  border-radius:28px !important;
  background:rgba(255,250,241,.78) !important;
  border:1px solid rgba(19,63,53,.12) !important;
  box-shadow:0 18px 44px rgba(19,63,53,.10) !important;
  overflow:hidden !important;
}
.index-static-figure-v548 img{
  box-sizing:border-box !important;
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:560px !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 auto !important;
  border-radius:18px !important;
}
@media(max-width:760px){
  .index-static-hero-v548{
    width:100% !important;
    margin:18px auto 16px !important;
    padding:0 12px !important;
  }
  .index-static-figure-v548{
    max-width:100% !important;
    padding:6px !important;
    border-radius:20px !important;
  }
  .index-static-figure-v548 img{
    max-height:none !important;
    border-radius:14px !important;
  }
}


/* V5.49 — portada limpia: imagen centrada sin clases heredadas
   Diagnóstico: las versiones anteriores acumulaban reglas .index-static-hero,
   .index-static-figure y variantes con !important. El index ya no usa esas clases.
*/
.index-hero-image{
  box-sizing:border-box;
  width:min(980px, calc(100% - 32px));
  margin:24px auto 20px;
  padding:10px;
  border-radius:28px;
  background:rgba(255,250,241,.78);
  border:1px solid rgba(19,63,53,.12);
  box-shadow:0 18px 44px rgba(19,63,53,.10);
  overflow:hidden;
  display:block;
  clear:both;
}

.index-hero-image img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:560px;
  object-fit:contain;
  object-position:center center;
  margin:0 auto;
  border-radius:18px;
}

@media(max-width:760px){
  .index-hero-image{
    width:calc(100% - 24px);
    margin:18px auto 16px;
    padding:6px;
    border-radius:20px;
  }
  .index-hero-image img{
    max-height:none;
    border-radius:14px;
  }
}


/* V5.51 — folio 35 confirmado + mapa visual 3D restaurado */
.montes-visual-3d{max-width:1180px;margin:32px auto;padding:0 18px}
.montes-visual-3d-inner{display:grid;grid-template-columns:minmax(260px,380px) 1fr;gap:24px;align-items:center;padding:24px;border-radius:28px;background:rgba(255,250,241,.88);border:1px solid rgba(19,63,53,.14);box-shadow:0 16px 42px rgba(19,63,53,.08)}
.montes-visual-3d-text h2{margin:0 0 12px}
.montes-visual-3d-text p{margin:0}
.montes-visual-3d img{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:20px;background:rgba(232,244,238,.5);border:1px solid rgba(19,63,53,.12)}
.montes-visual-3d-fallback{min-height:360px;border-radius:20px;background:linear-gradient(135deg,rgba(232,244,238,.9),rgba(211,229,219,.6));border:1px solid rgba(19,63,53,.12);position:relative;display:grid;place-items:center}
.montes-visual-3d-fallback span,.montes-visual-3d-fallback strong{position:absolute;padding:8px 12px;border-radius:999px;background:#0f3d35;color:#fff;font-weight:800}
.montes-visual-3d-fallback strong{top:50%;left:50%;transform:translate(-50%,-50%);background:#7a5a22}
.montes-visual-3d-fallback span:nth-child(2){left:15%;bottom:18%}
.montes-visual-3d-fallback span:nth-child(3){right:25%;top:18%}
.montes-visual-3d-fallback span:nth-child(4){right:12%;top:42%}
.montes-visual-3d-fallback span:nth-child(5){left:10%;top:42%}
.montes-visual-3d-fallback span:nth-child(6){left:28%;top:22%}
@media(max-width:860px){.montes-visual-3d-inner{grid-template-columns:1fr;padding:18px}.montes-visual-3d img{max-height:none}}


/* V5.52 — mapa interactivo único y visible */
.mapbox-3d-section{
  max-width:1180px;
  margin:34px auto;
  padding:28px;
  border-radius:28px;
  background:rgba(255,250,241,.92);
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 16px 42px rgba(19,63,53,.08);
}
.mapbox-3d-section .section-title{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin-bottom:22px;
}
.mapbox-3d-section .section-title h2{
  margin:0 0 10px;
  font-size:clamp(2rem,4vw,3.2rem);
  color:#0f3d35;
}
.mapbox-3d-section .section-title p{
  margin:0;
  max-width:850px;
  color:#4a5f57;
  font-size:1.08rem;
  line-height:1.55;
}
.mapbox-montes{
  position:relative;
  width:100%;
  min-height:560px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(19,63,53,.28);
  background:#eaf3ee;
}
.mapbox-montes .mapboxgl-canvas,
.mapbox-montes canvas{
  outline:none;
}
.mapbox-loading{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#4a5f57;
  font-weight:700;
  background:linear-gradient(135deg,#eef7f1,#dfeee6);
  z-index:1;
}
@media(max-width:760px){
  .mapbox-3d-section{
    margin:24px 14px;
    padding:18px;
    border-radius:22px;
  }
  .mapbox-montes{
    min-height:440px;
    border-radius:18px;
  }
}


/* V5.53 — mapa Mapbox único funcional */
.mapbox-3d-section-v553{
  max-width:1180px;
  margin:34px auto;
  padding:28px;
  border-radius:28px;
  background:rgba(255,250,241,.92);
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 16px 42px rgba(19,63,53,.08);
}
.mapbox-3d-section-v553 .section-title{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin-bottom:22px;
}
.mapbox-3d-section-v553 .section-title h2{
  margin:0 0 10px;
  font-size:clamp(2rem,4vw,3.2rem);
  color:#0f3d35;
}
.mapbox-3d-section-v553 .section-title p{
  margin:0;
  max-width:850px;
  color:#4a5f57;
  font-size:1.08rem;
  line-height:1.55;
}
.mapbox-map-v553{
  position:relative;
  width:100%;
  height:620px;
  min-height:620px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(19,63,53,.28);
  background:#eaf3ee;
}
.mapbox-status-v553{
  margin:12px 0 0;
  text-align:center;
  color:#4a5f57;
  font-weight:700;
}
.mapbox-status-v553.is-error{
  color:#8a2f1a;
}
.mapbox-marker-v553{
  width:20px;
  height:20px;
  border-radius:50%;
  border:3px solid #fff8e8;
  background:var(--marker-color,#0f3d35);
  box-shadow:0 4px 12px rgba(0,0,0,.28);
  cursor:pointer;
}
.mapbox-marker-v553:hover{
  transform:scale(1.15);
}
@media(max-width:760px){
  .mapbox-3d-section-v553{
    margin:24px 14px;
    padding:18px;
    border-radius:22px;
  }
  .mapbox-map-v553{
    height:480px;
    min-height:480px;
    border-radius:18px;
  }
}


/* V5.54 — posición correcta del mapa 3D */
.mapa-simple-map:empty,
.mapa-simple-map .mapbox-shell:empty{
  display:none !important;
}
.mapa-simple-wrap > .mapbox-3d-section-v553{
  margin-top:24px !important;
  margin-bottom:34px !important;
}
.mapbox-3d-section-v553{
  max-width:1180px !important;
}
.mapbox-map-v553{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  background:#eaf3ee !important;
}
.mapbox-map-v553 .mapboxgl-canvas{
  display:block !important;
}


/* V5.55 — tabla crítica de fuentes */
.critical-sources-section,
.critical-sources-summary{
  max-width:1180px;
  margin:34px auto;
  padding:28px;
  border-radius:28px;
  background:rgba(255,250,241,.92);
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 16px 42px rgba(19,63,53,.08);
}
.critical-sources-section .lead{
  max-width:920px;
  color:#4a5f57;
  line-height:1.6;
}
.critical-table-wrap{
  width:100%;
  overflow-x:auto;
  margin-top:22px;
  border-radius:20px;
  border:1px solid rgba(19,63,53,.16);
  background:#fffaf1;
}
.critical-sources-table{
  width:100%;
  min-width:1080px;
  border-collapse:collapse;
  font-size:.94rem;
}
.critical-sources-table th{
  background:#0f3d35;
  color:#fffaf1;
  text-align:left;
  padding:14px 16px;
  vertical-align:top;
  font-weight:900;
}
.critical-sources-table td{
  padding:14px 16px;
  border-top:1px solid rgba(19,63,53,.12);
  vertical-align:top;
  line-height:1.45;
}
.critical-sources-table tbody tr:nth-child(even){
  background:rgba(232,244,238,.42);
}
.status-pill{
  display:inline-block;
  padding:6px 9px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:900;
  white-space:nowrap;
  border:1px solid rgba(19,63,53,.16);
}
.status-pill.ok{background:#e3f2ea;color:#0f3d35}
.status-pill.warn{background:#fff2da;color:#745018}
.status-pill.pending{background:#eef1f5;color:#39495a}
.status-pill.no{background:#f5e1dc;color:#7d2d1b}
.source-verdict-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:24px;
}
.source-verdict-grid article{
  padding:18px;
  border-radius:18px;
  background:rgba(232,244,238,.55);
  border:1px solid rgba(19,63,53,.12);
}
.source-verdict-grid h3{
  margin:0 0 8px;
  color:#0f3d35;
}
.source-verdict-grid p{
  margin:0;
}
.clean-list{
  margin:18px 0 0;
  padding-left:1.2rem;
}
.clean-list li{
  margin:.55rem 0;
}
@media(max-width:860px){
  .critical-sources-section,
  .critical-sources-summary{
    margin:24px 14px;
    padding:20px;
    border-radius:22px;
  }
  .source-verdict-grid{
    grid-template-columns:1fr;
  }
}


/* V5.56 — cronología de recepción Trueba 1872 */
.reception-chronology{max-width:1180px;margin:34px auto;padding:28px;border-radius:28px;background:rgba(255,250,241,.92);border:1px solid rgba(19,63,53,.14);box-shadow:0 16px 42px rgba(19,63,53,.08)}
.reception-chronology .lead{max-width:960px;line-height:1.62;color:#4a5f57}
.timeline-critical{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0}
.timeline-critical article{padding:18px;border-radius:20px;background:rgba(232,244,238,.48);border:1px solid rgba(19,63,53,.12)}
.timeline-critical article.highlight{background:rgba(255,242,218,.82);border-color:rgba(122,90,34,.28)}
.timeline-critical .date{display:inline-block;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:#0f3d35;color:#fffaf1;font-weight:900;font-size:.82rem}
.timeline-critical h3{margin:0 0 8px;color:#0f3d35}
.timeline-critical p{margin:.5rem 0;line-height:1.48}
.timeline-critical .limit{font-weight:800;color:#7a5a22}
@media(max-width:980px){.timeline-critical{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.reception-chronology{margin:24px 14px;padding:20px;border-radius:22px}.timeline-critical{grid-template-columns:1fr}}


/* V5.57 — cronología general del estudio */
.general-timeline-section,
.timeline-summary-block{
  max-width:1180px;
  margin:34px auto;
  padding:28px;
  border-radius:28px;
  background:rgba(255,250,241,.92);
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 16px 42px rgba(19,63,53,.08);
}
.general-timeline-section .lead{
  max-width:960px;
  color:#4a5f57;
  line-height:1.62;
}
.timeline-general{
  position:relative;
  margin:30px 0;
  display:grid;
  gap:20px;
}
.timeline-general::before{
  content:"";
  position:absolute;
  left:92px;
  top:0;
  bottom:0;
  width:3px;
  background:linear-gradient(#0f3d35,#c7a86a);
  border-radius:999px;
  opacity:.45;
}
.timeline-item{
  position:relative;
  display:grid;
  grid-template-columns:150px 1fr;
  gap:22px;
  align-items:start;
  padding:22px;
  border-radius:22px;
  border:1px solid rgba(19,63,53,.12);
  background:rgba(232,244,238,.44);
}
.timeline-item::before{
  content:"";
  position:absolute;
  left:84px;
  top:32px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#0f3d35;
  border:4px solid #fffaf1;
  box-shadow:0 0 0 2px rgba(19,63,53,.18);
}
.timeline-date{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:40px;
  padding:8px 12px;
  border-radius:999px;
  background:#0f3d35;
  color:#fffaf1;
  font-weight:900;
  text-align:center;
}
.timeline-item h3{
  margin:0 0 8px;
  color:#0f3d35;
}
.timeline-item p{
  margin:.5rem 0;
  line-height:1.52;
}
.timeline-proof{
  color:#123b32;
}
.timeline-limit{
  color:#7a5a22;
  font-weight:750;
}
.timeline-item.evidence-medium{
  background:rgba(255,242,218,.62);
}
.timeline-item.evidence-modern{
  background:rgba(239,244,246,.76);
}
.timeline-final-verdict{
  padding:22px;
  border-radius:22px;
  background:rgba(122,90,34,.08);
  border-left:5px solid #7a5a22;
}
.timeline-final-verdict h3{
  margin-top:0;
}
.timeline-mini-list{
  margin:18px 0 0;
  padding-left:1.4rem;
}
.timeline-mini-list li{
  margin:.7rem 0;
}
@media(max-width:760px){
  .general-timeline-section,
  .timeline-summary-block{
    margin:24px 14px;
    padding:20px;
    border-radius:22px;
  }
  .timeline-general::before{
    left:24px;
  }
  .timeline-item{
    grid-template-columns:1fr;
    padding-left:54px;
  }
  .timeline-item::before{
    left:16px;
  }
  .timeline-date{
    justify-content:flex-start;
    width:max-content;
  }
}


/* V5.58 — pendientes críticos y estado final */
.research-status-final,.final-verdict-levels{max-width:1180px;margin:34px auto;padding:28px;border-radius:28px;background:rgba(255,250,241,.92);border:1px solid rgba(19,63,53,.14);box-shadow:0 16px 42px rgba(19,63,53,.08)}
.research-status-final .lead{max-width:940px;color:#4a5f57;line-height:1.62}
.critical-status-table{width:100%;min-width:980px;border-collapse:collapse;font-size:.95rem}
.critical-status-table th{background:#0f3d35;color:#fffaf1;text-align:left;padding:14px 16px;vertical-align:top;font-weight:900}
.critical-status-table td{padding:14px 16px;border-top:1px solid rgba(19,63,53,.12);vertical-align:top;line-height:1.48}
.critical-status-table tbody tr:nth-child(even){background:rgba(232,244,238,.42)}
.evidence-grid,.levels-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:26px 0}
.evidence-card,.levels-grid article{padding:18px;border-radius:20px;border:1px solid rgba(19,63,53,.12);background:rgba(232,244,238,.48)}
.evidence-card h3,.levels-grid h3{margin:0 0 8px;color:#0f3d35}
.evidence-card p,.levels-grid p{margin:0;line-height:1.5}
.evidence-proven{background:rgba(227,242,234,.8)}
.evidence-likely{background:rgba(255,242,218,.8)}
.evidence-reception{background:rgba(239,244,246,.9)}
.evidence-open{background:rgba(245,225,220,.65)}
@media(max-width:980px){.evidence-grid,.levels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.research-status-final,.final-verdict-levels{margin:24px 14px;padding:20px;border-radius:22px}.evidence-grid,.levels-grid{grid-template-columns:1fr}}


/* V5.60 — release candidate pública */
.public-release-notice,
.internal-page-notice{
  max-width:1000px;
  margin:34px auto;
  padding:28px;
  border-radius:28px;
  background:rgba(255,250,241,.92);
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 16px 42px rgba(19,63,53,.08);
}
.public-release-notice h2,
.internal-page-notice h2{
  margin-top:0;
  color:#0f3d35;
}
.public-release-notice p,
.internal-page-notice p{
  line-height:1.62;
}
@media(max-width:760px){
  .public-release-notice,
  .internal-page-notice{
    margin:24px 14px;
    padding:20px;
    border-radius:22px;
  }
}


/* V5.61 — pulido visual release candidate */
.public-release-notice{
  width:min(1000px, calc(100% - 32px)) !important;
  margin:34px auto !important;
  box-sizing:border-box !important;
}
.public-release-notice .critical-note{
  display:block;
  border-radius:18px;
  padding:14px 16px;
  background:rgba(122,90,34,.08);
  border-left:4px solid #7a5a22;
}
body.home-page .public-release-notice{
  margin-top:28px !important;
  margin-bottom:36px !important;
}
#mapbox-status:empty{
  display:none !important;
}
.mapbox-status-v553:empty{
  display:none !important;
}
.site-footer,
footer{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}


/* V5.62 — micro-pulido de portada */
body.home-page main,
body.home-page .page-main,
body.home-page .home-main{
  padding-top:clamp(18px, 3vw, 42px);
}
body.home-page .hero,
body.home-page .home-hero,
body.home-page .hero-section,
body.home-page header + main section:first-of-type{
  scroll-margin-top:110px;
}
.public-release-strip{
  width:min(1000px, calc(100% - 32px));
  margin:26px auto 34px;
  padding:14px 18px;
  border-radius:18px;
  background:rgba(255,250,241,.92);
  border:1px solid rgba(122,90,34,.22);
  box-shadow:0 10px 26px rgba(19,63,53,.06);
  display:flex;
  align-items:center;
  gap:14px;
  box-sizing:border-box;
}
.public-release-strip .strip-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,242,218,.95);
  border:1px solid rgba(122,90,34,.22);
  color:#7a5a22;
  font-weight:900;
  font-size:.82rem;
  white-space:nowrap;
}
.public-release-strip p{
  margin:0;
  line-height:1.45;
  color:#123b32;
  font-size:.96rem;
}
.public-release-strip em{
  font-style:normal;
  font-weight:800;
  color:#7a5a22;
}
body.home-page .public-release-notice{
  display:none !important;
}
@media(max-width:760px){
  body.home-page main,
  body.home-page .page-main,
  body.home-page .home-main{
    padding-top:22px;
  }
  .public-release-strip{
    align-items:flex-start;
    flex-direction:column;
    margin:22px 14px 28px;
    width:auto;
    padding:14px;
  }
}


/* V1.0 — cita y cierre público */
.citation-strip{
  width:min(1000px, calc(100% - 32px));
  margin:28px auto;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,250,241,.92);
  border:1px solid rgba(19,63,53,.14);
  box-shadow:0 10px 26px rgba(19,63,53,.06);
  box-sizing:border-box;
}
.citation-strip p{margin:.25rem 0;line-height:1.5}
@media(max-width:760px){.citation-strip{width:auto;margin:22px 14px}}


/* V1.7.2 — accesibilidad, mapa fallback, SEO UX y panel montañero */
.skip-link{position:absolute;left:1rem;top:.5rem;z-index:9999;transform:translateY(-180%);background:#fff8e8;color:#0f3d35;border:2px solid #0f3d35;border-radius:.7rem;padding:.65rem .9rem;font-weight:800;text-decoration:none;box-shadow:0 10px 24px rgba(15,61,53,.18)}.skip-link:focus{transform:translateY(0)}.menu-section-title{margin:0 0 .55rem;color:#0f3d35;font-weight:850;font-size:.95rem;letter-spacing:.02em;text-transform:uppercase}.menu-panel a[aria-current="page"],.nav-simple a[aria-current="page"]{font-weight:850;text-decoration:underline;text-underline-offset:.22em}.mountaineer-panel .v13-panel{border:1px solid rgba(15,61,53,.18);background:linear-gradient(135deg,#fff8e8 0%,#edf5ef 100%)}.mountaineer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.2rem 0}.mountaineer-grid article{background:rgba(255,255,255,.74);border:1px solid rgba(15,61,53,.14);border-radius:1rem;padding:1rem;display:flex;flex-direction:column;gap:.35rem}.mountaineer-grid strong{color:#0f3d35}.mountaineer-grid span{color:#574d42;line-height:1.45}.mapa-caution-lead{max-width:78ch;margin:.8rem auto 0;color:#574d42;font-weight:650}.map-fallback-panel{margin-top:1rem;border:1px solid rgba(15,61,53,.18);border-radius:1.25rem;padding:1rem;background:#fff8e8}.map-fallback-panel.is-visible{box-shadow:0 0 0 3px rgba(196,122,44,.20)}.static-map-figure{margin:1rem 0 0}.static-map-figure img{display:block;width:100%;height:auto;border-radius:1rem;border:1px solid rgba(15,61,53,.16);background:#f5eddf}.static-map-figure figcaption{font-size:.92rem;color:#574d42;margin-top:.5rem}.map-fallback-links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.mapbox-status-v553.is-error{background:#fff1e8;color:#6d2f16;border-color:#c47a2c}.source-actions a[href$=".webp"]::after{content:" · optimizado";font-size:.82em;opacity:.75}.global-doc-note strong,.mapa-geo-note strong{color:#0f3d35}@media (max-width:760px){.mountaineer-grid{grid-template-columns:1fr}.map-fallback-panel{padding:.75rem}.menu-panel{max-height:calc(100vh - 5rem);overflow:auto}.v13-hero-image img{max-height:360px;object-fit:cover}}


/* V1.8.0 — página de montes, glosario y modo montañero prudente */
.nav-simple a,.btn,.menu-toggle{min-height:48px}
.anchor-cloud{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.2rem 0 0}.anchor-cloud a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.65rem 1rem;border-radius:999px;text-decoration:none;font-weight:850;background:#fff;border:1px solid rgba(15,61,53,.18);box-shadow:0 6px 16px rgba(31,42,35,.06)}.anchor-cloud a:hover{background:rgba(31,93,74,.09);color:var(--green)}
.montes-hero{background:linear-gradient(135deg,#fff8e8 0%,#ecf4ef 100%)}.monte-public-grid{display:grid;grid-template-columns:1fr;gap:1rem}.monte-public-card{scroll-margin-top:110px;background:rgba(255,255,255,.72);border:1px solid rgba(15,61,53,.16);border-radius:1.35rem;padding:1.25rem;box-shadow:0 10px 26px rgba(31,42,35,.06)}.monte-public-head{display:flex;gap:1rem;align-items:flex-start;margin-bottom:.9rem}.monte-public-head h2{margin:.1rem 0 .25rem;font-size:clamp(1.45rem,2.4vw,2rem)}.monte-public-head p{margin:0;color:#5f6b63;font-weight:750}.monte-public-mark{flex:0 0 auto;width:2.7rem;height:2.7rem;border-radius:.9rem;display:inline-flex;align-items:center;justify-content:center;background:rgba(31,93,74,.12);color:var(--green);font-weight:950}.monte-public-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.8rem 0}.monte-public-meta span{display:block;padding:.7rem .8rem;border-radius:.9rem;background:#fff8e8;border:1px solid rgba(197,139,66,.22)}.evidence-strip,.doc-warning{border-radius:1rem;padding:.9rem 1rem;margin:.85rem 0;border:1px solid rgba(15,61,53,.14);background:rgba(237,245,239,.72)}.doc-warning{background:#fff3e6;border-color:rgba(196,122,44,.25);color:#633c12}.evidence-strip p{margin:.45rem 0 0}.evidence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.evidence-grid article{background:rgba(255,255,255,.68);border:1px solid rgba(15,61,53,.14);border-radius:1rem;padding:1rem}.evidence-grid h3{margin:.6rem 0 .35rem}.glossary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.glossary-card{scroll-margin-top:110px;border:1px solid rgba(15,61,53,.15);background:rgba(255,255,255,.72);border-radius:1.1rem;padding:1rem}.glossary-card h2{font-size:1.25rem;margin:0 0 .45rem;color:var(--green)}.glossary-card p{margin:0;color:#4d5b53}.touch-note{font-size:.94rem;color:#574d42}
@media(max-width:780px){.monte-public-meta,.evidence-grid,.glossary-grid{grid-template-columns:1fr}.anchor-cloud a{flex:1 1 44%}.monte-public-card{padding:1rem}.truth-strip{grid-template-columns:1fr}.nav-simple a,.btn,.menu-toggle{min-height:48px}}

/* === Pie de página unificado (estilo original del index, v341) — añadido global === */
.v341-footer{background:#133f35;color:#d7e0da;padding:58px 0 64px;margin:0;width:100%;max-width:none}
.v341-footer-wrap{max-width:1180px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:1.35fr .9fr .9fr;gap:72px}
.v341-footer h4{font-family:var(--disp,system-ui,sans-serif);color:#fff7e8;font-size:1.05rem;margin:0 0 12px}
.v341-footer p{max-width:34ch;margin:0;line-height:1.65;color:#d7e0da}
.v341-footer-links{display:flex;flex-direction:column;gap:8px;font-family:var(--mono,ui-monospace,monospace);font-size:.82rem}
.v341-footer a{color:#e4aa4b;text-decoration:none}
.v341-footer a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){.v341-footer-wrap{grid-template-columns:1fr;gap:30px}}
@media(max-width:680px){.v341-footer{padding:42px 0}}

/* === Separador entre secciones fusionadas === */
.merge-sep{border:0;border-top:1px solid rgba(0,0,0,.12);max-width:1180px;margin:56px auto 0}
.merged-section{scroll-margin-top:90px}
