/* Dragomon Hunter fangame — estilos del sitio público */
:root {
  --bg: #0b1220;
  --bg-2: #0f192b;
  --card: #141f35;
  --card-2: #18263f;
  --line: #24344f;
  --text: #dbe4f0;
  --muted: #8d9fb9;
  --gold: #ffc857;
  --orange: #ff8a2a;
  --green: #4ade80;
  --red: #ff7b7b;
  --blue: #6cb8ff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --nav-h: 64px;
  --display: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffe09a; }
h1, h2, h3 { font-family: var(--display); color: #fff; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-family: Consolas, Menlo, monospace; background: #0c1626; border: 1px solid var(--line); border-radius: 6px; padding: .1em .4em; font-size: .92em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(860px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.gold { color: var(--gold); }
.center { text-align: center; }
.r { text-align: right; }
.inline { display: inline; }
.eyebrow { font: 700 .78rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 .9em; }
.lead { font-size: 1.12rem; color: #c3cfdf; }
.empty { color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }

/* ---------- botones y formularios ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 .98rem/1 var(--display); color: #1a1205; background: linear-gradient(180deg, #ffd166, #ff9f2e); border: 0; border-radius: 999px; padding: .85em 1.5em; cursor: pointer; box-shadow: 0 6px 18px rgba(255, 138, 42, .28), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .12s, filter .12s, background .12s; text-align: center; }
.btn:hover { color: #1a1205; filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 1.08rem; padding: 1em 1.9em; }
.btn-sm { font-size: .86rem; padding: .65em 1.1em; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); backdrop-filter: blur(4px); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .13); filter: none; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 8px 10px; }
.link-btn:hover { color: #fff; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: #eef3fa; }
.field small { display: block; color: var(--muted); font-size: .82rem; margin-top: 6px; }
.input { width: 100%; background: #0c1626; color: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .78em .95em; font: inherit; transition: border-color .12s, box-shadow .12s; }
.input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 200, 87, .18); }
.input::placeholder { color: #5f728d; }
.input-code { font-family: Consolas, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.input-code::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--body); }
.row-form { display: flex; gap: 10px; flex-wrap: wrap; }
.row-form .input { flex: 1; min-width: 200px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- menú ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(9, 15, 27, .86); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav-in { width: min(1240px, 100% - 32px); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.15rem/1 var(--display); color: #fff; letter-spacing: .01em; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #ffd166, #ff7a1a); position: relative; box-shadow: 0 4px 12px rgba(255, 138, 42, .4); flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: 7px 8px 7px 9px; background: #1a1205; clip-path: polygon(50% 0, 100% 38%, 72% 38%, 72% 100%, 28% 100%, 28% 38%, 0 38%); transform: rotate(35deg); }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links > a:not(.btn) { color: #b9c6d8; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav-links > a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-links > a.on { color: var(--gold); }
.nav-sep { flex: 1; }
.nav-links > a.nav-admin { color: var(--gold); border: 1px solid rgba(255, 200, 87, .4); }
.nav-user::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 11px 9px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; }

.flash { padding: 12px 0; font-weight: 600; border-bottom: 1px solid transparent; }
.flash-ok { background: #0f2a22; color: #8ff0b6; border-color: #1d4a3b; }
.flash-error { background: #33161b; color: #ffb0b0; border-color: #5a2630; }
.flash-info { background: #14253f; color: #a9d3ff; border-color: #25416b; }

/* ---------- portada ---------- */
.hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; background: #101a2c center 30% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 13, 24, .93) 0%, rgba(8, 13, 24, .72) 34%, rgba(8, 13, 24, .12) 68%, rgba(8, 13, 24, 0) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 18, 32, 0) 34%); }
.hero-in { position: relative; padding: 110px 0 72px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 7.5em; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); background: linear-gradient(180deg, #fff 30%, #ffd98a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 30em; color: #e3eaf4; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 26px; }
.hero-status { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(9, 15, 27, .72); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 7px 14px; font-size: .88rem; color: #dbe4f0; backdrop-filter: blur(6px); }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.pill-on i { background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.pill-off i { background: var(--red); }
.pill b { color: var(--gold); }

/* ---------- secciones ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid rgba(255, 255, 255, .05); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.more { font-weight: 700; white-space: nowrap; }
.band { margin-top: -34px; position: relative; z-index: 2; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { display: block; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px; color: var(--text); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.step:hover { transform: translateY(-3px); border-color: rgba(255, 200, 87, .55); color: var(--text); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 200, 87, .14); color: var(--gold); font: 800 1rem var(--display); margin-bottom: 14px; }
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.rates { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.rates div { flex: 1; min-width: 150px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: baseline; }
.rates span { color: var(--muted); font-size: .9rem; }
.rates b { color: var(--gold); font: 800 1.25rem var(--display); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.split-art { aspect-ratio: 16 / 10; border-radius: 20px; background: #101a2c center / cover; border: 1px solid var(--line); box-shadow: var(--shadow); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pad { padding: 26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text); transition: transform .15s, border-color .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(255, 200, 87, .5); box-shadow: var(--shadow); color: var(--text); }
.post-cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1b2c4a, #101a2c) center / cover; position: relative; }
.post-cover:not([style])::after { content: ""; position: absolute; inset: 0; background: url(/static/img/bg-ciudad.jpg) center / cover; opacity: .55; }
.post-body { padding: 18px 20px 20px; }
.post-body time { color: var(--muted); font-size: .82rem; }
.post-body h3 { margin: .35em 0 .4em; font-size: 1.18rem; }
.post-body p { margin: 0; color: var(--muted); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tag { display: inline-block; background: rgba(255, 200, 87, .16); color: var(--gold); border-radius: 999px; padding: 3px 11px; font: 700 .72rem/1.6 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.post-cover .tag { position: absolute; top: 12px; left: 12px; background: rgba(9, 15, 27, .82); z-index: 1; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }

.class-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.class-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 8px 12px; color: var(--text); font-size: .86rem; font-weight: 600; text-align: center; line-height: 1.25; transition: transform .12s, border-color .12s; }
.class-chip:hover { transform: translateY(-3px); border-color: rgba(255, 200, 87, .5); color: #fff; }
.class-chip img, .class-icon img { border-radius: 50%; background: #070c16; }
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.class-card { display: flex; gap: 18px; padding: 22px; scroll-margin-top: 90px; }
.class-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 200, 87, .15); }
.class-icon { flex: none; }
.class-card p { margin: 0; color: var(--muted); font-size: .93rem; }

.guide-tools { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.guide-tools .input { max-width: 420px; }
.guide-group { margin-bottom: 34px; }
.guide-group-title { font-size: 1.2rem; color: var(--gold); margin-bottom: .7em; }
.guide-list { display: grid; gap: 10px; }
.guide-row { display: grid; grid-template-columns: 130px minmax(0, 1.1fr) minmax(0, 2fr) 24px; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; color: var(--text); transition: border-color .12s, background .12s; }
.guide-row:hover { border-color: rgba(255, 200, 87, .5); background: var(--card-2); color: var(--text); }
.guide-cat { color: var(--gold); font: 700 .74rem var(--display); letter-spacing: .08em; text-transform: uppercase; }
.guide-title { font: 700 1.05rem var(--display); color: #fff; }
.guide-sum { color: var(--muted); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-go { color: var(--gold); font-weight: 700; }

.cta { position: relative; background: #101a2c center / cover; text-align: center; }
.cta-shade { position: absolute; inset: 0; background: rgba(8, 13, 24, .74); }
.cta-in { position: relative; padding: 84px 0; }
.cta p { color: #d5deeb; font-size: 1.1rem; margin-bottom: 26px; }

/* ---------- cabecera de páginas internas ---------- */
.page-head { position: relative; background: #101a2c center 40% / cover; padding: 88px 0 46px; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 18, 32, .62) 55%, rgba(11, 18, 32, .5) 100%); }
.page-head h1 { margin: 0; text-shadow: 0 3px 20px rgba(0, 0, 0, .6); }
.page-head-sm { padding: 64px 0 34px; }
.page-head + .section { padding-top: 36px; }

/* ---------- descargas ---------- */
.dl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 26px; margin-bottom: 14px; }
.dl-primary { border-color: rgba(255, 200, 87, .55); background: linear-gradient(135deg, #1d2b47, var(--card)); }
.dl h3 { margin: .3em 0; font-size: 1.25rem; }
.dl p { margin: 0 0 .4em; color: var(--muted); }
.dl-meta { display: flex; gap: 14px; font-size: .85rem; }
.dl-meta span { background: #0c1626; border-radius: 6px; padding: 2px 9px; }
.dl-side { padding: 24px; }
.dl-side p { color: var(--muted); font-size: .94rem; }

/* ---------- acceso ---------- */
.auth { position: relative; min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: 48px 16px; background: #101a2c center / cover; }
.auth-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(8, 13, 24, .62), rgba(8, 13, 24, .9)); }
.auth-card { position: relative; width: min(460px, 100%); padding: 34px 34px 28px; background: rgba(17, 27, 47, .94); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.auth-card h1 { font-size: 2rem; margin-bottom: .7em; }
.auth-alt { margin: 20px 0 0; text-align: center; color: var(--muted); }
.notice { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: .94rem; }
.notice-error { background: #33161b; color: #ffb0b0; border: 1px solid #5a2630; }
.notice-info { background: #14253f; color: #a9d3ff; border: 1px solid #25416b; margin-top: 18px; }
.error-code { font: 800 4.5rem/1 var(--display); color: var(--gold); margin: 0 0 .1em; }

/* ---------- panel de usuario ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 38px; }
.stat { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stat-label { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 6px; }
.stat-value { font: 800 1.7rem/1.2 var(--display); color: #fff; display: flex; align-items: center; gap: 10px; }
.stat-value.gold { color: var(--gold); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #56667f; display: inline-block; flex: none; }
.dot-on { background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.h-section { font-size: 1.4rem; margin: 0 0 .8em; }
.h-card { font-size: 1.25rem; }
.h-sub { font-size: .95rem; color: var(--muted); margin: 24px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.table-wrap { overflow-x: auto; margin-bottom: 38px; }
.table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table th { text-align: left; font: 700 .76rem var(--display); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 18px; border-bottom: 1px solid rgba(36, 52, 79, .6); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th.r, .table td.r { text-align: right; }
.char { display: inline-flex; align-items: center; gap: 12px; }
.char img { border-radius: 50%; background: #070c16; }
.lvl { display: inline-block; min-width: 2.4em; text-align: center; background: rgba(108, 184, 255, .14); color: var(--blue); border-radius: 8px; padding: 2px 8px; font-weight: 700; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 700; background: rgba(141, 159, 185, .15); color: var(--muted); white-space: nowrap; }
.badge-on { background: rgba(74, 222, 128, .15); color: var(--green); }
.badge-bad { background: rgba(255, 123, 123, .15); color: var(--red); }
.badge-gold { background: rgba(255, 200, 87, .15); color: var(--gold); }
.transfer { margin-bottom: 22px; }
.transfer .row-form .input-amount { flex: 0 1 190px; min-width: 150px; }
.neg { color: var(--red); }
.transfer-to { display: flex; align-items: center; gap: 14px; background: #0c1626; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.transfer-to img { border-radius: 50%; background: #070c16; }
.transfer-to b { display: block; font: 800 1.3rem var(--display); color: #fff; }
.transfer-sum { margin: 0 0 16px; }
.transfer-sum div { display: flex; justify-content: space-between; padding: 8px 2px; border-bottom: 1px solid rgba(36, 52, 79, .6); }
.transfer-sum dt { color: var(--muted); }
.transfer-sum dd { margin: 0; font-weight: 700; }
.market-blocked { border-color: rgba(255, 200, 87, .5); margin-bottom: 22px; }
.money-input { display: flex; gap: 12px; }
.money-input label { display: flex; align-items: center; gap: 8px; flex: 1; }
.money-input em { font-style: normal; color: var(--muted); font-size: .9rem; }
.nowrap { white-space: nowrap; }
.market-pay { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 14px; }
.market-pay-label { font-weight: 700; color: #fff; }
.market-chars { display: flex; gap: 10px; flex-wrap: wrap; }
.market-char input { position: absolute; opacity: 0; }
.market-char span { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #0c1626; }
.market-char span img { border-radius: 50%; background: #070c16; }
.market-char em { font-style: normal; font-size: .85rem; }
.market-char input:checked + span { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 200, 87, .16); }
.market-char input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.market-rate { font-size: 1.05rem; background: #0c1626; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.market-rate b { color: var(--gold); font-size: 1.2rem; }
.market-wallet b { font: 800 1.7rem var(--display); color: var(--gold); }
.section .table-wrap + .two-col { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(36, 52, 79, .6); font-size: .9rem; }
.mini-list li:last-child { border: 0; }
.mini-list time { margin-left: auto; color: var(--muted); }

/* ---------- notas ---------- */
.article-head { position: relative; background: #101a2c url(/static/img/bg-ciudad.jpg) center / cover; padding: 96px 0 40px; isolation: isolate; }
.article-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 18, 32, .7) 60%, rgba(11, 18, 32, .55) 100%); }
.article-head h1 { margin: .35em 0 .4em; }
.crumb { font-weight: 700; font-size: .92rem; }
.article-meta { display: flex; gap: 12px; align-items: center; color: var(--muted); margin: 0; }
.article-body { padding: 30px 0 70px; }
.article-lead { font-size: 1.2rem; color: #c3cfdf; border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 28px; }
.article-frame { display: block; width: 100%; height: 320px; border: 0; background: transparent; color-scheme: dark; }
.article-foot { margin-top: 36px; }
body.viewer-page { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
body.viewer-page main { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.viewer-bar { display: flex; align-items: center; gap: 18px; padding: 9px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .92rem; }
.viewer-back, .viewer-open { font-weight: 700; white-space: nowrap; }
.viewer-title { flex: 1; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.viewer-frame { flex: 1; width: 100%; border: 0; background: #fff; min-height: 0; }

/* ---------- pie ---------- */
.foot { border-top: 1px solid rgba(255, 255, 255, .07); background: #080d18; padding: 38px 0; margin-top: 30px; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-about { max-width: 520px; }
.foot-about p { margin: 12px 0 0; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: #b9c6d8; font-weight: 600; font-size: .92rem; }
.foot-links a:hover { color: #fff; }

/* ---------- móvil ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #0a111f; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 12px; font-size: 1.02rem; }
  .nav-links .btn { margin-top: 8px; }
  .nav-sep { display: none; }
  .steps, .split, .two-col, .dl-layout { grid-template-columns: 1fr; }
  .split-art { order: -1; }
  .hero { min-height: 620px; background-position: 62% 30%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 4%, rgba(8, 13, 24, .82) 46%, rgba(8, 13, 24, .25) 100%); }
  .hero-in { padding: 200px 0 64px; }
  .section { padding: 46px 0; }
  .guide-row { grid-template-columns: 1fr 24px; gap: 4px 12px; }
  .guide-cat, .guide-title, .guide-sum { grid-column: 1; }
  .guide-sum { white-space: normal; }
  .guide-go { grid-column: 2; grid-row: 1 / span 3; }
  .dl { flex-direction: column; align-items: flex-start; }
  .dl .btn { width: 100%; }
  .class-grid { grid-template-columns: 1fr; }
  .viewer-title { display: none; }
  .viewer-bar { justify-content: space-between; }
}
@media (max-width: 640px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .table tr:last-child { border-bottom: 0; }
  .table td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 6px 18px; border: 0; text-align: right; }
  .table td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
  .auth-card { padding: 26px 22px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
