/* Guías de Mi Equipación: mismas fuentes y colores que la web comercial y la plataforma.
   Diseño de manual: columna de lectura cómoda, capturas reales enmarcadas como ventanas y un índice fijo. */
:root {
  --night: #0B1F3D;
  --night-2: #12294D;
  --ink: #0A1628;
  --ink-soft: #46566E;
  --ink-faint: #7A889C;
  --sky: #3FA9F5;
  --sky-deep: #1C7FD0;
  --ice: #EEF3F9;
  --line: #D8E1EC;
  --bib: #FFD23F;
  --alert: #E5484D;
  --ok: #1F9D62;
  --white: #FFFFFF;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sky-deep); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }

h1, h2, h3 { font-family: var(--display); font-weight: 800; font-style: italic; line-height: 1; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(48px, 7vw, 88px); }
h2 { font-size: clamp(34px, 4.4vw, 52px); }
h3 { font-size: 28px; line-height: 1.08; }
p { margin: 0; }

/* cabecera fija */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.bar img { height: 36px; width: auto; }
.bar nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.bar nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--ink); }
.bar nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sky); }
.bar .enter { background: var(--night); color: var(--white) !important; padding: 9px 16px; border-radius: 9px; }
@media (max-width: 760px) { .bar nav a.hide-sm { display: none; } .bar nav { gap: 14px; } }

/* portada de la guía */
.cover { background: var(--night); color: var(--white); position: relative; overflow: hidden; padding: 72px 0 64px; }
.cover::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-58deg, rgba(255,255,255,.035) 0 22px, transparent 22px 64px); }
.cover .wrap { position: relative; }
.cover .kicker { color: var(--sky); font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.cover p.lead { color: #C9D7E8; font-size: 21px; max-width: 38em; margin-top: 20px; }
.cover .meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.cover .meta a, .cover .meta span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.cover .meta a.primary { background: var(--sky); color: var(--night); }
.cover .meta a.ghost { border: 2px solid rgba(255,255,255,.35); color: var(--white); }

/* bloques de contenido */
.doc { padding: 64px 0 96px; }
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.layout > * { min-width: 0; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; gap: 24px; } }
.toc { position: sticky; top: 92px; font-size: 15px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; }
.toc strong { display: block; font-family: var(--display); font-style: italic; font-size: 20px; margin: 18px 0 6px; }
.toc strong:first-child { margin-top: 0; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--sky); }
@media (max-width: 1000px) {
  .toc { position: static; max-height: none; background: var(--ice); border-radius: 14px; padding: 18px; columns: 2; column-gap: 24px; }
  .toc strong { break-after: avoid; }
}
@media (max-width: 560px) { .toc { columns: 1; } }

.part { margin-bottom: 72px; }
.part > header { border-bottom: 3px solid var(--night); padding-bottom: 14px; margin-bottom: 36px; }
.part > header .num { font-family: var(--display); font-style: italic; font-weight: 800; color: var(--sky-deep); font-size: 22px; }
.part > header p { color: var(--ink-soft); margin-top: 10px; max-width: 40em; }
.sec { margin-bottom: 56px; }
.sec h3 { margin-bottom: 14px; }
.sec > p, .sec li { max-width: 42em; }
.sec > p + p { margin-top: 12px; }
.sec ul, .sec ol { padding-left: 22px; margin: 14px 0 0; }
.sec li { margin: 6px 0; }
.sec li::marker { color: var(--sky-deep); }
.sec strong { color: var(--ink); }
.note { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--ice); font-size: 16px; color: var(--ink-soft); max-width: 42em; }
.note strong { color: var(--ink); }
.note.warn { background: #FFF7E6; }
.who { display: inline-block; font-size: 14px; font-weight: 700; color: var(--sky-deep); margin-bottom: 6px; }

/* capturas: ventana de navegador o teléfono */
.shot { margin: 24px 0 0; }
.shot .win { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(11,31,61,.45); background: var(--white); }
.shot .win .chrome { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #E9EEF5; border-bottom: 1px solid var(--line); }
.shot .win .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #C5CFDC; }
.shot .win .chrome span { margin-left: 12px; font-size: 13px; color: var(--ink-faint); background: var(--white); border-radius: 6px; padding: 2px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shot figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-faint); max-width: 46em; }
.shot a { display: block; }
.phones { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 24px; }
.phone { width: 250px; max-width: 100%; }
.phone .frame { border: 9px solid var(--night); border-radius: 30px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(11,31,61,.6); background: var(--white); }
.phone .frame img { width: 100%; }
.phone figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-faint); }

/* pasos de la guía rápida */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; padding: 48px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step .n { width: 64px; height: 64px; border-radius: 50%; background: var(--night); color: var(--white); display: grid; place-items: center; font: 800 italic 32px/1 var(--display); }
.step h2 { font-size: clamp(30px, 3.6vw, 42px); }
.step .body > p { margin-top: 12px; max-width: 40em; color: var(--ink-soft); }
.step .body > p strong { color: var(--ink); }
.step .twin { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; align-items: start; margin-top: 24px; }
.step .twin .shot, .step .twin .phone { margin-top: 0; }
@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step .n { width: 52px; height: 52px; font-size: 26px; }
  .step .twin { grid-template-columns: 1fr; }
}

/* cierre */
.end { background: var(--ice); padding: 64px 0; }
.end .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.end p { color: var(--ink-soft); margin-top: 10px; max-width: 36em; }
.end .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.btn.dark { background: var(--night); color: var(--white); }
.btn.line { border: 2px solid var(--night); color: var(--night); }
@media (max-width: 760px) { .end .wrap { grid-template-columns: 1fr; } }
footer { background: #071427; color: #8FA6C3; padding: 30px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: #C9D7E8; text-decoration: none; }
.step > *, .step .twin > * { min-width: 0; }
.shot .win .chrome span { min-width: 0; }
