/* NANUSD Community Venezuela — sitio de la comunidad */

@font-face {
  font-family: "Sora";
  src: url("fonts/sora-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2f7fd;
  --surface: #ffffff;
  --surface-2: #eaf2fc;
  --line: #d6e4f5;
  --ink: #0b1c2f;
  --ink-2: #29445f;
  --muted: #4a6582;
  --faint: #6b839d;
  --blue: #4a7ac9;
  --blue-deep: #3560a8;
  --blue-dark: #0b1c2f;
  --blue-dark-2: #12293f;
  --accent-soft: #dce9f9;
  --grad: linear-gradient(135deg, #5d93dd 0%, #4374c6 55%, #2f5aa0 100%);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(16, 38, 63, 0.05), 0 14px 30px -22px rgba(16, 38, 63, 0.45);
  --shadow-lg: 0 30px 70px -40px rgba(16, 38, 63, 0.55);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Sora", var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-deep); text-decoration: none; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

p { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.wrap.narrow { width: min(820px, 100% - 40px); }

/* ---------------------------------- topbar --------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 247, 253, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(211, 226, 244, 0.8);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-logo img { display: block; height: 44px; width: auto; }

/* Marca igual que el monedero */
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-grad, linear-gradient(135deg, #5d93dd 0%, #4374c6 55%, #2f5aa0 100%));
  color: #fff;
  box-shadow: 0 1px 1px rgba(16, 38, 63, 0.10), 0 8px 16px -12px rgba(67, 116, 198, 0.9);
  flex: 0 0 auto;
}
.brand-mark svg { width: 21px; height: 21px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.brand-text small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

.menu { display: flex; gap: 22px; }
.menu a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.menu a:hover { color: var(--blue-deep); border-color: var(--blue); }

.menu-mobile { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 30px -18px rgba(53, 96, 168, 0.85);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 20px 34px -16px rgba(53, 96, 168, 0.9); }
.btn-sm { padding: 10px 16px; font-size: 13px; border-radius: 12px; }
.btn-ghost {
  background: var(--surface);
  color: var(--blue-deep);
  border-color: var(--line);
  box-shadow: none;
}
.btn-ghost:hover { box-shadow: var(--shadow); }
.btn-light { background: #fff; color: var(--blue-deep); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6); }

/* ----------------------------------- hero ---------------------------------- */

.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.hero::before {
  width: 620px;
  height: 620px;
  right: -180px;
  top: -260px;
  background: radial-gradient(circle, rgba(134, 182, 231, 0.5), transparent 65%);
}
.hero::after {
  width: 520px;
  height: 520px;
  left: -220px;
  bottom: -300px;
  background: radial-gradient(circle, rgba(93, 147, 221, 0.28), transparent 68%);
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 5.6vw, 62px);
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, rgba(134, 182, 231, 0.55), rgba(93, 147, 221, 0.55)) no-repeat;
  background-size: 100% 38%;
  background-position: 0 88%;
  padding-inline: 2px;
}

.lead {
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  color: var(--ink-2);
  max-width: 54ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { width: 18px; height: 18px; color: var(--blue); }

.hero-art { position: relative; display: grid; place-items: center; padding: 26px 0; }

.logo-card {
  position: relative;
  padding: 26px;
  border-radius: 40px;
  background: linear-gradient(160deg, #ffffff, #e7f0fc);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}
.logo-card img { width: min(220px, 46vw); height: auto; border-radius: 44px; }

.chip {
  position: absolute;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  color: var(--blue-deep);
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip-a { top: 6%; left: 0; }
.chip-b { top: 44%; right: -6px; animation-delay: 1.2s; }
.chip-c { bottom: 8%; left: 10%; animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (prefers-reduced-motion: reduce) {
  .chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------- stats ---------------------------------- */

.stats { padding: 6px 0 8px; }
.stats-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.stats-in > div {
  background: var(--surface);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stats-in strong { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.stats-in span { font-size: 12.5px; color: var(--muted); }

/* --------------------------------- sections -------------------------------- */

.section { padding: 76px 0; }

.section-soft {
  background: linear-gradient(180deg, #ffffff 0%, #eef5fd 100%);
  border-block: 1px solid rgba(211, 226, 244, 0.7);
}

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2 { margin: 12px 0 14px; font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--ink-2); font-size: 15.5px; }

.mat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 28px; }
.mat-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.mat-thumb { display: block; background: var(--surface-2); aspect-ratio: 3 / 4; overflow: hidden; }
.mat-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mat-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.mat-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.mat-body h3 { margin: 0; font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; }
.mat-body p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.mat-body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 560px) {
  .mat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mat-body { padding: 12px 12px 14px; }
  .mat-body h3 { font-size: 15px; }
  .mat-body p { font-size: 12.5px; }
  .mat-body .btn { font-size: 12px; padding: 9px 12px; }
}

.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--blue-deep);
  margin-bottom: 16px;
}
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { font-size: 14.2px; color: var(--muted); }

/* ---------------------------------- pasos ---------------------------------- */

.steps {
  list-style: none;
  counter-reset: paso;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
}
.steps h3 { font-size: 17.5px; margin-bottom: 6px; }
.steps p { font-size: 14.2px; color: var(--muted); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------------------------------- juegos --------------------------------- */

.section-dark {
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(93, 147, 221, 0.35), transparent 70%),
    linear-gradient(180deg, #0b1c2f 0%, #12293f 100%);
  color: #eaf2ff;
}
.section-dark .section-head.light h2 { color: #ffffff; }
.section-dark .section-head.light p { color: #b9cde6; }
.section-dark .eyebrow { color: #8fbcef; }

.games { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.game {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(143, 188, 239, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #eaf2ff;
  font-size: 13px;
  font-weight: 700;
}

/* --------------------------------- unete ----------------------------------- */

.unete-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.unete-in h2 { margin: 12px 0 10px; font-size: clamp(24px, 3vw, 34px); }
.unete-in p { color: var(--ink-2); font-size: 15px; max-width: 62ch; }

/* ----------------------------------- faq ----------------------------------- */

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 20px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  position: relative;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 20px; font-size: 14.2px; color: var(--muted); }

/* ---------------------------------- cierre --------------------------------- */

.final { padding: 26px 0 76px; }
.final-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 36px 38px;
  border-radius: 26px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, 0.22), transparent 70%),
    var(--grad);
  color: #fff;
  box-shadow: 0 30px 60px -34px rgba(53, 96, 168, 0.9);
}
.final h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.final p { color: rgba(255, 255, 255, 0.86); font-size: 14.5px; max-width: 52ch; }
.final .btn { background: #fff; color: var(--blue-deep); box-shadow: none; }

/* ---------------------------------- footer --------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  padding: 34px 0 26px;
  background: #eaf2fc;
}
.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { border-radius: 10px; }
.foot-brand strong { display: block; font-family: var(--display); font-size: 14.5px; }
.foot-brand span { font-size: 12.5px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; font-weight: 700; }
.legal {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(74, 122, 201, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal p { font-size: 11.5px; color: var(--faint); max-width: 74ch; }

/* --------------------------------- responsive ------------------------------ */

@media (max-width: 960px) {
  .menu { display: none; }
  .menu-mobile {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .menu-mobile::-webkit-scrollbar { display: none; }
  .menu-mobile a {
    flex: none;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-2);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    white-space: nowrap;
  }
  .hero-in { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding: 42px 0 30px; }
  .hero-art { order: -1; padding: 34px 0 10px; }
  .chip-a { left: 2%; top: 2px; }
  .chip-b { right: 0; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .brand-logo img { height: 38px; }
  .section { padding: 56px 0; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .logo-card { padding: 18px; border-radius: 32px; }
  .logo-card img { width: min(170px, 42vw); border-radius: 36px; }
  .chip { font-size: 10.5px; padding: 7px 11px; }
  .chip-a { top: 0; }
  .chip-b { top: 46%; }
  .chip-c { bottom: 6px; }
  .stats-in strong { font-size: 20px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
  .step-n { width: 38px; height: 38px; font-size: 16px; }
  .final-in { padding: 28px 22px; }
  .foot-in { align-items: flex-start; }
}

/* ------------------------------ cinta de precios --------------------------- */
.tape {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.tape::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--surface));
}
.tape-track { display: flex; width: max-content; animation: tape-scroll 30s linear infinite; }
.tape-group { display: flex; align-items: center; gap: 26px; padding: 11px 26px 11px 20px; }
.tape-item { display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; font-size: 13.5px; }
.tape-item b {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
}
.tape-code { font-size: 10px; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }
.tape-item [data-usd] { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tape-chg { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--faint); }
.tape-chg.up { color: #1f9c68; }
.tape-chg.down { color: #c8404f; }
.tape-sep { color: var(--line); font-size: 11px; }
@keyframes tape-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tape:hover .tape-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .tape { overflow-x: auto; }
  .tape-track { animation: none; }
  .tape::after { display: none; }
}

/* --------------------------- NANU, la mascota bot --------------------------- */

.bot { position: fixed; right: 18px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bot-fab { position: relative; width: 62px; height: 62px; padding: 0; border: 3px solid #fff; border-radius: 50%; overflow: hidden; background: #eaf2fc; box-shadow: 0 14px 30px -12px rgba(11, 28, 47, 0.5); cursor: pointer; }
.bot-fab img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bot-dot { position: absolute; right: 2px; bottom: 2px; width: 12px; height: 12px; border-radius: 50%; background: #35c07a; border: 2px solid #fff; }
.bot-panel { width: min(360px, calc(100vw - 32px)); max-height: min(520px, 72vh); display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #d6e4f5; border-radius: 20px; box-shadow: 0 26px 60px -26px rgba(11, 28, 47, 0.55); }
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0b1c2f; color: #fff; }
.bot-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.bot-head strong { display: block; font-size: 14px; letter-spacing: 0.01em; }
.bot-head span { display: block; font-size: 11px; color: #9fc0e8; }
.bot-x { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.bot-log { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; overflow-y: auto; background: #f7fafe; min-height: 140px; }
.bot-msg { max-width: 86%; margin: 0; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; }
.bot-msg--bot { align-self: flex-start; background: #eaf2fc; color: #0b1c2f; border-bottom-left-radius: 4px; }
.bot-msg--me { align-self: flex-end; background: #3560a8; color: #fff; border-bottom-right-radius: 4px; }
.bot-typing { opacity: 0.7; font-style: italic; }
.bot-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #d6e4f5; }
.bot-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #d6e4f5; border-radius: 12px; font: inherit; font-size: 14px; color: #0b1c2f; background: #fff; }
.bot-form button { width: 44px; border: 0; border-radius: 12px; background: #3560a8; color: #fff; font-size: 16px; cursor: pointer; }
.bot-form button:disabled { opacity: 0.6; }
.bot-note { margin: 0; padding: 0 12px 10px; font-size: 10.5px; line-height: 1.35; color: #6b839d; }
.support-log { max-height: 300px; }
@media (max-width: 480px) {
  .bot { right: 12px; bottom: 14px; }
  .bot-fab { width: 56px; height: 56px; }
}

.faq-group { margin: 20px 0 2px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.faq-group:first-child { margin-top: 0; }
.faq a { color: var(--blue-deep); text-decoration: underline; }

.mat-group { grid-column: 1 / -1; margin: 26px 0 2px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.mat-group:first-child { margin-top: 0; }

/* Segunda cinta: métricas financieras del proyecto */
.tape-metricas { background: #eaf3ff; border-top: 1px solid var(--line); }
.tape-metricas .tape-track { animation-duration: 34s; }
.tape-metricas .tape-item b { color: var(--blue-deep); }
.tape-metricas .tape-item span { color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* La banda de métricas corre en sentido contrario a la de precios. */
.tape-metricas .tape-track { animation-direction: reverse; }

/* Nanu animado: parpadea y saluda con la mano. */
.bot-fab .nanu, .bot-head .nanu { display: block; width: 100%; height: 100%; }
.bot-head .nanu { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.bot-fab .nanu svg, .bot-head .nanu svg { display: block; width: 100%; height: 100%; }
.nanu-eyes { transform-box: fill-box; transform-origin: center; animation: nanu-blink 4.6s infinite; }
.nanu-arm { transform-box: fill-box; transform-origin: 18% 96%; animation: nanu-wave 1.9s ease-in-out infinite; }
@keyframes nanu-blink {
  0%, 91%, 100% { transform: scaleY(1); }
  93%, 95% { transform: scaleY(0.1); }
}
@keyframes nanu-wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-16deg); }
  50% { transform: rotate(7deg); }
  75% { transform: rotate(-11deg); }
}
@media (prefers-reduced-motion: reduce) {
  .nanu-eyes, .nanu-arm { animation: none; }
}

/* Banda de métricas oculta en la portada. */
.tape-metricas { display: none !important; }

/* Nanu con su foto original: parpadea, se balancea y saluda. */
.nanu { position: relative; }
.nanu img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.nanu-lid { position: absolute; z-index: 1; width: 20.8%; height: 20.8%; border-radius: 50%; background: #070a0f; transform: scaleY(0); transform-origin: center; animation: nanu-blink 5.2s infinite; }
.nanu-lid--l { left: 25.2%; top: 42.9%; }
.nanu-lid--r { left: 54.1%; top: 42.7%; animation-delay: 0.02s; }
.bot-fab .nanu { animation: nanu-sway 3.8s ease-in-out infinite; transform-origin: 50% 96%; }
.bot-head .nanu { animation: nanu-sway 4.6s ease-in-out infinite; transform-origin: 50% 96%; }
.bot-hi { position: absolute; right: 8px; bottom: 72px; z-index: 2; padding: 5px 10px; border-radius: 12px; background: #fff; color: #0b1c2f; font-size: 12px; font-weight: 700; line-height: 1; box-shadow: 0 8px 20px -8px rgba(11, 28, 47, 0.45); opacity: 0; transform: translateY(6px) scale(0.92); pointer-events: none; animation: bot-hi 9s ease-in-out infinite; }
.bot-hi::after { content: ""; position: absolute; right: 14px; bottom: -4px; width: 9px; height: 9px; background: #fff; border-radius: 2px; transform: rotate(45deg); }
@keyframes nanu-blink {
  0%, 90%, 100% { transform: scaleY(0); }
  92%, 94% { transform: scaleY(1); }
}
@keyframes nanu-sway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  30% { transform: rotate(-2.2deg) translateY(-1px); }
  60% { transform: rotate(1.8deg) translateY(0); }
}
@keyframes bot-hi {
  0%, 72%, 100% { opacity: 0; transform: translateY(6px) scale(0.92); }
  76%, 90% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 480px) {
  .bot-hi { bottom: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  .nanu, .nanu-lid, .bot-hi { animation: none; }
  .bot-hi { display: none; }
}
.bot-fab[aria-expanded="true"] ~ .bot-hi { display: none; }
