/* Documentos de estrategia y planning de ELLOS EXPRESS. Sin blur, sin sombras difusas, sin scripts ni fuentes externas. */
:root {
  --wine: #7a1428;
  --wine-deep: #3b0a14;
  --marfil: #f6efe3;
  --paper: #fffaf1;
  --ink: #1b1416;
  --ink-soft: #4d4247;
  --line: #d9cfc0;
  --gold: #8a6416;
  --ok: #1d5c3a;
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--marfil);
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.skip { position: absolute; left: -999px; top: 0; padding: 10px 16px; background: #fff; color: var(--ink); z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
a { color: var(--wine); text-underline-offset: 3px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

.top { background: var(--wine-deep); color: #fff; }
.top .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.top nav a { color: #f6efe3; font-size: 0.9375rem; padding: 8px 6px; min-height: 44px; display: inline-flex; align-items: center; }

.hero { background: var(--wine); color: #fff; padding: 56px 0 48px; }
.hero .eyebrow { color: #f0d9a8; }
.hero h1 { margin: 8px 0 16px; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.1; letter-spacing: -0.01em; }
.hero p { max-width: 62ch; font-size: 1.125rem; margin: 0 0 12px; color: #fff; }
.hero .meta { font-size: 0.9375rem; color: #f3e6d0; }
.eyebrow { margin: 0; font-size: 0.9375rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.toc { background: var(--paper); border-bottom: 1px solid var(--line); }
.toc .wrap { padding: 18px 0; }
.toc ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-size: 0.9375rem; font-weight: 600; }
.toc a:hover { border-color: var(--wine); }

section.block { padding: 48px 0; border-bottom: 1px solid var(--line); }
section.block:nth-of-type(even) { background: var(--paper); }
h2 { margin: 6px 0 14px; font-size: clamp(1.5rem, 4vw, 2.125rem); line-height: 1.2; color: var(--wine-deep); }
h3 { margin: 24px 0 8px; font-size: 1.1875rem; line-height: 1.3; color: var(--wine); }
p { margin: 0 0 14px; max-width: 72ch; }
ul, ol { padding-left: 1.25rem; margin: 0 0 14px; max-width: 72ch; }
li { margin-bottom: 6px; }
.lead { font-size: 1.125rem; color: var(--ink-soft); }

.cards { display: grid; gap: 16px; margin: 20px 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--wine); color: var(--wine); font-size: 0.9375rem; font-weight: 700; }
.tag.ok { border-color: var(--ok); color: var(--ok); }
.tag.opt { border-color: var(--gold); color: var(--gold); }

.note { padding: 14px 18px; border-left: 4px solid var(--gold); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; max-width: 72ch; }
.note strong { color: var(--wine-deep); }
.quote { margin: 20px 0; padding: 20px 24px; background: var(--wine); color: #fff; border-radius: var(--radius); font-size: 1.375rem; line-height: 1.35; font-weight: 700; max-width: 72ch; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; max-width: none; }
.steps li { counter-increment: s; position: relative; margin: 0; padding: 16px 16px 16px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--wine); color: #fff; font-weight: 800; }
.steps li strong { display: block; color: var(--wine-deep); }

.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap:focus-visible { outline-offset: 0; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.9375rem; }
caption { text-align: left; padding: 12px 16px; font-weight: 700; color: var(--wine-deep); }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--wine); color: #fff; border-top: 0; font-weight: 700; }
td.num, th.num { text-align: right; white-space: nowrap; }

.timeline { list-style: none; margin: 24px 0; padding: 0; max-width: none; display: grid; gap: 14px; }
.phase { display: grid; gap: 6px 20px; padding: 18px 18px 18px 22px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--wine); border-radius: var(--radius); }
.phase.done { border-left-color: var(--ok); }
.phase.opt { border-left-color: var(--gold); }
.phase h3 { margin: 0; }
.phase .when { font-weight: 700; color: var(--ink-soft); font-size: 0.9375rem; }
.phase ul { margin: 6px 0 0; }
@media (min-width: 760px) { .phase { grid-template-columns: 200px 1fr; } .phase .when { grid-row: span 3; } }

.foot { background: var(--wine-deep); color: #f3e6d0; padding: 32px 0 40px; font-size: 0.9375rem; }
.foot a { color: #fff; }
.foot p { max-width: none; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; background: #fff; color: var(--wine-deep); font-weight: 800; text-decoration: none; border: 2px solid #fff; }
.btn.alt { background: transparent; color: #fff; }
.foot .btn { color: var(--wine-deep); }
.foot .btn.alt { color: #fff; }
@media print { .top, .toc, .skip { display: none; } body { background: #fff; } section.block { break-inside: avoid-page; } }

/* Páginas legales y enlaces sobre fondo vinotinto */
.pendiente { padding: 1px 8px; border: 1px dashed var(--gold); border-radius: 6px; background: #fff; color: var(--ink); font-weight: 600; }
.link-claro { color: #fff; }
.legal-hero { padding: 40px 0 32px; }
