/* ═══════════════════════════════════════════════════
   KIMY · WATCH OUT, BITCOIN! 2026 — /wob
   Reutiliza el sistema visual de kimycars.com:
   mismos tokens de color, misma tipografía (Inter),
   labels uppercase, títulos bold con acento en cursiva
   dorada, bullets con guion largo, bordes finos dorados.
   Cero gradientes, cero sombras de color, cero glow.
   Mobile first.
   ═══════════════════════════════════════════════════ */

/* ── TOKENS (idénticos a styles.css) ── */
:root {
  --gold:       #B8960C;
  --gold-rgb:   184, 150, 12;
  --gold-dim:   rgba(184, 150, 12, 0.22);
  --gold-faint: rgba(184, 150, 12, 0.07);
  --bg:         #0a0a0a;
  --text:       #F0EDE6;
  --text-muted: #888888;
  --font:         'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
}

/* Tipografía display para los títulos grandes */
.wob-hero-title,
.wob-proj-name,
.wob-code,
.wob-about-title,
.wob-waitlist-title,
.wob-contact-title {
  font-family: var(--font-display);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 150, 12, 0.3) transparent;
}
::-webkit-scrollbar        { width: 3px; }
::-webkit-scrollbar-track  { background: transparent; }
::-webkit-scrollbar-thumb  { background: rgba(184, 150, 12, 0.32); border-radius: 2px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
em  { font-style: italic; }

/* ── SHARED PRIMITIVES ────────────────────────────── */

/* Label uppercase con tracking amplio */
.wob-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.wob-label--gold { color: var(--gold); }

/* Acento en cursiva dorada dentro de un título */
.wob-accent {
  font-style: normal;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.16em;
  text-decoration-skip-ink: none;
}

/* Bullets con guion largo */
.wob-bullets li {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.55;
  padding: 0.4rem 0 0.4rem 1.3rem;
  position: relative;
}
.wob-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Botones (idénticos a la home) */
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 0.72rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: var(--font);
}
.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 600;
  transition: opacity 0.22s ease;
}
.btn-primary:hover { opacity: 0.82; }
.btn-outline {
  background: transparent;
  color: var(--gold);
  font-weight: 500;
  transition: background 0.22s ease;
}
.btn-outline:hover { background: rgba(184, 150, 12, 0.1); }

/* Botón contorno pequeño (cards de proyecto) */
.cta-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.24s ease, color 0.24s ease;
}
.cta-btn:hover { background: var(--gold); color: #0a0a0a; }

/* ── HEADER (mínimo, solo logo) ───────────────────── */
.wob-header {
  display: flex;
  align-items: center;
  height: 4.5rem;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--gold-faint);
}
.wob-header img { height: 42px; width: auto; object-fit: contain; }
.wob-header-fallback {
  font-size: 1.25rem; font-weight: 900; color: var(--gold); letter-spacing: 0.04em;
}

/* ── SECCIÓN GENÉRICA ─────────────────────────────── */
.wob-section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid var(--gold-faint);
}
.wob-inner { width: 100%; max-width: 940px; margin: 0 auto; }
.wob-inner--narrow { max-width: 620px; }

/* ── HERO ─────────────────────────────────────────── */
.wob-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1.5rem, 5vw, 5rem) clamp(4rem, 10vw, 7rem);
  min-height: 78vh;
  display: flex;
  align-items: center;
}
#hero-lines {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.wob-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 720px; margin: 0 auto; text-align: center; }

.wob-hero .wob-label { margin-bottom: 1.6rem; }

.wob-hero-title {
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.3rem;
}
.wob-hero-sub {
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.wob-hero-body {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* Caja destacada con borde fino dorado */
.wob-hero-box {
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  padding: 1.3rem 1.5rem;
  max-width: 540px;
  margin: 0 auto 2.4rem;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
}

.wob-hero-ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── QUIÉN SOY ─────────────────────────────────────── */
.wob-about { text-align: center; }
.wob-about-title {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 1rem 0 1.6rem;
}
.wob-about-p {
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 620px;
  margin: 0 auto 1.1rem;
}

/* ── CÓDIGO WOB2026 ───────────────────────────────── */
.wob-code-section { text-align: center; }
.wob-code-section .wob-label { margin-bottom: 1.4rem; }
.wob-code {
  font-size: clamp(2.8rem, 12vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.2rem;
}
.wob-code-p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 3rem;
}
.wob-code-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: left;
}
.wob-code-col {
  border-top: 1px solid var(--gold-dim);
  padding-top: 1.2rem;
}
.wob-code-col-name {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}
.wob-code-col-head {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.wob-code-col-sub {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PROYECTOS (filas alternadas texto + ilustración) ── */
.wob-proj {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid var(--gold-faint);
}
.wob-proj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 6vw, 4.5rem);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.wob-proj-visual { display: flex; align-items: center; justify-content: center; }
.wob-proj-visual svg { width: 100%; max-width: 380px; height: auto; }

.wob-proj-name {
  display: block;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.55rem;
}
.wob-proj-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.wob-proj-title {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.wob-proj-body {
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 1.4rem;
  max-width: 480px;
}
.wob-proj .wob-bullets { margin-bottom: 1.6rem; }
.wob-proj-note {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1.2rem;
}

/* ── FORMULARIO LISTA DE ESPERA ───────────────────── */
.wob-waitlist { text-align: center; }
.wob-waitlist-title {
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}
.wob-waitlist-p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 2.2rem;
}
.wob-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  max-width: 460px;
  margin: 0 auto;
}
.wob-form input {
  background: rgba(184, 150, 12, 0.04);
  border: 1px solid rgba(184, 150, 12, 0.18);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  width: 100%;
  transition: border-color 0.22s ease;
}
.wob-form input::placeholder { color: rgba(136, 136, 136, 0.45); }

/* Honeypot anti-bots: fuera de pantalla, invisible para humanos */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.wob-form input:focus { outline: none; border-color: rgba(184, 150, 12, 0.5); }
.wob-form .btn-primary { width: 100%; }
.wob-form .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.wob-form-legal {
  font-size: 0.72rem;
  font-weight: 300;
  color: #808080;
  text-align: center;
}
.wob-form-legal a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(184,150,12,0.35); }
.wob-form-legal a:hover { text-decoration-color: var(--gold); }

.wob-form-feedback {
  font-size: 0.85rem;
  min-height: 1.2em;
  margin-top: 0.2rem;
  text-align: center;
}
.wob-form-feedback--ok  { color: #52a35a; }
.wob-form-feedback--err { color: #e05252; }

/* ── CONTACTO ─────────────────────────────────────── */
.wob-contact { text-align: center; }
.wob-contact-title {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}
.wob-contact-p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 2.4rem;
}
.wob-contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}
.wob-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.wob-social svg { width: 16px; height: 16px; display: block; flex-shrink: 0; }
.wob-social:hover {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

/* ── FOOTER ───────────────────────────────────────── */
.wob-footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--gold-faint);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 300;
  color: #808080;
}
.wob-footer a { color: var(--gold); }
.wob-footer a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — a partir de tablet
   ═══════════════════════════════════════════════════ */
@media (min-width: 720px) {
  .wob-code-cols { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
}
@media (min-width: 860px) {
  .wob-proj-grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  /* Fila invertida: la ilustración va a la izquierda */
  .wob-proj-grid--rev .wob-proj-visual { order: -1; }
}

/* ═══════════════════════════════════════════════════
   ANIMACIONES — reutilizadas del sistema de kimycars.com
   ═══════════════════════════════════════════════════ */

/* Entrada al hacer scroll */
.appear {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.appear.visible { opacity: 1; transform: translateY(0); }
.appear:nth-child(2) { transition-delay: 0.08s; }
.appear:nth-child(3) { transition-delay: 0.16s; }
.appear:nth-child(4) { transition-delay: 0.24s; }
.appear:nth-child(5) { transition-delay: 0.32s; }
.appear:nth-child(6) { transition-delay: 0.40s; }
.appear:nth-child(7) { transition-delay: 0.48s; }

/* ── VESTIARIUM: caída de prendas ── */
.vest-piece {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.55s ease,
              transform 0.65s cubic-bezier(0.34, 1.45, 0.64, 1);
}
.vest-piece.drop { opacity: 1; transform: translateY(0); }
.vest-badge { opacity: 0; transition: opacity 0.45s ease; }
.vest-badge.show { opacity: 1; }
.vest-pulse { opacity: 0; transform-box: fill-box; transform-origin: center; }
@keyframes vestPulse {
  0%   { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(4); opacity: 0;    }
}
.vest-pulse.pulsing { animation: vestPulse 1.4s ease-out forwards; }

/* ── INCOMEROCKET: dibujo del navegador (stroke-dashoffset) ── */
.bel {
  stroke: var(--gold);
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}
.bel.bel-draw {
  stroke-dashoffset: 0;
  opacity: 1;
  transition: stroke-dashoffset 1.1s ease-out, opacity 0.35s ease;
}
.bel.bel-fade {
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.b-frame { stroke-width: 1.1; }
.b-bar   { stroke-width: 0.7; }
.b-dot   { stroke-width: 1.1; }
.b-url   { stroke-width: 0.7; }
.b-lyt1  { stroke-width: 0.7; stroke-opacity: 0.6; }
.b-lyt2  { stroke-width: 0.8; stroke-opacity: 0.75; }
.b-lyt3  { stroke-width: 0.8; stroke-opacity: 0.8; }
.b-lyt4  { stroke-width: 0.5; stroke-opacity: 0.45; }

/* ── SCREENPACT: notificación + candado ── */
#sc-signal-path { animation: scDashFlow 0.8s linear infinite; }
@keyframes scDashFlow { to { stroke-dashoffset: -28; } }
#sc-user-shackle {
  transform-box: fill-box;
  transform-origin: right bottom;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
#sc-user-shackle.open { transform: rotate(44deg); opacity: 0.45; }
#sc-notification { transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1); }
@keyframes scPulse {
  0%   { r: 8;  opacity: 0.7; }
  100% { r: 36; opacity: 0;   }
}
#sc-p1.pulsing { animation: scPulse 1s ease-out forwards; }
#sc-p2.pulsing { animation: scPulse 1.35s 0.24s ease-out forwards; }

/* Respeta reduce-motion: sin caídas ni parpadeos, todo visible */
@media (prefers-reduced-motion: reduce) {
  .appear, .vest-piece { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bel { opacity: 1 !important; stroke-dashoffset: 0 !important; }
  #hero-lines { display: none; }
}
