/* Mesa fichas — Copper Desk chrome, shared by /mesa/ and /mesa/[slug]/. */
:root {
  --bg: #0B1520;
  --bg2: #121E2C;
  --surface: #1A2A3C;
  --card: #1A2A3C;
  --line: #2A3A4E;
  --cream: #DDD9CE;
  --cream-dim: #8E9AAB;
  --dim: #8E9AAB;
  --copper: #B66F4A;
  --copper-2: #C47D56;
  --ink: #0B1520;
  --word: #fff;
  --serif: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wide: 1120px;
  --read: 44rem;
  --pad: clamp(1.1rem, 3.2vw, 2.6rem);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .045;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection { background: var(--copper); color: var(--ink); }
a { color: var(--copper-2); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--cream); }
a:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 3px; }
:target { scroll-margin-top: 5.5rem; }
.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 40;
  background: var(--cream);
  color: var(--ink);
  padding: .4rem .7rem;
  text-decoration: none;
}
.skip:focus { top: .6rem; }
.mast, main, .site-footer { position: relative; z-index: 1; }
.wrap {
  width: min(var(--wide), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}
.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  width: min(var(--wide), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  min-height: 3.15rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .45rem .9rem;
  padding: max(.45rem, env(safe-area-inset-top)) 0 .45rem;
}
.brand {
  display: flex;
  align-items: center;
  color: var(--word);
  text-decoration: none;
  margin-right: .35rem;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  letter-spacing: -.015em;
  line-height: 1;
  color: var(--word);
}
.mast nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .2rem .75rem;
}
.mast nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.mast nav a:hover,
.mast nav a[aria-current="page"] { color: var(--cream); }
.mast-end { display: flex; align-items: center; margin: 0; }
.mast-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  line-height: 1;
  padding: .48rem .72rem;
  border-radius: 4px;
  border: 1px solid var(--ink);
  white-space: nowrap;
}
.mast-tg:hover, .mast-tg:focus-visible { color: var(--ink); background: #fff; }

.page { padding: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(2.5rem, 6vw, 4rem); }
.crumbs {
  margin: 0 0 1.1rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--dim);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crumbs li { display: inline-flex; align-items: center; gap: .45rem; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.crumbs [aria-current="page"] { color: var(--cream); }

.estado {
  display: inline-block;
  margin: 0 0 .55rem;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper-2);
}
h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.03em;
}
.lede {
  max-width: var(--read);
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--cream);
}
.lede + .lede { margin-top: .7rem; font-size: 1.05rem; color: var(--dim); font-family: var(--sans); }

.ficha { max-width: var(--read); }
.block { margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.block h2 {
  margin: 0 0 .8rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.block p { margin: 0 0 .75rem; }
.block p:last-child { margin-bottom: 0; }
.block ul, .block ol { margin: .4rem 0 0; padding-left: 1.15rem; }
.block li { margin: 0 0 .55rem; }
.block li:last-child { margin-bottom: 0; }

.sheet {
  margin: .2rem 0 0;
  padding: 0;
}
.sheet div {
  display: grid;
  gap: .2rem .9rem;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
}
.sheet dt {
  margin: 0;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}
.sheet dd { margin: 0; }
@media (min-width: 640px) {
  .sheet div { grid-template-columns: 9.5rem minmax(0, 1fr); align-items: baseline; }
}

.fuentes {
  margin: .9rem 0 0;
  font-family: var(--mono);
  font-size: .75rem;
  line-height: 1.55;
  color: var(--dim);
}
.fuentes a { color: var(--copper-2); }

.offshore {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  padding: .15rem 0 .15rem 1rem;
  border-left: 2px solid var(--copper);
  color: var(--dim);
  max-width: var(--read);
}
.offshore p { margin: 0; }
.offshore strong { color: var(--cream); font-weight: 600; }

.senal-list { list-style: none; margin: 0; padding: 0; }
.senal-list li {
  padding: .9rem 0;
  border-top: 1px solid var(--line);
}
.senal-list time {
  display: block;
  margin-bottom: .25rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--copper-2);
}
.senal-list a {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
  text-decoration-color: color-mix(in srgb, var(--copper) 70%, transparent);
}
.senal-list a:hover { color: var(--copper-2); }
.senal-list p { margin: .4rem 0 0; color: var(--dim); font-size: .95rem; }

.affiliate-slot {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  max-width: var(--read);
  padding: 1rem 1.05rem;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: transparent;
}
.affiliate-slot p { margin: 0; }
.affiliate-kicker {
  margin-bottom: .35rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.affiliate-empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
}

.faq-list { display: flex; flex-direction: column; gap: .65rem; }
details.faq {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--cream) 10%, transparent);
  border-radius: 12px;
  overflow: hidden;
}
details.faq[open] { border-color: color-mix(in srgb, var(--copper) 35%, transparent); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.02rem, 2.4vw, 1.15rem);
  line-height: 1.3;
  color: var(--cream);
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before {
  content: "+";
  flex: none;
  width: 1.15rem;
  color: var(--copper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}
details.faq[open] summary::before { content: "–"; }
details.faq summary h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
  font: inherit;
  color: inherit;
}
details.faq .answer {
  padding: 0 1.1rem 1.1rem 2.9rem;
  color: var(--dim);
  font-size: .98rem;
}
details.faq .answer p { margin: 0; }

.cards {
  display: grid;
  gap: .75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.cards a.card {
  display: block;
  height: 100%;
  padding: 1rem 1.05rem 1.1rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cards a.card:hover { border-color: var(--copper); color: inherit; }
.cards h2 {
  margin: .35rem 0 .4rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -.02em;
  color: var(--cream);
}
.cards p { margin: 0; color: var(--dim); font-size: .95rem; }
@media (min-width: 800px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cmp-sec { margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.cmp-sec h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.cmp-note { max-width: 46rem; margin: .75rem 0 0; color: var(--dim); }
.scroll-hint {
  margin: 1rem 0 .35rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}
.cmp-scroll {
  margin-top: .35rem;
  overflow-x: auto;
  border-top: 1px solid var(--cream);
  -webkit-overflow-scrolling: touch;
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 64rem;
}
.cmp caption {
  caption-side: bottom;
  text-align: left;
  padding-top: .8rem;
  color: var(--dim);
  font-size: .82rem;
}
.cmp th, .cmp td {
  text-align: left;
  vertical-align: top;
  padding: .8rem .85rem .85rem 0;
  border-bottom: 1px solid var(--line);
}
.cmp thead th {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--cream);
  white-space: nowrap;
}
.cmp thead th a { color: var(--cream); text-decoration-color: color-mix(in srgb, var(--copper) 65%, transparent); }
.cmp thead th a:hover { color: var(--copper-2); }
.cmp thead th span, .cmp .op-sub {
  display: block;
  margin-top: .28rem;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}
.cmp tbody th {
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
  min-width: 8.5rem;
}
.cmp td { position: relative; font-size: .88rem; line-height: 1.4; }
.op-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cmp th:first-child, .cmp td:first-child {
  position: sticky;
  left: 0;
  background: var(--bg);
  z-index: 1;
  padding-right: .8rem;
}
.cmp thead th:first-child { z-index: 2; }

.otros { list-style: none; margin: 0; padding: 0; }
.otros li {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  align-items: baseline;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
}
.otros a {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--cream);
}
.block .after { margin-top: .9rem; }
.otros .tag {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem var(--pad) max(1.5rem, env(safe-area-inset-bottom));
  text-align: center;
  font-size: .78rem;
  color: var(--dim);
  line-height: 1.6;
}
.site-footer a { color: var(--dim); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }

@media (min-width: 780px) {
  .mast-inner { display: flex; flex-wrap: wrap; }
  .mast nav { margin-left: auto; justify-content: flex-end; }
}
@media (max-width: 779px) {
  :root { --pad: 1.2rem; }
  .mast-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: .65rem;
    row-gap: .7rem;
    padding-top: .7rem;
    padding-bottom: .6rem;
  }
  .brand { grid-column: 1; grid-row: 1; min-width: 0; margin-right: 0; }
  .brand-name { font-size: 1.18rem; }
  .mast-end { grid-column: 2; grid-row: 1; justify-self: end; }
  .mast-tg { font-size: .72rem; padding: .5rem .62rem; }
  .mast nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: .4rem .85rem;
    padding-bottom: .1rem;
  }
  .mast nav a { font-size: .8rem; }
}
@media (max-width: 899px) {
  .scroll-hint { display: none; }
  .cmp-scroll { overflow: visible; border-top: 0; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp tr { display: block; padding-top: .35rem; }
  .cmp tbody th {
    display: block;
    padding: .85rem 0 .45rem;
    border-bottom: 0;
    color: var(--cream);
    letter-spacing: .04em;
  }
  .cmp td {
    display: grid;
    grid-template-columns: 7.4rem minmax(0, 1fr);
    gap: .35rem .75rem;
    align-items: start;
    padding: .55rem 0 .7rem;
  }
  .op-name {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    font-family: var(--mono);
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--copper-2);
  }
  .cmp th:first-child, .cmp td:first-child {
    position: static;
    background: transparent;
  }
}
@media (min-width: 1100px) {
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .mast { backdrop-filter: none; background: var(--bg); }
}
