:root {
  --paper: #f3f0e9; --ink: #171310; --ink-soft: #3a342c; --muted: #6f665c; --muted-d: #a89f93;
  --line: #e6e0d4; --line-2: #d9d3c6; --accent: #e0420a; --accent-deep: #b53408; --accent-soft: #fdeee6;
  --fd: "Space Grotesk", Inter, sans-serif; --fb: Inter, -apple-system, "Segoe UI", sans-serif; --fs: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--fb); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-deep); }
img { max-width: 100%; display: block; }
.w { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.em { font-family: var(--fs); font-style: italic; font-weight: 400; color: var(--accent); }
.eye { font: 600 12px var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; display: block; }
h1, h2, h3 { font-family: var(--fd); letter-spacing: -.03em; line-height: 1.12; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 9px; background: var(--accent); color: #fff; text-decoration: none; font: 600 14px/1 var(--fd); white-space: nowrap; }
.btn:hover { background: var(--accent-deep); }
:focus-visible { outline: 3px solid rgba(224,66,10,.45); outline-offset: 2px; }

header.top { position: sticky; top: 0; z-index: 50; background: rgba(243,240,233,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 32px; height: 32px; }
.logo b { display: block; font: 700 18px/1 var(--fd); }
.logo small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.nav nav { display: flex; gap: 24px; margin: 0 auto; font-size: 14.5px; }
.nav nav a { text-decoration: none; color: var(--ink-soft); }
.nav .btn { min-height: 40px; font-size: 13.5px; }

.intro { padding-top: 72px; padding-bottom: 40px; }
.intro h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(23,19,16,.5); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.card .in { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .eye { margin: 0; }
.card b { font: 600 19px/1.25 var(--fd); letter-spacing: -.01em; }
.card .d { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.card .go { margin-top: auto; padding-top: 8px; font: 600 14px var(--fd); color: var(--accent-deep); }

.art { max-width: 780px; padding-top: 48px; }
.back { font: 600 14px var(--fd); text-decoration: none; display: inline-block; margin-bottom: 26px; }
.art h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 14px; }
.meta { color: var(--muted); font-size: 14px; }
.hero { margin: 28px 0 36px; }
.hero img { border-radius: 16px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.hero figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.hero figcaption a { color: var(--muted); }
.body > * + * { margin-top: 18px; }
.body h2 { font-size: 27px; margin-top: 40px; }
.body ul, .body ol { padding-left: 22px; display: grid; gap: 8px; }
.body .lead { font-size: 20px; color: var(--ink-soft); }
.m { color: var(--muted); font-size: 14px; }
.tbl { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tbl th { font: 600 11px var(--fd); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--ink); }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }

.more { padding-top: 72px; }
.more h2 { font-size: 28px; margin-bottom: 20px; }
.more .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cta { margin-top: 80px; background: var(--ink); color: var(--paper); border-radius: 22px; padding: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { font-size: 34px; margin-bottom: 8px; }
.cta p { color: var(--muted-d); max-width: 560px; }
footer { margin-top: 72px; border-top: 1px solid var(--line); }
.fb { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 28px 36px; font-size: 13px; color: #8a8175; }
.fb a { color: #8a8175; }

@media (max-width: 900px) {
  .grid, .more .grid { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 560px) { .w { padding: 0 18px; } .cta { padding: 30px 22px; } .nav .btn { display: none; } }

/* SEO / IA: respuesta rápida, puntos clave, índice, preguntas, autor */
.migas { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.migas a { color: var(--muted); }
.tldr { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 22px; }
.tldr .eye { margin-bottom: 6px; }
.tldr p:last-child { font-size: 17.5px; color: var(--ink); }
.claves { background: var(--accent-soft); border-radius: 14px; padding: 20px 24px; margin-bottom: 20px; }
.claves h2 { font-size: 20px; margin-bottom: 8px; }
.claves ul { padding-left: 20px; display: grid; gap: 6px; }
.toc { border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px; margin-bottom: 32px; background: #fff; }
.toc ol { padding-left: 20px; display: grid; gap: 4px; font-size: 15.5px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.body h2 { scroll-margin-top: 90px; }
.faqb details { border-top: 1px solid var(--line); }
.faqb details:last-child { border-bottom: 1px solid var(--line); }
.faqb summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 58px; font: 600 17px var(--fd); }
.faqb summary::-webkit-details-marker { display: none; }
.faqb summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; }
.faqb details[open] summary::after { content: "−"; }
.faqb details p { padding-bottom: 16px; color: var(--ink-soft); }
.fuentes { font-size: 15px; }
.autor { display: flex; gap: 16px; align-items: center; margin-top: 44px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.autor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.autor b { display: block; font: 600 16px var(--fd); }
.autor span { color: var(--muted); font-size: 14.5px; }
