:root {
  --papel: #fbf8ef;
  --tinta: #232a27;
  --acento: #92411e;
  --linea: #bdb8a9;
  --ancho: 40rem;
  font-family: system-ui, sans-serif;
  color: var(--tinta);
  background: var(--papel);
}
* { box-sizing: border-box; }
body { max-width: var(--ancho); margin: auto; padding: 0 1.1rem 3rem; line-height: 1.55; }
header { padding: 1.2rem 0; border-bottom: 2px solid var(--tinta); font: bold 1.45rem Georgia, serif; }
.serie { margin: 2rem 0 .45rem; color: var(--acento); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, serif; }
h1 { font-size: clamp(2rem, 8vw, 3.6rem); line-height: 1.04; margin: 0; letter-spacing: -.035em; }
.intro { margin: 1rem 0 1.75rem; }
details { margin-bottom: .65rem; border: 1px solid var(--linea); border-radius: .4rem; background: #fffdf8; }
summary, .contacto { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; min-height: 3.4rem; font-weight: 700; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: .55rem; height: .55rem; border: solid var(--acento); border-width: 0 2px 2px 0; transform: rotate(45deg); flex: none; }
details[open] summary::after { transform: rotate(225deg); }
details[open] summary { border-bottom: 1px solid var(--linea); }
details div { padding: 0 1rem; }
ol { padding-left: 1.45rem; }
li + li { margin-top: .7rem; }
section { margin-top: 2rem; }
h2 { margin: 0; font-size: 1.6rem; }
section p { margin: .4rem 0 1rem; }
.contacto { width: 100%; border-radius: .4rem; background: var(--tinta); color: white; text-decoration: none; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }

nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .92rem; }
nav a { padding-block: .8rem; }
nav a, footer p a { color: var(--acento); text-underline-offset: .2em; }
footer { margin-top: 2rem; border-top: 1px solid var(--linea); padding-top: 2rem; text-align: center; }
footer img { max-width: 100%; height: auto; mix-blend-mode: multiply; }
footer p { overflow-wrap: anywhere; font-size: .95rem; }
