/* assets/css/base.css */

/* ===== Variables globales ===== */
:root{
  --bg:#0B0F14;
  --bg2:#0E141B;
  --card:#0F1621;
  --text:#E5EEF7;
  --muted:#B7C5D8;
  --acc:#00FFC2;
  --acc2:#7EA0FF;
  --line:#1F2A37;
  --ok:#00FFC2;
}

/* ===== Reset básico / tipografía global ===== */
*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  overflow-x:hidden; /* evita scroll horizontal global */
}

body{
  margin:0;
  background:linear-gradient(180deg,var(--bg),var(--bg2));
  color:var(--text);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  overflow-x:hidden; /* refuerzo */
}

a{
  color:var(--acc2);
  text-decoration:none;
}
a:hover,
a:focus{
  text-decoration:none;
}

img,svg{
  max-width:100%;
  height:auto;
}

/* ===== Accesibilidad ===== */
.skip{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  position:fixed;
  left:1rem;
  top:1rem;
  background:var(--acc2);
  color:#000;
  padding:.5rem .75rem;
  border-radius:.5rem;
  z-index:10000;
}

/* ===== Utilidades ===== */
.center{text-align:center}
.muted{color:var(--muted)}
.sep{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
  margin:1.5rem 0;
}

/* ===== Enfoque visible ===== */
:focus-visible{
  outline:2px solid var(--acc);
  outline-offset:2px;
}
