/* HamProp — privacidad (estática, Hetzner). Recorte de style.css + app.css del cPanel (18/11/2026). */
/* HamProp — W1
   Paleta "night ionosphere": fondo azul-noche profundo, señal en azul #3B82F6,
   hot en ámbar. Display: Space Grotesk. Texto: IBM Plex Sans. Datos: Plex Mono. */

:root {
  --bg: #0B1220;
  --surface: #111A2C;
  --surface-2: #16213A;
  --line: #24304D;
  --text: #E7ECF6;
  --muted: #94A3BF;
  --accent: #3B82F6;
  --accent-soft: #1D3A6B;
  --hot: #F59E0B;
  --ok: #22C55E;
  --radius: 14px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
a { color: var(--accent); text-decoration: none; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20;
  background: rgba(11,18,32,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text); }
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* ---------- Botones ---------- */
.btn { display: inline-block; border-radius: 10px; font-weight: 600;
  padding: 12px 22px; font-size: 16px; transition: transform .12s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2f6fe0; }
.btn-ghost { background: transparent; border: 1px solid var(--line);
  color: var(--text); cursor: pointer; font-family: inherit; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-big { padding: 15px 28px; font-size: 17px; }
.btn-small { padding: 8px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
h1 { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 5.2vw, 58px); line-height: 1.08; letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 19px; margin-top: 22px; max-width: 54ch; }
.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.micro { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ---------- Firma: telnet -> Telegram ---------- */
.hero-demo { position: relative; min-height: 360px; }
.telnet { background: #0A0F1A; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; font-family: var(--font-mono); font-size: 12.5px;
  color: #5E7396; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.telnet-head { padding: 10px 14px; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.telnet-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 8px var(--ok); }
.telnet-lines { padding: 14px; display: grid; gap: 9px; white-space: pre; overflow: hidden; }
.telnet-lines .hit { color: var(--text); background: var(--accent-soft);
  border-radius: 6px; padding: 3px 6px; margin: -3px -6px; }
.tg-card { position: absolute; right: -8px; bottom: -34px; width: min(320px, 92%);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55); animation: pop .7s ease .9s backwards; }
.tg-head { font-weight: 600; font-size: 14px; color: var(--accent);
  padding: 12px 16px 0; }
.tg-body { padding: 6px 16px 12px; font-size: 15px; display: grid; gap: 3px; }
.tg-title { font-size: 17px; }
.tg-hot { color: var(--hot); font-weight: 600; }
.tg-time { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ---------- Secciones ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-family: var(--font-display); font-weight: 700; font-size: 34px;
  letter-spacing: -0.01em; margin-bottom: 40px; }

/* Steps: la secuencia SÍ es una secuencia real, numeración justificada */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; }
.section .step { background: var(--surface); }
.step-n { width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  font-weight: 500; font-size: 17px; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step .mono { color: var(--text); background: #0A0F1A; padding: 1px 6px;
  border-radius: 5px; font-size: 13.5px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.feat { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.feat-ico { font-size: 26px; line-height: 1.4; }
.feat h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15.5px; grid-column: 2; }
.feat h3 { grid-column: 2; }
.feat-ico { grid-row: 1 / span 2; }

/* Support */
.support-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.goal { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; display: grid; gap: 16px;
  justify-items: start; }
.goalbar { width: 100%; height: 12px; border-radius: 999px; background: #0A0F1A;
  border: 1px solid var(--line); overflow: hidden; }
.goalbar-fill { height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #6EA8FE); min-width: 4px; }
.goal-label { color: var(--muted); font-size: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-in { display: flex; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 14.5px; flex-wrap: wrap; }

/* Paginas simples (donate) */
.page-simple { display: grid; min-height: 100vh; }
.simple-wrap { max-width: 640px; margin: auto; padding: 48px 24px; display: grid;
  gap: 18px; justify-items: start; }
.simple-wrap h1 { font-size: 40px; }
.back { color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); font-size: 14.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .steps, .features { grid-template-columns: 1fr; }
  .support-in { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .tg-card { right: 0; }
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tg-card { animation: none; }
}

/* ---------- Activation watch (bloque home) ---------- */
.activation { text-align: center; max-width: 720px; }
.activation h2 { margin-bottom: 18px; }
.activation .lead { margin: 0 auto 30px; }

/* ---- de app.css (líneas 300-455) ---- */
/* ---------- Manual ---------- */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px;
  max-width: 1100px; margin: 30px auto 80px; padding: 0 24px; align-items: start; }
.doc-toc { position: sticky; top: 84px; font-size: 14.5px; }
.doc-toc h4 { font-family: var(--font-display); font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  margin: 20px 0 8px; }
.doc-toc h4:first-child { margin-top: 0; }
.doc-toc a { display: block; color: var(--muted); padding: 4px 0;
  border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px; }
.doc-toc a:hover { color: var(--text); border-left-color: var(--accent); }
.doc-body { min-width: 0; }
.doc-body h1 { font-family: var(--font-display); font-size: 36px;
  margin-bottom: 10px; }
.doc-body h2 { font-family: var(--font-display); font-size: 26px;
  margin: 46px 0 14px; padding-top: 18px; border-top: 1px solid var(--line);
  scroll-margin-top: 84px; }
.doc-body h3 { font-family: var(--font-display); font-size: 19px;
  margin: 28px 0 10px; color: var(--text); scroll-margin-top: 84px; }
.doc-body h4 { font-size: 16px; margin: 20px 0 8px; color: var(--text); }
.doc-body p { color: var(--muted); margin-bottom: 13px; line-height: 1.7; }
.doc-body ul, .doc-body ol { color: var(--muted); margin: 0 0 15px 22px;
  line-height: 1.7; }
.doc-body li { margin-bottom: 7px; }
.doc-body b, .doc-body strong { color: var(--text); }
.doc-body code { font-family: var(--font-mono); font-size: 13.5px;
  background: #0A0F1A; color: #9EC2FF; padding: 2px 7px; border-radius: 5px; }
.doc-body pre { background: #0A0F1A; border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; overflow-x: auto; margin: 0 0 16px; }
.doc-body pre code { background: none; padding: 0; font-size: 13.5px;
  color: #9EC2FF; line-height: 1.75; }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 14.5px;
  margin: 0 0 18px; }
.doc-body th { text-align: left; color: var(--muted); font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line); }
.doc-body td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line);
  color: var(--muted); vertical-align: top; }
.doc-body td:first-child { color: var(--text); white-space: nowrap; }
.doc-lead { font-size: 18px; color: var(--muted); margin-bottom: 26px; }
.note { border-left: 3px solid var(--accent); background: var(--surface);
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 0 0 18px; }
.note p:last-child { margin-bottom: 0; }
.note.warn { border-left-color: var(--hot); }
.note.tip { border-left-color: var(--ok); }
.note-t { color: var(--text); font-weight: 600; display: block;
  margin-bottom: 5px; font-size: 14.5px; }
.doc-steps { counter-reset: ds; list-style: none; margin-left: 0; }
.doc-steps > li { counter-increment: ds; position: relative;
  padding-left: 40px; margin-bottom: 18px; }
.doc-steps > li::before { content: counter(ds); position: absolute; left: 0;
  top: 0; width: 27px; height: 27px; display: grid; place-items: center;
  border-radius: 8px; background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-mono); font-size: 14px; }
.doc-body .msg { background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; margin: 0 0 16px;
  font-size: 14.5px; color: var(--text); line-height: 1.65; }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; gap: 22px; }
  .doc-toc { position: static; border-bottom: 1px solid var(--line);
    padding-bottom: 18px; }
}

/* ---------- Capturas en el manual ---------- */
.shot { margin: 0 0 20px; }
.shot img { max-width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line); display: block; }
.shot figcaption { color: var(--muted); font-size: 13.5px; margin-top: 9px;
  font-family: var(--font-body); }

/* ---------- Menu movil ---------- */
/* El nav de la landing escondia todos los links en pantalla chica: servia
   con 3 items, no con 8. Ahora se despliega. */
.nav-toggle { display: none; background: none; border: 1px solid var(--line);
  border-radius: 9px; padding: 7px 11px; cursor: pointer; color: var(--text);
  font-size: 17px; line-height: 1; font-family: inherit; }
.nav-toggle:hover { border-color: var(--accent); }

.lang-pick { font-size: 12.5px; letter-spacing: .04em; }
.lang-pick a { color: var(--muted); padding: 0 3px; }
.lang-pick a:hover { color: var(--accent); }
.lang-on { color: var(--text); padding: 0 3px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-in { position: relative; }
  .nav-links { position: absolute; top: calc(100% + 12px); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 8px;
    box-shadow: 0 18px 45px rgba(0,0,0,.55); display: none; }
  .nav-links.open { display: flex; }
  /* Anula la regla vieja que escondia los links en movil */
  .nav-links a:not(.btn) { display: block; padding: 11px 14px;
    border-radius: 9px; font-size: 16px; }
  .nav-links a:not(.btn):hover { background: var(--surface-2); }
  .nav-links .btn { margin: 6px 0 2px; text-align: center; }
  .nav-links .mono { padding: 11px 14px; font-size: 14px; }
  .lang-pick { padding: 11px 14px; border-top: 1px solid var(--line);
    margin-top: 4px; font-size: 14px; }
}
/* --- Nav unificado (inc/nav.php) --- */
/* La pagina actual, marcada de verdad: antes solo cambiaba de color y en
   escritorio no se notaba. */
.nav-links .here { color: var(--text); position: relative; }
.nav-links .here::after { content: ""; position: absolute; left: 0; right: 0;
  bottom: -22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Boton del bot en ambar: es "Telegram / actividad", el mismo idioma que 🔥 y
   el aviso de tope. En rojo chocaria con btn-danger, que significa Borrar. */
/* El bot, marcado sin gritar. El ambar relleno se leia como advertencia en
   una paleta azul-noche tan sobria: queda como borde y texto, que distingue
   el boton sin romper el conjunto. !important porque `a { color }` de
   style.css se le imponia y el texto quedaba naranja sobre naranja. */
.nav-links a.btn-bot,
.nav-links a.btn-bot:visited { background: transparent;
  border: 1px solid var(--hot); color: var(--hot) !important;
  font-weight: 600; }
.nav-links a.btn-bot:hover { background: rgba(245,158,11,.12);
  border-color: #FFC24D; color: #FFC24D !important; }

/* Estas aca: mismo tamano que un boton, sin invitar a hacer clic. */
.btn-here { background: var(--accent-soft); color: var(--text);
  border: 1px solid var(--accent); cursor: default; }

/* Recuadro del Login Widget de Telegram */
.tgw-box { background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; margin: 14px 0 4px; text-align: center; }
.tgw-box iframe { margin: 0 auto; }
.tgw-box .bld-note { margin-top: 10px; }
.nav-call { color: var(--muted); }
.nav-links .btn-ghost { border-color: var(--line); }
.nav-links .btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Botones del panel en fila (generar / cancelar codigo) */
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-row form { margin: 0; }

/* --- Menu movil: compacto y con el idioma en linea ---
   Reemplaza el bloque @media (max-width:900px) que ya tenias para .nav-links.
   Antes: 8 items a 11px de padding no entraban sin scrollear, y el selector
   de idioma se apilaba en dos lineas con el separador suelto. */
@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: block; padding: 9px 14px;
    border-radius: 9px; font-size: 15px; }
  .nav-links .mono { padding: 9px 14px; font-size: 13.5px; }
  .nav-links .btn { margin: 5px 0 2px; text-align: center; }
  /* El selector va en una sola linea, centrado, sin el punto colgando */
  .lang-pick { display: flex; justify-content: center; align-items: center;
    gap: 4px; padding: 10px 14px; border-top: 1px solid var(--line);
    margin-top: 4px; font-size: 14px; }
  .lang-pick a, .lang-on, .lang-sep { display: inline !important; padding: 0 4px; }
  /* En columna el subrayado inferior no significa nada */
  .nav-links .here::after { display: none; }
  .nav-links .here { background: var(--accent-soft); }
}

/* ---- contenedor de la página (el original no lo tenía) ---- */
.privacy-main { max-width: 760px; margin: 30px auto 80px; padding: 0 24px; }
