/* México Rojo · Ecosistemas de Michoacán
   Hoja externa. Todo está limitado a #mr-mich para no tocar el tema (Kadence).
   Paleta: tinta casi negra + rosas (acento) + jade (complementario del rosa) + ámbar volcánico. */

#mr-mich {
  --ink: #0b0a0e;
  --ink-2: #121016;
  --card: #17141c;
  --card-2: #1f1b26;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 92, 147, .28);
  --text: #f5eef3;
  --muted: #bdb1ba;
  --soft: #8f8490;
  --rose: #ff5c93;
  --rose-2: #ff8fb4;
  --blush: #ffc9da;
  --magenta: #d9377f;
  --jade: #55d6a4;
  --ember: #ffa066;
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(255, 60, 130, .35);
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  position: relative;
  display: block;
  margin: 0 auto 2.5rem;
  max-width: 1120px;
  padding: clamp(14px, 2.4vw, 30px);
  background: radial-gradient(1200px 520px at 85% -8%, rgba(255, 92, 147, .16), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(85, 214, 164, .07), transparent 60%),
              var(--ink);
  color: var(--text);
  border-radius: 30px;
  box-shadow: var(--shadow);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.72;
  letter-spacing: .005em;
  overflow: hidden;
  overflow: clip; /* clip no crea contenedor de scroll: el índice pegajoso sigue funcionando */
  -webkit-font-smoothing: antialiased;
}
#mr-mich *, #mr-mich *::before, #mr-mich *::after { box-sizing: border-box; }
#mr-mich p, #mr-mich ul, #mr-mich ol, #mr-mich figure, #mr-mich h2, #mr-mich h3, #mr-mich h4, #mr-mich dl, #mr-mich dd, #mr-mich blockquote { margin: 0; padding: 0; }
#mr-mich p + p { margin-top: 1em; }
#mr-mich img { display: block; max-width: 100%; height: auto; border: 0; }
#mr-mich i, #mr-mich em.sci { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
#mr-mich strong { color: #fff; font-weight: 700; }
#mr-mich a, #mr-mich a:visited { color: var(--rose-2) !important; text-decoration: underline; text-decoration-color: rgba(255, 143, 180, .45); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
#mr-mich a:hover, #mr-mich a:focus-visible { color: #fff !important; text-decoration-color: var(--rose); }
#mr-mich :focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
#mr-mich h2 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; color: #fff; margin: .15em 0 .6em; }
#mr-mich h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.25; font-weight: 750; letter-spacing: -.012em; color: #fff; margin: 1.6em 0 .55em; }
#mr-mich h4 { font-size: 1.06rem; line-height: 1.3; font-weight: 750; color: #fff; margin: 0 0 .35em; }
#mr-mich sup a { text-decoration: none; font-size: .72em; font-weight: 700; }

/* ---------- barra de progreso ---------- */
#mr-mich .mm-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 99; height: 3px; background: transparent; pointer-events: none; }
#mr-mich .mm-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--jade), var(--rose), var(--ember)); box-shadow: 0 0 14px rgba(255, 92, 147, .7); }

/* ---------- hero ---------- */
#mr-mich .mm-hero { position: relative; border-radius: var(--r); overflow: hidden; min-height: min(78vh, 700px); display: grid; align-items: end; isolation: isolate; margin-top: 14px; }
#mr-mich .mm-hero figure { position: absolute; inset: 0; z-index: -2; }
#mr-mich .mm-hero figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
#mr-mich .mm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 10, 14, .05) 0%, rgba(11, 10, 14, .35) 42%, rgba(11, 10, 14, .96) 100%), linear-gradient(90deg, rgba(11, 10, 14, .7), transparent 70%); }
#mr-mich .mm-hero-copy { padding: clamp(22px, 5vw, 56px); max-width: 780px; }
#mr-mich .mm-eyebrow { display: inline-flex; align-items: center; gap: .55em; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blush); }
#mr-mich .mm-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--rose); }
#mr-mich .mm-display { font-size: clamp(2.3rem, 7vw, 4.9rem); line-height: .98; font-weight: 800; letter-spacing: -.045em; margin: .28em 0 .32em; color: #fff; }
#mr-mich .mm-display em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; background: linear-gradient(95deg, var(--rose-2), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#mr-mich .mm-deck { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #efe4ea; max-width: 640px; }
#mr-mich .mm-meta { margin-top: 1.1em !important; font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4em 1.2em; }
#mr-mich .mm-meta span::before { content: "●"; color: var(--rose); font-size: .6em; margin-right: .6em; vertical-align: .2em; }
#mr-mich .mm-hero-credit { position: absolute; right: 14px; top: 12px; font-size: .68rem; color: rgba(255, 255, 255, .78); background: rgba(11, 10, 14, .55); padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(6px); max-width: 70%; }
#mr-mich .mm-hero-credit a { color: #fff !important; }
#mr-mich .mm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
#mr-mich .mm-btn, #mr-mich .mm-btn:visited { display: inline-flex; align-items: center; gap: .5em; padding: .78em 1.3em; border-radius: 99px; background: var(--rose); color: #1a0710 !important; font-weight: 800; font-size: .95rem; text-decoration: none; box-shadow: 0 10px 30px -8px rgba(255, 92, 147, .8); transition: transform .2s, box-shadow .2s; }
#mr-mich .mm-btn:hover { transform: translateY(-2px); color: #1a0710 !important; box-shadow: 0 16px 36px -8px rgba(255, 92, 147, .95); }
#mr-mich .mm-btn.ghost, #mr-mich .mm-btn.ghost:visited { background: rgba(255, 255, 255, .08); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* ---------- índice pegajoso ---------- */
#mr-mich .mm-nav { position: sticky; top: 3px; z-index: 25; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 4px; margin: 18px -4px 6px; background: linear-gradient(180deg, var(--ink) 70%, rgba(11, 10, 14, 0)); }
#mr-mich .mm-nav::-webkit-scrollbar { display: none; }
#mr-mich .mm-nav a, #mr-mich .mm-nav a:visited { flex: 0 0 auto; padding: .5em 1em; border-radius: 99px; font-size: .82rem; font-weight: 700; color: var(--muted) !important; text-decoration: none; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: all .2s; white-space: nowrap; }
#mr-mich .mm-nav a:hover, #mr-mich .mm-nav a.on { color: #1a0710 !important; background: var(--blush); box-shadow: none; }

/* ---------- secciones ---------- */
#mr-mich .mm-section { padding: clamp(34px, 6vw, 70px) clamp(4px, 2vw, 22px) 10px; scroll-margin-top: 70px; }
#mr-mich .mm-lead { font-size: clamp(1.08rem, 1.8vw, 1.22rem); color: #efe4ea; max-width: 820px; }
#mr-mich .mm-prose { max-width: 780px; }
#mr-mich .mm-note { font-size: .84rem; color: var(--soft); margin-top: .9em !important; }
#mr-mich .mm-divider { height: 1px; margin: 26px 0 0; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; }

/* ---------- cifras ---------- */
#mr-mich .mm-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 22px; }
#mr-mich .mm-stat { grid-column: span 3; position: relative; padding: 20px 18px 18px; border-radius: var(--r-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
#mr-mich .mm-stat.big { grid-column: span 6; background: linear-gradient(135deg, rgba(255, 92, 147, .22), rgba(255, 160, 102, .08)), var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
#mr-mich .mm-stat.jade { background: linear-gradient(135deg, rgba(85, 214, 164, .16), transparent), var(--card); }
#mr-mich .mm-stat b { display: block; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
#mr-mich .mm-stat.big b { font-size: clamp(2.6rem, 6vw, 3.8rem); color: var(--blush); }
#mr-mich .mm-stat span { display: block; margin-top: .55em; font-size: .86rem; line-height: 1.45; color: var(--muted); }
#mr-mich .mm-stat small { display: block; margin-top: .5em; font-size: .7rem; color: var(--soft); letter-spacing: .02em; }

/* ---------- figuras ---------- */
#mr-mich figure.mm-fig { margin: 26px 0; }
#mr-mich figure.mm-fig img { width: 100%; border-radius: var(--r-sm); background: var(--card); cursor: zoom-in; }
#mr-mich figure.mm-fig.wide img { aspect-ratio: 16 / 9; object-fit: cover; }
#mr-mich figcaption { margin-top: .65em; font-size: .78rem; line-height: 1.5; color: var(--soft); }
#mr-mich figcaption .cap { display: block; color: var(--muted); font-size: .84rem; margin-bottom: .2em; }
#mr-mich figcaption a, #mr-mich figcaption a:visited { color: var(--muted) !important; }
#mr-mich .mm-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(18px, 3vw, 40px); align-items: start; margin-top: 18px; }
#mr-mich .mm-split.rev { grid-template-columns: .85fr 1.15fr; }
#mr-mich .mm-split figure.mm-fig { margin: 0; }
#mr-mich .mm-split figure.mm-fig img { aspect-ratio: 4 / 3; object-fit: cover; }
#mr-mich .mm-bento.b4 .mm-stat { grid-column: span 3; }
#mr-mich .mm-bento.b3 .mm-stat { grid-column: span 4; }

/* ---------- perfil de suelo ---------- */
#mr-mich .mm-soil { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: stretch; margin-top: 18px; }
#mr-mich .mm-soil figure { margin: 0; }
#mr-mich .mm-soil figure img { height: 100%; max-height: 560px; width: 100%; object-fit: cover; border-radius: var(--r-sm); }
#mr-mich .mm-horizons { display: grid; gap: 8px; }
#mr-mich .mm-hz { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
#mr-mich .mm-hz b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; font-size: 1.15rem; font-weight: 800; color: #120a07; }
#mr-mich .mm-hz:nth-child(1) b { background: #3b2b22; color: #ffd9c2; }
#mr-mich .mm-hz:nth-child(2) b { background: #5c3b28; color: #ffe2cf; }
#mr-mich .mm-hz:nth-child(3) b { background: #9a6a45; }
#mr-mich .mm-hz:nth-child(4) b { background: #c79b73; }
#mr-mich .mm-hz:nth-child(5) b { background: #6f6a72; color: #fff; }
#mr-mich .mm-hz p { font-size: .92rem; color: var(--muted); }
#mr-mich .mm-hz p strong { display: block; color: #fff; font-size: .98rem; }

/* ---------- provincias ---------- */
#mr-mich .mm-prov { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 20px; counter-reset: prov; }
#mr-mich .mm-prov li { list-style: none; padding: 16px 14px; border-radius: var(--r-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; color: var(--muted); line-height: 1.45; }
#mr-mich .mm-prov li::before { counter-increment: prov; content: "0" counter(prov); display: block; font-weight: 800; color: var(--rose); font-size: .8rem; letter-spacing: .1em; margin-bottom: .5em; }
#mr-mich .mm-prov strong { display: block; font-size: .95rem; margin-bottom: .3em; }

/* ---------- gradiente altitudinal ---------- */
#mr-mich .mm-alt { margin-top: 24px; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
#mr-mich .mm-alt li { list-style: none; display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
#mr-mich .mm-alt li:last-child { border-bottom: 0; }
#mr-mich .mm-alt li b { font-variant-numeric: tabular-nums; font-size: .82rem; font-weight: 800; color: var(--blush); letter-spacing: .02em; }
#mr-mich .mm-alt li span { font-size: .93rem; color: var(--muted); }
#mr-mich .mm-alt li span strong { color: #fff; }
#mr-mich .mm-alt li:nth-child(1) { background: linear-gradient(90deg, rgba(220, 235, 255, .12), transparent); }
#mr-mich .mm-alt li:nth-child(2) { background: linear-gradient(90deg, rgba(85, 214, 164, .14), transparent); }
#mr-mich .mm-alt li:nth-child(3) { background: linear-gradient(90deg, rgba(85, 214, 164, .10), transparent); }
#mr-mich .mm-alt li:nth-child(4) { background: linear-gradient(90deg, rgba(85, 214, 164, .06), transparent); }
#mr-mich .mm-alt li:nth-child(5) { background: linear-gradient(90deg, rgba(255, 160, 102, .10), transparent); }
#mr-mich .mm-alt li:nth-child(6) { background: linear-gradient(90deg, rgba(255, 160, 102, .15), transparent); }
#mr-mich .mm-alt li:nth-child(7) { background: linear-gradient(90deg, rgba(255, 92, 147, .16), transparent); }

/* ---------- filtros y tarjetas de ecosistemas ---------- */
#mr-mich .mm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 16px; }
#mr-mich .mm-filters button { font: inherit; font-size: .84rem; font-weight: 700; padding: .5em 1.05em; border-radius: 99px; border: 0; cursor: pointer; background: var(--card); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: all .2s; }
#mr-mich .mm-filters button:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
#mr-mich .mm-filters button[aria-pressed="true"] { background: var(--rose); color: #1a0710; box-shadow: none; }
#mr-mich .mm-count { font-size: .8rem; color: var(--soft); margin: -4px 0 14px !important; }
#mr-mich .mm-eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
#mr-mich .mm-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s; }
#mr-mich .mm-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -22px rgba(255, 92, 147, .55); }
#mr-mich .mm-card[hidden] { display: none; }
#mr-mich .mm-card figure { margin: 0; }
#mr-mich .mm-card figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
#mr-mich .mm-card figcaption { padding: 8px 14px 0; font-size: .7rem; }
#mr-mich .mm-card-body { padding: 12px 16px 18px; display: flex; flex-direction: column; gap: .45em; flex: 1; }
#mr-mich .mm-card-body p { font-size: .9rem; color: var(--muted); line-height: 1.55; margin: 0 !important; }
#mr-mich .mm-tag { align-self: flex-start; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .32em .7em; border-radius: 99px; background: rgba(255, 92, 147, .14); color: var(--rose-2); }
#mr-mich .mm-tag.jade { background: rgba(85, 214, 164, .14); color: var(--jade); }
#mr-mich .mm-tag.ember { background: rgba(255, 160, 102, .14); color: var(--ember); }
#mr-mich .mm-tag.sky { background: rgba(140, 190, 255, .14); color: #9cc7ff; }
#mr-mich .mm-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto !important; padding-top: 6px; }
#mr-mich .mm-facts li { list-style: none; font-size: .72rem; font-weight: 700; color: var(--blush); background: rgba(255, 255, 255, .05); padding: .3em .65em; border-radius: 8px; }
#mr-mich .mm-card.mini { padding: 16px 16px 18px; }
#mr-mich .mm-card.mini .mm-card-body { padding: 0; }

/* ---------- plantas clave ---------- */
#mr-mich .mm-key { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
#mr-mich .mm-key .mm-card { flex-direction: row; }
#mr-mich .mm-key .mm-card figure { flex: 0 0 38%; }
#mr-mich .mm-key .mm-card figure img { aspect-ratio: auto; height: 100%; min-height: 220px; }
#mr-mich .mm-key .mm-card figcaption { display: none; }
#mr-mich .mm-role { display: flex; flex-wrap: wrap; gap: 6px; }
#mr-mich .mm-callout { margin-top: 26px; padding: 22px 24px; border-radius: var(--r-sm); background: linear-gradient(120deg, rgba(85, 214, 164, .12), rgba(255, 92, 147, .08)); box-shadow: inset 0 0 0 1px rgba(85, 214, 164, .28); }
#mr-mich .mm-callout h4 { color: var(--jade); }
#mr-mich .mm-callout p { color: #e7dde3; font-size: .95rem; }
#mr-mich .mm-quote { margin: 30px 0 !important; padding: 6px 0 6px 22px; border-left: 3px solid var(--rose); font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.4; color: #fff; }

/* ---------- trío de flores ---------- */
#mr-mich .mm-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
#mr-mich .mm-trio .mm-card figure img { aspect-ratio: 3 / 4; }
#mr-mich .mm-trio .mm-card-body h4 { font-size: 1.15rem; }
#mr-mich .mm-sci { font-family: var(--serif); font-style: italic; color: var(--blush); font-size: .98rem; margin-top: -.2em !important; }

/* ---------- tabla de flores ---------- */
#mr-mich .mm-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 12px; }
#mr-mich .mm-tools input { font: inherit; font-size: .92rem; flex: 1 1 240px; padding: .7em 1.1em; border-radius: 99px; border: 0; background: var(--card); color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
#mr-mich .mm-tools input::placeholder { color: var(--soft); }
#mr-mich .mm-tools input:focus { outline: 2px solid var(--rose); }
#mr-mich .mm-table-wrap { overflow-x: auto; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
#mr-mich table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; background: var(--ink-2); margin: 0; }
#mr-mich caption { caption-side: top; text-align: left; padding: 14px 16px; font-weight: 700; color: #fff; font-size: .95rem; }
#mr-mich th, #mr-mich td { padding: 11px 16px; text-align: left; border: 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--muted); background: transparent; }
#mr-mich thead th { color: var(--blush); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: var(--card); }
#mr-mich tbody tr:hover td, #mr-mich tbody tr:hover th { background: rgba(255, 92, 147, .05); }
#mr-mich tbody th { color: #fff; font-weight: 700; }
#mr-mich tr[hidden] { display: none; }

/* ---------- felinos / mamíferos ---------- */
#mr-mich .mm-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
#mr-mich .mm-status { font-size: .7rem; font-weight: 800; letter-spacing: .06em; padding: .3em .7em; border-radius: 8px; align-self: flex-start; }
#mr-mich .mm-status.p { background: rgba(255, 70, 110, .18); color: #ff8aa6; }
#mr-mich .mm-status.a { background: rgba(255, 160, 102, .18); color: var(--ember); }
#mr-mich .mm-status.n { background: rgba(85, 214, 164, .15); color: var(--jade); }
#mr-mich .mm-rank { margin-top: 22px; display: grid; gap: 10px; counter-reset: rk; }
#mr-mich .mm-rank li { list-style: none; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
#mr-mich .mm-rank li::before { counter-increment: rk; content: counter(rk); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 92, 147, .14); color: var(--rose-2); font-weight: 800; }
#mr-mich .mm-rank h4 { margin: 0 0 .15em; }
#mr-mich .mm-rank p { font-size: .88rem; color: var(--muted); margin: 0 !important; }
#mr-mich .mm-bar { display: block; height: 6px; border-radius: 6px; margin-top: .55em; background: rgba(255, 255, 255, .06); overflow: hidden; }
#mr-mich .mm-bar i { display: block; height: 100%; width: var(--w, 10%); border-radius: 6px; background: linear-gradient(90deg, var(--rose), var(--ember)); transform-origin: left; }

/* ---------- polinizadores ---------- */
#mr-mich .mm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#mr-mich .mm-chips li { list-style: none; font-size: .8rem; padding: .42em .85em; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
#mr-mich .mm-chips li i { color: #fff; }
#mr-mich .mm-chart { margin-top: 20px; padding: 20px; border-radius: var(--r-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
#mr-mich .mm-chart h4 { margin-bottom: .9em; }
#mr-mich .mm-chart-row { display: grid; grid-template-columns: 112px 1fr 76px; gap: 12px; align-items: center; margin: 9px 0; font-size: .84rem; color: var(--muted); }
#mr-mich .mm-chart-row .track { height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .05); overflow: hidden; }
#mr-mich .mm-chart-row .track i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, var(--ember), var(--rose)); }
#mr-mich .mm-chart-row.jade .track i { background: linear-gradient(90deg, #2fae80, var(--jade)); }
#mr-mich .mm-chart-row b { color: #fff; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- cronología de hallazgos ---------- */
#mr-mich .mm-time { position: relative; margin-top: 26px; padding-left: 30px; }
#mr-mich .mm-time::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--rose), var(--jade)); border-radius: 2px; }
#mr-mich .mm-time li { list-style: none; position: relative; padding: 16px 18px; margin-bottom: 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
#mr-mich .mm-time li::before { content: ""; position: absolute; left: -27px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--rose); }
#mr-mich .mm-time .yr { font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--rose-2); text-transform: uppercase; }
#mr-mich .mm-time p { font-size: .92rem; color: var(--muted); margin-top: .3em !important; }

/* ---------- acciones, quiz, faq ---------- */
#mr-mich .mm-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; counter-reset: st; }
#mr-mich .mm-steps li { list-style: none; position: relative; padding: 18px 18px 18px 64px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; color: var(--muted); }
#mr-mich .mm-steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--jade); color: #06231a; font-weight: 800; }
#mr-mich .mm-steps strong { display: block; margin-bottom: .2em; }
#mr-mich .mm-quiz { margin-top: 20px; display: grid; gap: 14px; }
#mr-mich .mm-q { padding: 20px; border-radius: var(--r-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
#mr-mich .mm-q h4 { margin-bottom: .7em; }
#mr-mich .mm-q .opts { display: flex; flex-wrap: wrap; gap: 8px; }
#mr-mich .mm-q button { font: inherit; font-size: .88rem; font-weight: 700; padding: .55em 1.1em; border-radius: 99px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: all .2s; }
#mr-mich .mm-q button:hover:not([disabled]) { box-shadow: inset 0 0 0 1px var(--rose); }
#mr-mich .mm-q button.ok { background: var(--jade); color: #06231a; }
#mr-mich .mm-q button.no { background: rgba(255, 70, 110, .25); color: #ffb3c4; }
#mr-mich .mm-q button[disabled] { cursor: default; }
#mr-mich .mm-q .fb { margin-top: .8em !important; font-size: .88rem; color: var(--muted); }
#mr-mich .mm-q details summary { cursor: pointer; font-size: .86rem; color: var(--rose-2); margin-top: .7em; }
#mr-mich .mm-score { font-size: .9rem; font-weight: 700; color: var(--blush); }
#mr-mich .mm-faq details { border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); margin-top: 10px; overflow: hidden; }
#mr-mich .mm-faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative; font-weight: 750; color: #fff; }
#mr-mich .mm-faq summary::-webkit-details-marker { display: none; }
#mr-mich .mm-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--rose); transition: transform .2s; }
#mr-mich .mm-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
#mr-mich .mm-faq details > div { padding: 0 18px 18px; color: var(--muted); font-size: .94rem; }

/* ---------- referencias y relacionados ---------- */
#mr-mich .mm-refs { margin-top: 18px; padding-left: 1.4em; font-size: .84rem; line-height: 1.6; color: var(--muted); }
#mr-mich .mm-refs li { margin: 0 0 .75em; padding-left: .3em; scroll-margin-top: 80px; }
#mr-mich .mm-refs li:target { background: rgba(255, 92, 147, .1); border-radius: 6px; }
#mr-mich .mm-refs a { word-break: break-word; }
#mr-mich .mm-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
#mr-mich .mm-related a, #mr-mich .mm-related a:visited { display: block; padding: 18px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: #fff !important; font-weight: 750; font-size: .95rem; line-height: 1.35; transition: all .2s; }
#mr-mich .mm-related a span { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-2); margin-bottom: .5em; font-weight: 800; }
#mr-mich .mm-related a:hover { box-shadow: inset 0 0 0 1px var(--rose); transform: translateY(-2px); }
#mr-mich .mm-foot { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--soft); }

/* ---------- botón arriba y visor ---------- */
#mr-mich .mm-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--rose); color: #1a0710; font-size: 1.2rem; font-weight: 800; box-shadow: 0 10px 30px -6px rgba(255, 92, 147, .8); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .3s; }
#mr-mich .mm-top.show { opacity: 1; transform: none; pointer-events: auto; }
#mr-mich dialog.mm-lb { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; color: #fff; }
#mr-mich dialog.mm-lb::backdrop { background: rgba(6, 5, 8, .92); backdrop-filter: blur(4px); }
#mr-mich dialog.mm-lb img { max-width: 94vw; max-height: 80vh; width: auto; border-radius: 12px; margin: 0 auto; }
#mr-mich dialog.mm-lb p { font-size: .8rem; color: #d9cdd4; text-align: center; margin-top: .7em !important; max-width: 80ch; margin-left: auto; margin-right: auto; }
#mr-mich dialog.mm-lb button { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.3rem; cursor: pointer; }

/* ---------- aparición al hacer scroll (solo con JS) ---------- */
#mr-mich.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
#mr-mich.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  #mr-mich .mm-eco, #mr-mich .mm-cats { grid-template-columns: repeat(2, 1fr); }
  #mr-mich .mm-prov { grid-template-columns: repeat(2, 1fr); }
  #mr-mich .mm-key { grid-template-columns: 1fr; }
  #mr-mich .mm-stat { grid-column: span 6; }
  #mr-mich .mm-stat.big { grid-column: span 12; }
  #mr-mich .mm-bento.b3 .mm-stat, #mr-mich .mm-bento.b4 .mm-stat { grid-column: span 6; }
  #mr-mich .mm-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  #mr-mich { font-size: 16.5px; border-radius: 20px; }
  #mr-mich .mm-split, #mr-mich .mm-split.rev, #mr-mich .mm-soil { grid-template-columns: 1fr; }
  #mr-mich .mm-soil figure img { max-height: 340px; }
  #mr-mich .mm-eco, #mr-mich .mm-cats, #mr-mich .mm-trio, #mr-mich .mm-steps, #mr-mich .mm-related { grid-template-columns: 1fr; }
  #mr-mich .mm-prov { grid-template-columns: 1fr; }
  #mr-mich .mm-key .mm-card { flex-direction: column; }
  #mr-mich .mm-key .mm-card figure img { min-height: 0; aspect-ratio: 16 / 10; }
  #mr-mich .mm-alt li { grid-template-columns: 1fr; gap: 2px; }
  #mr-mich .mm-chart-row { grid-template-columns: 84px 1fr 60px; font-size: .78rem; }
  #mr-mich .mm-hero { min-height: 560px; }
  #mr-mich .mm-hero-copy { padding-top: 190px; }
  #mr-mich .mm-hero-credit { max-width: 88%; }
}
@media (prefers-reduced-motion: reduce) {
  #mr-mich *, #mr-mich *::before, #mr-mich *::after { transition: none !important; animation: none !important; }
  #mr-mich.js .rv { opacity: 1; transform: none; }
}
@media print {
  #mr-mich { box-shadow: none; background: #fff; color: #000; }
  #mr-mich .mm-nav, #mr-mich .mm-top, #mr-mich .mm-progress, #mr-mich .mm-filters, #mr-mich .mm-tools { display: none; }
}
