/* ═══════════════════════════════════════════
   IO · INTERLOCUCIÓN ESTRUCTURAL
   base.css — Reset, layout base, componentes compartidos
   Sistema visual v6 — 2026
   ═══════════════════════════════════════════ */

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

/* ─── Raíz ─── */
html, body {
  background: var(--bg-root);
  min-height: 100vh;
}

/* ─── Panel principal ─── */
.panel {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Atmósfera de fondo — gradientes radiales */
.panel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80%  8%, rgba(6,148,148,0.052) 0%, transparent 52%),
    radial-gradient(ellipse at  8% 90%, rgba(201,165,90,0.038) 0%, transparent 48%);
  pointer-events: none;
  z-index: 0;
}

/* Textura de grano sutil */
.panel::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ─── Contenedor interior ─── */
.inner {
  position: relative;
  z-index: 1;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  padding: 48px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ─── Logo estático — punto en zenit ─── */
.logo-mark-wrap {
  position: relative;
  width: 44px; height: 44px;
  flex-shrink: 0;
}

.logo-mark-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark-ring span {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.12em;
  padding-left: 0.06em;
}

/* Punto dorado en el zenit — entre I y O, arriba */
.logo-zenit-dot {
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--oro);
  box-shadow: 0 0 8px var(--oro-glow), 0 0 16px var(--oro-glow2);
}

/* Variante pequeña — cabeceras */
.logo-mark-wrap.sm { width: 34px; height: 34px; }
.logo-mark-wrap.sm .logo-mark-ring { width: 34px; height: 34px; }
.logo-mark-wrap.sm .logo-mark-ring span { font-size: 12px; }
.logo-mark-wrap.sm .logo-zenit-dot {
  width: 5px; height: 5px;
  top: -3px;
  box-shadow: 0 0 5px var(--oro-glow);
}

.logo-caption {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ─── Separador ─── */
.sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.sep-line { flex: 1; height: 1px; background: var(--line); }
.sep-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.5;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--teal-glow);
}

/* ─── Footer ─── */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.foot-left {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.foot-pips { display: flex; gap: 5px; align-items: center; }
.pip {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.25;
}
.pip.gold {
  background: var(--oro);
  opacity: 0.55;
  box-shadow: 0 0 5px var(--oro-glow);
}
.pip.teal {
  background: var(--teal);
  opacity: 0.55;
  box-shadow: 0 0 5px var(--teal-glow);
}

/* ─── Animaciones compartidas ─── */
@keyframes emerger {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes expandir {
  from { width: 0; opacity: 0; }
  to   { width: 32px; opacity: 1; }
}
